1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/backend/model/memory/PersonManager.ts

36 lines
1013 B
TypeScript
Raw Normal View History

2019-01-13 17:38:39 +01:00
import {IPersonManager} from '../interfaces/IPersonManager';
2019-02-04 18:00:30 -05:00
import {MediaDTO} from '../../../common/entities/MediaDTO';
2019-02-14 18:25:55 -05:00
import {PhotoDTO} from '../../../common/entities/PhotoDTO';
2019-03-03 21:17:42 +01:00
import {PersonDTO} from '../../../common/entities/PersonDTO';
2019-02-14 18:25:55 -05:00
export class PersonManager implements IPersonManager {
2019-03-03 21:17:42 +01:00
getAll(): Promise<any[]> {
2019-02-14 18:25:55 -05:00
throw new Error('Method not implemented.');
}
getSamplePhoto(name: string): Promise<PhotoDTO> {
throw new Error('Method not implemented.');
}
2019-01-13 17:38:39 +01:00
2019-02-04 18:00:30 -05:00
keywordsToPerson(media: MediaDTO[]): Promise<void> {
throw new Error('Method not implemented.');
}
2019-01-13 17:38:39 +01:00
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');
}
2019-02-14 18:25:55 -05:00
2019-03-10 20:57:27 +01:00
onGalleryIndexUpdate(): Promise<void> {
2019-02-14 18:25:55 -05:00
throw new Error('not supported by memory DB');
}
2019-03-03 21:17:42 +01:00
updatePerson(name: string, partialPerson: PersonDTO): Promise<any> {
throw new Error('not supported by memory DB');
}
2019-01-13 17:38:39 +01:00
}