mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
Update schema with historical average data for parking structure.
This commit is contained in:
@@ -30,6 +30,20 @@ type ParkingStructure {
|
|||||||
coordinates: Coordinates!
|
coordinates: Coordinates!
|
||||||
address: String!
|
address: String!
|
||||||
updatedTime: DateTime
|
updatedTime: DateTime
|
||||||
|
|
||||||
|
historicalAverages(input: HistoricalParkingAverageQueryInput): [HistoricalParkingAverageQueryResult!]
|
||||||
|
}
|
||||||
|
|
||||||
|
type HistoricalParkingAverageQueryResult {
|
||||||
|
from: DateTime!
|
||||||
|
to: DateTime!
|
||||||
|
averageSpotsAvailable: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
input HistoricalParkingAverageQueryInput {
|
||||||
|
from: DateTime!
|
||||||
|
to: DateTime!
|
||||||
|
intervalMs: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
type Route {
|
type Route {
|
||||||
|
|||||||
Reference in New Issue
Block a user