Update catalog pages to use new geo queries
Some checks failed
Build Docker Image / build (push) Failing after 1m35s
Some checks failed
Build Docker Image / build (push) Failing after 1m35s
- Replace FindProductRoutesDocument with GetOffersToHubDocument - Replace FindSupplierProductHubsDocument with GetOffersBySupplierProductDocument + GetHubsNearOfferDocument - Update all catalog pages to use new query naming convention - Add new GraphQL operation files, remove deprecated ones
This commit is contained in:
16
graphql/operations/public/geo/GetOffersByProduct.graphql
Normal file
16
graphql/operations/public/geo/GetOffersByProduct.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
query GetOffersByProduct($productUuid: String!) {
|
||||
offersByProduct(productUuid: $productUuid) {
|
||||
uuid
|
||||
productUuid
|
||||
productName
|
||||
supplierUuid
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
pricePerUnit
|
||||
currency
|
||||
quantity
|
||||
unit
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user