blob: 6330e7e87be47d412c6896d2d05ce291a9b40116 (
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
26
27
|
// main state handler
import { combineActionHandler } from '../../../../framework/src/flux/middleware';
// ** do not remove **
import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
import { IActionHandler } from '../../../../framework/src/flux/action';
import { IInventoryElementsState, inventoryElementsActionHandler } from './inventoryElementsHandler';
export interface IInventoryAppStateState {
inventoryElements: IInventoryElementsState
}
declare module '../../../../framework/src/store/applicationStore' {
interface IApplicationStoreState {
inventory: IInventoryAppStateState;
}
}
const actionHandlers = {
inventoryElements: inventoryElementsActionHandler
};
export const faultAppRootHandler = combineActionHandler<IInventoryAppStateState>(actionHandlers);
export default faultAppRootHandler;
|