Initial commit from monorepo
This commit is contained in:
29
graphql/operations/public/exchange/GetOffers.graphql
Normal file
29
graphql/operations/public/exchange/GetOffers.graphql
Normal file
@@ -0,0 +1,29 @@
|
||||
query GetOffers($status: String, $productUuid: String, $locationUuid: String, $categoryName: String, $teamUuid: String, $limit: Int, $offset: Int) {
|
||||
getOffers(status: $status, productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid, limit: $limit, offset: $offset) {
|
||||
uuid
|
||||
teamUuid
|
||||
status
|
||||
# Location
|
||||
locationUuid
|
||||
locationName
|
||||
locationCountry
|
||||
locationCountryCode
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
# Product
|
||||
productUuid
|
||||
productName
|
||||
categoryName
|
||||
# Price
|
||||
quantity
|
||||
unit
|
||||
pricePerUnit
|
||||
currency
|
||||
# Misc
|
||||
description
|
||||
validUntil
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
getOffersCount(status: $status, productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid)
|
||||
}
|
||||
Reference in New Issue
Block a user