Add TimeToLeave feature checklist and plan (50)

Add TimeToLeave feature checklist and plan
This commit is contained in:
2026-05-12 13:17:17 +02:00
parent eac4f6e216
commit 1851d2ed47
45 changed files with 2234 additions and 259 deletions
+16
View File
@@ -49,6 +49,19 @@ export interface BikeRoute {
steps: BikeStep[];
}
export interface WalkRoute {
distance: number;
duration: number;
steps: WalkStep[];
}
export interface WalkStep {
name: string;
distance: number;
duration: number;
instruction: string;
}
export interface CountdownInfo {
label: string;
color: string;
@@ -63,6 +76,9 @@ export type CalStatus = null | "loading" | "ok" | "error";
export interface ReminderSettings {
bufferMinutes: number;
enabled: boolean;
arrivalBufferMinutes: number; // arrive X minutes before event (default 5)
showWalkingOption: boolean; // show walk-from-station option (default true)
showBikeOption: boolean; // show bike route section (default true)
}
export type ServerStatus = boolean | null;