This module is DEPRECATED and will be removed in future version.
it provide low level api to register and handle action in a CMF App.
        
        
            
- Source:
- See:
Methods
(inner) getActionInfo(context, id) → {object}
    Return information available about this action
    Parameters:
| Name | Type | Description | 
|---|---|---|
| context | object | |
| id | String | 
Returns:
- Type
- object
(inner) getActionObject(context, action, event, data)
    Return the action object ready to be dispatched
This is supposed to be used outside of content type
    Parameters:
| Name | Type | Description | 
|---|---|---|
| context | object | |
| action | String | Object | or the action | 
| event | object | event which have trigger this action | 
| data | object | data attached to the action | 
(inner) getActionsById(context) → {object}
    get the global actions registered in the settings
    Parameters:
| Name | Type | Description | 
|---|---|---|
| context | object | 
Returns:
    actions with key === action id
- Type
- object
(inner) getContentTypeActions(context, contentType, category) → {Array}
    return actions registered for a given content type
    Parameters:
| Name | Type | Description | 
|---|---|---|
| context | object | |
| contentType | String | |
| category | String | 
Returns:
    actions
- Type
- Array
(inner) getOnProps(props) → {Array}
    return every props name that start with 'on'
    Parameters:
| Name | Type | Description | 
|---|---|---|
| props | object | react props | 
Returns:
    of string
- Type
- Array
(inner) mapDispatchToProps(dispatch, props) → {object}
    create a map dispatchable action function expecting event object, props, and context information
merge this map with non event properties
    Parameters:
| Name | Type | Description | 
|---|---|---|
| dispatch | function | the dispatch function | 
| props | object | props object containing maybe on(event) with string or action creator function] | 
Throws:
    
        if an action is unknown in configuration, throw
    
    
    
Returns:
    the connected object
- Type
- object