ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
3 lines • 2.22 kB
JavaScript
;var chunk2C2WA5LS_js=require('./chunk-2C2WA5LS.js'),chunk4IW2CYC5_js=require('./chunk-4IW2CYC5.js'),chunkXD2OIZAB_js=require('./chunk-XD2OIZAB.js');exports.a=void 0;var r=chunkXD2OIZAB_js.a(()=>{exports.a={name:"wsdot-traffic-flow",baseUrl:"https://www.wsdot.wa.gov/traffic/api/trafficflow/trafficflowrest.svc"};});var f,h;exports.f=void 0;exports.g=void 0;var F=chunkXD2OIZAB_js.a(()=>{chunk4IW2CYC5_js.j();r();chunk2C2WA5LS_js.c();chunk2C2WA5LS_js.e();f={functionName:"fetchTrafficFlows",endpoint:"/getTrafficFlowsAsJson",inputSchema:chunk2C2WA5LS_js.b,outputSchema:chunk2C2WA5LS_js.d.array(),sampleParams:{},endpointDescription:"List current traffic flow conditions for all stations statewide."},h=chunk4IW2CYC5_js.i({api:exports.a,endpoint:f,getEndpointGroup:()=>(n(),chunkXD2OIZAB_js.c(e)).flowDataGroup}),{fetch:exports.f,hook:exports.g}=h;});var e={};chunkXD2OIZAB_js.b(e,{flowDataGroup:()=>exports.i});exports.i=void 0;var n=chunkXD2OIZAB_js.a(()=>{u();F();exports.i={name:"flow-data",cacheStrategy:"FREQUENT",documentation:{summary:"Real-time traffic flow conditions from sensor stations across Washington state.",description:"Current traffic flow readings, station locations, and timestamps for traffic monitoring and congestion detection.",useCases:["Monitor real-time traffic flow conditions across Washington highways.","Detect congestion and traffic patterns for route planning.","Display current traffic status in traveler information systems."],updateFrequency:"90s"},endpoints:[f,s]};});var s,I;exports.c=void 0;exports.d=void 0;var u=chunkXD2OIZAB_js.a(()=>{chunk4IW2CYC5_js.j();r();chunk2C2WA5LS_js.c();chunk2C2WA5LS_js.e();s={functionName:"fetchTrafficFlowById",endpoint:"/getTrafficFlowAsJson?FlowDataID={FlowDataID}",inputSchema:chunk2C2WA5LS_js.a,outputSchema:chunk2C2WA5LS_js.d,sampleParams:{FlowDataID:2482},endpointDescription:"Get current traffic flow condition for a specific station by ID."},I=chunk4IW2CYC5_js.i({api:exports.a,endpoint:s,getEndpointGroup:()=>(n(),chunkXD2OIZAB_js.c(e)).flowDataGroup}),{fetch:exports.c,hook:exports.d}=I;});
exports.b=r;exports.e=u;exports.h=F;exports.j=n;//# sourceMappingURL=chunk-HCJRVLS6.js.map
//# sourceMappingURL=chunk-HCJRVLS6.js.map