1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/interfaces/IIndexingManager.ts

12 lines
274 B
TypeScript
Raw Normal View History

2018-03-31 03:30:30 +08:00
import {IndexingProgressDTO} from '../../../common/entities/settings/IndexingProgressDTO';
2017-07-26 03:09:37 +08:00
export interface IIndexingManager {
2018-11-24 20:08:34 +08:00
startIndexing(createThumbnails?: boolean): void;
2017-07-26 03:09:37 +08:00
getProgress(): IndexingProgressDTO;
cancelIndexing(): void;
2018-03-31 03:30:30 +08:00
reset(): Promise<void>;
2017-07-26 03:09:37 +08:00
}