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:
parent
6a4c38a868
commit
7c0e2ead06
@ -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');
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user