UNPKG

ws-dottie

Version:

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

36 lines (32 loc) 1.07 kB
import { z } from 'zod'; /** * WeatherStations input schema * * Input parameters for getting current weather stations. */ declare const weatherStationsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type WeatherStationsInput = z.infer<typeof weatherStationsInputSchema>; /** * WeatherStationData schema * * Provides current information from weather stations. Coverage Area: Statewide. */ declare const weatherStationSchema: z.ZodObject<{ Latitude: z.ZodNumber; Longitude: z.ZodNumber; StationCode: z.ZodNumber; StationName: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { Latitude: number; Longitude: number; StationName: string | null; StationCode: number; }, { Latitude: number; Longitude: number; StationName: string | null; StationCode: number; }>; type WeatherStation = z.infer<typeof weatherStationSchema>; type WeatherStationData = WeatherStation; export { type WeatherStation, type WeatherStationData, type WeatherStationsInput, weatherStationSchema, weatherStationsInputSchema };