Type Alias: SaveEntityWithCallbacksProps<M>
SaveEntityWithCallbacksProps<
M
>:SaveEntityProps
<M
> &object
Type declaration​
onPreSaveHookError()?​
optional
onPreSaveHookError: (e
) =>void
Parameters​
• e: Error
Returns​
void
onSaveFailure()?​
optional
onSaveFailure: (e
) =>void
Parameters​
• e: Error
Returns​
void
onSaveSuccess()?​
optional
onSaveSuccess: (updatedEntity
) =>void
Parameters​
• updatedEntity: Entity
<M
>
Returns​
void
onSaveSuccessHookError()?​
optional
onSaveSuccessHookError: (e
) =>void
Parameters​
• e: Error
Returns​
void
Type Parameters​
• M extends Record
<string
, any
>