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

adding missing dummy implementations

This commit is contained in:
Patrik J. Braun 2020-01-01 16:17:37 +01:00
parent a5100d79f9
commit 9646da58f4

View File

@ -5,11 +5,15 @@ import {PersonDTO} from '../../../../common/entities/PersonDTO';
export class PersonManager implements IPersonManager { export class PersonManager implements IPersonManager {
getAll(): Promise<any[]> { getAll(): Promise<any[]> {
throw new Error('Method not implemented.'); throw new Error('not supported by memory DB');
} }
getSamplePhoto(name: string): Promise<PhotoDTO> { getSamplePhoto(name: string): Promise<PhotoDTO> {
throw new Error('Method not implemented.'); throw new Error('not supported by memory DB');
}
getSamplePhotos(names: string[]): Promise<{ [key: string]: PhotoDTO }> {
throw new Error('not supported by memory DB');
} }
get(name: string): Promise<any> { get(name: string): Promise<any> {