▪ Raw: RawListResponse‹any, any›
▪ I: IncludedGroups
RequestBuilder‹JsonListResponse‹Raw, I››
↳ GetListBuilder
+ new GetListBuilder(httpClient
: HttpClient, uri
: string): GetListBuilder
Overrides RequestBuilder.constructor
Defined in jsonApi.getList.ts:36
Parameters:
Returns: GetListBuilder
Protected
limit• limit: number = DEFAULT_RESOURCE_LIMIT
Inherited from RequestBuilder.limit
Defined in jsonApi.builder.ts:19
Protected
offset• offset: undefined | number
Inherited from RequestBuilder.offset
Defined in jsonApi.builder.ts:20
Protected
options• options: Options
Inherited from RequestBuilder.options
Defined in jsonApi.builder.ts:23
Protected
page• page: number = 1
Inherited from RequestBuilder.page
Defined in jsonApi.builder.ts:21
Protected
queryParams• queryParams: Record‹string, string›
Inherited from RequestBuilder.queryParams
Defined in jsonApi.builder.ts:17
Protected
resolveIncludedRelationships• resolveIncludedRelationships: boolean = false
Inherited from RequestBuilder.resolveIncludedRelationships
Defined in jsonApi.builder.ts:16
Protected
sortParams• sortParams: string[] = []
Inherited from RequestBuilder.sortParams
Defined in jsonApi.builder.ts:18
• uri: string
Inherited from RequestBuilder.uri
Defined in jsonApi.builder.ts:15
• get parameters(): Record‹string, string›
Inherited from RequestBuilder.parameters
Defined in jsonApi.builder.ts:50
Returns: Record‹string, string›
▸ addToResponse(response
: JsonListResponse‹Raw, I› | undefined): this
Defined in jsonApi.getList.ts:42
Parameters:
Returns: this
▸ filter(key
: string | string[] | undefined, value
: string | number | boolean | undefined, operator?
: FilterOperator): this
Inherited from RequestBuilder.filter
Defined in jsonApi.builder.ts:84
Parameters:
Returns: this
▸ groupIncluded<Groups>(groups
: Groups): GetListBuilder‹Raw, IncludedGroups‹Groups››
Defined in jsonApi.getList.ts:47
Type parameters:
▪ Groups: IncludedGroupsSchema
Parameters:
Returns: GetListBuilder‹Raw, IncludedGroups‹Groups››
▸ pageLimit(limit
: number): this
Inherited from RequestBuilder.pageLimit
Defined in jsonApi.builder.ts:102
Parameters:
Returns: this
▸ pageNumber(page
: number | string | undefined): this
Inherited from RequestBuilder.pageNumber
Defined in jsonApi.builder.ts:112
Parameters:
Returns: this
▸ pageOffset(offset
: number): this
Inherited from RequestBuilder.pageOffset
Defined in jsonApi.builder.ts:107
Parameters:
Returns: this
▸ parameter(key
: string, value
: string | number | boolean | undefined): this
Inherited from RequestBuilder.parameter
Defined in jsonApi.builder.ts:74
Parameters:
Returns: this
Protected
parseResponse▸ parseResponse<Raw>(response
: HttpResponse): Promise‹JsonResponse‹Raw››
Inherited from RequestBuilder.parseResponse
Defined in jsonApi.builder.ts:117
Type parameters:
▪ Raw: RawResponse‹any, any›
Parameters:
Returns: Promise‹JsonResponse‹Raw››
▸ resolveIncluded(resolveIncluded?
: undefined | false | true): this
Overrides RequestBuilder.resolveIncluded
Defined in jsonApi.getList.ts:54
Parameters:
Returns: this
▸ send(options?
: HttpOptions): Promise‹JsonListResponse‹Raw, I››
Overrides RequestBuilder.send
Defined in jsonApi.getList.ts:59
Parameters:
Returns: Promise‹JsonListResponse‹Raw, I››
▸ sort(key
: string | undefined, order
: SortOrder): this
Inherited from RequestBuilder.sort
Defined in jsonApi.builder.ts:95
Parameters:
Returns: this
Name
Type
httpClient
HttpClient
uri
string
Name
Type
response
JsonListResponse‹Raw, I› | undefined
Name
Type
key
string | string[] | undefined
value
string | number | boolean | undefined
operator?
Name
Type
groups
Groups
Name
Type
limit
number
Name
Type
page
number | string | undefined
Name
Type
offset
number
Name
Type
key
string
value
string | number | boolean | undefined
Name
Type
response
HttpResponse
Name
Type
resolveIncluded?
undefined | false | true
Name
Type
options?
HttpOptions
Name
Type
key
string | undefined
order