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 6 kB
{"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"],"mappings":"0FAAA,IAEaA,CAAAA,CAQAC,EAVbC,CAAAA,CAAAC,GAAAA,CAAA,KAAAC,CAAAA,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,MClBWC,CAAAA,CAFbC,CAAAA,CAAAJ,IAAA,IAAA,CAAAC,CAAAA,EAAAA,CAEaE,EAAwBD,GAAAA,CAClC,MAAA,CAAO,CACN,aAAA,CAAeA,GAAAA,CAAE,IAAA,EAAK,CAAE,QAAA,CACtB,iEACF,EACA,YAAA,CAAcA,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,UAAWA,GAAAA,CAAE,IAAA,GAAO,QAAA,CAClB,0EACF,EACA,IAAA,CAAMA,GAAAA,CACH,QAAO,CACP,QAAA,CAAS,yDAAyD,CAAA,CACrE,sBAAA,CAAwBA,IACrB,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CACC,0EACF,CAAA,CACF,YAAA,CAAcA,GAAAA,CACX,MAAA,EAAO,CACP,QAAA,GACA,QAAA,CACC,oHACF,EACF,gBAAA,CAAkBA,GAAAA,CACf,QAAO,CACP,QAAA,GACA,QAAA,CACC,gFACF,EACF,gCAAA,CAAkCA,GAAAA,CAC/B,QAAO,CACP,QAAA,GACA,QAAA,CACC,kFACF,CAAA,CACF,8BAAA,CAAgCA,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-VNH4AZU6.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 { z } from \"@/shared/zod\";\n\nexport const bridgeClearanceSchema = z\n .object({\n APILastUpdate: z.date().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: z.date().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"]}