ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
42 lines • 1.86 kB
TypeScript
import { z } from "../../../../shared/zod";
/**
* WeatherReading schema
*
* Provides current information from weather stations. Coverage Area: Statewide.
*/
export declare const weatherReadingSchema: z.ZodObject<{
StationId: z.ZodString;
StationName: z.ZodString;
Latitude: z.ZodNumber;
Longitude: z.ZodNumber;
Elevation: z.ZodInt;
ReadingTime: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
AirTemperature: z.ZodNullable<z.ZodNumber>;
RelativeHumidty: z.ZodNullable<z.ZodInt>;
AverageWindSpeed: z.ZodNullable<z.ZodInt>;
AverageWindDirection: z.ZodNullable<z.ZodInt>;
WindGust: z.ZodNullable<z.ZodInt>;
Visibility: z.ZodNullable<z.ZodInt>;
PrecipitationIntensity: z.ZodNullable<z.ZodInt>;
PrecipitationType: z.ZodNullable<z.ZodInt>;
PrecipitationPast1Hour: z.ZodNullable<z.ZodNumber>;
PrecipitationPast3Hours: z.ZodNullable<z.ZodNumber>;
PrecipitationPast6Hours: z.ZodNullable<z.ZodNumber>;
PrecipitationPast12Hours: z.ZodNullable<z.ZodNumber>;
PrecipitationPast24Hours: z.ZodNullable<z.ZodNumber>;
PrecipitationAccumulation: z.ZodNullable<z.ZodNumber>;
BarometricPressure: z.ZodNullable<z.ZodInt>;
SnowDepth: z.ZodNullable<z.ZodInt>;
SurfaceMeasurements: z.ZodNullable<z.ZodArray<z.ZodObject<{
SensorId: z.ZodInt;
SurfaceTemperature: z.ZodNullable<z.ZodNumber>;
RoadFreezingTemperature: z.ZodNullable<z.ZodNumber>;
RoadSurfaceCondition: z.ZodNullable<z.ZodNumber>;
}, z.core.$strip>>>;
SubSurfaceMeasurements: z.ZodNullable<z.ZodArray<z.ZodObject<{
SensorId: z.ZodInt;
SubSurfaceTemperature: z.ZodNullable<z.ZodNumber>;
}, z.core.$strip>>>;
}, z.core.$strip>;
export type WeatherReading = z.infer<typeof weatherReadingSchema>;
//# sourceMappingURL=weatherReadings.output.d.ts.map