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 • 671 B
TypeScript
/**
* @fileoverview .NET Date Validation for TanStack Query
*
* This module provides Zod schema validation for .NET date formats,
* including the specialized "/Date(timestamp)/" format used by .NET
* APIs. It handles validation and transformation to JavaScript Date objects.
*/
import { z } from "../../shared/zod";
/**
* .NET date validation and transformation schema
*
* This Zod schema handles .NET's "/Date(timestamp)/" format only.
* It validates the input format and transforms it to a JavaScript Date object.
*/
export declare const zDotnetDate: () => z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
//# sourceMappingURL=zDotnetDateSchema.d.ts.map