Files
maps-saas/apps/api/dist/weather/weather.service.d.ts
T

18 lines
539 B
TypeScript

import { RedisService } from '../common/redis.service';
export interface CityDef {
name: string;
name_ar: string;
lat: number;
lng: number;
country: 'Jordan' | 'Syria' | 'Egypt';
}
export declare const REGIONAL_CITIES: CityDef[];
export declare class WeatherService {
private readonly redisService;
private readonly logger;
constructor(redisService: RedisService);
getWeatherGrid(): Promise<any>;
getAllCitiesWeather(region?: string): Promise<any>;
getAlerts(region?: string): Promise<any[]>;
}