module@warp-drive/core/types/spec/document
Type Alias ResourceDocument<T>
ts
type ResourceDocument<T> =
| ResourceMetaDocument
| SingleResourceDataDocument<T>
| CollectionResourceDataDocument<T>
| ResourceErrorDocument;Defined in: warp-drive-packages/core/src/types/spec/document.ts:135
A type useful for representing the raw {json:api} documents that the cache may use.
See also:
For the Reactive value returned by a request using the store, use ReactiveDocument instead.