blob: dd9e3e1df0ad8beb9078b547264d99539f4adabf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import { combineActionHandler } from '../../../../framework/src/flux/middleware';
import { IRequiredNetworkElementsState, requiredNetworkElementsActionHandler } from './requiredNetworkElementsHandler';
import { IMountedNetworkElementsState, mountedNetworkElementsActionHandler } from './mountedNetworkElementsHandler';
import { IConnectionStatusLogState, connectionStatusLogActionHandler } from './connectionStatusLogHandler';
export interface IConnectAppStoreState {
requiredNetworkElements: IRequiredNetworkElementsState;
mountedNetworkElements: IMountedNetworkElementsState;
connectionStatusLog: IConnectionStatusLogState;
}
declare module '../../../../framework/src/store/applicationStore' {
interface IApplicationStoreState {
connectApp: IConnectAppStoreState
}
}
const actionHandlers = {
requiredNetworkElements: requiredNetworkElementsActionHandler,
mountedNetworkElements: mountedNetworkElementsActionHandler,
connectionStatusLog: connectionStatusLogActionHandler
};
export const connectAppRootHandler = combineActionHandler <IConnectAppStoreState>(actionHandlers);
export default connectAppRootHandler;
|