stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetaobjectField

AdminTypes.MetaobjectField interface

Provides a field definition and the data value assigned to it.

Signature:

export interface MetaobjectField 

Properties

Property Modifiers Type Description
definition   MetaobjectFieldDefinition The field definition for this object key.
key   Scalars[‘String’][‘output’] The object key of this field.
reference?   Maybe<MetafieldReference> (Optional) For resource reference fields, provides the referenced object.
references?   Maybe<MetafieldReferenceConnection> (Optional) For resource reference list fields, provides the list of referenced objects.
type   Scalars[‘String’][‘output’] The type of the field.
value?   Maybe<Scalars[‘String’][‘output’]> (Optional) The assigned field value, always stored as a string regardless of the field type.