index.ts 1.35 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 { IRRegion, IRRegionSchool, IRegionRecord, IRegionRecords, IRegionSchoolRecord, IRegionSchoolRecords } 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
  IRRegion,
  IRegionRecord,
22
  IRegionRecords,
23
  IRegionSchoolRecord,
24
  IRegionSchoolRecords,
25
  IRRegionSchool,
26
27
28
  ISectors,
  ISector,
  ISectorCourse,
29
30
  IStudentDataField,
  IStudentDataFields,
Open Source Developer's avatar
Open Source Developer committed
31
32
  IEpalClass,
  IEpalClasses,
33
  ILoginInfo,
34
35
  ICriter,
  ICriteria
36
37
38
39
40
41
42
43
44
};

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