1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/memory/PersonManager.ts

31 lines
845 B
TypeScript

import {IPersonManager} from '../interfaces/IPersonManager';
import {PhotoDTO} from '../../../common/entities/PhotoDTO';
import {PersonDTO} from '../../../common/entities/PersonDTO';
export class PersonManager implements IPersonManager {
getAll(): Promise<any[]> {
throw new Error('Method not implemented.');
}
getSamplePhoto(name: string): Promise<PhotoDTO> {
throw new Error('Method not implemented.');
}
get(name: string): Promise<any> {
throw new Error('not supported by memory DB');
}
saveAll(names: string[]): Promise<void> {
throw new Error('not supported by memory DB');
}
onGalleryIndexUpdate(): Promise<void> {
throw new Error('not supported by memory DB');
}
updatePerson(name: string, partialPerson: PersonDTO): Promise<any> {
throw new Error('not supported by memory DB');
}
}