import { DaffCategoryMagentoDriverConfig } from '@daffodil/category/driver/magento'
An interface for providing @daffodil/category/driver/magento with necessary config values.
interface DaffCategoryMagentoDriverConfig {
truncateUrl: boolean
uriTruncationStrategy: (string: any) => string
}
truncateUrl boolean |
---|
Whether or not to attempt to truncate the category URL
during the |
uriTruncationStrategy (string: any) => string |
---|
An optional custom function to truncate the URL. Defaults to truncate leading slash, file extension, query params, and fragments. |