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 2.67 kB
{"version":3,"sources":["../src/apis/shared/roadwayLocationSchema.ts","../src/apis/shared/index.ts"],"names":["roadwayLocationSchema","init_roadwayLocationSchema","__esmMin","init_zod","z","init_shared","init_cacheFlushDate"],"mappings":"+HAAA,IAKaA,CAAAA,CALbC,CAAAA,CAAAC,GAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CAKaH,CAAAA,CAAwBI,GAAAA,CAClC,MAAA,CAAO,CACN,WAAA,CAAaA,GAAAA,CACV,MAAA,GACA,QAAA,EAAS,CACT,QAAA,CACC,iGACF,CAAA,CACF,SAAA,CAAWA,GAAAA,CACR,MAAA,GACA,QAAA,EAAS,CACT,QAAA,CACC,sGACF,CAAA,CACF,QAAA,CAAUA,GAAAA,CACP,MAAA,GACA,QAAA,CAAS,sDAAsD,CAAA,CAClE,SAAA,CAAWA,GAAAA,CACR,MAAA,EAAO,CACP,QAAA,CAAS,uDAAuD,CAAA,CACnE,QAAA,CAAUA,GAAAA,CACP,MAAA,EAAO,CACP,QAAA,CACC,+EACF,EACF,QAAA,CAAUA,GAAAA,CACP,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,6EACF,CACJ,CAAC,CAAA,CACA,QAAA,CACC,qFACF,EAAA,CAAA,ECvCF,IAAAC,CAAAA,CAAAH,GAAAA,CAAA,KAOAI,CAAAA,EAAAA,CAMAL,CAAAA,GAAAA,CAAAA","file":"chunk-OSILB2GQ.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\n/**\n * Roadway location information including route, milepost, coordinates, and direction.\n */\nexport const roadwayLocationSchema = z\n .object({\n Description: z\n .string()\n .nullable()\n .describe(\n \"Human-readable description of the roadway location, such as interchange names or cross streets.\"\n ),\n Direction: z\n .string()\n .nullable()\n .describe(\n \"Traffic direction designation: N, S, B, NB, or SB, indicating which side of the highway is affected.\"\n ),\n Latitude: z\n .number()\n .describe(\"Latitude of the roadway location in decimal degrees.\"),\n Longitude: z\n .number()\n .describe(\"Longitude of the roadway location in decimal degrees.\"),\n MilePost: z\n .number()\n .describe(\n \"Milepost marker along the highway corridor, with 0 indicating route terminus.\"\n ),\n RoadName: z\n .string()\n .nullable()\n .describe(\n \"Highway or route designation code, such as '005' for I-5 or '090' for I-90.\"\n ),\n })\n .describe(\n \"Roadway location information including route, milepost, coordinates, and direction.\"\n );\n\nexport type RoadwayLocation = z.infer<typeof roadwayLocationSchema>;\n","/**\n * @fileoverview Shared API schemas and utilities\n *\n * This module exports shared schemas and utilities used across multiple\n * WSDOT API endpoints.\n */\n\nexport {\n type CacheFlushDateInput,\n type CacheFlushDateOutput,\n cacheFlushDateInputSchema,\n cacheFlushDateOutputSchema,\n} from \"./cacheFlushDate\";\nexport {\n type RoadwayLocation,\n roadwayLocationSchema,\n} from \"./roadwayLocationSchema\";\n"]}