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

  1. import { LabelItem } from '~/domain/models/label/label'
  2. export interface LabelRepository {
  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. }