GitHub

ShopifyPaginatedSitemapResources

Type

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

Type for paginating through multiple sitemap's resources.

interface ShopifyPaginatedSitemapResources {
  __typename: "PaginatedSitemapResources"
  hasNextPage: boolean
  items: ShopifySitemapResourceInterface[]
}

Properties

__typename
"PaginatedSitemapResources"
hasNextPage
boolean

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

items
ShopifySitemapResourceInterface[]

List of sitemap resources for the current page. Note: The number of items varies between 0 and 250 per page.