API/SieveResponseOptions
SieveResponseOptions
src/models/response-options.tsclass
Pre-configured ResponseOptions for the Sieve (.NET) driver
Sieve defines no response envelope (it returns an IQueryable the
developer wraps), so these defaults target the common hand-rolled
PagedResult<T> shape: { data, page, pageSize, total, totalPages }.
Every path is overridable via PaginationConfig — dot notation is
supported, so nested wrappers (meta.page, pagination.total) map
without subclassing. from/to default to empty paths and are
derived; the navigation-URL slots resolve to undefined unless paths
are provided.
Constructor
Section titled “Constructor”new SieveResponseOptions(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 |
— |
