UNPKG

ws-dottie

Version:

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

16 lines 678 B
/** * @fileoverview ISO Date String Validation for TanStack Query * * This module provides Zod schema validation for ISO date format strings, * including standard ISO-8601 date formats. It handles validation and * transformation to JavaScript Date objects. */ import { z } from "../../shared/zod"; /** * ISO date string validation and transformation schema * * This Zod schema handles ISO date formats (e.g., "2024-01-01T12:00:00.000Z"). * It validates the input format and transforms it to a JavaScript Date object. */ export declare const zIsoDateString: () => z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>; //# sourceMappingURL=zIsoDateStringSchema.d.ts.map