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 {
|
type Route {
|
||||||
name: String!
|
name: String!
|
||||||
id: ID!
|
id: ID!
|
||||||
|
systemId: ID!
|
||||||
orderedStop(forStopId: ID): OrderedStop
|
orderedStop(forStopId: ID): OrderedStop
|
||||||
shuttles: [Shuttle!]
|
shuttles: [Shuttle!]
|
||||||
polylineCoordinates: [Coordinates!]!
|
polylineCoordinates: [Coordinates!]!
|
||||||
@@ -30,6 +31,7 @@ type OrderedStop {
|
|||||||
|
|
||||||
type Stop {
|
type Stop {
|
||||||
id: ID!
|
id: ID!
|
||||||
|
systemId: ID!
|
||||||
name: String!
|
name: String!
|
||||||
coordinates: Coordinates!
|
coordinates: Coordinates!
|
||||||
etas: [ETA!]
|
etas: [ETA!]
|
||||||
@@ -51,6 +53,7 @@ type ETA {
|
|||||||
|
|
||||||
type Shuttle {
|
type Shuttle {
|
||||||
name: String!
|
name: String!
|
||||||
|
systemId: ID!
|
||||||
id: ID!,
|
id: ID!,
|
||||||
coordinates: Coordinates!
|
coordinates: Coordinates!
|
||||||
route: Route
|
route: Route
|
||||||
|
|||||||
Reference in New Issue
Block a user