▪ ResponseType
Protected
constructor+ new RequestBuilder(uri
: string, options
: Options): RequestBuilder
Defined in jsonApi.builder.ts:21
Parameters:
Returns: RequestBuilder
Protected
limit• limit: number = DEFAULT_RESOURCE_LIMIT
Defined in jsonApi.builder.ts:19
Protected
offset• offset: undefined | number
Defined in jsonApi.builder.ts:20
Protected
options• options: Options
Defined in jsonApi.builder.ts:23
Protected
page• page: number = 1
Defined in jsonApi.builder.ts:21
Protected
queryParams• queryParams: Record‹string, string›
Defined in jsonApi.builder.ts:17
Protected
resolveIncludedRelationships• resolveIncludedRelationships: boolean = false
Defined in jsonApi.builder.ts:16
Protected
sortParams• sortParams: string[] = []
Defined in jsonApi.builder.ts:18
• uri: string
Defined in jsonApi.builder.ts:15
• get parameters(): Record‹string, string›
Defined in jsonApi.builder.ts:50
Returns: Record‹string, string›
▸ filter(key
: string | string[] | undefined, value
: string | number | boolean | undefined, operator?
: FilterOperator): this
Defined in jsonApi.builder.ts:84
Parameters:
Returns: this
▸ pageLimit(limit
: number): this
Defined in jsonApi.builder.ts:102
Parameters:
Returns: this
▸ pageNumber(page
: number | string | undefined): this
Defined in jsonApi.builder.ts:112
Parameters:
Returns: this
▸ pageOffset(offset
: number): this
Defined in jsonApi.builder.ts:107
Parameters:
Returns: this
▸ parameter(key
: string, value
: string | number | boolean | undefined): this
Defined in jsonApi.builder.ts:74
Parameters:
Returns: this
Protected
parseResponse▸ parseResponse<Raw>(response
: HttpResponse): Promise‹JsonResponse‹Raw››
Defined in jsonApi.builder.ts:117
Type parameters:
▪ Raw: RawResponse‹any, any›
Parameters:
Returns: Promise‹JsonResponse‹Raw››
▸ resolveIncluded(resolveIncluded?
: undefined | false | true): this
Defined in jsonApi.builder.ts:69
Parameters:
Returns: this
Abstract
send▸ send(options?
: HttpOptions): Promise‹ResponseType›
Defined in jsonApi.builder.ts:67
Parameters:
Returns: Promise‹ResponseType›
▸ sort(key
: string | undefined, order
: SortOrder): this
Defined in jsonApi.builder.ts:95
Parameters:
Returns: this
Name
Type
uri
string
options
Name
Type
key
string | string[] | undefined
value
string | number | boolean | undefined
operator?
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