ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
37 lines • 1.51 kB
TypeScript
import { z } from "../../../../shared/zod";
/**
* Schema for Alert - represents a Highway Alert
*
* A Highway Alert.
*/
export declare const alertSchema: z.ZodObject<{
AlertID: z.ZodInt;
County: z.ZodNullable<z.ZodString>;
EndRoadwayLocation: z.ZodNullable<z.ZodObject<{
Description: z.ZodNullable<z.ZodString>;
Direction: z.ZodNullable<z.ZodString>;
Latitude: z.ZodNumber;
Longitude: z.ZodNumber;
MilePost: z.ZodNumber;
RoadName: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
EndTime: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
EventCategory: z.ZodNullable<z.ZodString>;
EventStatus: z.ZodNullable<z.ZodString>;
ExtendedDescription: z.ZodNullable<z.ZodString>;
HeadlineDescription: z.ZodNullable<z.ZodString>;
LastUpdatedTime: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
Priority: z.ZodNullable<z.ZodString>;
Region: z.ZodNullable<z.ZodString>;
StartRoadwayLocation: z.ZodNullable<z.ZodObject<{
Description: z.ZodNullable<z.ZodString>;
Direction: z.ZodNullable<z.ZodString>;
Latitude: z.ZodNumber;
Longitude: z.ZodNumber;
MilePost: z.ZodNumber;
RoadName: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
StartTime: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
}, z.core.$strip>;
export type Alert = z.infer<typeof alertSchema>;
//# sourceMappingURL=highwayAlerts.output.d.ts.map