From b2e6acfefa43520127891f983c89243ea8509555 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 8 Apr 2025 16:23:06 -0700 Subject: [PATCH] update graphql schema --- schema.graphqls | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/schema.graphqls b/schema.graphqls index 8449ef8..c97987c 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -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 {