DeleteEntityWithCallbacksProps
@firecms/core / DeleteEntityWithCallbacksProps
Type Alias: DeleteEntityWithCallbacksProps<M, USER>
Section titled “Type Alias: DeleteEntityWithCallbacksProps<M, USER>”DeleteEntityWithCallbacksProps<
M,USER> =DeleteEntityProps<M> &object
Defined in: hooks/data/delete.ts:15
Type Declaration
Section titled “Type Declaration”callbacks?
Section titled “callbacks?”
optionalcallbacks:EntityCallbacks<M,USER>
onDeleteFailure()?
Section titled “onDeleteFailure()?”
optionalonDeleteFailure: (entity,e) =>void
Parameters
Section titled “Parameters”entity
Section titled “entity”Entity<M>
Error
Returns
Section titled “Returns”void
onDeleteSuccess()?
Section titled “onDeleteSuccess()?”
optionalonDeleteSuccess: (entity) =>void
Parameters
Section titled “Parameters”entity
Section titled “entity”Entity<M>
Returns
Section titled “Returns”void
onDeleteSuccessHookError()?
Section titled “onDeleteSuccessHookError()?”
optionalonDeleteSuccessHookError: (entity,e) =>void
Parameters
Section titled “Parameters”entity
Section titled “entity”Entity<M>
Error
Returns
Section titled “Returns”void
onPreDeleteHookError()?
Section titled “onPreDeleteHookError()?”
optionalonPreDeleteHookError: (entity,e) =>void
Parameters
Section titled “Parameters”entity
Section titled “entity”Entity<M>
Error
Returns
Section titled “Returns”void
Type Parameters
Section titled “Type Parameters”M extends Record<string, any>