Function: detectServerPagination()
detectServerPagination(
operation):ServerPagination|undefined
Defined in: core/pagination.ts:109
Detects server-side pagination from the operation's declared query
parameters: a size param (limit…) with offset, a cursor (the response
then names the next page) or page. Returns undefined when the operation
has none, in which case the table paginates client-side.
Parameters
| Parameter | Type |
|---|---|
operation | ResolvedOperation |
Returns
ServerPagination | undefined