Skip to main content
Version: 0.17

Interface: FullResponse<Data, Details, O>

Type parameters

NameType
DataData
Detailsunknown
Oextends Operation = Operation

Properties

data

Optional data: Data

Primary data for this response.

Defined in

packages/@orbit/data/src/response.ts:26


details

Optional details: Details

Source-specific response details. For example, a request that uses fetch might include the raw response document in details.

Defined in

packages/@orbit/data/src/response.ts:32


sources

Optional sources: NamedFullResponseMap<unknown, unknown, O>

If fulfilling this request triggers downstream requests in other sources, those full responses may be returned in the sources map.

Note: Response data and details from other sources do not necessarily match the types of the primary response

Defined in

packages/@orbit/data/src/response.ts:47


transforms

Optional transforms: Transform<O>[]

Transforms should be returned if fulfilling a request results in mutations to a source.

Defined in

packages/@orbit/data/src/response.ts:38