feat(catalog): add bounds filtering to list queries
Some checks failed
Build Docker Image / build (push) Has been cancelled

- Add west/south/east/north params to HubsList, SuppliersList, ProductsList GraphQL
- Update useCatalogHubs to pass bounds to query
- Update useCatalogSuppliers to pass bounds to query
- Update useCatalogProducts to pass bounds to query
This commit is contained in:
Ruslan Bakiev
2026-01-26 21:37:23 +07:00
parent c56bb57fbf
commit b02e3882cc
6 changed files with 39 additions and 14 deletions

View File

@@ -84,7 +84,13 @@ export function useCatalogHubs() {
limit: PAGE_SIZE,
offset,
transportType,
country
country,
...(filterBounds.value && {
west: filterBounds.value.west,
south: filterBounds.value.south,
east: filterBounds.value.east,
north: filterBounds.value.north
})
},
'public',
'geo'