mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
24
framework/vendure/utils/fragments/search-result-fragment.ts
Normal file
24
framework/vendure/utils/fragments/search-result-fragment.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export const searchResultFragment = /* GraphQL */ `
|
||||
fragment SearchResult on SearchResult {
|
||||
productId
|
||||
productName
|
||||
description
|
||||
description
|
||||
slug
|
||||
sku
|
||||
currencyCode
|
||||
productAsset {
|
||||
id
|
||||
preview
|
||||
}
|
||||
priceWithTax {
|
||||
... on SinglePrice {
|
||||
value
|
||||
}
|
||||
... on PriceRange {
|
||||
min
|
||||
max
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
Reference in New Issue
Block a user