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) • 761 B
TypeScript
export { WeatherStation, WeatherStationData, WeatherStationsInput, weatherStationSchema, weatherStationsInputSchema } from './schemas.js';
import { H as HookFactory, F as FetchFactory } from '../../types-D3jt2o5t.js';
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 };