GitHub

ShopifyMetaobjectField

interface

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

Provides the value of a Metaobject field.

interface ShopifyMetaobjectField {
  __typename: "MetaobjectField"
  key: string
  reference: ShopifyMetafieldReference
  references: ShopifyMetafieldReferenceConnection
  type: string
  value: string
}

Properties

__typename
"MetaobjectField"
key
string

The field key.

reference
ShopifyMetafieldReference

A referenced object if the field type is a resource reference.

references
ShopifyMetafieldReferenceConnection

A list of referenced objects if the field type is a resource reference list.

type
string

The type name of the field. See the list of supported types.

value
string

The field value.