update schema to include timestamp

This commit is contained in:
2025-04-29 16:23:30 -07:00
parent ee4b11a308
commit 6dae7959bf

View File

@@ -27,6 +27,7 @@ type ParkingStructure {
spotsAvailable: Int! spotsAvailable: Int!
coordinates: Coordinates! coordinates: Coordinates!
address: String! address: String!
updatedTimeMs: Int!
} }
type Route { type Route {
@@ -37,6 +38,7 @@ type Route {
shuttles: [Shuttle!] shuttles: [Shuttle!]
polylineCoordinates: [Coordinates!]! polylineCoordinates: [Coordinates!]!
color: String! color: String!
updatedTimeMs: Int!
} }
type OrderedStop { type OrderedStop {
@@ -47,6 +49,7 @@ type OrderedStop {
stop: Stop stop: Stop
stopId: ID! stopId: ID!
systemId: ID! systemId: ID!
updatedTimeMs: Int!
} }
type Stop { type Stop {
@@ -56,6 +59,7 @@ type Stop {
coordinates: Coordinates! coordinates: Coordinates!
etas: [ETA!] etas: [ETA!]
orderedStops: [OrderedStop!] orderedStops: [OrderedStop!]
updatedTimeMs: Int!
} }
type Coordinates { type Coordinates {
@@ -70,6 +74,7 @@ type ETA {
shuttleId: ID! shuttleId: ID!
secondsRemaining: Float! secondsRemaining: Float!
systemId: ID! systemId: ID!
updatedTimeMs: Int!
} }
type Shuttle { type Shuttle {
@@ -82,6 +87,7 @@ type Shuttle {
etas: [ETA!] etas: [ETA!]
eta(forStopId: ID): ETA eta(forStopId: ID): ETA
orientationInDegrees: Float! orientationInDegrees: Float!
updatedTimeMs: Int!
} }
# Queries # Queries