ElectronPlatform: Add the ability to load file events from the event index.

This commit is contained in:
Damir Jelić 2020-01-17 10:06:54 +01:00
parent e3b4f189b4
commit a2e256b4c9
2 changed files with 16 additions and 0 deletions

View file

@ -144,6 +144,10 @@ class SeshatIndexManager extends BaseEventIndexManager {
return this._ipcCall('removeCrawlerCheckpoint', checkpoint);
}
async loadFileEvents(args): Promise<[EventAndProfile]> {
return this._ipcCall('loadFileEvents', args);
}
async loadCheckpoints(): Promise<[CrawlerCheckpoint]> {
return this._ipcCall('loadCheckpoints');
}