PaginationState
Defined in: packages/core/src/api/types.ts:701
Client-side pagination state. Tracks cursor stack for forward/backward navigation.
Properties
Section titled “Properties”currentPage
Section titled “currentPage”currentPage:
number
Defined in: packages/core/src/api/types.ts:703
Current page number (1-based).
cursor
Section titled “cursor”cursor:
string|null
Defined in: packages/core/src/api/types.ts:709
Current cursor (top of stack).
cursorStack
Section titled “cursorStack”cursorStack: (
string|null)[]
Defined in: packages/core/src/api/types.ts:707
Stack of cursors for backward navigation.
hasNextPage
Section titled “hasNextPage”hasNextPage:
boolean
Defined in: packages/core/src/api/types.ts:711
Whether there are more pages after current page.
hasPreviousPage
Section titled “hasPreviousPage”hasPreviousPage:
boolean
Defined in: packages/core/src/api/types.ts:713
Whether there are previous pages.
pageSize
Section titled “pageSize”pageSize:
number
Defined in: packages/core/src/api/types.ts:705
Items per page.
totalCount?
Section titled “totalCount?”
optionaltotalCount?:number
Defined in: packages/core/src/api/types.ts:715
Total count of items (optional — requires separate count query).