Skip to content
module@warp-drive/core/types/spec/json-api-raw

Type Alias ResourceObject<T> ​

ts
type ResourceObject<T> = 
  | ExistingResourceObject<T>
| NewResourceObject<T>;

Defined in: warp-drive-packages/core/src/types/spec/json-api-raw.ts:334

Represents a single {json:api} resource object, whether already persisted or newly created on the client.

See also:

{json:api} Spec

Type Parameters ​

T ​

T extends string = string

Released under the MIT License.