2019-01-14 00:38:39 +08:00
|
|
|
import {IPersonManager} from '../interfaces/IPersonManager';
|
2019-02-05 07:00:30 +08:00
|
|
|
import {MediaDTO} from '../../../common/entities/MediaDTO';
|
2019-02-15 07:25:55 +08:00
|
|
|
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.');
|
|
|
|
}
|
2019-01-14 00:38:39 +08:00
|
|
|
|
2019-02-05 07:00:30 +08:00
|
|
|
keywordsToPerson(media: MediaDTO[]): Promise<void> {
|
|
|
|
throw new Error('Method not implemented.');
|
|
|
|
}
|
|
|
|
|
2019-01-14 00:38:39 +08: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-15 07:25:55 +08:00
|
|
|
|
|
|
|
updateCounts(): Promise<void> {
|
|
|
|
throw new Error('not supported by memory DB');
|
|
|
|
}
|
2019-01-14 00:38:39 +08:00
|
|
|
}
|