From d3bc7e9c09cc5bce218679a30ea8cfa87f70e309 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Fri, 16 Jan 2026 16:57:30 +0700 Subject: [PATCH] refactor(webapp): Update to use new geo queries - offersByHub, offerToHub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename GetOffersToHub → GetOffersByHub - Rename GetDeliveryToHub → GetOfferToHub - Delete FindRoutes.graphql, FindProductRoutes.graphql - Update catalog pages and CalcResultContent to use new query names - Regenerate GraphQL types --- app/components/CalcResultContent.vue | 80 ++---------- .../graphql/public/geo-generated.ts | 118 ++++++------------ app/pages/catalog/hubs/[id]/[productId].vue | 6 +- .../catalog/offers/[productId]/[hubId].vue | 6 +- .../[supplierId]/[productId]/[hubId].vue | 6 +- .../public/geo/FindProductRoutes.graphql | 31 ----- .../operations/public/geo/FindRoutes.graphql | 19 --- ...eryToHub.graphql => GetOfferToHub.graphql} | 4 +- ...rsToHub.graphql => GetOffersByHub.graphql} | 4 +- 9 files changed, 62 insertions(+), 212 deletions(-) delete mode 100644 graphql/operations/public/geo/FindProductRoutes.graphql delete mode 100644 graphql/operations/public/geo/FindRoutes.graphql rename graphql/operations/public/geo/{GetDeliveryToHub.graphql => GetOfferToHub.graphql} (74%) rename graphql/operations/public/geo/{GetOffersToHub.graphql => GetOffersByHub.graphql} (75%) diff --git a/app/components/CalcResultContent.vue b/app/components/CalcResultContent.vue index ce17d53..4d3d07f 100644 --- a/app/components/CalcResultContent.vue +++ b/app/components/CalcResultContent.vue @@ -62,8 +62,7 @@