Merge branch 'poljar/eventindex-user-version' into develop
This commit is contained in:
commit
cfee2a43fb
1 changed files with 8 additions and 0 deletions
|
@ -197,6 +197,14 @@ class SeshatIndexManager extends BaseEventIndexManager {
|
||||||
return this._ipcCall('getStats');
|
return this._ipcCall('getStats');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async getUserVersion(): Promise<number> {
|
||||||
|
return this._ipcCall('getUserVersion');
|
||||||
|
}
|
||||||
|
|
||||||
|
async setUserVersion(version: number): Promise<void> {
|
||||||
|
return this._ipcCall('setUserVersion', version);
|
||||||
|
}
|
||||||
|
|
||||||
async deleteEventIndex(): Promise<void> {
|
async deleteEventIndex(): Promise<void> {
|
||||||
return this._ipcCall('deleteEventIndex');
|
return this._ipcCall('deleteEventIndex');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue