Skip to content

Commit

Permalink
feat(ts/models/shuttle): create enum ShuttleVariant
Browse files Browse the repository at this point in the history
  • Loading branch information
firestack committed Oct 21, 2024
1 parent 0d224a6 commit 0585c42
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/src/models/shuttle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
import { Vehicle } from "../realtime"

export enum ShuttleVariant {
// Rapid Transit Lines
Blue,
Green,
Orange,
Red,

// Other Shuttle Types
CommuterRail,
Special,
}

export const formattedRunNumber = ({ runId }: Vehicle): string => {
if (runId === null) {
return "Not Available"
Expand Down

0 comments on commit 0585c42

Please sign in to comment.