2016-01-22 08:22:11 -06:00
|
|
|
import Influx from 'react-influx'
|
|
|
|
import keyMirror from 'keymirror'
|
|
|
|
|
|
|
|
const Events = keyMirror({
|
2016-04-09 05:09:53 -05:00
|
|
|
REQUEST_GROW_SEARCH: null,
|
|
|
|
REQUEST_INIT_DATABASE: null,
|
|
|
|
REQUEST_INIT_SOCKET: null,
|
|
|
|
REQUEST_ENTRY_SEARCH: null,
|
|
|
|
REQUEST_SELECT_ENTRY: null,
|
|
|
|
REQUEST_SELECT_ALL_ENTRIES: null,
|
|
|
|
REQUEST_SELECT_CLEAR_ENTRIES: null,
|
|
|
|
REQUEST_TIMESERIES_DATE: null,
|
|
|
|
REQUEST_PERIOD: null
|
|
|
|
});
|
2016-01-22 08:22:11 -06:00
|
|
|
|
|
|
|
class Dispatcher extends Influx.Dispatcher {
|
|
|
|
// override as needed
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Dispatcher.construct(Dispatcher, Events)
|