GitHub

ShopifyPageInfo

interface

import { ShopifyPageInfo } from '@daffodil/driver/shopify'

Returns information about pagination in a connection, in accordance with the Relay specification. For more information, please read our GraphQL Pagination Usage Guide.

interface ShopifyPageInfo {
  __typename: "PageInfo"
  endCursor: string
  hasNextPage: boolean
  hasPreviousPage: boolean
  startCursor: string
}

Properties

__typename
"PageInfo"
endCursor
string

The cursor corresponding to the last node in edges.

hasNextPage
boolean

Whether there are more pages to fetch following the current page.

hasPreviousPage
boolean

Whether there are any pages prior to the current page.

startCursor
string

The cursor corresponding to the first node in edges.