mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
410 B
13 lines
410 B
import { LabelItem } from '~/domain/models/label/label'
|
|
|
|
export interface LabelRepository {
|
|
list(projectId: string): Promise<LabelItem[]>
|
|
|
|
create(projectId: string, item: LabelItem): Promise<LabelItem>
|
|
|
|
update(projectId: string, item: LabelItem): Promise<LabelItem>
|
|
|
|
bulkDelete(projectId: string, labelIds: number[]): Promise<void>
|
|
|
|
uploadFile(projectId: string, payload: FormData): Promise<void>
|
|
}
|