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 5.8 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","z","bridgeClearancesByRouteInputSchema","bridgeClearanceSchema","zDotnetDate"],"mappings":"iFAEO,IAAMA,EAA8BC,CAAAA,CACxC,MAAA,CAAO,EAAE,CAAA,CACT,SACC,wEACF,CAAA,CAIWC,EAAqCD,CAAAA,CAC/C,MAAA,CAAO,CACN,KAAA,CAAOA,CAAAA,CACJ,QAAO,CACP,QAAA,CACC,wGACF,CACJ,CAAC,CAAA,CACA,QAAA,CACC,gFACF,ECjBK,IAAME,EAAwBF,CAAAA,CAClC,MAAA,CAAO,CACN,aAAA,CAAeG,GAAAA,GAAc,QAAA,CAC3B,iEACF,EACA,YAAA,CAAcH,CAAAA,CACX,QAAO,CACP,QAAA,GACA,QAAA,CACC,gJACF,CAAA,CACF,iBAAA,CAAmBA,EAChB,MAAA,EAAO,CACP,SAAS,oDAAoD,CAAA,CAChE,oBAAqBA,CAAAA,CAClB,MAAA,GACA,QAAA,EAAS,CACT,SACC,sEACF,CAAA,CACF,mBAAoBA,CAAAA,CACjB,MAAA,GACA,QAAA,CAAS,6CAA6C,CAAA,CACzD,kBAAA,CAAoBA,EACjB,MAAA,EAAO,CACP,SAAS,6DAA6D,CAAA,CACzE,mBAAoBA,CAAAA,CACjB,MAAA,GACA,QAAA,EAAS,CACT,SACC,0FACF,CAAA,CACF,SAAUA,CAAAA,CACP,MAAA,GACA,QAAA,CAAS,oDAAoD,CAAA,CAChE,YAAA,CAAcA,EACX,MAAA,EAAO,CACP,SAAS,sDAAsD,CAAA,CAClE,UAAWA,CAAAA,CACR,MAAA,GACA,QAAA,CAAS,qDAAqD,EACjE,SAAA,CAAWG,GAAAA,GAAc,QAAA,CACvB,0EACF,EACA,IAAA,CAAMH,CAAAA,CACH,MAAA,EAAO,CACP,SAAS,yDAAyD,CAAA,CACrE,uBAAwBA,CAAAA,CACrB,MAAA,GACA,QAAA,EAAS,CACT,SACC,0EACF,CAAA,CACF,aAAcA,CAAAA,CACX,MAAA,GACA,QAAA,EAAS,CACT,SACC,oHACF,CAAA,CACF,gBAAA,CAAkBA,CAAAA,CACf,QAAO,CACP,QAAA,GACA,QAAA,CACC,gFACF,EACF,gCAAA,CAAkCA,CAAAA,CAC/B,QAAO,CACP,QAAA,GACA,QAAA,CACC,kFACF,EACF,8BAAA,CAAgCA,CAAAA,CAC7B,QAAO,CACP,QAAA,CAAS,oDAAoD,CAAA,CAChE,iCAAkCA,CAAAA,CAC/B,MAAA,GACA,QAAA,EAAS,CACT,SACC,kFACF,CAAA,CACF,+BAAgCA,CAAAA,CAC7B,MAAA,GACA,QAAA,CAAS,oDAAoD,CAClE,CAAC,CAAA,CACA,SACC,uIACF","file":"chunk-AKPPZRYZ.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"]}