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
2019-02-14 18:25:55 -05:00

31 lines
880 B
TypeScript

import {IPersonManager} from '../interfaces/IPersonManager';
import {MediaDTO} from '../../../common/entities/MediaDTO';
import {PersonEntry} from '../sql/enitites/PersonEntry';
import {PhotoDTO} from '../../../common/entities/PhotoDTO';
export class PersonManager implements IPersonManager {
getAll(): Promise<PersonEntry[]> {
throw new Error('Method not implemented.');
}
getSamplePhoto(name: string): Promise<PhotoDTO> {
throw new Error('Method not implemented.');
}
keywordsToPerson(media: MediaDTO[]): Promise<void> {
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');
}
updateCounts(): Promise<void> {
throw new Error('not supported by memory DB');
}
}