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.6 kB
import {c}from'./chunk-PNYI4UCN.mjs';import {a as a$3}from'./chunk-NTLB7E5P.mjs';import {b as b$1,a as a$2}from'./chunk-Y7ZPKVJH.mjs';import {a as a$1}from'./chunk-XEHBQAFR.mjs';var d,u,a=a$1(()=>{b$1();d=a$2.object({}).describe("Input parameters for retrieving all mountain pass conditions."),u=a$2.object({PassConditionID:a$2.number().int().describe("Numeric ID of the mountain pass.")}).describe("Input parameters for retrieving a specific mountain pass condition by ID.");});var o,b,s=a$1(()=>{c();b$1();o=a$2.object({RestrictionText:a$2.string().nullable().describe("Text description of travel restrictions for this direction, such as 'No restrictions', 'Closed for the season', or chain requirements."),TravelDirection:a$2.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."),b=a$2.object({MountainPassId:a$2.number().int().describe("Numeric ID of the mountain pass."),MountainPassName:a$2.string().nullable().describe("Display name of the mountain pass."),Latitude:a$2.number().describe("Latitude of the mountain pass in decimal degrees."),Longitude:a$2.number().describe("Longitude of the mountain pass in decimal degrees."),DateUpdated:a$3().describe("UTC datetime when the pass condition data was last updated."),TemperatureInFahrenheit:a$2.number().int().nullable().describe("Current temperature at the mountain pass in degrees Fahrenheit."),ElevationInFeet:a$2.number().int().nullable().describe("Elevation of the mountain pass above sea level in feet."),WeatherCondition:a$2.string().nullable().describe("Current weather conditions at the mountain pass."),RoadCondition:a$2.string().nullable().describe("Current roadway surface conditions at the mountain pass."),TravelAdvisoryActive:a$2.boolean().describe("True if a travel advisory is currently active for the pass; otherwise false."),RestrictionOne:o.nullable().describe("Travel restriction information for the primary direction of the pass."),RestrictionTwo:o.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{d as a,u as b,a as c,o as d,b as e,s as f};//# sourceMappingURL=chunk-BACHZNSW.mjs.map //# sourceMappingURL=chunk-BACHZNSW.mjs.map