diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-07 14:58:32 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-07 14:58:32 +0100 |
| commit | 52256fd634300b39b915bf1db6020d9d2871a0b4 (patch) | |
| tree | d32b219427e5974026c544132e3b0a65ffa0a82e /src/frontend/app/data | |
| parent | 4420def7411a053e930b44117e2bf63625d824dc (diff) | |
Implement experimental consolidated circulation view
Diffstat (limited to 'src/frontend/app/data')
| -rw-r--r-- | src/frontend/app/data/RegionConfig.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/app/data/RegionConfig.ts b/src/frontend/app/data/RegionConfig.ts index 08d915f..7722170 100644 --- a/src/frontend/app/data/RegionConfig.ts +++ b/src/frontend/app/data/RegionConfig.ts @@ -5,6 +5,7 @@ export interface RegionConfig { name: string; stopsEndpoint: string; estimatesEndpoint: string; + consolidatedCirculationsEndpoint: string | null; timetableEndpoint: string | null; defaultCenter: [number, number]; // [lat, lng] bounds?: { @@ -22,6 +23,7 @@ export const REGIONS: Record<RegionId, RegionConfig> = { name: "Vigo", stopsEndpoint: "/stops/vigo.json", estimatesEndpoint: "/api/vigo/GetStopEstimates", + consolidatedCirculationsEndpoint: "/api/vigo/GetConsolidatedCirculations", timetableEndpoint: "/api/vigo/GetStopTimetable", defaultCenter: [42.229188855975046, -8.72246955783102], bounds: { @@ -37,6 +39,7 @@ export const REGIONS: Record<RegionId, RegionConfig> = { name: "Santiago de Compostela", stopsEndpoint: "/stops/santiago.json", estimatesEndpoint: "/api/santiago/GetStopEstimates", + consolidatedCirculationsEndpoint: null, // Not available for Santiago timetableEndpoint: null, // Not available for Santiago defaultCenter: [42.8782, -8.5448], bounds: { |
