@tscircuit/props 0.0.436 → 0.0.437

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.
@@ -395,6 +395,8 @@ export const autorouterProp: z.ZodType<AutorouterProp> = z.union([
395
395
  autorouterString,
396
396
  ])
397
397
 
398
+ export const autorouterEffortLevel = z.enum(["1x", "2x", "5x", "10x", "100x"])
399
+
398
400
  export interface SubcircuitGroupProps extends BaseGroupProps {
399
401
  manualEdits?: ManualEditsFileInput
400
402
  routingDisabled?: boolean
@@ -404,6 +406,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
404
406
  pcbRouteCache?: PcbRouteCache
405
407
 
406
408
  autorouter?: AutorouterProp
409
+ autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x"
407
410
 
408
411
  /**
409
412
  * Serialized circuit JSON describing a precompiled subcircuit
@@ -561,6 +564,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
561
564
  partsEngine: partsEngine.optional(),
562
565
  pcbRouteCache: z.custom<PcbRouteCache>((v) => true).optional(),
563
566
  autorouter: autorouterProp.optional(),
567
+ autorouterEffortLevel: autorouterEffortLevel.optional(),
564
568
  square: z.boolean().optional(),
565
569
  emptyArea: z.string().optional(),
566
570
  filledArea: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.436",
3
+ "version": "0.0.437",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",