Table of Contents
- isInitializingReducer
- requestingReducer
- requestedReducer
- timestampsReducer
- dataReducer
- authReducer
- authErrorReducer
- profileReducer
- errorsReducer
- listenersReducer
- orderedReducer
isInitializingReducer
Reducer for isInitializing state. Changed by AUTHENTICATION_INIT_STARTED
and AUTHENTICATION_INIT_FINISHED actions.
Parameters
stateobject Current isInitializing redux state (optional, defaultfalse)actionobject Object containing the action that was dispatchedaction.typestring Type of action that was dispatched
Returns object Profile state after reduction
requestingReducer
Reducer for requesting state.Changed by START, NO_VALUE, and SET actions.
Parameters
stateobject Current requesting redux state (optional, default{})actionobject Object containing the action that was dispatched
Returns object Profile state after reduction
requestedReducer
Reducer for requested state. Changed by START, NO_VALUE, and SET actions.
Parameters
stateobject Current requested redux state (optional, default{})actionobject Object containing the action that was dispatched
Returns object Profile state after reduction
timestampsReducer
Reducer for timestamps state. Changed by START, NO_VALUE, and SET actions.
Parameters
stateobject Current timestamps redux state (optional, default{})actionobject Object containing the action that was dispatched
Returns object Profile state after reduction
dataReducer
Reducer for data state. Changed by SET, SET_ORDERED,NO_VALUE, and
LOGOUT actions.
Parameters
stateobject Current data redux state (optional, default{})actionobject Object containing the action that was dispatched
Returns object Data state after reduction
authReducer
Reducer for auth state. Changed by LOGIN, LOGOUT, and LOGIN_ERROR actions.
Parameters
stateobject Current auth redux state (optional, default{isLoaded:false})actionobject Object containing the action that was dispatchedaction.typestring Type of action that was dispatched
Returns object Profile state after reduction
authErrorReducer
Reducer for authError state. Changed by LOGIN, LOGOUT, LOGIN_ERROR, and
UNAUTHORIZED_ERROR actions.
Parameters
stateobject Current authError redux state (optional, default{})actionobject Object containing the action that was dispatchedaction.typestring Type of action that was dispatched
Returns object authError state after reduction
profileReducer
Reducer for profile state. Changed by SET_PROFILE, LOGOUT, and
LOGIN_ERROR actions.
Parameters
stateobject Current profile redux state (optional, default{isLoaded:false})actionobject Object containing the action that was dispatchedaction.typestring Type of action that was dispatched
Returns object Profile state after reduction
errorsReducer
Reducer for errors state. Changed by UNAUTHORIZED_ERROR, CLEAR_ERRORS,
and LOGOUT actions.
Parameters
stateobject Current errors redux state (optional, default[])actionobject Object containing the action that was dispatched
Returns object Profile state after reduction
listenersReducer
Reducer for listeners state. Changed by UNAUTHORIZED_ERROR
and LOGOUT actions.
Parameters
stateobject Current listeners redux state (optional, default[])actionobject Object containing the action that was dispatchedaction.typestring Type of action that was dispatched
Returns object Profile state after reduction
orderedReducer
Reducer for ordered state. Changed by SET, SET_ORDERED,NO_VALUE, and
LOGOUT actions.
Parameters
stateobject Current data redux state (optional, default{})actionobject Object containing the action that was dispatched
Returns object Data state after reduction