Skip to content

PaginatedResponse

Paginated response containing items and navigation information

Type Parameters

Type Parameter
T

Properties

Property Type Description
currentPage? number Current page number (1-based, if available)
hasNextPage boolean Whether more pages are available
items T[] The items in the current page
nextCursor? PaginationCursor Cursor to fetch the next page (if available)
previousCursor? PaginationCursor Cursor to fetch the previous page (if available)
supportsPageJump boolean Whether this pagination type supports jumping to arbitrary pages
totalCount? number Total count of items across all pages (if available)
totalPages? number Total number of pages (if available)