import { daffShopifyCategoryTransformer } from '@daffodil/category/driver/shopify'
Transforms a ShopifyCategory into a DaffGetCategoryResponse object.
function daffShopifyCategoryTransformer(
collection: ShopifyCollection
variables: ShopifyCollectionProductVariables
): DaffGetCategoryResponse
| Parameter | collection: ShopifyCollection |
|---|---|
| Description |
| Parameter | variables: ShopifyCollectionProductVariables |
|---|---|
| Description | variables used in getCategory/getCategoryByUrl request query |