mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-14 12:14:33 +01:00
Add weather and map
This commit is contained in:
@@ -14,3 +14,22 @@ export interface Tag {
|
||||
name: string
|
||||
color: string
|
||||
}
|
||||
|
||||
export interface OpenWeatherType {
|
||||
weather: Array<{
|
||||
description: string
|
||||
}>
|
||||
main: {
|
||||
feels_like: number
|
||||
}
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface WeatherType {
|
||||
city: string
|
||||
weather: {
|
||||
type: string
|
||||
description: string
|
||||
}
|
||||
temp: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user