Initial commit from monorepo

This commit is contained in:
Ruslan Bakiev
2026-01-07 09:10:35 +07:00
commit 3db50d9637
371 changed files with 43223 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
query GetLocationOffers($locationUuid: String!) {
getOffers(locationUuid: $locationUuid, status: "ACTIVE") {
uuid
teamUuid
status
# Location
locationUuid
locationName
locationCountry
locationCountryCode
locationLatitude
locationLongitude
# Product
productUuid
productName
categoryName
# Price
quantity
unit
pricePerUnit
currency
# Misc
description
validUntil
createdAt
updatedAt
}
}

View File

@@ -0,0 +1,28 @@
query GetOffer($uuid: String!) {
getOffer(uuid: $uuid) {
uuid
teamUuid
status
# Location
locationUuid
locationName
locationCountry
locationCountryCode
locationLatitude
locationLongitude
# Product
productUuid
productName
categoryName
# Price
quantity
unit
pricePerUnit
currency
# Misc
description
validUntil
createdAt
updatedAt
}
}

View 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)
}

View File

@@ -0,0 +1,9 @@
query GetProduct($uuid: String!) {
getProducts {
uuid
name
categoryId
categoryName
terminusSchemaId
}
}

View File

@@ -0,0 +1,28 @@
query GetProductOffers($productUuid: String!) {
getOffers(productUuid: $productUuid, status: "ACTIVE") {
uuid
teamUuid
status
# Location
locationUuid
locationName
locationCountry
locationCountryCode
locationLatitude
locationLongitude
# Product
productUuid
productName
categoryName
# Price
quantity
unit
pricePerUnit
currency
# Misc
description
validUntil
createdAt
updatedAt
}
}

View File

@@ -0,0 +1,9 @@
query GetProducts {
getProducts {
uuid
name
categoryId
categoryName
terminusSchemaId
}
}

View File

@@ -0,0 +1,28 @@
query GetSupplierOffers($teamUuid: String!) {
getOffers(teamUuid: $teamUuid, status: "ACTIVE") {
uuid
teamUuid
status
# Location
locationUuid
locationName
locationCountry
locationCountryCode
locationLatitude
locationLongitude
# Product
productUuid
productName
categoryName
# Price
quantity
unit
pricePerUnit
currency
# Misc
description
validUntil
createdAt
updatedAt
}
}

View File

@@ -0,0 +1,13 @@
query GetSupplierProfile($uuid: String!) {
getSupplierProfile(uuid: $uuid) {
uuid
teamUuid
name
description
country
logoUrl
isVerified
isActive
offersCount
}
}

View File

@@ -0,0 +1,17 @@
query GetSupplierProfiles($country: String, $isVerified: Boolean, $limit: Int, $offset: Int) {
getSupplierProfiles(country: $country, isVerified: $isVerified, limit: $limit, offset: $offset) {
uuid
teamUuid
name
description
country
countryCode
logoUrl
isVerified
isActive
offersCount
latitude
longitude
}
getSupplierProfilesCount(country: $country, isVerified: $isVerified)
}

View File

@@ -0,0 +1,19 @@
query FindRoutes($fromUuid: String!, $toUuid: String!, $limit: Int) {
findRoutes(fromUuid: $fromUuid, toUuid: $toUuid, limit: $limit) {
totalDistanceKm
totalTimeSeconds
stages {
fromUuid
fromName
fromLat
fromLon
toUuid
toName
toLat
toLon
distanceKm
travelTimeSeconds
transportType
}
}
}

View File

@@ -0,0 +1,6 @@
query GetAutoRoute($fromLat: Float!, $fromLon: Float!, $toLat: Float!, $toLon: Float!) {
autoRoute(fromLat: $fromLat, fromLon: $fromLon, toLat: $toLat, toLon: $toLon) {
distanceKm
geometry
}
}

View File

@@ -0,0 +1,20 @@
query GetNode($uuid: String!) {
node(uuid: $uuid) {
uuid
name
latitude
longitude
country
countryCode
syncedAt
edges {
toUuid
toName
toLatitude
toLongitude
distanceKm
travelTimeSeconds
transportType
}
}
}

View File

@@ -0,0 +1,40 @@
query GetNodeConnections($uuid: String!, $limitAuto: Int, $limitRail: Int) {
nodeConnections(uuid: $uuid, limitAuto: $limitAuto, limitRail: $limitRail) {
hub {
uuid
name
latitude
longitude
country
countryCode
syncedAt
}
railNode {
uuid
name
latitude
longitude
country
countryCode
syncedAt
}
autoEdges {
toUuid
toName
toLatitude
toLongitude
distanceKm
travelTimeSeconds
transportType
}
railEdges {
toUuid
toName
toLatitude
toLongitude
distanceKm
travelTimeSeconds
transportType
}
}
}

View File

@@ -0,0 +1,13 @@
query GetNodes($limit: Int, $offset: Int, $transportType: String) {
nodes(limit: $limit, offset: $offset, transportType: $transportType) {
uuid
name
latitude
longitude
country
countryCode
syncedAt
transportTypes
}
nodesCount(transportType: $transportType)
}

View File

@@ -0,0 +1,6 @@
query GetRailRoute($fromLat: Float!, $fromLon: Float!, $toLat: Float!, $toLon: Float!) {
railRoute(fromLat: $fromLat, fromLon: $fromLon, toLat: $toLat, toLon: $toLon) {
distanceKm
geometry
}
}