UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

1 lines 2.32 kB
{"version":3,"sources":["../src/apis/wsdot-weather-stations/weatherStations/shared/weatherStations.input.ts","../src/apis/wsdot-weather-stations/weatherStations/shared/weatherStations.output.ts"],"names":["weatherStationsInputSchema","init_weatherStations_input","__esmMin","init_zod","z","weatherStationSchema","init_weatherStations_output"],"mappings":"mFAAA,IAOaA,CAAAA,CAPbC,CAAAA,CAAAC,CAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CAOaH,CAAAA,CAA6BI,GAAAA,CACvC,MAAA,CAAO,EAAE,CAAA,CACT,QAAA,CACC,0EACF,KCXF,IAOaC,CAAAA,CAPbC,CAAAA,CAAAJ,CAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CAOaE,CAAAA,CAAuBD,GAAAA,CACjC,MAAA,CAAO,CACN,QAAA,CAAUA,GAAAA,CACP,MAAA,EAAO,CACP,SAAS,qDAAqD,CAAA,CACjE,SAAA,CAAWA,GAAAA,CACR,MAAA,EAAO,CACP,QAAA,CAAS,sDAAsD,CAAA,CAClE,WAAA,CAAaA,GAAAA,CAAE,GAAA,EAAI,CAAE,QAAA,CAAS,oCAAoC,CAAA,CAClE,WAAA,CAAaA,GAAAA,CACV,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,sCAAsC,CACpD,CAAC,CAAA,CACA,QAAA,CACC,2IACF,EAAA,CAAA","file":"chunk-UZSTQL3N.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\n/**\n * WeatherStations input schema\n *\n * Input parameters for getting current weather stations.\n */\nexport const weatherStationsInputSchema = z\n .object({})\n .describe(\n \"Input parameters for listing weather station metadata from all stations.\"\n );\n\nexport type WeatherStationsInput = z.infer<typeof weatherStationsInputSchema>;\n","import { z } from \"@/shared/zod\";\n\n/**\n * WeatherStationData schema\n *\n * Provides current information from weather stations. Coverage Area: Statewide.\n */\nexport const weatherStationSchema = z\n .object({\n Latitude: z\n .number()\n .describe(\"Latitude of the weather station in decimal degrees.\"),\n Longitude: z\n .number()\n .describe(\"Longitude of the weather station in decimal degrees.\"),\n StationCode: z.int().describe(\"Numeric ID of the weather station.\"),\n StationName: z\n .string()\n .nullable()\n .describe(\"Display name of the weather station.\"),\n })\n .describe(\n \"Weather station metadata including station identifier, name, and location coordinates for WSDOT Road Weather Information System stations.\"\n );\n\nexport type WeatherStation = z.infer<typeof weatherStationSchema>;\n\n// Alias for backward compatibility\nexport type WeatherStationData = WeatherStation;\n"]}