UNPKG

ws-dottie

Version:

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

1 lines 1.64 kB
{"version":3,"sources":["../src/apis/shared/cacheFlushDate.ts"],"names":["cacheFlushDateInputSchema","cacheFlushDateOutputSchema","init_cacheFlushDate","__esmMin","init_zod","z"],"mappings":"mFAAA,IAeaA,CAAAA,CAYAC,EA3BbC,CAAAA,CAAAC,CAAAA,CAAA,KAQAC,CAAAA,EAAAA,CAOaJ,CAAAA,CAA4BK,GAAAA,CACtC,MAAA,CAAO,EAAE,EACT,QAAA,CAAS,iDAAiD,EAUhDJ,CAAAA,CAA6BI,GAAAA,CACvC,MAAK,CACL,QAAA,EAAS,CACT,QAAA,CACC,kGACF,EAAA,CAAA","file":"chunk-OYWJ7UB2.mjs","sourcesContent":["/**\n * @fileoverview Shared schemas for cache flush date endpoints\n *\n * This module provides reusable input and output schemas for cache flush date\n * endpoints across all WSF APIs (wsf-fares, wsf-schedule, wsf-terminals, wsf-vessels).\n */\n\nimport type { z as zod } from \"zod\";\nimport { z } from \"@/shared/zod\";\n\n/**\n * Shared input schema for cache flush date endpoints\n *\n * All cache flush date endpoints accept no parameters, so this is an empty object.\n */\nexport const cacheFlushDateInputSchema = z\n .object({})\n .describe(\"Input parameters for cache flush date endpoint.\");\n\nexport type CacheFlushDateInput = zod.infer<typeof cacheFlushDateInputSchema>;\n\n/**\n * Shared output schema for cache flush date endpoints\n *\n * Returns an optional UTC datetime indicating when static endpoint data was\n * last updated. Used for cache invalidation purposes.\n */\nexport const cacheFlushDateOutputSchema = z\n .date()\n .optional()\n .describe(\n \"UTC datetime when static endpoint data was last updated, or undefined if no update has occurred.\"\n );\n\nexport type CacheFlushDateOutput = zod.infer<typeof cacheFlushDateOutputSchema>;\n"]}