PageInfo
type PageInfo = object;Defined in: pagination.ts:50
Properties
Section titled “Properties”endCursor?
Section titled “endCursor?”endCursor?: string | null;Defined in: pagination.ts:55
hasNextPage
Section titled “hasNextPage”hasNextPage: boolean;Defined in: pagination.ts:51
hasPreviousPage
Section titled “hasPreviousPage”hasPreviousPage: boolean;Defined in: pagination.ts:52
page?: number;Defined in: pagination.ts:57
Present for page/offset requests.
pageSize?
Section titled “pageSize?”pageSize?: number;Defined in: pagination.ts:58
startCursor?
Section titled “startCursor?”startCursor?: string | null;Defined in: pagination.ts:54
Cursor of the first/last item — present when cursors are configured.
totalItems?
Section titled “totalItems?”totalItems?: number;Defined in: pagination.ts:60
Present when the fetcher reported totalItems.
totalPages?
Section titled “totalPages?”totalPages?: number;Defined in: pagination.ts:61