2020-06-15 18:23:51 +02:00
|
|
|
'use strict';
|
|
|
|
import { ipcRenderer } from 'electron';
|
|
|
|
|
|
|
|
export default class {
|
|
|
|
static getTableColumns (params) {
|
|
|
|
return ipcRenderer.invoke('getTableColumns', params);
|
|
|
|
}
|
|
|
|
|
|
|
|
static getTableData (params) {
|
|
|
|
return ipcRenderer.invoke('getTableData', params);
|
|
|
|
}
|
2020-06-27 15:14:08 +02:00
|
|
|
|
2020-08-14 18:07:29 +02:00
|
|
|
static getKeyUsage (params) {
|
|
|
|
return ipcRenderer.invoke('get-key-usage', params);
|
|
|
|
}
|
|
|
|
|
2020-06-27 15:14:08 +02:00
|
|
|
static updateTableCell (params) {
|
|
|
|
return ipcRenderer.invoke('updateTableCell', params);
|
|
|
|
}
|
2020-07-23 19:10:14 +02:00
|
|
|
|
|
|
|
static deleteTableRows (params) {
|
|
|
|
return ipcRenderer.invoke('deleteTableRows', params);
|
|
|
|
}
|
2020-08-12 18:12:30 +02:00
|
|
|
|
|
|
|
static insertTableRows (params) {
|
|
|
|
return ipcRenderer.invoke('insertTableRows', params);
|
|
|
|
}
|
2020-06-15 18:23:51 +02:00
|
|
|
}
|