1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00
Files
antares/src/renderer/ipc-api/Tables.js
2020-07-24 13:26:56 +02:00

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);
}
}