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.

14 lines
365 B

  1. import { ProjectReadItem, ProjectWriteItem } from '@/models/project'
  2. export interface ProjectItemListRepository {
  3. list(): Promise<ProjectReadItem[]>
  4. findById(id: string): Promise<ProjectReadItem>
  5. create(item: ProjectWriteItem): Promise<ProjectReadItem>
  6. update(item: ProjectWriteItem): Promise<void>
  7. bulkDelete(projectIds: number[]): Promise<void>
  8. }