Filter meteo warnings by local county

This commit is contained in:
zv
2026-06-12 19:16:57 +02:00
parent 5eaaff963f
commit 487a480bbd
19 changed files with 154 additions and 30 deletions

View File

@@ -112,6 +112,7 @@ export interface WeatherWarning {
publishedAt: string | null;
probability: number | null;
areas: string[];
terytCodes: string[];
provinces: Province[];
office: string | null;
}

View File

@@ -10,11 +10,14 @@ export interface LocationSearchResult {
export interface ReverseLocationResult {
name: string;
province: string | null;
district: string | null;
}
export interface SelectedLocation {
name: string;
province: string | null;
district: string | null;
countyTeryt: string | null;
latitude: number;
longitude: number;
stationId: string;

View File

@@ -22,6 +22,7 @@ export interface WarningPushSubscription {
latitude: number | null;
longitude: number | null;
locationName: string | null;
countyTeryt: string | null;
createdAt: string;
updatedAt: string;
}