Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetaobjectDefinition
Provides the definition of a generic object structure composed of metafields.
Signature:
export interface MetaobjectDefinition extends Node
Extends: Node
Property | Modifiers | Type | Description |
---|---|---|---|
access | MetaobjectAccess | Access configuration for the metaobject definition. | |
capabilities | MetaobjectCapabilities | The capabilities of the metaobject definition. | |
description? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The administrative description. | |
displayNameKey? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The key of a field to reference as the display name for each object. | |
fieldDefinitions | Array<MetaobjectFieldDefinition> | The fields defined for this object type. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
metaobjects | MetaobjectConnection | A paginated connection to the metaobjects associated with the definition. | |
metaobjectsCount | Scalars[‘Int’][‘output’] | The count of metaobjects created for the definition. | |
name | Scalars[‘String’][‘output’] | The human-readable name. | |
type | Scalars[‘String’][‘output’] | The type of the object definition. Defines the namespace of associated metafields. |