Skip to content

PaginatedResponse

Paginated response containing items and navigation information

Type Parameters

Type Parameter
T

Properties

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