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