This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WeatherKit REST API documentation lists `conditionCode` as a property returned for | |
// various DataSets and says it's an enumeration value | |
// (e.g. https://developer.apple.com/documentation/weatherkitrestapi/currentweather/currentweatherdata) | |
// but never says what the possible return values could be anywhere in the REST API docs | |
// | |
// The following was created from info in the Swift documentation: https://developer.apple.com/documentation/weatherkit/weathercondition | |
export interface ConditionCode { | |
code: string; | |
description: string; |