mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
update schema to use new DateTime scalar
This commit is contained in:
@@ -29,7 +29,7 @@ type ParkingStructure {
|
|||||||
spotsAvailable: Int!
|
spotsAvailable: Int!
|
||||||
coordinates: Coordinates!
|
coordinates: Coordinates!
|
||||||
address: String!
|
address: String!
|
||||||
updatedTimeMs: Int!
|
updatedTime: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type Route {
|
type Route {
|
||||||
@@ -40,7 +40,7 @@ type Route {
|
|||||||
shuttles: [Shuttle!]
|
shuttles: [Shuttle!]
|
||||||
polylineCoordinates: [Coordinates!]!
|
polylineCoordinates: [Coordinates!]!
|
||||||
color: String!
|
color: String!
|
||||||
updatedTimeMs: Int!
|
updatedTime: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderedStop {
|
type OrderedStop {
|
||||||
@@ -51,7 +51,7 @@ type OrderedStop {
|
|||||||
stop: Stop
|
stop: Stop
|
||||||
stopId: ID!
|
stopId: ID!
|
||||||
systemId: ID!
|
systemId: ID!
|
||||||
updatedTimeMs: Int!
|
updatedTime: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type Stop {
|
type Stop {
|
||||||
@@ -61,7 +61,7 @@ type Stop {
|
|||||||
coordinates: Coordinates!
|
coordinates: Coordinates!
|
||||||
etas: [ETA!]
|
etas: [ETA!]
|
||||||
orderedStops: [OrderedStop!]
|
orderedStops: [OrderedStop!]
|
||||||
updatedTimeMs: Int!
|
updatedTime: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type Coordinates {
|
type Coordinates {
|
||||||
@@ -76,7 +76,7 @@ type ETA {
|
|||||||
shuttleId: ID!
|
shuttleId: ID!
|
||||||
secondsRemaining: Float!
|
secondsRemaining: Float!
|
||||||
systemId: ID!
|
systemId: ID!
|
||||||
updatedTimeMs: Int!
|
updatedTime: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type Shuttle {
|
type Shuttle {
|
||||||
@@ -89,7 +89,7 @@ type Shuttle {
|
|||||||
etas: [ETA!]
|
etas: [ETA!]
|
||||||
eta(forStopId: ID): ETA
|
eta(forStopId: ID): ETA
|
||||||
orientationInDegrees: Float!
|
orientationInDegrees: Float!
|
||||||
updatedTimeMs: Int!
|
updatedTime: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
# Queries
|
# Queries
|
||||||
|
|||||||
Reference in New Issue
Block a user