GitHub

ShopifySitemap

Type

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

Contains all fields required to generate sitemaps.

interface ShopifySitemap {
  __typename: "Sitemap"
  pagesCount: ShopifyCount
  resources: ShopifyPaginatedSitemapResources
}

Properties

__typename
"Sitemap"
pagesCount
ShopifyCount

The number of sitemap's pages for a given type.

resources
ShopifyPaginatedSitemapResources

A list of sitemap's resources for a given type.

Important Notes:

  • The number of items per page varies from 0 to 250.
  • Empty pages (0 items) may occur and do not necessarily indicate the end of results.
  • Always check hasNextPage to determine if more pages are available.