output data on stdout

Summary: listening on `SIGINT` events and putting the serialized store to stdout.

Reviewed By: passy

Differential Revision: D13878051

fbshipit-source-id: 19c1d857a299ed9a474605169c54e5359e0515bd
This commit is contained in:
Daniel Büchele
2019-02-04 07:21:56 -08:00
committed by Facebook Github Bot
parent 45d1a7b35c
commit 3b75fb092b
3 changed files with 25 additions and 13 deletions

View File

@@ -45,16 +45,16 @@ type Actions =
| PluginsAction
| {|type: 'INIT'|};
export type Store = ReduxStore<
{|
application: ApplicationState,
connections: DevicesState,
pluginStates: PluginStatesState,
notifications: NotificationsState,
plugins: PluginsState,
|},
Actions,
>;
export type State = {|
application: ApplicationState,
connections: DevicesState,
pluginStates: PluginStatesState,
notifications: NotificationsState,
plugins: PluginsState,
|};
// $FlowFixMe introduced when removing $Subtype/$Supertype
export type Store = ReduxStore<State, Actions>;
export default combineReducers<_, Actions>({
application,