NestjsxCrudResponseOptions
Defined in: src/lib/models/response-options.ts:260
Pre-configured ResponseOptions for the @nestjsx/crud driver
The getMany envelope is flat: { data, count, total, page, pageCount }. perPage defaults to the count field — the number of
entities on the current page, which equals the requested limit on
every page except a partial last one. The envelope carries no
from/to indices and no navigation links, so those paths default to
empty strings (the strategy derives from/to and leaves the URLs
undefined); consumers can override any path via IPaginationConfig.
Extends
Constructors
Constructor
new NestjsxCrudResponseOptions(
options):NestjsxCrudResponseOptions
Defined in: src/lib/models/response-options.ts:261
Parameters
options
Returns
NestjsxCrudResponseOptions
Overrides
Properties
currentPage
readonlycurrentPage:string
Defined in: src/lib/models/response-options.ts:18
Inherited from
data
readonlydata:string
Defined in: src/lib/models/response-options.ts:19
Inherited from
firstPageUrl
readonlyfirstPageUrl:string
Defined in: src/lib/models/response-options.ts:20
Inherited from
from
readonlyfrom:string
Defined in: src/lib/models/response-options.ts:21
Inherited from
lastPage
readonlylastPage:string
Defined in: src/lib/models/response-options.ts:22
Inherited from
lastPageUrl
readonlylastPageUrl:string
Defined in: src/lib/models/response-options.ts:23
Inherited from
nextPageUrl
readonlynextPageUrl:string
Defined in: src/lib/models/response-options.ts:24
Inherited from
path
readonlypath:string
Defined in: src/lib/models/response-options.ts:25
Inherited from
perPage
readonlyperPage:string
Defined in: src/lib/models/response-options.ts:26
Inherited from
prevPageUrl
readonlyprevPageUrl:string
Defined in: src/lib/models/response-options.ts:27
Inherited from
to
readonlyto:string
Defined in: src/lib/models/response-options.ts:28
Inherited from
total
readonlytotal:string
Defined in: src/lib/models/response-options.ts:29