Skip to main content

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#

hooks/data/useSaveEntity.ts:17