From d9d11e1b31213b7e552462fb416e0038e9cfdfbc Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Mon, 17 Mar 2025 13:15:07 -0700 Subject: [PATCH] update entities and schema to include orientation in degrees --- schema.graphqls | 1 + src/entities/entities.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/schema.graphqls b/schema.graphqls index c5a6726..007dfd8 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -47,6 +47,7 @@ type ETA { shuttle: Shuttle shuttleId: ID! secondsRemaining: Float! + orientationInDegrees: Float! } type Shuttle { diff --git a/src/entities/entities.ts b/src/entities/entities.ts index 3579c5d..2766595 100644 --- a/src/entities/entities.ts +++ b/src/entities/entities.ts @@ -33,6 +33,7 @@ export interface IShuttle extends IEntityWithId, IEntityWithOptionalTimestamp { name: string; routeId: string; systemId: string; + orientationInDegrees: number; } export interface IEta extends IEntityWithOptionalTimestamp {