import { ProjectReadItem, ProjectWriteItem, ProjectItemList } from '~/domain/models/project/project' export type SearchOption = {[key: string]: string | (string | null)[]} export interface ProjectRepository { list({ limit, offset, q }: SearchOption): Promise findById(id: string): Promise create(item: ProjectWriteItem): Promise update(item: ProjectWriteItem): Promise bulkDelete(projectIds: number[]): Promise }