Name | Type | Default |
scheme | Object | {} |
Returned Promise where response are object with .status and .data field
Contains scheme type with request result SUCCES or FAILURE
Example
GET_LIST_SUCCESS or GET_LIST_FAILURE
Contains response from server.
Example JSON Api
Success reponce{"data": [{"type": "someList","id": 1,"attributes": {"name": "Some name",}}],"result": true}
Responce with errorerrors: [{code: 429001,message: 'Error test message'}],result: false,