create updated schema with required IDs

This commit is contained in:
2025-01-23 03:23:15 -08:00
parent d0d651eb50
commit 5fe66c1517

View File

@@ -26,8 +26,10 @@ type Route {
type OrderedStop {
nextStop: OrderedStop
previousStop: OrderedStop
route: Route!
stop: Stop!
route: Route
routeId: ID!
stop: Stop
stopId: ID!
}
type Stop {
@@ -44,8 +46,10 @@ type Coordinates {
}
type ETA {
stop: Stop!
shuttle: Shuttle!
stop: Stop
stopId: ID!
shuttle: Shuttle
shuttleId: ID!
secondsRemaining: Float!
}
@@ -54,6 +58,7 @@ type Shuttle {
id: ID!,
coordinates: Coordinates!
route: Route
routeId: ID!
etas: [ETA!]
eta(forStopId: ID): ETA
}