index.ts 717 Bytes
Newer Older
1
// import * as persistState from 'redux-localstorage';
2
import * as createLogger from 'redux-logger';
3
import { IAppState, rootReducer, deimmutify } from './store';
4
import { ICourseField, ICourseFields } from './coursefields/coursefields.types';
5
import { IRegions, IRegion, IRegionSchool } from './regionschools/regionschools.types';
6
import { IStudentDataField, IStudentDataFields } from './studentdatafields/studentdatafields.types';
7
8
9
10
11
12

export {
  IAppState,
  rootReducer,
  ICourseField,
  ICourseFields,
13
14
15
  IRegions,
  IRegion,
  IRegionSchool,
16
17
  IStudentDataField,
  IStudentDataFields,
18
19
20
21
22
23
24
25
26
};

export const middleware = [
  createLogger({
    level: 'info',
    collapsed: true,
    stateTransformer: deimmutify
  })
];