Skip to main content

Interface: CursorPageResult<T>

Defined in: src/query/CursorPagination.ts:30

Type Parameters​

Type Parameter
T

Properties​

items​

items: T[]

Defined in: src/query/CursorPagination.ts:34

List of items returned for the current page.


nextCursor​

nextCursor: string | null

Defined in: src/query/CursorPagination.ts:39

Opaque base64 token representing the cursor for the next page, or null if no next page.


prevCursor​

prevCursor: string | null

Defined in: src/query/CursorPagination.ts:44

Opaque base64 token representing the cursor for the previous page, or null if at the beginning.


hasNextPage​

hasNextPage: boolean

Defined in: src/query/CursorPagination.ts:49

Whether more items exist after this page.


hasPreviousPage​

hasPreviousPage: boolean

Defined in: src/query/CursorPagination.ts:54

Whether items exist before this page.