UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

2 lines 2.49 kB
import {b,a as a$1}from'./chunk-Y7ZPKVJH.mjs';import {a}from'./chunk-XEHBQAFR.mjs';var s,c,o=a(()=>{b();s=a$1.object({}).describe("Input parameters for retrieving all mountain pass conditions."),c=a$1.object({PassConditionID:a$1.number().int().describe("Numeric ID of the mountain pass.")}).describe("Input parameters for retrieving a specific mountain pass condition by ID.");});var n,l,r=a(()=>{b();n=a$1.object({RestrictionText:a$1.string().nullable().describe("Text description of travel restrictions for this direction, such as 'No restrictions', 'Closed for the season', or chain requirements."),TravelDirection:a$1.string().nullable().describe("Direction of travel for which this restriction applies, such as 'Eastbound', 'Westbound', 'Northbound', or 'Southbound'.")}).describe("Travel restriction information for a specific direction on a mountain pass, including restriction text and applicable travel direction."),l=a$1.object({MountainPassId:a$1.number().int().describe("Numeric ID of the mountain pass."),MountainPassName:a$1.string().nullable().describe("Display name of the mountain pass."),Latitude:a$1.number().describe("Latitude of the mountain pass in decimal degrees."),Longitude:a$1.number().describe("Longitude of the mountain pass in decimal degrees."),DateUpdated:a$1.date().describe("UTC datetime when the pass condition data was last updated."),TemperatureInFahrenheit:a$1.number().int().nullable().describe("Current temperature at the mountain pass in degrees Fahrenheit."),ElevationInFeet:a$1.number().int().nullable().describe("Elevation of the mountain pass above sea level in feet."),WeatherCondition:a$1.string().nullable().describe("Current weather conditions at the mountain pass."),RoadCondition:a$1.string().nullable().describe("Current roadway surface conditions at the mountain pass."),TravelAdvisoryActive:a$1.boolean().describe("True if a travel advisory is currently active for the pass; otherwise false."),RestrictionOne:n.nullable().describe("Travel restriction information for the primary direction of the pass."),RestrictionTwo:n.nullable().describe("Travel restriction information for the secondary direction of the pass.")}).describe("Real-time mountain pass condition information including weather, road surface conditions, temperature, elevation, travel restrictions by direction, and advisory status.");});export{s as a,c as b,o as c,n as d,l as e,r as f};//# sourceMappingURL=chunk-N2M2TSJW.mjs.map //# sourceMappingURL=chunk-N2M2TSJW.mjs.map