mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-14 12:14:33 +01:00
36 lines
530 B
TypeScript
36 lines
530 B
TypeScript
import type { ParsedContent } from '@nuxt/content'
|
|
|
|
export interface AppType extends ParsedContent {
|
|
primary?: boolean
|
|
name: string
|
|
nuxt?: string
|
|
url: string
|
|
icon: string
|
|
color: string
|
|
tags: Tag[]
|
|
}
|
|
|
|
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
|
|
}
|