Skip to main content

Type alias: DeleteEntityWithCallbacksProps<M>

Ƭ DeleteEntityWithCallbacksProps<M>: DeleteEntityProps<M> & { callbacks?: EntityCallbacks<M> ; onDeleteFailure?: (entity: Entity<M>, e: Error) => void ; onDeleteSuccess?: (entity: Entity<M>) => void ; onDeleteSuccessHookError?: (entity: Entity<M>, e: Error) => void ; onPreDeleteHookError?: (entity: Entity<M>, e: Error) => void }

Type parameters#

Name
M

Defined in#

hooks/data/delete.ts:12