diff --git a/lib/util/config-types.ts b/lib/util/config-types.ts index 3707c50bf..f6dfcfda4 100644 --- a/lib/util/config-types.ts +++ b/lib/util/config-types.ts @@ -278,12 +278,23 @@ export interface ModeColorConfig { } export interface TransitOperatorConfig extends TransitOperator { - colorMode: 'gtfs' | 'gtfs-softened' | 'disabled' - modeColors: Record + colorMode?: 'gtfs' | 'gtfs-softened' | 'disabled' + modeColors?: Record +} + +export interface AccessibilityScoreThresholdConfig { + color: string + icon: string + text?: string +} + +export interface AccessibilityScoreConfig { + gradationMap: Record } /** The main application configuration object */ export interface AppConfig { + accessibilityScore?: AccessibilityScoreConfig api: ApiConfig // Optional on declaration, populated with defaults in reducer if not configured. autoPlan: AutoPlanConfig