Some checks failed
Build Docker Image / build (push) Failing after 1m29s
- Add hubCountries query and country filter for hubs page - Add getAvailableProducts query for offers (only products with active offers) - Add sourceLatitude/sourceLongitude to orders GraphQL - Fix ListMapLayout with position fixed for proper map height - GlobalSearchBar: make fields wider, remove unit selector - Remove status/isVerified filters from suppliers/offers (backend handles this)
29 lines
768 B
GraphQL
29 lines
768 B
GraphQL
query GetOffers($productUuid: String, $locationUuid: String, $categoryName: String, $teamUuid: String, $limit: Int, $offset: Int) {
|
|
getOffers(productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid, limit: $limit, offset: $offset) {
|
|
uuid
|
|
teamUuid
|
|
# Location
|
|
locationUuid
|
|
locationName
|
|
locationCountry
|
|
locationCountryCode
|
|
locationLatitude
|
|
locationLongitude
|
|
# Product
|
|
productUuid
|
|
productName
|
|
categoryName
|
|
# Price
|
|
quantity
|
|
unit
|
|
pricePerUnit
|
|
currency
|
|
# Misc
|
|
description
|
|
validUntil
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
getOffersCount(productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid)
|
|
}
|