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 1.47 kB
import {g,a as a$2,e}from'./chunk-IZZORSYV.mjs';import {b,a as a$1}from'./chunk-2S6SB7GP.mjs';import {a}from'./chunk-XEHBQAFR.mjs';var l,s,n=a(()=>{b();l=a$1.object({FlowDataID:a$1.number().describe("Numeric ID of the traffic flow station.")}).describe("Input parameters for retrieving traffic flow data for a specific station by ID."),s=a$1.object({}).describe("Input parameters for retrieving traffic flow data for all stations statewide.");});var w,f=a(()=>{g();b();w=a$1.object({FlowDataID:a$1.number().describe("Numeric ID of the traffic flow station."),FlowReadingValue:a$1.union([a$1.literal(0),a$1.literal(1),a$1.literal(2),a$1.literal(3),a$1.literal(4),a$1.literal(5)]).describe("Code indicating traffic flow condition: 0 = Unknown, 1 = WideOpen, 2 = Moderate, 3 = Heavy, 4 = StopAndGo, 5 = NoData."),FlowStationLocation:e.nullable().describe("Roadway location information for the traffic flow station."),Region:a$1.string().nullable().describe("WSDOT region that maintains the traffic flow station."),StationName:a$1.string().nullable().describe("Station identifier code combining route, direction, and milepost."),Time:a$2().describe("UTC datetime when the traffic flow reading was taken.")}).describe("Real-time traffic flow data from a sensor station, including flow condition, location, region, and measurement timestamp.");});export{l as a,s as b,n as c,w as d,f as e};//# sourceMappingURL=chunk-SUDLNHXG.mjs.map //# sourceMappingURL=chunk-SUDLNHXG.mjs.map