mirror of https://github.com/Fabio286/antares.git
21 lines
485 B
JavaScript
21 lines
485 B
JavaScript
'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);
|
|
}
|
|
|
|
static updateTableCell (params) {
|
|
return ipcRenderer.invoke('updateTableCell', params);
|
|
}
|
|
|
|
static deleteTableRows (params) {
|
|
return ipcRenderer.invoke('deleteTableRows', params);
|
|
}
|
|
}
|