From 6dae7959bfdc7617469566339cdd6008c60c487e Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 29 Apr 2025 16:23:30 -0700 Subject: [PATCH] update schema to include timestamp --- schema.graphqls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schema.graphqls b/schema.graphqls index 614bfa0..a1587b2 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -27,6 +27,7 @@ type ParkingStructure { spotsAvailable: Int! coordinates: Coordinates! address: String! + updatedTimeMs: Int! } type Route { @@ -37,6 +38,7 @@ type Route { shuttles: [Shuttle!] polylineCoordinates: [Coordinates!]! color: String! + updatedTimeMs: Int! } type OrderedStop { @@ -47,6 +49,7 @@ type OrderedStop { stop: Stop stopId: ID! systemId: ID! + updatedTimeMs: Int! } type Stop { @@ -56,6 +59,7 @@ type Stop { coordinates: Coordinates! etas: [ETA!] orderedStops: [OrderedStop!] + updatedTimeMs: Int! } type Coordinates { @@ -70,6 +74,7 @@ type ETA { shuttleId: ID! secondsRemaining: Float! systemId: ID! + updatedTimeMs: Int! } type Shuttle { @@ -82,6 +87,7 @@ type Shuttle { etas: [ETA!] eta(forStopId: ID): ETA orientationInDegrees: Float! + updatedTimeMs: Int! } # Queries