Skip to main content
Version: 2.0.0-alpha

Type alias: SaveEntityWithCallbacksProps<M>

Ƭ SaveEntityWithCallbacksProps<M>: SaveEntityProps<M> & { callbacks?: EntityCallbacks<M> ; onPreSaveHookError?: (e: Error) => void ; onSaveFailure?: (e: Error) => void ; onSaveSuccess?: (updatedEntity: Entity<M>) => void ; onSaveSuccessHookError?: (e: Error) => void }

Type parameters

NameType
Mextends Record<string, any>

Defined in

lib/src/hooks/data/save.ts:16

Need a hand?

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