Type Alias: DeleteEntityWithCallbacksProps<M, UserType>
DeleteEntityWithCallbacksProps<
M
,UserType
>:DeleteEntityProps
<M
> &object
Type declaration​
callbacks?​
optional
callbacks:EntityCallbacks
<M
,UserType
>
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
>
• UserType extends User
= User