import { MagentoCategoryRoute } from '@daffodil/external-router/driver/magento'
interface MagentoCategoryRoute {
relative_url: string
type: "CATEGORY"
redirect_code: number
uid: string
canonical_url: string
meta_description: string
name: string
meta_title: string
products: { items: MagentoCategoryRouteProduct[]; }
}
relative_url string |
---|
The relative path for the route. |
type "CATEGORY" |
---|
The type of route, typically PRODUCT, CATEGORY or CMS_PAGE |
redirect_code number |
---|
The HTTP code for the page. |
uid string |
---|
In v2.4.3 this became the standard field across types |
canonical_url string |
---|
The canonical url of the route. |
meta_description string |
---|
The meta description of the route |
name string |
---|
The name of the route |
meta_title string |
---|
The title of the route |
products { items: MagentoCategoryRouteProduct[]; } |
---|
The list of items in the category. |