Skip to main content

PreCreateCrudHandlerConfig

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

Type Parameters

T

T extends WithId = WithId

Properties

createResource

createResource: T

The resource object to be created


crudServiceResult

crudServiceResult: GenericCrudResult<T>

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


crudUpdateConfig

crudUpdateConfig: CrudUpdateConfig<T>

The configuration for the create operation


resourceMeta

resourceMeta: ResourceMeta

Metadata for the resource type