ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
24 lines • 1.72 kB
TypeScript
/**
* @fileoverview WSF Schedule API Input Schemas for Sailings
*
* This module provides Zod schemas for validating input parameters for the WSF
* Schedule API endpoints related to sailing operations.
*/
import { z } from "../../../../shared/zod";
/**
* Schema for SchedSailingsBySchedRoute input parameters
*
* This operation provides sailings for a particular scheduled route. Sailings are departure times organized by direction of travel (eastbound / westbound), days of operation groups (daily, weekday, weekend, etc) and, in some cases, date ranges (eg. Early Fall / Late Fall). Sailings largely mimic the groupings of departures found on the printed PDF version of the schedule. Scheduled routes may be determined using `/schedroutes`. */
export declare const sailingsByRouteIDInputSchema: z.ZodObject<{
SchedRouteID: z.ZodNumber;
}, z.core.$strip>;
export type SailingsByRouteIDInput = z.infer<typeof sailingsByRouteIDInputSchema>;
/**
* Schema for AllSchedSailingsBySchedRoute input parameters
*
* This operation provides all sailings for a particular scheduled route. Sailings are departure times organized by direction of travel (eastbound / westbound), days of operation groups (daily, weekday, weekend, etc) and, in some cases, date ranges (eg. Early Fall / Late Fall). Sailings largely mimic the groupings of departures found on the printed PDF version of the schedule. Scheduled routes may be determined using `/schedroutes`. */
export declare const allSailingsBySchedRouteIDInputSchema: z.ZodObject<{
SchedRouteID: z.ZodNumber;
}, z.core.$strip>;
export type AllSailingsBySchedRouteIDInput = z.infer<typeof allSailingsBySchedRouteIDInputSchema>;
//# sourceMappingURL=sailings.input.d.ts.map