Skip to main content
Version: 0.17

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

Type parameters​

NameType
DataData
DetailsDetails
Oextends Operation
TransformBuilderTransformBuilder
Optionsextends RequestOptions = RequestOptions

Hierarchy​

Methods​

update​

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

Type parameters​

NameType
RequestDataData

Parameters​

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

Returns​

Promise<RequestData>

Defined in​

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

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

Type parameters​

NameType
RequestDataData
RequestDetailsDetails
RequestOperationextends Operation = O

Parameters​

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

Returns​

Promise<FullResponse<RequestData, RequestDetails, RequestOperation>>

Defined in​

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