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