Type alias SingleResponse<Resource, Included, Meta>

SingleResponse<Resource, Included, Meta>: {
    t: "single";
    data: Resource;
    included?: Included[];
    meta?: Meta;
}

A typical single resource response

Type Parameters

  • Resource extends unknown = unknown

  • Included extends unknown = unknown

  • Meta extends unknown = unknown

Type declaration

Generated using TypeDoc