Changeset View
Changeset View
Standalone View
Standalone View
lib/reducers/master-reducer.js
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | ) { | ||||
} | } | ||||
} | } | ||||
const { draftStore, draftStoreOperations } = reduceDraftStore( | const { draftStore, draftStoreOperations } = reduceDraftStore( | ||||
state.draftStore, | state.draftStore, | ||||
action, | action, | ||||
); | ); | ||||
const { reportStore, reportStoreOperations } = reduceReportStore( | |||||
state.reportStore, | |||||
action, | |||||
newInconsistencies, | |||||
); | |||||
return { | return { | ||||
state: { | state: { | ||||
...state, | ...state, | ||||
navInfo: reduceBaseNavInfo(state.navInfo, action), | navInfo: reduceBaseNavInfo(state.navInfo, action), | ||||
draftStore, | draftStore, | ||||
entryStore, | entryStore, | ||||
loadingStatuses: reduceLoadingStatuses(state.loadingStatuses, action), | loadingStatuses: reduceLoadingStatuses(state.loadingStatuses, action), | ||||
currentUserInfo: reduceCurrentUserInfo(state.currentUserInfo, action), | currentUserInfo: reduceCurrentUserInfo(state.currentUserInfo, action), | ||||
Show All 9 Lines | state: { | ||||
), | ), | ||||
notifPermissionAlertInfo: reduceNotifPermissionAlertInfo( | notifPermissionAlertInfo: reduceNotifPermissionAlertInfo( | ||||
state.notifPermissionAlertInfo, | state.notifPermissionAlertInfo, | ||||
action, | action, | ||||
), | ), | ||||
connection, | connection, | ||||
lifecycleState: reduceLifecycleState(state.lifecycleState, action), | lifecycleState: reduceLifecycleState(state.lifecycleState, action), | ||||
enabledApps: reduceEnabledApps(state.enabledApps, action), | enabledApps: reduceEnabledApps(state.enabledApps, action), | ||||
reportStore: reduceReportStore( | reportStore, | ||||
state.reportStore, | |||||
action, | |||||
newInconsistencies, | |||||
), | |||||
nextLocalID: reduceNextLocalID(state.nextLocalID, action), | nextLocalID: reduceNextLocalID(state.nextLocalID, action), | ||||
dataLoaded: reduceDataLoaded(state.dataLoaded, action), | dataLoaded: reduceDataLoaded(state.dataLoaded, action), | ||||
userPolicies: policiesReducer(state.userPolicies, action), | userPolicies: policiesReducer(state.userPolicies, action), | ||||
deviceToken: reduceDeviceToken(state.deviceToken, action), | deviceToken: reduceDeviceToken(state.deviceToken, action), | ||||
commServicesAccessToken: reduceServicesAccessToken( | commServicesAccessToken: reduceServicesAccessToken( | ||||
state.commServicesAccessToken, | state.commServicesAccessToken, | ||||
action, | action, | ||||
), | ), | ||||
inviteLinksStore: reduceInviteLinks(state.inviteLinksStore, action), | inviteLinksStore: reduceInviteLinks(state.inviteLinksStore, action), | ||||
}, | }, | ||||
storeOperations: { | storeOperations: { | ||||
draftStoreOperations, | draftStoreOperations, | ||||
threadStoreOperations, | threadStoreOperations, | ||||
messageStoreOperations, | messageStoreOperations, | ||||
reportStoreOperations, | |||||
}, | }, | ||||
}; | }; | ||||
} | } |