File

src/app/network/weather/weather.ts

Description

Weather conditions data.

Index

Properties

Properties

description
description: string
Type : string
icon
icon: string
Type : string
Optional

The code of the icon.

rainIntensity
rainIntensity: number
Type : number
Optional

Millimeters.

snowIntensity
snowIntensity: number
Type : number
Optional

Millimeters.

visibility
visibility: number
Type : number
Optional

Meters.

export interface WeatherConditions {

    description: string;
    /**
     * The code of the icon.
     */
    icon?: string;
    /**
     * Meters.
     */
    visibility?: number;
    /**
     * Millimeters.
     */
    rainIntensity?: number;
    /**
     * Millimeters.
     */
    snowIntensity?: number;

}

export enum WeatherDescription {
    clearSky = 'clear sky',
    fewClouds = 'few clouds',
    scatteredClouds = 'scattered clouds',
    brokenClouds = 'broken clouds',
    showerRain = 'shower rain',
    rain = 'rain',
    thunderstorm = 'thunderstorm',
    snow = 'snow',
    mist = 'mist',
}

result-matching ""

    No results matching ""