mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
Merge pull request #129 from toriphes/feat/db-import-export
feat(MySQL): db import export
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');
|
||||
}
|
||||
}
|
||||
|
@ -69,4 +69,20 @@ 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');
|
||||
}
|
||||
|
||||
static import (params) {
|
||||
return ipcRenderer.invoke('import-sql', params);
|
||||
}
|
||||
|
||||
static abortImport () {
|
||||
return ipcRenderer.invoke('abort-import-sql');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user