import {PersonEntry} from '../sql/enitites/PersonEntry'; import {MediaDTO} from '../../../common/entities/MediaDTO'; import {PhotoDTO} from '../../../common/entities/PhotoDTO'; import {PersonDTO} from '../../../common/entities/PersonDTO'; export interface IPersonManager { getAll(): Promise; getSamplePhoto(name: string): Promise; get(name: string): Promise; saveAll(names: string[]): Promise; onGalleryIndexUpdate(): Promise; updatePerson(name: string, partialPerson: PersonDTO): Promise; }