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.74 kB
JavaScript
import {c as c$1,a as a$2}from'./chunk-PJWJKPX4.mjs';import {b,a as a$1}from'./chunk-Y7ZPKVJH.mjs';import {a}from'./chunk-XEHBQAFR.mjs';var p,n=a(()=>{b();p=a$1.object({}).describe("Input for retrieving all available map areas with area codes and descriptions.");});var m,o=a(()=>{b();m=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 g,l=a(()=>{b();g=a$1.object({}).describe("Input for retrieving all available event category names for alert filtering.");});var S,I,v,C,A,s=a(()=>{b();S=a$1.object({}).describe("Input for retrieving all currently active highway alerts statewide."),I=a$1.object({AlertID:a$1.number().describe("Numeric ID of the highway alert.")}).describe("Input for retrieving a specific highway alert by ID."),v=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."),C=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."),A=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 T,c=a(()=>{c$1();b();T=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$2.nullable().describe("Roadway location where the alert ends, or null when alert is point-specific or end location is unavailable."),EndTime:a$1.date().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$1.date().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$2.nullable().describe("Roadway location where the alert begins, or null when alert is point-specific or start location is unavailable."),StartTime:a$1.date().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{p as a,n as b,m as c,o as d,g as e,l as f,S as g,I as h,v as i,C as j,A as k,s as l,T as m,c as n};//# sourceMappingURL=chunk-BCKSVMZ7.mjs.map
//# sourceMappingURL=chunk-BCKSVMZ7.mjs.map