diff --git a/src/backend/model/database/memory/AlbumManager.ts b/src/backend/model/database/memory/AlbumManager.ts index 08907560..a68f85db 100644 --- a/src/backend/model/database/memory/AlbumManager.ts +++ b/src/backend/model/database/memory/AlbumManager.ts @@ -3,6 +3,10 @@ import {SearchQueryDTO} from '../../../../common/entities/SearchQueryDTO'; import {IAlbumManager} from '../interfaces/IAlbumManager'; export class AlbumManager implements IAlbumManager { + onNewDataVersion(): Promise { + throw new Error('not supported by memory DB'); + } + public async onGalleryIndexUpdate(): Promise { throw new Error('not supported by memory DB'); } diff --git a/src/backend/model/database/memory/IndexingManager.ts b/src/backend/model/database/memory/IndexingManager.ts index 6637cd6a..b7555ce0 100644 --- a/src/backend/model/database/memory/IndexingManager.ts +++ b/src/backend/model/database/memory/IndexingManager.ts @@ -5,6 +5,10 @@ export class IndexingManager implements IIndexingManager { IsSavingInProgress: boolean; SavingReady: Promise; + saveToDB(scannedDirectory: ParentDirectoryDTO): Promise { + throw new Error('not supported by memory DB'); + } + indexDirectory(relativeDirectoryName: string): Promise { throw new Error('not supported by memory DB'); }