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

19 lines
575 B
TypeScript
Raw Normal View History

import {DirectoryDTO} from '../../../common/entities/DirectoryDTO';
import {IGalleryManager} from '../interfaces/IGalleryManager';
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-11-28 23:49:33 +01:00
indexDirectory(relativeDirectoryName: string): Promise<DirectoryDTO>;
2017-07-25 21:09:37 +02:00
2018-12-09 23:25:39 +01:00
countDirectories(): Promise<number>;
countPhotos(): Promise<number>;
countVideos(): Promise<number>;
countMediaSize(): Promise<number>;
2017-07-25 21:09:37 +02:00
}