4
0
forked from crowetic/commerce
commerce/framework/vendure/utils/fragments/search-result-fragment.ts

24 lines
360 B
TypeScript

export const searchResultFragment = /* GraphQL */ `
fragment SearchResult on SearchResult {
productId
productName
description
slug
sku
currencyCode
productAsset {
id
preview
}
priceWithTax {
... on SinglePrice {
value
}
... on PriceRange {
min
max
}
}
}
`