mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
move parking structures to a sub-field of system
This commit is contained in:
@@ -11,7 +11,11 @@ type System {
|
||||
shuttles: [Shuttle!]
|
||||
shuttle(id: ID): Shuttle
|
||||
|
||||
# TODO: Implement these in system resolvers
|
||||
parkingSystem: ParkingSystem
|
||||
}
|
||||
|
||||
type ParkingSystem {
|
||||
systemId: ID!
|
||||
parkingStructures: [ParkingStructure!]
|
||||
parkingStructure(id: ID): ParkingStructure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user