Merge branch 'poljar/delete-events' into develop

pull/12762/head
Damir Jelić 2020-03-17 10:17:21 +01:00
commit 31faa4753c
1 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,10 @@ class SeshatIndexManager extends BaseEventIndexManager {
return this._ipcCall('addEventToIndex', ev, profile);
}
async deleteEvent(eventId: string): Promise<boolean> {
return this._ipcCall('deleteEvent', eventId);
}
async isEventIndexEmpty(): Promise<boolean> {
return this._ipcCall('isEventIndexEmpty');
}