Interface: AsyncUpdatable<Data, Details, O, TransformBuilder, Options>
Type parameters​
Name | Type |
---|---|
Data | Data |
Details | Details |
O | extends Operation |
TransformBuilder | TransformBuilder |
Options | extends RequestOptions = RequestOptions |
Hierarchy​
AsyncUpdatable
↳
Updatable
Methods​
update​
â–¸ update<RequestData
>(transformOrOperations
, options?
, id?
): Promise
<RequestData
>
Type parameters​
Name | Type |
---|---|
RequestData | Data |
Parameters​
Name | Type |
---|---|
transformOrOperations | TransformOrOperations <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​
Name | Type |
---|---|
RequestData | Data |
RequestDetails | Details |
RequestOperation | extends Operation = O |
Parameters​
Name | Type |
---|---|
transformOrOperations | TransformOrOperations <O , TransformBuilder > |
options | FullRequestOptions <Options > |
id? | string |
Returns​
Promise
<FullResponse
<RequestData
, RequestDetails
, RequestOperation
>>