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

Adding missing dummy memory db implementation #45

This commit is contained in:
Patrik J. Braun 2021-05-31 21:19:59 +02:00
parent 597d179f7d
commit 8570649509

View File

@ -3,7 +3,11 @@ import {SearchQueryDTO} from '../../../../common/entities/SearchQueryDTO';
import {IAlbumManager} from '../interfaces/IAlbumManager'; import {IAlbumManager} from '../interfaces/IAlbumManager';
export class AlbumManager implements IAlbumManager { export class AlbumManager implements IAlbumManager {
addIfNotExistSavedSearch(name: string, searchQuery: SearchQueryDTO, lockedAlbum?: boolean): Promise<void> { public async onGalleryIndexUpdate(): Promise<void> {
throw new Error('not supported by memory DB');
}
public async addIfNotExistSavedSearch(name: string, searchQuery: SearchQueryDTO, lockedAlbum?: boolean): Promise<void> {
throw new Error('not supported by memory DB'); throw new Error('not supported by memory DB');
} }