import { RelationItem } from '~/domain/models/tasks/relation' export interface RelationRepository { list(projectId: string, exampleId: number): Promise create(projectId: string, exampleId: number, relation: RelationItem): Promise update( projectId: string, exampleId: number, relationId: number, relationType: number ): Promise delete(projectId: string, exampleId: number, relationId: number): Promise bulkDelete(projectId: string, exampleId: number, relationIds: number[]): Promise }