ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
31 lines (28 loc) • 838 B
text/typescript
import { z } from 'zod';
/**
* Roadway location information including route, milepost, coordinates, and direction.
*/
declare const roadwayLocationSchema: 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>;
}, "strip", z.ZodTypeAny, {
Description: string | null;
Direction: string | null;
Latitude: number;
Longitude: number;
MilePost: number;
RoadName: string | null;
}, {
Description: string | null;
Direction: string | null;
Latitude: number;
Longitude: number;
MilePost: number;
RoadName: string | null;
}>;
type RoadwayLocation = z.infer<typeof roadwayLocationSchema>;
export type { RoadwayLocation as R };