Reducer combining response and error into a single object, batchResponses.
Reducer combining ids, entities, isFetching, error, top, skip, query, order, filter and select into a single object, children.
Reducer combining isSaved, isValid, isDirty and isOperationInProgress into a single object, contentState.
Reducer combining contentState, error, actions, fields and content into a single object, currentcontent.
Reducer combining session, children, currentcontent and selected into a single object, sensenet which will be the top-level one.
Reducer combining country, language, loginState, error and user into a single object, session.
Reducer combining userName, fullName, userLanguage, userAvatarPath into a single object, user.
Reducer to handle Actions on the OdataBatchResponse Object.
Represents the current state.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the batchResponseError Object.
Represents the current state.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the chidlrenactions object in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the childrenerror property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the content object in the currentcontent object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the contentactions object in the currentcontent object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the contenterror property in the currentcontent object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the country property in the session object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the entities object in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the fields object in the currentcontent object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the filter property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the fullName property in the user object.
Represents an action that is called.
state. Returns the next state based on the action.
Method to get a Content item from a state object by its Id.
Current state object.
Id of the Content.
content. Returns the Content from a state object with the given Id.
Method to get the error message.
Current state object.
Returns the error message.
Method to get if the fetching of data is in progress.
Current state object.
Returns true or false whether data fetching is in progress or not.
Method to get the ids array from a state object.
Current state object.
content. Returns the ids array from the given state.
Reducer to handle Actions on the ids array in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the isDirty property in the contentState object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the isFetching property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the isOpened property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the isOperationInProgress property in the contentState object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the isSaved property in the contentState object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the isValid property in the contentState object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the language property in the session object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the loginError property in the session object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the loginState property in the session object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the order property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the query property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the repostory property in the user object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the select property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the selected array.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the skip property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the top property in the children object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the userAvatarPath property in the user object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the userLanguage property in the user object.
Represents an action that is called.
state. Returns the next state based on the action.
Reducer to handle Actions on the userName property in the user object.
Represents an action that is called.
state. Returns the next state based on the action.
Generated using TypeDoc
Module for defining Redux reducers.
Actions describe the fact that something happened, but don't specify how the application's state changes in response. This is the job of a reducer.
Following module contains the reducers of sn-redux, some 'reducer groups' and the root reducer which could be passed to the store creator function. Using a root reduces means that you define which combination of reducers will be used and eventually defines which type of actions can be called on the store.