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:
parent
597d179f7d
commit
8570649509
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user