UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

39 lines 1.51 kB
/** * @fileoverview WSF Schedule API Output Schemas for Terminals * * This module provides Zod schemas for validating responses from the WSF * Schedule API terminal operations. */ import type { Terminal as SharedTerminal, TerminalList as SharedTerminalList } from "../../../shared/terminals.output"; import { z } from "../../../../shared/zod"; export declare const terminalSchema: z.ZodObject<{ TerminalID: z.ZodNumber; Description: z.ZodString; }, z.core.$strip>; export type Terminal = SharedTerminal; /** * Schema for TerminalMate - represents terminal mate information */ export declare const terminalMateSchema: z.ZodObject<{ DepartingTerminalID: z.ZodNumber; DepartingDescription: z.ZodString; ArrivingTerminalID: z.ZodNumber; ArrivingDescription: z.ZodString; }, z.core.$strip>; export type TerminalMate = z.infer<typeof terminalMateSchema>; /** * Terminal Mates List Schema - represents an list of terminal mates */ export declare const terminalMatesListSchema: z.ZodArray<z.ZodObject<{ DepartingTerminalID: z.ZodNumber; DepartingDescription: z.ZodString; ArrivingTerminalID: z.ZodNumber; ArrivingDescription: z.ZodString; }, z.core.$strip>>; export type TerminalMateList = z.infer<typeof terminalMatesListSchema>; export declare const terminalsListSchema: z.ZodArray<z.ZodObject<{ TerminalID: z.ZodNumber; Description: z.ZodString; }, z.core.$strip>>; export type TerminalsList = SharedTerminalList; //# sourceMappingURL=terminals.output.d.ts.map