Builds a PaginatedResponse from a pre-fetched items array and a total count. Derives nextCursor from whether more items exist beyond the current page.
PaginatedResponse
nextCursor
Builds a
PaginatedResponsefrom a pre-fetched items array and a total count. DerivesnextCursorfrom whether more items exist beyond the current page.