2018-05-12 12:19:51 -04:00
|
|
|
import {DirectoryDTO} from '../../../common/entities/DirectoryDTO';
|
2018-10-22 00:24:17 +02:00
|
|
|
import {IGalleryManager} from '../interfaces/IGalleryManager';
|
2019-01-18 00:26:20 +01:00
|
|
|
import {DuplicatesDTO} from '../../../common/entities/DuplicatesDTO';
|
2017-07-25 21:09:37 +02:00
|
|
|
|
2018-11-28 23:49:33 +01:00
|
|
|
export interface ISQLGalleryManager extends IGalleryManager {
|
2017-07-25 21:09:37 +02:00
|
|
|
listDirectory(relativeDirectoryName: string,
|
|
|
|
knownLastModified?: number,
|
|
|
|
knownLastScanned?: number): Promise<DirectoryDTO>;
|
|
|
|
|
2018-12-09 23:25:39 +01:00
|
|
|
countDirectories(): Promise<number>;
|
|
|
|
|
|
|
|
countPhotos(): Promise<number>;
|
|
|
|
|
|
|
|
countVideos(): Promise<number>;
|
|
|
|
|
|
|
|
countMediaSize(): Promise<number>;
|
2019-01-17 20:17:17 +01:00
|
|
|
|
2019-01-18 00:26:20 +01:00
|
|
|
getPossibleDuplicates(): Promise<DuplicatesDTO[]>;
|
2017-07-25 21:09:37 +02:00
|
|
|
}
|