UNPKG

ws-dottie

Version:

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

23 lines 1.04 kB
/** * @fileoverview Shared schemas for cache flush date endpoints * * This module provides reusable input and output schemas for cache flush date * endpoints across all WSF APIs (wsf-fares, wsf-schedule, wsf-terminals, wsf-vessels). */ import type { z as zod } from "zod"; /** * Shared input schema for cache flush date endpoints * * All cache flush date endpoints accept no parameters, so this is an empty object. */ export declare const cacheFlushDateInputSchema: zod.ZodObject<{}, zod.core.$strip>; export type CacheFlushDateInput = zod.infer<typeof cacheFlushDateInputSchema>; /** * Shared output schema for cache flush date endpoints * * Returns an optional UTC datetime indicating when static endpoint data was * last updated. Used for cache invalidation purposes. */ export declare const cacheFlushDateOutputSchema: zod.ZodOptional<zod.ZodPipe<zod.ZodString, zod.ZodTransform<Date, string>>>; export type CacheFlushDateOutput = zod.infer<typeof cacheFlushDateOutputSchema>; //# sourceMappingURL=cacheFlushDate.d.ts.map