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 • 4.27 kB
JavaScript
;var chunk6OEQ5M6G_js=require('./chunk-6OEQ5M6G.js'),chunkKQGAFW7G_js=require('./chunk-KQGAFW7G.js'),chunkXD2OIZAB_js=require('./chunk-XD2OIZAB.js');exports.a=void 0;var r=chunkXD2OIZAB_js.a(()=>{exports.a={name:"wsdot-weather-readings",baseUrl:"https://www.wsdot.wa.gov/traffic/api/api"};});var y={};chunkXD2OIZAB_js.b(y,{subSurfaceMeasurementsGroup:()=>exports.f});exports.f=void 0;var w=chunkXD2OIZAB_js.a(()=>{S();exports.f={name:"sub-surface-measurements",cacheStrategy:"FREQUENT",documentation:{summary:"Subsurface temperature measurements from sensors embedded below road pavement.",description:"Ground temperature data from sensors embedded 12-18 inches below road pavement surfaces for monitoring ground temperature conditions.",useCases:["Monitor ground temperature conditions for winter maintenance operations.","Predict road surface conditions based on subsurface temperature trends.","Assess travel safety by understanding ground temperature patterns."],updateFrequency:"5m"},endpoints:[i]};});var i,q;exports.c=void 0;exports.d=void 0;var S=chunkXD2OIZAB_js.a(()=>{chunkKQGAFW7G_js.j();r();chunk6OEQ5M6G_js.b();chunk6OEQ5M6G_js.d();i={functionName:"fetchSubSurfaceMeasurements",endpoint:"/Scanweb/SubSurfaceMeasurements",inputSchema:chunk6OEQ5M6G_js.a,outputSchema:chunk6OEQ5M6G_js.c.array(),sampleParams:{},endpointDescription:"List subsurface measurements from all weather stations statewide."},q=chunkKQGAFW7G_js.i({api:exports.a,endpoint:i,getEndpointGroup:()=>(w(),chunkXD2OIZAB_js.c(y)).subSurfaceMeasurementsGroup}),{fetch:exports.c,hook:exports.d}=q;});var b={};chunkXD2OIZAB_js.b(b,{surfaceMeasurementsGroup:()=>exports.k});exports.k=void 0;var l=chunkXD2OIZAB_js.a(()=>{g();exports.k={name:"surface-measurements",cacheStrategy:"FREQUENT",documentation:{summary:"Surface sensor measurements from WSDOT weather stations statewide.",description:"Pavement surface temperature, road freezing temperature, and road surface condition codes from sensors embedded in or mounted on road surfaces.",useCases:["Monitor road surface conditions for winter maintenance operations.","Assess pavement temperature and freezing risk.","Evaluate travel safety based on surface condition codes."],updateFrequency:"5m"},endpoints:[u]};});var u,T;exports.h=void 0;exports.i=void 0;var g=chunkXD2OIZAB_js.a(()=>{chunkKQGAFW7G_js.j();r();chunk6OEQ5M6G_js.f();chunk6OEQ5M6G_js.h();u={functionName:"fetchSurfaceMeasurements",endpoint:"/Scanweb/SurfaceMeasurements",inputSchema:chunk6OEQ5M6G_js.e,outputSchema:chunk6OEQ5M6G_js.g.array(),sampleParams:{},endpointDescription:"List surface measurements from all weather stations."},T=chunkKQGAFW7G_js.i({api:exports.a,endpoint:u,getEndpointGroup:()=>(l(),chunkXD2OIZAB_js.c(b)).surfaceMeasurementsGroup}),{fetch:exports.h,hook:exports.i}=T;});var E={};chunkXD2OIZAB_js.b(E,{weatherReadingsGroup:()=>exports.p});exports.p=void 0;var G=chunkXD2OIZAB_js.a(()=>{R();exports.p={name:"weather-readings",cacheStrategy:"FREQUENT",documentation:{summary:"Comprehensive weather readings from all WSDOT weather stations statewide.",description:"Complete weather data including air temperature, humidity, wind conditions, visibility, precipitation across multiple time periods, barometric pressure, snow depth, and surface/subsurface sensor measurements.",useCases:["Access complete weather station data for comprehensive analysis.","Monitor atmospheric and surface conditions for transportation operations.","Track precipitation across multiple time periods (1h, 3h, 6h, 12h, 24h)."],updateFrequency:"5m"},endpoints:[p]};});var p,D;exports.m=void 0;exports.n=void 0;var R=chunkXD2OIZAB_js.a(()=>{chunkKQGAFW7G_js.j();r();chunk6OEQ5M6G_js.j();chunk6OEQ5M6G_js.l();p={functionName:"fetchWeatherReadings",endpoint:"/Scanweb",inputSchema:chunk6OEQ5M6G_js.i,outputSchema:chunk6OEQ5M6G_js.k.array(),sampleParams:{},endpointDescription:"List comprehensive weather readings from all weather stations."},D=chunkKQGAFW7G_js.i({api:exports.a,endpoint:p,getEndpointGroup:()=>(G(),chunkXD2OIZAB_js.c(E)).weatherReadingsGroup}),{fetch:exports.m,hook:exports.n}=D;});
exports.b=r;exports.e=S;exports.g=w;exports.j=g;exports.l=l;exports.o=R;exports.q=G;//# sourceMappingURL=chunk-ADJRQPOF.js.map
//# sourceMappingURL=chunk-ADJRQPOF.js.map