File

apps/live-weather/src/app/shared/models/IOpenWeatherReport.ts

Description

Interface for OpenWeather API data model

Index

Properties

Properties

current
current: IWeatherDetail
Type : IWeatherDetail

Current weather data

hourly
hourly: IWeatherDetail[]
Type : IWeatherDetail[]

Hourly forecast weather data

lat
lat: number
Type : number

Latitude of the location

lon
lon: number
Type : number

Longitude of the location

import { IWeatherDetail } from './IWeatherDetail';

/**
 * Interface for OpenWeather API data model
 */
export interface IOpenWeatherReport {
  /**
   * Latitude of the location
   */
  lat: number;

  /**
   * Longitude of the location
   */
  lon: number;

  /**
   * Current weather data
   */
  current: IWeatherDetail;

  /**
   * Hourly forecast weather data
   */
  hourly: IWeatherDetail[];
}

result-matching ""

    No results matching ""