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 • 9.81 kB
Source Map (JSON)
{"version":3,"sources":["../src/apis/wsdot-commercial-vehicle-restrictions/cvRestrictionData/shared/cvRestrictionData.input.ts","../src/apis/wsdot-commercial-vehicle-restrictions/cvRestrictionData/shared/cvRestrictionData.output.ts","../src/apis/wsdot-commercial-vehicle-restrictions/cvRestrictionDataWithId/shared/cvRestrictionDataWithId.input.ts","../src/apis/wsdot-commercial-vehicle-restrictions/cvRestrictionDataWithId/shared/cvRestrictionDataWithId.output.ts"],"names":["commercialVehicleRestrictionsInputSchema","init_cvRestrictionData_input","__esmMin","init_zod","z","cvRestrictionSchema","init_cvRestrictionData_output","init_shared","zDotnetDate","roadwayLocationSchema","commercialVehicleRestrictionsWithIdInputSchema","init_cvRestrictionDataWithId_input","cvRestrictionWithIdSchema","init_cvRestrictionDataWithId_output"],"mappings":"oLAAA,IAEaA,CAAAA,CAFbC,CAAAA,CAAAC,CAAAA,CAAA,IAAA,CAAAC,IAEaH,CAAAA,CAA2CI,GAAAA,CACrD,MAAA,CAAO,EAAE,CAAA,CACT,QAAA,CACC,gFACF,EAAA,CAAA,MCHWC,CAAAA,CAHbC,CAAAA,CAAAJ,CAAAA,CAAA,IAAA,CAAAK,GAAAA,EAAAA,CACAJ,CAAAA,EAAAA,CAEaE,CAAAA,CAAsBD,GAAAA,CAChC,OAAO,CACN,SAAA,CAAWA,GAAAA,CACR,MAAA,GACA,QAAA,EAAS,CACT,QAAA,CACC,gEACF,EACF,UAAA,CAAYA,GAAAA,CACT,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,qDAAqD,EACjE,YAAA,CAAcA,GAAAA,CACX,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CACC,oEACF,CAAA,CACF,WAAYA,GAAAA,CACT,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,wDAAwD,CAAA,CACpE,cAAeI,G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AA,CACxB,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SAAS,4CAA4C,CAAA,CACxD,wBAAA,CAA0BA,GAAAA,CACvB,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,2CAA2C,CAAA,CACvD,SAAA,CAAWA,GAAAA,CACR,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,kEACF,CAAA,CACF,oBAAA,CAAsBK,GAAAA,CACnB,QAAA,GACA,QAAA,CAAS,sDAAsD,CAAA,CAClE,KAAA,CAAOL,IACJ,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,iEACF,CAAA,CACF,YAAA,CAAcA,IACX,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SAAS,uDAAuD,CAAA,CACnE,SAAA,CAAWA,GAAAA,CACR,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,gEACF,CAAA,CACF,WAAA,CAAaA,GAAAA,CACV,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,8CAA8C,CAC5D,CAAC,CAAA,CACA,QAAA,CACC,6NACF,EAAA,CAAA,ECxIF,IAEaM,CAAAA,CAFbC,CAAAA,CAAAT,CAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CAEaO,CAAAA,CAAiDN,IAC3D,MAAA,CAAO,EAAE,CAAA,CACT,SACC,wGACF,EAAA,CAAA,ECNF,IAGaQ,CAAAA,CAHbC,EAAAX,CAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CACAG,CAAAA,EAAAA,CAEaM,EAA4BP,CAAAA,CACtC,MAAA,CAAO,CACN,QAAA,CAAUD,IACP,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,sHACF,CACJ,CAAC,CAAA,CACA,SACC,4QACF,EAAA,CAAA","file":"chunk-7K56MPAL.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\nexport const commercialVehicleRestrictionsInputSchema = z\n .object({})\n .describe(\n \"Input parameters for retrieving all commercial vehicle restrictions statewide.\"\n );\n\nexport type CommercialVehicleRestrictionsInput = z.infer<\n typeof commercialVehicleRestrictionsInputSchema\n>;\n","import { roadwayLocationSchema, zDotnetDate } from \"@/apis/shared\";\nimport { z } from \"@/shared/zod\";\n\nexport const cvRestrictionSchema = z\n .object({\n BLMaxAxle: z\n .number()\n .nullable()\n .describe(\n \"Maximum axle weight for Bridge Legal classification in pounds.\"\n ),\n BridgeName: z\n .string()\n .nullable()\n .describe(\"Name of the bridge associated with the restriction.\"),\n BridgeNumber: z\n .string()\n .nullable()\n .describe(\n \"WSDOT bridge identifier in format 'route/bridge' (e.g., '10/142').\"\n ),\n CL8MaxAxle: z\n .number()\n .nullable()\n .describe(\"Maximum axle weight for CL-8 classification in pounds.\"),\n DateEffective: zDotnetDate().describe(\n \"UTC datetime when the commercial vehicle restriction becomes effective.\"\n ),\n DateExpires: zDotnetDate().describe(\n \"UTC datetime when the commercial vehicle restriction expires.\"\n ),\n DatePosted: zDotnetDate().describe(\n \"UTC datetime when the commercial vehicle restriction was first posted.\"\n ),\n EndRoadwayLocation: roadwayLocationSchema\n .nullable()\n .describe(\"End location of the restriction along the roadway.\"),\n IsDetourAvailable: z\n .boolean()\n .describe(\n \"True if a detour route is available around the restriction; otherwise false.\"\n ),\n IsExceptionsAllowed: z\n .boolean()\n .describe(\n \"True if exceptions are permitted for the restriction; otherwise false.\"\n ),\n IsPermanentRestriction: z\n .boolean()\n .describe(\n \"True if the restriction is permanent; otherwise false (temporary).\"\n ),\n IsWarning: z\n .boolean()\n .describe(\n \"True if the restriction is a warning rather than an enforceable limit; otherwise false.\"\n ),\n Latitude: z\n .number()\n .describe(\n \"GPS latitude coordinate for the restriction location in decimal degrees.\"\n ),\n LocationDescription: z\n .string()\n .nullable()\n .describe(\"Human-readable description of the restriction location.\"),\n LocationName: z\n .string()\n .nullable()\n .describe(\"Name of the location where the restriction applies.\"),\n Longitude: z\n .number()\n .describe(\n \"GPS longitude coordinate for the restriction location in decimal degrees.\"\n ),\n MaximumGrossVehicleWeightInPounds: z\n .number()\n .nullable()\n .describe(\"Maximum gross vehicle weight limit in pounds.\"),\n RestrictionComment: z\n .string()\n .nullable()\n .describe(\"Additional details and comments about the restriction.\"),\n RestrictionHeightInInches: z\n .number()\n .nullable()\n .describe(\"Maximum load height restriction in inches.\"),\n RestrictionLengthInInches: z\n .number()\n .nullable()\n .describe(\"Maximum load length restriction in inches.\"),\n RestrictionType: z\n .number()\n .describe(\n \"Code indicating restriction type: 0 = BridgeRestriction, 1 = RoadRestriction.\"\n ),\n RestrictionWeightInPounds: z\n .number()\n .nullable()\n .describe(\"Maximum load weight restriction in pounds.\"),\n RestrictionWidthInInches: z\n .number()\n .nullable()\n .describe(\"Maximum load width restriction in inches.\"),\n SAMaxAxle: z\n .number()\n .nullable()\n .describe(\n \"Maximum axle weight for Semi-Automatic classification in pounds.\"\n ),\n StartRoadwayLocation: roadwayLocationSchema\n .nullable()\n .describe(\"Start location of the restriction along the roadway.\"),\n State: z\n .string()\n .nullable()\n .describe(\n \"State code where the commercial vehicle restriction is located.\"\n ),\n StateRouteID: z\n .string()\n .nullable()\n .describe(\"State route identifier where the restriction applies.\"),\n TDMaxAxle: z\n .number()\n .nullable()\n .describe(\n \"Maximum axle weight for Tandem Drive classification in pounds.\"\n ),\n VehicleType: z\n .string()\n .nullable()\n .describe(\"Type of vehicle affected by the restriction.\"),\n })\n .describe(\n \"Commercial vehicle restriction information including weight limits by classification, height/width/length restrictions, location data, effective dates, and restriction type for bridge and roadway restrictions statewide.\"\n );\n\nexport type CVRestriction = z.infer<typeof cvRestrictionSchema>;\n\n// Re-export shared types\nexport type { RoadwayLocation } from \"@/apis/shared\";\n","import { z } from \"@/shared/zod\";\n\nexport const commercialVehicleRestrictionsWithIdInputSchema = z\n .object({})\n .describe(\n \"Input parameters for retrieving all commercial vehicle restrictions with unique identifiers statewide.\"\n );\n\nexport type CommercialVehicleRestrictionsWithIdInput = z.infer<\n typeof commercialVehicleRestrictionsWithIdInputSchema\n>;\n","import { z } from \"@/shared/zod\";\nimport { cvRestrictionSchema } from \"../../cvRestrictionData/shared/cvRestrictionData.output\";\n\nexport const cvRestrictionWithIdSchema = cvRestrictionSchema\n .extend({\n UniqueID: z\n .string()\n .nullable()\n .describe(\n \"Unique identifier for the commercial vehicle restriction in format 'Type-State-Route-Sequence' (e.g., 'B-WA-010-1').\"\n ),\n })\n .describe(\n \"Commercial vehicle restriction information with unique identifier, including weight limits by classification, height/width/length restrictions, location data, effective dates, restriction type, and unique restriction ID for bridge and roadway restrictions statewide.\"\n );\n\nexport type CVRestrictionWithId = z.infer<typeof cvRestrictionWithIdSchema>;\n"]}