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

  1. import { LabelItem, LabelItemList } from '@/models/label'
  2. export interface LabelItemListRepository {
  3. list(projectId: string): Promise<LabelItem[]>
  4. create(projectId: string, item: LabelItem): Promise<LabelItem>
  5. update(projectId: string, item: LabelItem): Promise<LabelItem>
  6. bulkDelete(projectId: string, labelIds: number[]): Promise<void>
  7. uploadFile(projectId: string, payload: FormData): Promise<void>
  8. }