1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-03 09:55:18 +02:00

Added humidity option to weather widget

This commit is contained in:
Paweł Malak 2021-11-18 15:14:53 +01:00
parent a549149452
commit 5cf7708ab8
11 changed files with 68 additions and 20 deletions

View file

@ -1,3 +1,5 @@
import { WeatherData } from '../types';
export interface Config {
WEATHER_API_KEY: string;
lat: number;
@ -26,4 +28,6 @@ export interface Config {
monthSchema: string;
showTime: boolean;
defaultTheme: string;
isKilometer: boolean;
weatherData: WeatherData;
}

View file

@ -1,8 +1,11 @@
import { WeatherData } from '../types';
export interface WeatherForm {
WEATHER_API_KEY: string;
lat: number;
long: number;
isCelsius: boolean;
weatherData: WeatherData;
}
export interface SearchForm {

View file

@ -8,4 +8,7 @@ export interface Weather extends Model {
cloud: number;
conditionText: string;
conditionCode: number;
}
humidity: number;
windK: number;
windM: number;
}