fix: preserve partial IMGW Hybrid coverage

This commit is contained in:
zv
2026-06-02 18:06:02 +02:00
parent 93c9b40931
commit e832d4e63b
8 changed files with 33 additions and 23 deletions

View File

@@ -23,8 +23,10 @@ export interface RawImgwHybridWeatherResponse {
}
export type CurrentWeatherCondition = "rain" | "snow" | "thunderstorm" | null;
export type ImgwCurrentWeatherCoverage = "full" | "precipitation-only";
export interface ImgwCurrentWeather {
coverage: ImgwCurrentWeatherCoverage;
measuredAt: string;
temperature: number | null;
feelsLike: number | null;