All checks were successful
Build Docker Image / build (push) Successful in 4m45s
- Remove Offers, Suppliers, Products, NearbyConnections sections - Add product filter dropdown - Show sources list with routes from findProductRoutes API - Display routes on map using RequestRoutesMap component - Add i18n keys for sources section (en/ru)
32 lines
602 B
GraphQL
32 lines
602 B
GraphQL
query FindProductRoutes($productUuid: String!, $toUuid: String!, $limitSources: Int, $limitRoutes: Int) {
|
|
findProductRoutes(
|
|
productUuid: $productUuid
|
|
toUuid: $toUuid
|
|
limitSources: $limitSources
|
|
limitRoutes: $limitRoutes
|
|
) {
|
|
sourceUuid
|
|
sourceName
|
|
sourceLat
|
|
sourceLon
|
|
distanceKm
|
|
routes {
|
|
totalDistanceKm
|
|
totalTimeSeconds
|
|
stages {
|
|
fromUuid
|
|
fromName
|
|
fromLat
|
|
fromLon
|
|
toUuid
|
|
toName
|
|
toLat
|
|
toLon
|
|
distanceKm
|
|
travelTimeSeconds
|
|
transportType
|
|
}
|
|
}
|
|
}
|
|
}
|