Skip to main content
Version: 0.17

Interface: SyncUpdatable<Data, Details, O, TransformBuilder, Options>

Type parameters​

NameType
DataData
DetailsDetails
Oextends Operation
TransformBuilderTransformBuilder
Optionsextends RequestOptions = RequestOptions

Methods​

update​

â–¸ update<RequestData>(transformOrOperations, options?, id?): RequestData

Type parameters​

NameType
RequestDataData

Parameters​

NameType
transformOrOperationsTransformOrOperations<O, TransformBuilder>
options?DefaultRequestOptions<Options>
id?string

Returns​

RequestData

Defined in​

packages/@orbit/data/src/updatable.ts:40

â–¸ update<RequestData, RequestDetails, RequestOperation>(transformOrOperations, options, id?): FullResponse<RequestData, RequestDetails, RequestOperation>

Type parameters​

NameType
RequestDataData
RequestDetailsDetails
RequestOperationextends Operation = O

Parameters​

NameType
transformOrOperationsTransformOrOperations<O, TransformBuilder>
optionsFullRequestOptions<Options>
id?string

Returns​

FullResponse<RequestData, RequestDetails, RequestOperation>

Defined in​

packages/@orbit/data/src/updatable.ts:45