Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Options
Optional
pagination• pagination? : undefined | false | true
Defined in jsonApi.builder.ts:11
Optional
sort• sort? : undefined | false | true
Defined in jsonApi.builder.ts:10
Included groups allow you to extract stuff from 'included' JSON API field basing on specified name-type pairs, and add proper types to it.
▪ D: AnyData
IncludedGroup
• __d: D
Defined in jsonApi.interface.ts:103
• type: string
Defined in jsonApi.interface.ts:102
▪ Attrs: Attributes
▪ Rels: OptionalRels
Data
• attributes: Attrs
Defined in jsonApi.interface.ts:39
• id: string
Defined in jsonApi.interface.ts:37
• links: object
Defined in jsonApi.interface.ts:41
self: string
• relationships: Rels
Defined in jsonApi.interface.ts:40
• type: string
Defined in jsonApi.interface.ts:38
▪ D: AnyData
▪ M: ListMetaData
RawListResponse
• data: D[]
Defined in jsonApi.interface.ts:126
Optional
included• included? : IncludedRelationships
Defined in jsonApi.interface.ts:133
• links: object
Defined in jsonApi.interface.ts:127
first: string
last: string
next? : undefined | string
prev? : undefined | string
• meta: M
Defined in jsonApi.interface.ts:134
▪ D: AnyData
▪ M: object
RawResponse
• data: D
Defined in jsonApi.interface.ts:120
Optional
included• included? : IncludedRelationships
Defined in jsonApi.interface.ts:122
Optional
meta• meta? : M
Defined in jsonApi.interface.ts:121