mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
0dfa3339a3
* wip: notifications * wip: more notifications * wip: add getter to proxy * wip: add setter * wip: add static getter and method * wip: add event handlers * wip: add doc * wip: add api demo
30 lines
510 B
JavaScript
30 lines
510 B
JavaScript
'use strict';
|
|
|
|
var keyMirror = require('keymirror');
|
|
|
|
const cmds = keyMirror({
|
|
isOnline: null,
|
|
open: null,
|
|
registerLogger: null,
|
|
setBadgeCount: null,
|
|
badgeDataUrl: null
|
|
});
|
|
|
|
const proxyCmds = keyMirror({
|
|
createObject: null,
|
|
addEvent: null,
|
|
removeEvent: null,
|
|
eventCallback: null,
|
|
invokeMethod: null,
|
|
invokeResult: null,
|
|
get: null,
|
|
getResult: null,
|
|
set: null
|
|
});
|
|
|
|
module.exports = {
|
|
cmds: cmds,
|
|
proxyCmds: proxyCmds,
|
|
apiName: 'symphony-api'
|
|
}
|