mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-02 13:11:17 +00:00
- Add WeatherKitClient interface and DefaultWeatherKitClient class - WeatherKitDataSource accepts either client or credentials - Simplify tests by injecting mock client directly - Update fixture generation script to use new client class Co-authored-by: Ona <no-reply@ona.com>
39 lines
896 B
TypeScript
39 lines
896 B
TypeScript
export {
|
|
WeatherKitDataSource,
|
|
Units,
|
|
type Units as UnitsType,
|
|
type WeatherKitDataSourceOptions,
|
|
type WeatherKitQueryConfig,
|
|
} from "./data-source"
|
|
|
|
export {
|
|
WeatherFeedItemType,
|
|
type WeatherFeedItemType as WeatherFeedItemTypeType,
|
|
type CurrentWeatherData,
|
|
type CurrentWeatherFeedItem,
|
|
type DailyWeatherData,
|
|
type DailyWeatherFeedItem,
|
|
type HourlyWeatherData,
|
|
type HourlyWeatherFeedItem,
|
|
type WeatherAlertData,
|
|
type WeatherAlertFeedItem,
|
|
type WeatherFeedItem,
|
|
} from "./feed-items"
|
|
|
|
export {
|
|
Severity,
|
|
Urgency,
|
|
Certainty,
|
|
PrecipitationType,
|
|
ConditionCode,
|
|
DefaultWeatherKitClient,
|
|
type Severity as SeverityType,
|
|
type Urgency as UrgencyType,
|
|
type Certainty as CertaintyType,
|
|
type PrecipitationType as PrecipitationTypeType,
|
|
type ConditionCode as ConditionCodeType,
|
|
type WeatherKitCredentials,
|
|
type WeatherKitClient,
|
|
type WeatherKitQueryOptions,
|
|
} from "./weatherkit"
|