1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Fixing mem DB

This commit is contained in:
Patrik J. Braun 2021-08-07 18:21:06 +02:00
parent 6a4c38a868
commit 7c0e2ead06
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,10 @@ import {SearchQueryDTO} from '../../../../common/entities/SearchQueryDTO';
import {IAlbumManager} from '../interfaces/IAlbumManager';
export class AlbumManager implements IAlbumManager {
onNewDataVersion(): Promise<void> {
throw new Error('not supported by memory DB');
}
public async onGalleryIndexUpdate(): Promise<void> {
throw new Error('not supported by memory DB');
}

View File

@ -5,6 +5,10 @@ export class IndexingManager implements IIndexingManager {
IsSavingInProgress: boolean;
SavingReady: Promise<void>;
saveToDB(scannedDirectory: ParentDirectoryDTO): Promise<void> {
throw new Error('not supported by memory DB');
}
indexDirectory(relativeDirectoryName: string): Promise<ParentDirectoryDTO> {
throw new Error('not supported by memory DB');
}