| Total Complexity | 0 |
| Complexity/F | 0 |
| Lines of Code | 36 |
| Function Count | 0 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { combineReducers } from 'redux'; |
||
| 2 | import grid from './components/grid'; |
||
| 3 | import dataSource from './components/datasource'; |
||
| 4 | import editor from './components/plugins/editor'; |
||
| 5 | import menu from './components/plugins/menu'; |
||
| 6 | import pager from './components/plugins/pager'; |
||
| 7 | import loader from './components/plugins/loader'; |
||
| 8 | import bulkaction from './components/plugins/bulkaction'; |
||
| 9 | import selection from './components/plugins/selection'; |
||
| 10 | import errorhandler from './components/plugins/errorhandler'; |
||
| 11 | |||
| 12 | export const rootReducer = combineReducers({ |
||
| 13 | bulkAction: bulkaction, |
||
| 14 | dataSource, |
||
| 15 | editor, |
||
| 16 | errorHandler: errorhandler, |
||
| 17 | grid, |
||
| 18 | menu, |
||
| 19 | pager, |
||
| 20 | loader, |
||
| 21 | selection |
||
| 22 | }); |
||
| 23 | |||
| 24 | export const Reducers = { |
||
| 25 | bulkAction: bulkaction, |
||
| 26 | dataSource, |
||
| 27 | editor, |
||
| 28 | errorHandler: errorhandler, |
||
| 29 | grid, |
||
| 30 | loader, |
||
| 31 | menu, |
||
| 32 | pager, |
||
| 33 | selection |
||
| 34 | }; |
||
| 35 | |||
| 36 | export default rootReducer; |
||
| 37 |