# The Callbacks

## Classes

<dl>
<dt><a href="#VrkflowMixin">VrkflowMixin</a></dt>
<dd></dd>
</dl>

## Functions

<dl>
<dt><a href="#isStepValid">isStepValid(p)</a></dt>
<dd></dd>
<dt><a href="#areStepsValid">areStepsValid(p)</a></dt>
<dd></dd>
<dt><a href="#VrkflowStore">VrkflowStore(configuration)</a> ⇒ <code>Object</code></dt>
<dd><p>Creates new Vuex CRUD module.</p></dd>
</dl>

<a name="VrkflowMixin"></a>

## VrkflowMixin
**Kind**: global class  
<a name="isStepValid"></a>

## isStepValid(p)
**Kind**: global function  

| Param | Type | Description |
| --- | --- | --- |
| p | <code>number</code> | <p>this is p.</p> |

<a name="areStepsValid"></a>

## areStepsValid(p)
**Kind**: global function  

| Param | Type | Description |
| --- | --- | --- |
| p | <code>number</code> | <p>this is p.</p> |

<a name="VrkflowStore"></a>

## VrkflowStore(configuration) ⇒ <code>Object</code>
<p>Creates new Vuex CRUD module.</p>

**Kind**: global function  
**Returns**: <code>Object</code> - <p>A Vuex module.</p>  

| Param | Type |
| --- | --- |
| configuration | <code>Object</code> | 

**Properties**

| Name | Type | Description |
| --- | --- | --- |
| idAttribute | <code>String</code> | <p>The name of ID attribute.</p> |
| resource | <code>String</code> | <p>The name of the resource.</p> |
| urlRoot | <code>String</code> | <p>The root url.</p> |
| onUpdateSteps | <code>function</code> | <p>A custom getter for more complex URL to request data from API.</p> |
| state | <code>Object</code> | <p>The default state (will override generated state).</p> |
| actions | <code>Object</code> | <p>The default actions (will override generated actions object).</p> |
| mutations | <code>Object</code> | <p>The default mutations (will override generated mutations object).</p> |
| getters | <code>Object</code> | <p>The default getters (will override generated getters object).</p> |
| client | <code>Object</code> | <p>The client that should be used to do API requests.</p> |
| onFetchListStart | <code>function</code> | <p>Mutation method called after collection fetch start.</p> |
| onFetchListSuccess | <code>function</code> | <p>Mutation method called after collection fetch success.</p> |
| onFetchListError | <code>function</code> | <p>Mutation method called after collection fetch error.</p> |
| onFetchSingleStart | <code>function</code> | <p>Mutation method called after single fetch start.</p> |
| onFetchSingleSuccess | <code>function</code> | <p>Mutation method called after single fetch success.</p> |
| onFetchSingleError | <code>function</code> | <p>Mutation method called after single fetch error.</p> |
| onCreateStart | <code>function</code> | <p>Mutation method called after create state.</p> |
| onCreateSuccess | <code>function</code> | <p>Mutation method called after create success.</p> |
| onCreateError | <code>function</code> | <p>Mutation method called after create error.</p> |
| onUpdateStart | <code>function</code> | <p>Mutation method called after update state.</p> |
| onUpdateSuccess | <code>function</code> | <p>Mutation method called after update success.</p> |
| onUpdateError | <code>function</code> | <p>Mutation method called after update error.</p> |
| onReplaceStart | <code>function</code> | <p>Mutation method called after replace state.</p> |
| onReplaceSuccess | <code>function</code> | <p>Mutation method called after replace success.</p> |
| onReplaceError | <code>function</code> | <p>Mutation method called after replace error.</p> |
| onDestroyStart | <code>function</code> | <p>Mutation method called after destroy state.</p> |
| onDestroySuccess | <code>function</code> | <p>Mutation method called after destroy success.</p> |
| onDestroyError | <code>function</code> | <p>Mutation method called after destroy error.</p> |
| only | <code>Array</code> | <p>A list of CRUD actions that should be available.</p> |
| parseList | <code>function</code> | <p>A method used to parse list of resources.</p> |
| parseSingle | <code>function</code> | <p>A method used to parse singe resource.</p> |
| parseError | <code>function</code> | <p>A method used to parse error responses.</p> |

