index.ts 1.21 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, RegionSchool } 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
import { ILoginInfoToken, ILoginInfo } from './logininfo/logininfo.types';
11
import { ICriter, ICriteria } from './criteria/criteria.types';
12
13
14
15
16
17

export {
  IAppState,
  rootReducer,
  ICourseField,
  ICourseFields,
18
19
  ISectorField,
  ISectorFields,
20
21
  IRegions,
  IRegion,
22
  RegionSchool,
23
24
25
  ISectors,
  ISector,
  ISectorCourse,
26
27
  IStudentDataField,
  IStudentDataFields,
Open Source Developer's avatar
Open Source Developer committed
28
29
  IEpalClass,
  IEpalClasses,
30
  ILoginInfo,
31
32
  ICriter,
  ICriteria
33
34
35
36
37
38
39
40
41
};

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