Create CRUD Action
createCRUDActionextend withcreateActionwithout restore and delay methods, more info about ActionSettings see here
updateKey#
| Type | Default | Required | Description |
|---|---|---|---|
| String | - | No | The key by which the data will be updated |
apiCalls#
| Type | Default | Required | Description |
|---|---|---|---|
| APICalls | - | Yes | Api calls Object (get, create, update, delete ) |
createCRUDAction({ //... other props apiCalls: { get: getApiCall, create: createApiCall, update: updateApiCall, delete: deleteApiCall, },})