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 • 4.77 kB
JavaScript
import {c as c$1,a as a$3}from'./chunk-PNYI4UCN.mjs';import {a as a$2}from'./chunk-NTLB7E5P.mjs';import {b,a as a$1}from'./chunk-Y7ZPKVJH.mjs';import {a}from'./chunk-XEHBQAFR.mjs';var u,o=a(()=>{b();u=a$1.object({}).describe("Input for retrieving all available map areas with area codes and descriptions.");});var f,l=a(()=>{b();f=a$1.object({MapArea:a$1.string().nullable().describe("Map area identifier code for geographic filtering, or null when unavailable."),MapAreaDescription:a$1.string().nullable().describe("Display name of the map area, or null when unavailable.")}).describe("Geographic map area with identifier code and display name for filtering highway alerts by region.");});var y,s=a(()=>{b();y=a$1.object({}).describe("Input for retrieving all available event category names for alert filtering.");});var I,v,C,A,x,c=a(()=>{b();I=a$1.object({}).describe("Input for retrieving all currently active highway alerts statewide."),v=a$1.object({AlertID:a$1.number().describe("Numeric ID of the highway alert.")}).describe("Input for retrieving a specific highway alert by ID."),C=a$1.object({StateRoute:a$1.string().optional().describe("State route identifier as three-digit number, or undefined to include all routes."),Region:a$1.number().int().optional().describe("WSDOT region identifier code: 7 = Eastern, 8 = North Central, 9 = Northwest, 10 = Olympic, 11 = South Central, 12 = Southwest, or undefined to include all regions."),SearchTimeStart:a$1.string().optional().describe("UTC datetime when the search time range begins, in ISO format, or undefined for no start limit."),SearchTimeEnd:a$1.string().optional().describe("UTC datetime when the search time range ends, in ISO format, or undefined for no end limit."),StartingMilepost:a$1.number().optional().describe("Starting milepost value for range filtering, or undefined for no start limit."),EndingMilepost:a$1.number().optional().describe("Ending milepost value for range filtering, or undefined for no end limit.")}).describe("Input for searching highway alerts by route, region, time range, and milepost range."),A=a$1.object({MapArea:a$1.string().describe("Map area identifier code for geographic filtering.")}).describe("Input for retrieving highway alerts filtered by map area code."),x=a$1.object({RegionID:a$1.number().describe("WSDOT region identifier code: 7 = Eastern, 8 = North Central, 9 = Northwest, 10 = Olympic, 11 = South Central, 12 = Southwest.")}).describe("Input for retrieving highway alerts filtered by WSDOT region ID.");});var E,d=a(()=>{c$1();b();E=a$1.object({AlertID:a$1.number().int().describe("Numeric ID of the highway alert."),County:a$1.string().nullable().describe("County name for countywide alerts, or null when alert is route-specific."),EndRoadwayLocation:a$3.nullable().describe("Roadway location where the alert ends, or null when alert is point-specific or end location is unavailable."),EndTime:a$2().nullable().describe("UTC datetime when the alert impact is estimated to end, or null when end time is not estimated or alert is ongoing."),EventCategory:a$1.string().nullable().describe("Category classification for the alert event type, or null when category is unavailable."),EventStatus:a$1.string().nullable().describe("Code indicating alert status: 'Open' = active, 'Closed' = resolved, or null when status is unavailable."),ExtendedDescription:a$1.string().nullable().describe("Additional detailed information about the alert, or null when extended description is unavailable."),HeadlineDescription:a$1.string().nullable().describe("Primary description of the alert issue, or null when headline is unavailable."),LastUpdatedTime:a$2().nullable().describe("UTC datetime when the alert was last modified or updated."),Priority:a$1.string().nullable().describe("Code indicating traffic impact priority: 'Highest' = severe, 'High' = significant, 'Medium' = moderate, 'Low' = minimal, or null when priority is unavailable."),Region:a$1.string().nullable().describe("Code indicating WSDOT region: 'EA' = Eastern, 'NC' = North Central, 'NW' = Northwest, 'OL' = Olympic, 'SC' = South Central, 'SW' = Southwest, or null when region is unavailable."),StartRoadwayLocation:a$3.nullable().describe("Roadway location where the alert begins, or null when alert is point-specific or start location is unavailable."),StartTime:a$2().nullable().describe("UTC datetime when the alert impact on traffic began.")}).describe("Highway alert with identification, event category, priority, location data, timestamps, and descriptions for traffic incidents and road conditions.");});export{u as a,o as b,f as c,l as d,y as e,s as f,I as g,v as h,C as i,A as j,x as k,c as l,E as m,d as n};//# sourceMappingURL=chunk-2TVNH2C5.mjs.map
//# sourceMappingURL=chunk-2TVNH2C5.mjs.map