import { ShopifyMenu } from '@daffodil/driver/shopify'
A navigation structure for building store menus. Each menu contains MenuItem objects that can be nested to create multi-level navigation hierarchies.
Menu items can link to collections, products, pages, blogs, or external URLs. Use the menu query to retrieve a menu by its handle.
interface ShopifyMenu {
__typename: "Menu"
handle: string
id: string
items: ShopifyMenuItem[]
itemsCount: number
title: string
}
__typename "Menu" |
|---|
handle string |
|---|
The menu's handle. |
id string |
|---|
A globally-unique ID. |
items ShopifyMenuItem[] |
|---|
The menu's child items. |
itemsCount number |
|---|
The count of items on the menu. |
title string |
|---|
The menu's title. |