ResponseOptions
ArchivedThese are the docs for ng-qubee 3.8. Read the 4.0 docs for @qubeejs/angular.
Defined in: src/lib/models/response-options.ts:17
Resolved response field key names with defaults applied
Maps logical pagination concepts to the actual key names used in the API response. Unset values fall back to Laravel defaults.
For NestJS responses, use dot-notation paths:
new ResponseOptions({ currentPage: 'meta.currentPage', total: 'meta.totalItems'});Extended by
Section titled “Extended by”ApiPlatformResponseOptionsDirectusResponseOptionsDrfResponseOptionsFeathersResponseOptionsJsonApiResponseOptionsJsonServerResponseOptionsNestjsResponseOptionsNestjsxCrudResponseOptionsOdataResponseOptionsPayloadResponseOptionsPocketbaseResponseOptionsSieveResponseOptionsSpringResponseOptionsStrapiResponseOptions
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ResponseOptions(
options):ResponseOptions
Defined in: src/lib/models/response-options.ts:31
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”ResponseOptions
Properties
Section titled “Properties”currentPage
Section titled “currentPage”
readonlycurrentPage:string
Defined in: src/lib/models/response-options.ts:18
readonlydata:string
Defined in: src/lib/models/response-options.ts:19
firstPageUrl
Section titled “firstPageUrl”
readonlyfirstPageUrl:string
Defined in: src/lib/models/response-options.ts:20
readonlyfrom:string
Defined in: src/lib/models/response-options.ts:21
lastPage
Section titled “lastPage”
readonlylastPage:string
Defined in: src/lib/models/response-options.ts:22
lastPageUrl
Section titled “lastPageUrl”
readonlylastPageUrl:string
Defined in: src/lib/models/response-options.ts:23
nextPageUrl
Section titled “nextPageUrl”
readonlynextPageUrl:string
Defined in: src/lib/models/response-options.ts:24
readonlypath:string
Defined in: src/lib/models/response-options.ts:25
perPage
Section titled “perPage”
readonlyperPage:string
Defined in: src/lib/models/response-options.ts:26
prevPageUrl
Section titled “prevPageUrl”
readonlyprevPageUrl:string
Defined in: src/lib/models/response-options.ts:27
readonlyto:string
Defined in: src/lib/models/response-options.ts:28
readonlytotal:string
Defined in: src/lib/models/response-options.ts:29