API/FeathersResponseOptions
FeathersResponseOptions
src/models/response-options.tsclass
Pre-configured ResponseOptions for the FeathersJS driver
The Feathers adapter envelope is { total, limit, skip, data } —
offset-based, with no page number and no navigation URLs. perPage
maps to the envelope’s limit key and total to total; the
strategy derives currentPage / lastPage / from / to from
skip and limit, so the corresponding key paths default to empty
strings (the skip key itself is fixed by the envelope and read
directly by the strategy).
Constructor
Section titled “Constructor”new FeathersResponseOptions(options: PaginationConfig)| Parameter | Type | Description |
|---|---|---|
options |
PaginationConfig |
— |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
currentPage |
string |
— |
data |
string |
— |
firstPageUrl |
string |
— |
from |
string |
— |
lastPage |
string |
— |
lastPageUrl |
string |
— |
nextPageUrl |
string |
— |
path |
string |
— |
perPage |
string |
— |
prevPageUrl |
string |
— |
to |
string |
— |
total |
string |
— |
