mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
feat: initial db export implementation
This commit is contained in:
@ -5,4 +5,12 @@ export default class {
|
||||
static getKey (params) {
|
||||
return ipcRenderer.sendSync('get-key', params);
|
||||
}
|
||||
|
||||
static showOpenDialog (options) {
|
||||
return ipcRenderer.invoke('showOpenDialog', options);
|
||||
}
|
||||
|
||||
static getDownloadPathDirectory () {
|
||||
return ipcRenderer.invoke('get-download-dir-path');
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,12 @@ export default class {
|
||||
static rawQuery (params) {
|
||||
return ipcRenderer.invoke('raw-query', params);
|
||||
}
|
||||
|
||||
static export (params) {
|
||||
return ipcRenderer.invoke('export', params);
|
||||
}
|
||||
|
||||
static abortExport () {
|
||||
return ipcRenderer.invoke('abort-export');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user