GitHub

ShopifyFilter

interface

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

A filter that is supported on the parent field.

interface ShopifyFilter {
  __typename: "Filter"
  id: string
  label: string
  presentation: ShopifyFilterPresentation
  type: ShopifyFilterType
  values: ShopifyFilterValue[]
}

Properties

__typename
"Filter"
id
string

A unique identifier.

label
string

A human-friendly string for this filter.

presentation
ShopifyFilterPresentation

Describes how to present the filter values. Returns a value only for filters of type LIST. Returns null for other types.

type
ShopifyFilterType

An enumeration that denotes the type of data this filter represents.

values
ShopifyFilterValue[]

The list of values for this filter.