Alokai

AttributeMetadata

Base EAV implementation of CustomAttributeMetadataInterface.

type AttributeMetadata = CustomAttributeMetadataInterface & {
  __typename?: 'AttributeMetadata'; /** The unique identifier for an attribute code. This value should be in lowercase letters without spaces. */
  code: Scalars['ID']['output']; /** Default attribute value. */
  default_value?: Maybe<Scalars['String']['output']>; /** The type of entity that defines the attribute. */
  entity_type: AttributeEntityTypeEnum; /** The frontend class of the attribute. */
  frontend_class?: Maybe<Scalars['String']['output']>; /** The frontend input type of the attribute. */
  frontend_input?: Maybe<AttributeFrontendInputEnum>; /** Whether the attribute value is required. */
  is_required: Scalars['Boolean']['output']; /** Whether the attribute value must be unique. */
  is_unique: Scalars['Boolean']['output']; /** The label assigned to the attribute. */
  label?: Maybe<Scalars['String']['output']>; /** Attribute options. */
  options: Array<Maybe<CustomAttributeOptionInterface>>;
};

Referenced Types

On this page