Skip to main content

CrudUpdateConfig

Configuration interface for CRUD update operations.

Extends​

Type Parameters​

T​

T extends ResourceForUpdate

Properties​

isCalledFromOutside?​

optional isCalledFromOutside: boolean

Flag indicating the operation is called from outside, for example through API


isCreate?​

optional isCreate: boolean

Flag to indicate this is a create operation


isUpsert?​

optional isUpsert: boolean

Flag to enable upsert behavior


propertyRelationSyncInfos?​

optional propertyRelationSyncInfos: PropertyRelationSyncInfo[]

Configuration for synchronizing related resource properties


resource​

resource: T

Resource to be created or updated


resourceName​

resourceName: string

Name of the resource being operated on


throwOnNonSuccess?​

optional throwOnNonSuccess: boolean

Whether to throw an exception on operation failure


userId?​

optional userId: string

Id of the user performing the operation

Overrides​

WithOptionalUserId.userId