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 • 6.05 kB
Source Map (JSON)
{"version":3,"sources":["../src/apis/wsdot-bridge-clearances/bridgeClearances/shared/bridgeClearances.input.ts","../src/apis/wsdot-bridge-clearances/bridgeClearances/shared/bridgeClearances.output.ts"],"names":["bridgeClearancesInputSchema","bridgeClearancesByRouteInputSchema","init_bridgeClearances_input","__esmMin","init_zod","z","bridgeClearanceSchema","init_bridgeClearances_output","init_shared","zDotnetDate"],"mappings":"+IAAA,IAEaA,CAAAA,CAQAC,EAVbC,CAAAA,CAAAC,GAAAA,CAAA,KAAAC,GAAAA,EAAAA,CAEaJ,CAAAA,CAA8BK,IACxC,MAAA,CAAO,EAAE,CAAA,CACT,QAAA,CACC,wEACF,CAAA,CAIWJ,CAAAA,CAAqCI,IAC/C,MAAA,CAAO,CACN,MAAOA,GAAAA,CACJ,MAAA,GACA,QAAA,CACC,wGACF,CACJ,CAAC,CAAA,CACA,SACC,gFACF,EAAA,CAAA,MCjBWC,CAAAA,CAHbC,CAAAA,CAAAJ,IAAA,IAAA,CAAAK,CAAAA,EAAAA,CACAJ,MAEaE,CAAAA,CAAwBD,GAAAA,CAClC,OAAO,CACN,aAAA,CAAeI,GAAAA,EAAY,CAAE,QAAA,CAC3B,iEACF,EACA,YAAA,CAAcJ,GAAAA,CACX,QAAO,CACP,QAAA,GACA,QAAA,CACC,gJACF,EACF,iBAAA,CAAmBA,GAAAA,CAChB,QAAO,CACP,QAAA,CAAS,oDAAoD,CAAA,CAChE,mBAAA,CAAqBA,IAClB,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CACC,sEACF,CAAA,CACF,kBAAA,CAAoBA,IACjB,MAAA,EAAO,CACP,SAAS,6CAA6C,CAAA,CACzD,mBAAoBA,GAAAA,CACjB,MAAA,GACA,QAAA,CAAS,6DAA6D,EACzE,kBAAA,CAAoBA,GAAAA,CACjB,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,0FACF,CAAA,CACF,SAAUA,GAAAA,CACP,MAAA,GACA,QAAA,CAAS,oDAAoD,EAChE,YAAA,CAAcA,GAAAA,CACX,QAAO,CACP,QAAA,CAAS,sDAAsD,CAAA,CAClE,SAAA,CAAWA,IACR,MAAA,EAAO,CACP,SAAS,qDAAqD,CAAA,CACjE,UAAWI,GAAAA,EAAY,CAAE,SACvB,0EACF,CAAA,CACA,KAAMJ,GAAAA,CACH,MAAA,GACA,QAAA,CAAS,yDAAyD,EACrE,sBAAA,CAAwBA,GAAAA,CACrB,QAAO,CACP,QAAA,GACA,QAAA,CACC,0EACF,EACF,YAAA,CAAcA,GAAAA,CACX,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,oHACF,CAAA,CACF,iBAAkBA,GAAAA,CACf,MAAA,GACA,QAAA,EAAS,CACT,SACC,gFACF,CAAA,CACF,iCAAkCA,GAAAA,CAC/B,MAAA,GACA,QAAA,EAAS,CACT,SACC,kFACF,CAAA,CACF,+BAAgCA,GAAAA,CAC7B,MAAA,GACA,QAAA,CAAS,oDAAoD,EAChE,gCAAA,CAAkCA,GAAAA,CAC/B,QAAO,CACP,QAAA,GACA,QAAA,CACC,kFACF,EACF,8BAAA,CAAgCA,GAAAA,CAC7B,QAAO,CACP,QAAA,CAAS,oDAAoD,CAClE,CAAC,CAAA,CACA,QAAA,CACC,uIACF,EAAA,CAAA","file":"chunk-CWCANBOY.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\nexport const bridgeClearancesInputSchema = z\n .object({})\n .describe(\n \"Input parameters for retrieving bridge clearance data for all bridges.\"\n );\n\nexport type BridgeClearancesInput = z.infer<typeof bridgeClearancesInputSchema>;\n\nexport const bridgeClearancesByRouteInputSchema = z\n .object({\n Route: z\n .string()\n .describe(\n \"State route identifier as three-digit number. E.g., '005' for I-5, '167' for SR-167, '520' for SR-520.\"\n ),\n })\n .describe(\n \"Input parameters for retrieving bridge clearance data filtered by state route.\"\n );\n\nexport type BridgeClearancesByRouteInput = z.infer<\n typeof bridgeClearancesByRouteInputSchema\n>;\n","import { zDotnetDate } from \"@/apis/shared\";\nimport { z } from \"@/shared/zod\";\n\nexport const bridgeClearanceSchema = z\n .object({\n APILastUpdate: zDotnetDate().describe(\n \"UTC datetime when the bridge clearance record was last updated.\"\n ),\n BridgeNumber: z\n .string()\n .nullable()\n .describe(\n \"Two-part bridge identifier combining route and structure number. E.g., '519/101FTP' for route 519 bridge 101FTP, '5/629A' for I-5 bridge 629A.\"\n ),\n ControlEntityGuid: z\n .string()\n .describe(\"Unique bridge control entity identifier as a GUID.\"),\n CrossingDescription: z\n .string()\n .nullable()\n .describe(\n \"Human-readable description of the bridge crossing location and type.\"\n ),\n CrossingLocationId: z\n .number()\n .describe(\"Numeric ID of the bridge crossing location.\"),\n CrossingRecordGuid: z\n .string()\n .describe(\"Unique identifier for the bridge crossing record as a GUID.\"),\n InventoryDirection: z\n .string()\n .nullable()\n .describe(\n \"Code indicating milepost direction: I = Increasing, D = Decreasing, B = Both directions.\"\n ),\n Latitude: z\n .number()\n .describe(\"Bridge GPS latitude coordinate in decimal degrees.\"),\n LocationGuid: z\n .string()\n .describe(\"Unique identifier for the bridge location as a GUID.\"),\n Longitude: z\n .number()\n .describe(\"Bridge GPS longitude coordinate in decimal degrees.\"),\n RouteDate: zDotnetDate().describe(\n \"UTC datetime when the route information was established or last updated.\"\n ),\n SRMP: z\n .number()\n .describe(\"State Route Milepost reference point in decimal format.\"),\n SRMPAheadBackIndicator: z\n .string()\n .nullable()\n .describe(\n \"Code indicating milepost equation area: A = ahead mileage equation area.\"\n ),\n StateRouteID: z\n .string()\n .nullable()\n .describe(\n \"State route identifier assigned by legislature. E.g., '00167' for SR-167, '005S119195' for I-5 southbound segment.\"\n ),\n StateStructureId: z\n .string()\n .nullable()\n .describe(\n \"Permanent 8-digit bridge structure identifier assigned by WSDOT Bridge Office.\"\n ),\n VerticalClearanceMaximumFeetInch: z\n .string()\n .nullable()\n .describe(\n \"Maximum vertical clearance height in feet and inches format. E.g., '14 ft 3 in'.\"\n ),\n VerticalClearanceMaximumInches: z\n .number()\n .describe(\"Maximum vertical clearance height in total inches.\"),\n VerticalClearanceMinimumFeetInch: z\n .string()\n .nullable()\n .describe(\n \"Minimum vertical clearance height in feet and inches format. E.g., '14 ft 3 in'.\"\n ),\n VerticalClearanceMinimumInches: z\n .number()\n .describe(\"Minimum vertical clearance height in total inches.\"),\n })\n .describe(\n \"Bridge clearance record with location coordinates, route associations, vertical clearance measurements, and structure identification.\"\n );\n\nexport type BridgeClearance = z.infer<typeof bridgeClearanceSchema>;\n"]}