Skip to content

SaveEntityWithCallbacksProps

@firecms/core


@firecms/core / SaveEntityWithCallbacksProps

Type Alias: SaveEntityWithCallbacksProps<M>

Section titled “Type Alias: SaveEntityWithCallbacksProps<M>”

SaveEntityWithCallbacksProps<M> = SaveEntityProps<M> & object

Defined in: hooks/data/save.ts:8

optional onPreSaveHookError: (e) => void

Error

void

optional onSaveFailure: (e) => void

Error

void

optional onSaveSuccess: (updatedEntity) => void

Entity<M>

void

optional onSaveSuccessHookError: (e) => void

Error

void

M extends Record<string, any>