Skip to content

Interface: Page<T> ​

The shape every paginated list endpoint returns: one page of items plus the cursor for the next page. nextCursor is absent on the last page. This is the low-level primitive. Callers that want to walk the whole list opt into the paginate iterator rather than looping the cursor by hand.

Type Parameters ​

Type Parameter
T

Properties ​

PropertyModifierType
itemsreadonlyreadonly T[]
nextCursor?readonlystring

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.