index.ts 1.04 KB
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 { ISectorField, ISectorFields } from './sectorfields/sectorfields.types';
6
import { IRegions, IRegion, IRegionSchool } from './regionschools/regionschools.types';
7
import { ISectors, ISector, ISectorCourse } from './sectorcourses/sectorcourses.types';
8
import { IStudentDataField, IStudentDataFields } from './studentdatafields/studentdatafields.types';
Open Source Developer's avatar
Open Source Developer committed
9
import { IEpalClass, IEpalClasses } from './epalclasses/epalclasses.types';
10
11
12
13
14
15

export {
  IAppState,
  rootReducer,
  ICourseField,
  ICourseFields,
16
17
  ISectorField,
  ISectorFields,
18
19
20
  IRegions,
  IRegion,
  IRegionSchool,
21
22
23
  ISectors,
  ISector,
  ISectorCourse,
24
25
  IStudentDataField,
  IStudentDataFields,
Open Source Developer's avatar
Open Source Developer committed
26
27
28
  IEpalClass,
  IEpalClasses,

29
30
31
32
33
34
35
36
37
};

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