CreatePaginatorOptionsSync
type CreatePaginatorOptionsSync<T, TCursor> = object;Defined in: pagination.ts:112
All-sync configuration: sync fetchers and a sync codec.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
TCursor extends Record<string, unknown> |
Properties
Section titled “Properties”cursor?
Section titled “cursor?”cursor?: PaginatorCursorOptionsSync<T, TCursor>;Defined in: pagination.ts:115
fetchCursor?
Section titled “fetchCursor?”fetchCursor?: (window) => PaginationFetchResult<T>;Defined in: pagination.ts:114
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
window |
CursorWindow<TCursor> |
Returns
Section titled “Returns”fetchOffset?
Section titled “fetchOffset?”fetchOffset?: (window) => PaginationFetchResult<T>;Defined in: pagination.ts:113
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
window |
OffsetWindow |
Returns
Section titled “Returns”maxLimit?
Section titled “maxLimit?”maxLimit?: number;Defined in: pagination.ts:116