Interface: UpdateRequestOptions<T>
Defined in: service-core/src/routes/ModelRoute.ts:85
The set of options required by update request handlers.
Extends
Type Parameters
T
T extends BaseEntity | SimpleEntity
Properties
existing?
optionalexisting?:T|null
Defined in: service-core/src/routes/ModelRoute.ts:87
The existing object that has already been recently pulled from the datasource.
ignoreACL?
optionalignoreACL?:boolean
Defined in: service-core/src/models/RepoUtils.ts:39
Set to true to ignore the ACL permissions check.
Inherited from
pushChannels?
optionalpushChannels?:string[]
Defined in: service-core/src/routes/ModelRoute.ts:89
An additional list of channel names to send push notifications to.
Overrides
recordEvent?
optionalrecordEvent?:boolean
Defined in: service-core/src/models/RepoUtils.ts:43
Indicates if a telemetry event should be broadcast for the request.
Inherited from
req?
optionalreq?:HttpRequest
Defined in: service-core/src/routes/ModelRoute.ts:25
The originating client request.
Inherited from
res?
optionalres?:HttpResponse
Defined in: service-core/src/routes/ModelRoute.ts:27
The outgoing client response.
Inherited from
skipPush?
optionalskipPush?:boolean
Defined in: service-core/src/routes/ModelRoute.ts:91
Set to true to not send a push notification.
Overrides
transaction?
optionaltransaction?:TransactionInfo
Defined in: service-core/src/models/RepoUtils.ts:47
The transactional session to execute the operation within.
Inherited from
user?
optionaluser?:JWTUser
Defined in: service-core/src/models/RepoUtils.ts:49
The authenticated user making the request.
Inherited from
version?
optionalversion?:string|number
Defined in: service-core/src/routes/ModelRoute.ts:93
The desired version number of the resource to update.