Skip to content
qubeejs/angular
3.8/API/ResponseOptions

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'
});

new ResponseOptions(options): ResponseOptions

Defined in: src/lib/models/response-options.ts:31

IPaginationConfig

ResponseOptions

readonly currentPage: string

Defined in: src/lib/models/response-options.ts:18


readonly data: string

Defined in: src/lib/models/response-options.ts:19


readonly firstPageUrl: string

Defined in: src/lib/models/response-options.ts:20


readonly from: string

Defined in: src/lib/models/response-options.ts:21


readonly lastPage: string

Defined in: src/lib/models/response-options.ts:22


readonly lastPageUrl: string

Defined in: src/lib/models/response-options.ts:23


readonly nextPageUrl: string

Defined in: src/lib/models/response-options.ts:24


readonly path: string

Defined in: src/lib/models/response-options.ts:25


readonly perPage: string

Defined in: src/lib/models/response-options.ts:26


readonly prevPageUrl: string

Defined in: src/lib/models/response-options.ts:27


readonly to: string

Defined in: src/lib/models/response-options.ts:28


readonly total: string

Defined in: src/lib/models/response-options.ts:29