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

17 lines
484 B
TypeScript
Raw Normal View History

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-01-14 00:38:39 +08:00
export class IndexingTaskManager implements IPersonManager {
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');
}
}