Table of Contents

isInitializingReducer

Reducer for isInitializing state. Changed by AUTHENTICATION_INIT_STARTED and AUTHENTICATION_INIT_FINISHED actions.

Parameters

  • state object Current isInitializing redux state (optional, default false)
  • action object Object containing the action that was dispatched
    • action.type string 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

  • state object Current requesting redux state (optional, default {})
  • action object Object containing the action that was dispatched
    • action.type string Type of action that was dispatched
    • action.path string Path of action that was dispatched

Returns object Profile state after reduction

requestedReducer

Reducer for requested state. Changed by START, NO_VALUE, and SET actions.

Parameters

  • state object Current requested redux state (optional, default {})
  • action object Object containing the action that was dispatched
    • action.type string Type of action that was dispatched
    • action.path string Path of action that was dispatched

Returns object Profile state after reduction

timestampsReducer

Reducer for timestamps state. Changed by START, NO_VALUE, and SET actions.

Parameters

  • state object Current timestamps redux state (optional, default {})
  • action object Object containing the action that was dispatched
    • action.type string Type of action that was dispatched
    • action.path string Path of 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

  • state object Current data redux state (optional, default {})
  • action object Object containing the action that was dispatched
    • action.type string Type of action that was dispatched
    • action.path string Path of action that was dispatched

Returns object Data state after reduction

authReducer

Reducer for auth state. Changed by LOGIN, LOGOUT, and LOGIN_ERROR actions.

Parameters

  • state object Current auth redux state (optional, default {isLoaded:false})
  • action object Object containing the action that was dispatched
    • action.type string 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

  • state object Current authError redux state (optional, default {})
  • action object Object containing the action that was dispatched
    • action.type string 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

  • state object Current profile redux state (optional, default {isLoaded:false})
  • action object Object containing the action that was dispatched
    • action.type string 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

  • state object Current errors redux state (optional, default [])
  • action object Object containing the action that was dispatched
    • action.type string Type of action that was dispatched
    • action.preserve Function not required Filter function for preserving errors

Returns object Profile state after reduction

listenersReducer

Reducer for listeners state. Changed by UNAUTHORIZED_ERROR and LOGOUT actions.

Parameters

  • state object Current listeners redux state (optional, default [])
  • action object Object containing the action that was dispatched
    • action.type string 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

  • state object Current data redux state (optional, default {})
  • action object Object containing the action that was dispatched
    • action.type string Type of action that was dispatched
    • action.path string Path of action that was dispatched

Returns object Data state after reduction

results matching ""

    No results matching ""