ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
34 lines • 1.46 kB
TypeScript
/**
* @fileoverview WSF Schedule API Output Schemas for Active Seasons
*
* This module provides Zod schemas for validating responses from the WSF
* Schedule API active seasons operations.
*/
import { z } from "../../../../shared/zod";
/**
* Base schedule schema containing common schedule fields
*
* This operation retrieves a summary of active seasons.
*/
export declare const scheduleBaseSchema: z.ZodObject<{
ScheduleID: z.ZodNumber;
ScheduleName: z.ZodString;
ScheduleSeason: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
SchedulePDFUrl: z.ZodString;
ScheduleStart: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
ScheduleEnd: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
}, z.core.$strip>;
export type ScheduleBase = z.infer<typeof scheduleBaseSchema>;
/**
* Schema for ActiveSeason - represents active season information
*/
export declare const activeSeasonSchema: z.ZodObject<{
ScheduleID: z.ZodNumber;
ScheduleName: z.ZodString;
ScheduleSeason: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
SchedulePDFUrl: z.ZodString;
ScheduleStart: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
ScheduleEnd: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
}, z.core.$strip>;
export type ActiveSeason = z.infer<typeof activeSeasonSchema>;
//# sourceMappingURL=activeSeasons.output.d.ts.map