import { MagentoNavigationDriverConfig } from '@daffodil/navigation/driver/magento'
An interface for providing @daffodil/search/state with necessary config values.
interface MagentoNavigationDriverConfig {
navigationTreeQueryDepth: number
rootCategoryId: string
}
navigationTreeQueryDepth number |
---|
The maximum depth of category children that the navigation driver will query. Defaults to 3. |
rootCategoryId string |
---|
The UID of the root category.
While this is optional, setting it will prevent an extra driver call during |