Interface CollectionResourceDataDocument<T>
Defined in: warp-drive-packages/core/src/types/spec/document.ts:61
This type represents a raw {json:api} document for a resource collection returned by a request intended to be inserted into the cache.
For the Reactive value returned by a request using the store, use ReactiveDataDocument instead.
Type Parameters
T
Properties
data
data: T[];Defined in: warp-drive-packages/core/src/types/spec/document.ts:77
the resources the document represents
included?
optional included?: T[];Defined in: warp-drive-packages/core/src/types/spec/document.ts:81
any additional resources included via sideloading
lid?
optional lid?: string;Defined in: warp-drive-packages/core/src/types/spec/document.ts:65
the url or cache-key associated with the structured document
links?
optional links?:
| Links
| PaginationLinks;Defined in: warp-drive-packages/core/src/types/spec/document.ts:69
links related to the document, including pagination links
meta?
optional meta?: ObjectValue;Defined in: warp-drive-packages/core/src/types/spec/document.ts:73
meta information about the document