Files
webapp/graphql/operations/public/geo/GetOfferToHub.graphql
Ruslan Bakiev d3bc7e9c09
All checks were successful
Build Docker Image / build (push) Successful in 4m23s
refactor(webapp): Update to use new geo queries - offersByHub, offerToHub
- Rename GetOffersToHub → GetOffersByHub
- Rename GetDeliveryToHub → GetOfferToHub
- Delete FindRoutes.graphql, FindProductRoutes.graphql
- Update catalog pages and CalcResultContent to use new query names
- Regenerate GraphQL types
2026-01-16 16:57:30 +07:00

27 lines
476 B
GraphQL

query GetOfferToHub($offerUuid: String!, $hubUuid: String!) {
offerToHub(offerUuid: $offerUuid, hubUuid: $hubUuid) {
sourceUuid
sourceName
sourceLat
sourceLon
distanceKm
routes {
totalDistanceKm
totalTimeSeconds
stages {
fromUuid
fromName
fromLat
fromLon
toUuid
toName
toLat
toLon
distanceKm
travelTimeSeconds
transportType
}
}
}
}