UNPKG

ws-dottie

Version:

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

15 lines 693 B
import { z } from "zod"; /** * Shared schema for WSDOT API valid date range responses. * * This schema is used by both WSF Fares and WSF Schedule APIs to represent * the date range for which data is currently published and available. * A valid API Access Code from the WSDOT Traveler API must be passed as part of the URL string. */ export declare const validDateRangeSchema: z.ZodObject<{ DateFrom: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>; DateThru: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>; }, z.core.$strip>; /** ValidDateRange type */ export type ValidDateRange = z.infer<typeof validDateRangeSchema>; //# sourceMappingURL=validDateRange.zod.d.ts.map