MCPcopy Index your code
hub / github.com/doccano/doccano / ExampleRepository

Interface ExampleRepository

frontend/domain/models/example/exampleRepository.ts:5–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3export type SearchOption = { [key: string]: string | (string | null)[] }
4
5export 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}

Callers 2

confirmMethod · 0.65
confirmFunction · 0.65

Implementers 1

APIExampleRepositoryfrontend/repositories/example/apiDocum

Calls

no outgoing calls

Tested by

no test coverage detected