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.42 kB
JavaScript
import {b,a,c,i,e,d as d$1,g as g$1,h,f}from'./chunk-Y3TNMOZ2.mjs';import {ya,n,k,za,l,m}from'./chunk-FUK6FFHJ.mjs';import {c as c$1}from'./chunk-BOH3LKTH.mjs';import {a as a$1}from'./chunk-6REGGRVO.mjs';var g={functionName:"fetchMapAreas",endpoint:"/getMapAreasAsJson",inputSchema:a,outputSchema:b.array(),sampleParams:{},endpointDescription:"List all available geographic map areas for filtering alerts."},Q=ya(n,k,g),w=za(n,k,g);var d={functionName:"fetchEventCategories",endpoint:"/getEventCategoriesAsJson",inputSchema:c,outputSchema:a$1.string().array(),sampleParams:{},endpointDescription:"List all available event category names for filtering alerts."},G=ya(n,l,d),q=za(n,l,d);var I={functionName:"fetchAlertById",endpoint:"/getAlertAsJson?AlertID={AlertID}",inputSchema:e,outputSchema:i,sampleParams:{AlertID:468632},endpointDescription:"Get highway alert details for a specific alert ID."},W=ya(n,m,I),j=za(n,m,I);var F={functionName:"fetchAlerts",endpoint:"/getAlertsAsJson",inputSchema:d$1,outputSchema:i.array(),sampleParams:{},endpointDescription:"List all current highway alerts statewide."},$=ya(n,m,F),tt=za(n,m,F);var S={functionName:"fetchAlertsByMapArea",endpoint:"/getAlertsByMapAreaAsJson?MapArea={MapArea}",inputSchema:g$1,outputSchema:i.array(),sampleParams:{MapArea:"Seattle"},endpointDescription:"List highway alerts filtered by map area code."},nt=ya(n,m,S),it=za(n,m,S);var M={functionName:"fetchAlertsByRegionId",endpoint:"/getAlertsByRegionIDAsJson?RegionID={RegionID}",inputSchema:h,outputSchema:i.array(),sampleParams:{RegionID:4},endpointDescription:"List highway alerts filtered by WSDOT region ID."},ht=ya(n,m,M),ft=za(n,m,M);var E={functionName:"searchAlerts",endpoint:"/searchAlertsAsJson?StateRoute={StateRoute}&Region={Region}&SearchTimeStart={SearchTimeStart}&SearchTimeEnd={SearchTimeEnd}&StartingMilepost={StartingMilepost}&EndingMilepost={EndingMilepost}",inputSchema:f,outputSchema:i.array(),sampleParams:{StateRoute:"405",StartingMilepost:10,EndingMilepost:20,SearchTimeStart:c$1.yesterday(),SearchTimeEnd:c$1.today()},endpointDescription:"Search highway alerts by route, region, time range, and milepost."},Pt=ya(n,m,E),Rt=za(n,m,E);export{g as a,Q as b,w as c,d,G as e,q as f,I as g,W as h,j as i,F as j,$ as k,tt as l,S as m,nt as n,it as o,M as p,ht as q,ft as r,E as s,Pt as t,Rt as u};//# sourceMappingURL=chunk-RGO4KICH.mjs.map
//# sourceMappingURL=chunk-RGO4KICH.mjs.map