UNPKG

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 1.72 kB
'use strict';var chunkNVEN2Y5N_js=require('./chunk-NVEN2Y5N.js'),chunkGWRLC6BC_js=require('./chunk-GWRLC6BC.js'),chunkXD2OIZAB_js=require('./chunk-XD2OIZAB.js');exports.a=void 0;var r=chunkXD2OIZAB_js.a(()=>{exports.a={name:"wsdot-weather-stations",baseUrl:"https://wsdot.wa.gov/traffic/api/WeatherStations/WeatherStationsREST.svc"};});var p={};chunkXD2OIZAB_js.b(p,{weatherStationsGroup:()=>exports.f});exports.f=void 0;var h=chunkXD2OIZAB_js.a(()=>{s();exports.f={name:"weather-stations",cacheStrategy:"FREQUENT",documentation:{summary:"Weather station metadata and location information for WSDOT Road Weather Information System stations statewide.",description:"Station identifiers, names, and location coordinates for weather stations that collect atmospheric and pavement condition data.",useCases:["Discover weather stations by location for weather data queries.","Identify station identifiers and names for weather data lookups.","Support location-based weather station searches."],updateFrequency:"daily"},endpoints:[e]};});var e,y,w;exports.c=void 0;exports.d=void 0;var s=chunkXD2OIZAB_js.a(()=>{chunkGWRLC6BC_js.j();r();chunkNVEN2Y5N_js.b();chunkNVEN2Y5N_js.d();e={functionName:"fetchWeatherStations",endpoint:"/GetCurrentStationsAsJson",inputSchema:chunkNVEN2Y5N_js.a,outputSchema:chunkNVEN2Y5N_js.c.array(),sampleParams:{},endpointDescription:"List weather station metadata for all stations statewide."},{fetch:y,useHook:w}=chunkGWRLC6BC_js.i({api:exports.a,endpoint:e,getCacheStrategy:()=>(h(),chunkXD2OIZAB_js.c(p)).weatherStationsGroup.cacheStrategy}),exports.c=y,exports.d=w;}); exports.b=r;exports.e=s;exports.g=h;//# sourceMappingURL=chunk-Q6UYXZRT.js.map //# sourceMappingURL=chunk-Q6UYXZRT.js.map