Add GraphQL documents for cascading filters
This commit is contained in:
11
graphql/operations/public/geo/GetHubsForProduct.graphql
Normal file
11
graphql/operations/public/geo/GetHubsForProduct.graphql
Normal file
@@ -0,0 +1,11 @@
|
||||
query GetHubsForProduct($productUuid: String!, $radiusKm: Float) {
|
||||
hubsForProduct(productUuid: $productUuid, radiusKm: $radiusKm) {
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
transportTypes
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
query GetSuppliersForProduct($productUuid: String!) {
|
||||
suppliersForProduct(productUuid: $productUuid) {
|
||||
uuid
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user