ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
32 lines • 1.2 kB
TypeScript
import { z } from "../../../shared/zod";
/**
* Schema for common toll trip information fields
*
* Contains common fields for toll trip information including location data and trip details
*/
export declare const tollTripBaseSchema: z.ZodObject<{
EndLatitude: z.ZodNumber;
EndLocationName: z.ZodNullable<z.ZodString>;
EndLongitude: z.ZodNumber;
EndMilepost: z.ZodNumber;
StartLatitude: z.ZodNumber;
StartLocationName: z.ZodNullable<z.ZodString>;
StartLongitude: z.ZodNumber;
StartMilepost: z.ZodNumber;
TravelDirection: z.ZodNullable<z.ZodString>;
TripName: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
export type TollTripBase = z.infer<typeof tollTripBaseSchema>;
/**
* Schema for common toll trip rate information fields
*
* Contains common fields for toll trip rates
*/
export declare const tollTripRateBaseSchema: z.ZodObject<{
Message: z.ZodNullable<z.ZodString>;
MessageUpdateTime: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
Toll: z.ZodNumber;
TripName: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
export type TollTripRateBase = z.infer<typeof tollTripRateBaseSchema>;
//# sourceMappingURL=tollTripBaseSchema.d.ts.map