From b4906b7a486d307bf705381e0c6e951de15591d4 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 3 Mar 2026 01:15:53 +0100 Subject: [PATCH] Fix: Add sunrise/sunset to forecast type definition Co-Authored-By: Claude Opus 4.6 --- web/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/api.ts b/web/src/api.ts index b1cf8c8..c8acfd5 100644 --- a/web/src/api.ts +++ b/web/src/api.ts @@ -19,7 +19,7 @@ export interface WeatherData { description: string; icon: string; error?: boolean; - forecast: { date: string; max_temp: number; min_temp: number; icon: string; description: string }[]; + forecast: { date: string; max_temp: number; min_temp: number; icon: string; description: string; sunrise?: string; sunset?: string }[]; } export interface HourlySlot {