Type Alias: DeleteEntityWithCallbacksProps<M, USER>
DeleteEntityWithCallbacksProps<
M
,USER
>:DeleteEntityProps
<M
> &object
Type declaration​
callbacks?​
optional
callbacks:EntityCallbacks
<M
,USER
>
onDeleteFailure()?​
optional
onDeleteFailure: (entity
,e
) =>void
Parameters​
• entity: Entity
<M
>
• e: Error
Returns​
void
onDeleteSuccess()?​
optional
onDeleteSuccess: (entity
) =>void
Parameters​
• entity: Entity
<M
>
Returns​
void
onDeleteSuccessHookError()?​
optional
onDeleteSuccessHookError: (entity
,e
) =>void
Parameters​
• entity: Entity
<M
>
• e: Error
Returns​
void
onPreDeleteHookError()?​
optional
onPreDeleteHookError: (entity
,e
) =>void
Parameters​
• entity: Entity
<M
>
• e: Error
Returns​
void
Type Parameters​
• M extends Record
<string
, any
>