UNPKG

ws-dottie

Version:

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

23 lines (20 loc) 763 B
export { WeatherStation, WeatherStationData, WeatherStationsInput, weatherStationSchema, weatherStationsInputSchema } from './schemas.mjs'; import { H as HookFactory, F as FetchFactory } from '../../types-D3jt2o5t.mjs'; import 'zod'; import '@tanstack/react-query'; /** * Fetch function and React Query hook for retrieving weather station metadata for all stations statewide */ declare const fetchWeatherStations: FetchFactory<{}, { Latitude: number; Longitude: number; StationName: string | null; StationCode: number; }[]>; declare const useWeatherStations: HookFactory<{}, { Latitude: number; Longitude: number; StationName: string | null; StationCode: number; }[]>; export { fetchWeatherStations, useWeatherStations as u };