SymphonyElectron/js/enums/api.js
Lynn 0dfa3339a3 notifications implementation (#34)
* 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
2017-03-21 09:15:18 -07:00

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'
}