GitHub

ShopifyMenuItem

interface

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

A menu item within a parent menu.

interface ShopifyMenuItem {
  __typename: "MenuItem"
  id: string
  items: ShopifyMenuItem[]
  resource: ShopifyMenuItemResource
  resourceId: string
  tags: string[]
  title: string
  type: ShopifyMenuItemType
  url: Maybe<Scalars['URL']['output']>
}

Properties

__typename
"MenuItem"
id
string

A globally-unique ID.

items
ShopifyMenuItem[]

The menu item's child items.

resource
ShopifyMenuItemResource

The linked resource.

resourceId
string

The ID of the linked resource.

tags
string[]

The menu item's tags to filter a collection.

title
string

The menu item's title.

type
ShopifyMenuItemType

The menu item's type.

url
Maybe<Scalars['URL']['output']>

The menu item's URL.