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

20 lines
626 B
TypeScript
Raw Normal View History

import {DirectoryDTO} from '../../../common/entities/DirectoryDTO';
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
}