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

Name
M

Defined in

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