API/PocketbaseResponseOptions
PocketbaseResponseOptions
src/models/response-options.tsclass
Pre-configured ResponseOptions for the PocketBase driver
The records-list envelope is flat: { page, perPage, totalItems, totalPages, items }. The envelope carries no from/to indices and
no navigation links, so those paths default to empty strings (the
strategy derives from/to from page × perPage and leaves the
URLs undefined); all paths are overridable via PaginationConfig
(dot notation supported) for custom wrappers.
Constructor
Section titled “Constructor”new PocketbaseResponseOptions(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 |
— |
