index.ts 879 Bytes
Newer Older
1
import { combineReducers } from 'redux';
markchkhotua's avatar
markchkhotua committed
2
import { reducer as formReducer } from 'redux-form';
Matija Obreza's avatar
Matija Obreza committed
3
import { routerReducer } from 'react-router-redux';
4
import lookups from './lookups';
markchkhotua's avatar
markchkhotua committed
5
import descriptors from './descriptors';
6
import descriptorList from './descriptorList';
Matija Obreza's avatar
Matija Obreza committed
7
import partner from './partner';
markchkhotua's avatar
markchkhotua committed
8
import login from './login';
Matija Obreza's avatar
Matija Obreza committed
9
import serverInfo from './serverInfo';
10
import datasets from './datasets';
11
import filter from './filter';
12
import appMounted from './appMounted';
13
import vocabulary from './vocabulary';
Valeriy Panov's avatar
Valeriy Panov committed
14
import crop from './crop';
Maxym Borodenko's avatar
Maxym Borodenko committed
15
import history from './history';
Valeriy Panov's avatar
Valeriy Panov committed
16
import search from './search';
markchkhotua's avatar
markchkhotua committed
17
18

const rootReducer = combineReducers({
19
20
21
22
23
24
25
26
27
28
29
  lookups,
  crop,
  vocabulary,
  descriptors,
  descriptorList,
  partner,
  login,
  serverInfo,
  datasets,
  filter,
  appMounted,
Maxym Borodenko's avatar
Maxym Borodenko committed
30
  history,
Valeriy Panov's avatar
Valeriy Panov committed
31
  search,
32
33
  routing: routerReducer,
  form: formReducer,
markchkhotua's avatar
markchkhotua committed
34
35
36
});

export default rootReducer;