aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/reducers/index.js
blob: 6ee909d14156011bd2539b2ad81d3c2f91b03be0 (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
28
29
30
31
32
33
/////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others /
//                                                                                      /
// All rights reserved. This program and the accompanying materials                     /
// are made available under the terms of the Apache License, Version 2.0                /
// which accompanies this distribution, and is available at                             /
// http://www.apache.org/licenses/LICENSE-2.0                                           /
/////////////////////////////////////////////////////////////////////////////////////////
import { combineReducers } from 'redux';

import { navigation } from './navigation';
import { searchInterestedParties } from './search-interested-parties';
import { reducer as environmentPanel } from './environment-panel.reducer';
import { reducer as i18n } from './i18n.reducer';
import { reducer as graphTooltipWindow } from './graph-tooltip-window.reducer';
import { reducer as vedgeInfoWindow } from './vedge-info-window.reducer';
import { reducer as mainApp } from './main-app.reducer';

const calipsoApp = combineReducers({
  api: combineReducers({
    navigation,
    searchInterestedParties,
    i18n
  }),
  components: combineReducers({
    mainApp: mainApp,
    environmentPanel,
    graphTooltipWindow,
    vedgeInfoWindow
  })
});

export default calipsoApp;