mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
update graphql schema
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# Base types
|
||||
type System {
|
||||
id: ID!
|
||||
name: String!
|
||||
@@ -8,6 +7,19 @@ type System {
|
||||
stop(id: ID): Stop
|
||||
shuttles: [Shuttle!]
|
||||
shuttle(id: ID): Shuttle
|
||||
|
||||
# TODO: Implement these in system resolvers
|
||||
parkingStructures: [ParkingStructure!]
|
||||
parkingStructure(id: ID): ParkingStructure!
|
||||
}
|
||||
|
||||
type ParkingStructure {
|
||||
id: ID!
|
||||
name: String!
|
||||
capacity: Int!
|
||||
spotsAvailable: Int!
|
||||
coordinates: Coordinates!
|
||||
address: String!
|
||||
}
|
||||
|
||||
type Route {
|
||||
|
||||
Reference in New Issue
Block a user