GitHub

ShopifySearchResultItemConnection

interface

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

An auto-generated type for paginating through multiple SearchResultItems.

interface ShopifySearchResultItemConnection {
  __typename: "SearchResultItemConnection"
  edges: ShopifySearchResultItemEdge[]
  nodes: ShopifySearchResultItem[]
  pageInfo: ShopifyPageInfo
  productFilters: ShopifyFilter[]
  totalCount: number
}

Properties

__typename
"SearchResultItemConnection"
edges
ShopifySearchResultItemEdge[]

A list of edges.

nodes
ShopifySearchResultItem[]

A list of the nodes contained in SearchResultItemEdge.

pageInfo
ShopifyPageInfo

Information to aid in pagination.

productFilters
ShopifyFilter[]

A list of available filters.

totalCount
number

The total number of results.