@tscircuit/props 0.0.689 → 0.0.691

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -244,7 +244,9 @@ var assemblyMotorProps = z11.object({
244
244
  standard: z11.enum(["nema8", "nema17", "nema23"]).optional(),
245
245
  model: z11.string().trim().min(1).optional(),
246
246
  shaftFacingDirection: cadModelAxisDirection.optional(),
247
- wireConnection: z11.enum(["none", "stubs", "jst-ph-6"]).optional(),
247
+ wireConnection: z11.string().transform(
248
+ (value) => value === "jst-ph-6" || value === "jst_ph_6" ? "jst6_ph" : value
249
+ ).optional(),
248
250
  mountedTo: z11.string().trim().regex(/^.+\.[^.]+$/, "Expected part.face").optional(),
249
251
  mountFace: z11.string().trim().min(1).optional(),
250
252
  mountGap: distance.pipe(z11.number().nonnegative().finite()).optional()