| 3 | export type SearchOption = { [key: string]: string | (string | null)[] } |
| 4 | |
| 5 | export interface ExampleRepository { |
| 6 | list(projectId: string, { limit, offset, q, isChecked }: SearchOption): Promise<ExampleItemList> |
| 7 | |
| 8 | create(projectId: string, item: ExampleItem): Promise<ExampleItem> |
| 9 | |
| 10 | update(projectId: string, item: ExampleItem): Promise<ExampleItem> |
| 11 | |
| 12 | bulkDelete(projectId: string, ids: number[]): Promise<void> |
| 13 | |
| 14 | deleteAll(projectId: string): Promise<void> |
| 15 | |
| 16 | findById(projectId: string, exampleId: number): Promise<ExampleItem> |
| 17 | |
| 18 | confirm(projectId: string, exampleId: number): Promise<void> |
| 19 | } |
no outgoing calls
no test coverage detected