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.
 
 
 
 
 
 

15 lines
477 B

import { LabelItem } from '~/domain/models/label/label'
export interface LabelRepository {
list(projectId: string): Promise<LabelItem[]>
findById(projectId: string, labelId: number): 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>
}