Skip to main content
Version: 2.0.0-alpha

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

NameType
Mextends Record<string, any>

Defined in

lib/src/hooks/data/delete.ts:15

Need a hand?

We are happy to offer consulting services to help you get the most out of FireCMS.
Get in touch