ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
28 lines • 1.28 kB
TypeScript
import { z } from "../../../../shared/zod";
export declare const travelRestrictionSchema: z.ZodObject<{
RestrictionText: z.ZodNullable<z.ZodString>;
TravelDirection: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
export type TravelRestriction = z.infer<typeof travelRestrictionSchema>;
export declare const passConditionSchema: z.ZodObject<{
MountainPassId: z.ZodInt;
MountainPassName: z.ZodNullable<z.ZodString>;
Latitude: z.ZodNumber;
Longitude: z.ZodNumber;
DateUpdated: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
TemperatureInFahrenheit: z.ZodNullable<z.ZodInt>;
ElevationInFeet: z.ZodNullable<z.ZodInt>;
WeatherCondition: z.ZodNullable<z.ZodString>;
RoadCondition: z.ZodNullable<z.ZodString>;
TravelAdvisoryActive: z.ZodBoolean;
RestrictionOne: z.ZodNullable<z.ZodObject<{
RestrictionText: z.ZodNullable<z.ZodString>;
TravelDirection: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
RestrictionTwo: z.ZodNullable<z.ZodObject<{
RestrictionText: z.ZodNullable<z.ZodString>;
TravelDirection: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type PassCondition = z.infer<typeof passConditionSchema>;
//# sourceMappingURL=passConditions.output.d.ts.map