mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
update graphql definition to include system ID in routes, stops, and shuttles
This commit is contained in:
@@ -13,6 +13,7 @@ type System {
|
||||
type Route {
|
||||
name: String!
|
||||
id: ID!
|
||||
systemId: ID!
|
||||
orderedStop(forStopId: ID): OrderedStop
|
||||
shuttles: [Shuttle!]
|
||||
polylineCoordinates: [Coordinates!]!
|
||||
@@ -30,6 +31,7 @@ type OrderedStop {
|
||||
|
||||
type Stop {
|
||||
id: ID!
|
||||
systemId: ID!
|
||||
name: String!
|
||||
coordinates: Coordinates!
|
||||
etas: [ETA!]
|
||||
@@ -51,6 +53,7 @@ type ETA {
|
||||
|
||||
type Shuttle {
|
||||
name: String!
|
||||
systemId: ID!
|
||||
id: ID!,
|
||||
coordinates: Coordinates!
|
||||
route: Route
|
||||
|
||||
Reference in New Issue
Block a user