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:
parent
a549149452
commit
5cf7708ab8
11 changed files with 68 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -8,4 +8,7 @@ export interface Weather extends Model {
|
|||
cloud: number;
|
||||
conditionText: string;
|
||||
conditionCode: number;
|
||||
}
|
||||
humidity: number;
|
||||
windK: number;
|
||||
windM: number;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue