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
27 lines
512 B
GraphQL
27 lines
512 B
GraphQL
query GetOffersToHub($hubUuid: String!, $productUuid: String!, $limit: Int) {
|
|
offersToHub(hubUuid: $hubUuid, productUuid: $productUuid, limit: $limit) {
|
|
sourceUuid
|
|
sourceName
|
|
sourceLat
|
|
sourceLon
|
|
distanceKm
|
|
routes {
|
|
totalDistanceKm
|
|
totalTimeSeconds
|
|
stages {
|
|
fromUuid
|
|
fromName
|
|
fromLat
|
|
fromLon
|
|
toUuid
|
|
toName
|
|
toLat
|
|
toLon
|
|
distanceKm
|
|
travelTimeSeconds
|
|
transportType
|
|
}
|
|
}
|
|
}
|
|
}
|