feat: prioritize warnings for selected province
This commit is contained in:
@@ -112,7 +112,9 @@ export interface WeatherWarning {
|
||||
publishedAt: string | null;
|
||||
probability: number | null;
|
||||
areas: string[];
|
||||
provinces: Province[];
|
||||
office: string | null;
|
||||
}
|
||||
|
||||
export type WeatherMood = "warm" | "cloudy" | "wind" | "cold" | "night" | "mild";
|
||||
import type { Province } from "@/types/province";
|
||||
|
||||
17
types/province.ts
Normal file
17
types/province.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export type Province =
|
||||
| "dolnośląskie"
|
||||
| "kujawsko-pomorskie"
|
||||
| "lubelskie"
|
||||
| "lubuskie"
|
||||
| "łódzkie"
|
||||
| "małopolskie"
|
||||
| "mazowieckie"
|
||||
| "opolskie"
|
||||
| "podkarpackie"
|
||||
| "podlaskie"
|
||||
| "pomorskie"
|
||||
| "śląskie"
|
||||
| "świętokrzyskie"
|
||||
| "warmińsko-mazurskie"
|
||||
| "wielkopolskie"
|
||||
| "zachodniopomorskie";
|
||||
Reference in New Issue
Block a user