UNPKG

ws-dottie

Version:

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

27 lines (23 loc) 1.05 kB
import { z } from 'zod'; /** * @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). */ /** * Shared input schema for cache flush date endpoints * * All cache flush date endpoints accept no parameters, so this is an empty object. */ declare const cacheFlushDateInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type CacheFlushDateInput = z.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. */ declare const cacheFlushDateOutputSchema: z.ZodOptional<z.ZodDate>; type CacheFlushDateOutput = z.infer<typeof cacheFlushDateOutputSchema>; export { type CacheFlushDateInput as C, type CacheFlushDateOutput as a, cacheFlushDateOutputSchema as b, cacheFlushDateInputSchema as c };