All checks were successful
Build Docker Image / build (push) Successful in 4m12s
- Add bounds (west/south/east/north) parameters to GetNodes query - Add setBoundsFilter to useCatalogHubs, useCatalogSuppliers, useCatalogProducts - Replace client-side bounds filtering with backend query - Add early return to setProductFilter to avoid redundant fetches - Watch filterByBounds to trigger backend refetch when checkbox changes
14 lines
522 B
GraphQL
14 lines
522 B
GraphQL
query GetNodes($limit: Int, $offset: Int, $transportType: String, $country: String, $west: Float, $south: Float, $east: Float, $north: Float) {
|
|
nodes(limit: $limit, offset: $offset, transportType: $transportType, country: $country, west: $west, south: $south, east: $east, north: $north) {
|
|
uuid
|
|
name
|
|
latitude
|
|
longitude
|
|
country
|
|
countryCode
|
|
syncedAt
|
|
transportTypes
|
|
}
|
|
nodesCount(transportType: $transportType, country: $country, west: $west, south: $south, east: $east, north: $north)
|
|
}
|