mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 09:23:12 +08:00
Added humidity option to weather widget
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user