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 | Type |
---|---|
M | extends Record <string , any > |