From 2d5ec8721c2d9ae3d519dd5ff267a05b5f1ab96b Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Tue, 20 Apr 2021 12:15:13 +0530 Subject: Created mostly used stores --- modern/src/store/index.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'modern/src/store/index.js') diff --git a/modern/src/store/index.js b/modern/src/store/index.js index 1fddae99..9163e445 100644 --- a/modern/src/store/index.js +++ b/modern/src/store/index.js @@ -4,17 +4,39 @@ import { sessionReducer as session } from './session'; import { devicesReducer as devices } from './devices'; import { positionsReducer as positions } from './positions'; import { geofencesReducer as geofences } from './geofences'; +import { groupsReducer as groups } from './groups'; +import { driversReducer as drivers } from './drivers'; +import { maintenancesReducer as maintenances } from './maintenances'; +import { calendarsReducer as calendars } from './calendars'; +import { computedAttributesReducer as computedAttributes } from './computedAttributes'; +import { commandsReducer as commands } from './commands'; +import { notificationsReducer as notifications } from './notifications'; const reducer = combineReducers({ session, devices, positions, geofences, + groups, + drivers, + maintenances, + calendars, + computedAttributes, + commands, + notifications, + }); export { sessionActions } from './session'; export { devicesActions } from './devices'; export { positionsActions } from './positions'; export { geofencesActions } from './geofences'; +export { groupsActions } from './groups'; +export { driversActions } from './drivers'; +export { maintenancesActions } from './maintenances'; +export { calendarsActions } from './calendars'; +export { computedAttributesActions } from './computedAttributes'; +export { commandsActions } from './commands'; +export { notificationsActions } from './notifications'; export default configureStore({ reducer }); -- cgit v1.2.3