Interface: CursorPaginatedResult<T, TCursor>
Defined in: collection/types.ts:112
Result of a cursor-based pagination operation.
Example
const page: CursorPaginatedResult<User, string> = {
items: users,
nextCursor: 'user_456',
hasMore: true
}
Type Parameters
T
T
The type of items in the page
TCursor
TCursor
The type of the cursor
Properties
hasMore
readonlyhasMore:boolean
Defined in: collection/types.ts:115
items
readonlyitems: readonlyT[]
Defined in: collection/types.ts:113
nextCursor?
readonlyoptionalnextCursor:TCursor
Defined in: collection/types.ts:114