GitHub

provideDaffProductMagentoExtraProductPreviewFragments

import { provideDaffProductMagentoExtraProductPreviewFragments } from '@daffodil/product/driver/magento'

Provides extra GraphQL fragments for the Magento product preview query.

See DAFF_PRODUCT_MAGENTO_EXTRA_PRODUCT_PREVIEW_FRAGMENTS.

const provideDaffProductMagentoExtraProductPreviewFragments: <R extends any = any>(...values: R[]) => ValueProvider[]

Examples

providers: [
  ...provideDaffProductMagentoExtraProductPreviewFragments(
    myExtraProductPreviewFragment
  )
]