Skip to main content
Version: 2.0.0

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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!