fix: migrate geo GraphQL queries and frontend to camelCase
All checks were successful
Build Docker Image / build (push) Successful in 5m0s

Geo backend was migrated to camelCase but frontend .graphql files and
component code still used snake_case, causing 400 errors on all geo API calls.
This commit is contained in:
Ruslan Bakiev
2026-03-10 14:10:23 +07:00
parent 4467d20160
commit 29c34a048a
30 changed files with 349 additions and 349 deletions

View File

@@ -1,34 +1,34 @@
query NearestOffers($lat: Float!, $lon: Float!, $radius: Float, $productUuid: String, $hubUuid: String, $limit: Int) {
nearest_offers(lat: $lat, lon: $lon, radius: $radius, product_uuid: $productUuid, hub_uuid: $hubUuid, limit: $limit) {
nearestOffers(lat: $lat, lon: $lon, radius: $radius, productUuid: $productUuid, hubUuid: $hubUuid, limit: $limit) {
uuid
product_uuid
product_name
supplier_uuid
supplier_name
productUuid
productName
supplierUuid
supplierName
latitude
longitude
country
country_code
price_per_unit
countryCode
pricePerUnit
currency
quantity
unit
distance_km
distanceKm
routes {
total_distance_km
total_time_seconds
totalDistanceKm
totalTimeSeconds
stages {
from_uuid
from_name
from_lat
from_lon
to_uuid
to_name
to_lat
to_lon
distance_km
travel_time_seconds
transport_type
fromUuid
fromName
fromLat
fromLon
toUuid
toName
toLat
toLon
distanceKm
travelTimeSeconds
transportType
}
}
}