This commit is contained in:
Sean Edmunds
2024-12-06 15:33:58 -06:00
parent 00c141d8d7
commit 33813a34fb
48 changed files with 2188 additions and 420 deletions

1
src/types/index.ts Normal file
View File

@@ -0,0 +1 @@
export { type CurrentWeather, type OutlookWeather } from './weather';

21
src/types/weather.ts Normal file
View File

@@ -0,0 +1,21 @@
export interface CurrentWeather {
icon: string;
temperature: number;
highTemp: number;
lowTemp: number;
precipitation: string;
humidity: number;
heatIndex: number;
windSpeed: number;
windDirection: number;
}
export interface OutlookWeather {
name: string;
icon: string;
isDayTime: boolean;
temperature: number;
precipitation: number;
windSpeed: string;
windDirection: string;
}