mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
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
420 B
13 lines
420 B
import { LabelItem, LabelItemList } from '@/models/label'
|
|
|
|
export interface LabelItemListRepository {
|
|
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>
|
|
}
|