Type Alias: PageInfo
type PageInfo = {
endCursor?: string;
hasNextPage: boolean;
hasPreviousPage: boolean;
startCursor?: string;
};
Information about pagination in a connection.
Properties
endCursor?
optional endCursor?: string;
When paginating forwards, the cursor to continue.
hasNextPage
hasNextPage: boolean;
Are there more items when paginating forwards?
hasPreviousPage
hasPreviousPage: boolean;
When paginating backwards, are there more items?
startCursor?
optional startCursor?: string;
When paginating backwards, the cursor to continue.