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