PagedResult interface

Forward-pagination result wrapper returned by executePaginated().

Properties

endCursor

Cursor to pass to after() to fetch the next page.

hasNextPage

Whether another page is available after this one.

items

The records in the current page.

totalCount

Total count of matching records, when provided by the server.

Property Details

endCursor

Cursor to pass to after() to fetch the next page.

endCursor?: string

Property Value

string

hasNextPage

Whether another page is available after this one.

hasNextPage: boolean

Property Value

boolean

items

The records in the current page.

items: T[]

Property Value

T[]

totalCount

Total count of matching records, when provided by the server.

totalCount?: number

Property Value

number