Skip to main content

PreUpdateCrudHandlerConfig

Configuration object passed to pre-update CRUD event handlers. Used to provide context and results to custom logic before a resource is updated.

Type Parameters

T

T extends WithId = WithId

Properties

crudServiceResult

crudServiceResult: GenericCrudResult<T>

The result object for the update operation (can be mutated)


crudUpdateConfig

crudUpdateConfig: CrudUpdateConfig<T>

The configuration for the update operation


modifiedResource

modifiedResource: T

The resource object after modification


originalResource?

optional originalResource: T

The resource object before modification


resourceMeta

resourceMeta: ResourceMeta

Metadata for the resource type