import { AssetEntity, PersonEntity } from '@app/infra/entities'; export const IPersonRepository = 'IPersonRepository'; export interface PersonSearchOptions { minimumFaceCount: number; } export interface IPersonRepository { getAll(userId: string, options: PersonSearchOptions): Promise; getAllWithoutFaces(): Promise; getById(userId: string, personId: string): Promise; getAssets(userId: string, id: string): Promise; create(entity: Partial): Promise; update(entity: Partial): Promise; delete(entity: PersonEntity): Promise; deleteAll(): Promise; }