feat: add temperature unit preference
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { Language } from "@/lib/i18n";
|
||||
import type { Province } from "@/types/province";
|
||||
import type { WindSpeedUnit } from "@/types/units";
|
||||
import type { TemperatureUnit, WindSpeedUnit } from "@/types/units";
|
||||
|
||||
export interface PushSubscriptionKeys {
|
||||
p256dh: string;
|
||||
@@ -25,6 +25,7 @@ export interface WarningPushSubscription {
|
||||
longitude: number | null;
|
||||
locationName: string | null;
|
||||
countyTeryt: string | null;
|
||||
temperatureUnit: TemperatureUnit;
|
||||
windSpeedUnit: WindSpeedUnit;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
export type TemperatureUnit = "c" | "f";
|
||||
export type WindSpeedUnit = "ms" | "kmh" | "mph";
|
||||
|
||||
Reference in New Issue
Block a user