Update BikeSection and EventCard with arrival buffer and walk options

This commit is contained in:
2026-05-12 13:52:35 +02:00
parent 1851d2ed47
commit 863996f06c
12 changed files with 218 additions and 82 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import type {
GeocodeResult,
BikeRoute,
WalkRoute,
CalendarEvent,
Journey,
Station,
@@ -44,7 +45,7 @@ export class ApiClient {
fromLng: number,
toLat: number,
toLng: number,
): Promise<BikeRoute> {
): Promise<WalkRoute> {
const url = buildUrl(this.baseUrl, "/api/bike-route", {
fromLat: String(fromLat),
fromLng: String(fromLng),