@tscircuit/props 0.0.613 → 0.0.615
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.d.ts +55 -25
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +17 -2
- package/package.json +1 -1
package/lib/components/group.ts
CHANGED
|
@@ -484,6 +484,12 @@ export interface SubcircuitGroupProps
|
|
|
484
484
|
RoutingTolerances {
|
|
485
485
|
manualEdits?: ManualEditsFileInput
|
|
486
486
|
routingDisabled?: boolean
|
|
487
|
+
/**
|
|
488
|
+
* Skip the PCB placement design rule checks for this subcircuit. Placement
|
|
489
|
+
* errors otherwise cause autorouting to be skipped entirely, so this is the
|
|
490
|
+
* escape hatch for a placement the checks flag but you intend to keep.
|
|
491
|
+
*/
|
|
492
|
+
placementDrcChecksDisabled?: boolean
|
|
487
493
|
bomDisabled?: boolean
|
|
488
494
|
defaultTraceWidth?: Distance
|
|
489
495
|
|
|
@@ -492,7 +498,15 @@ export interface SubcircuitGroupProps
|
|
|
492
498
|
|
|
493
499
|
autorouter?: AutorouterProp
|
|
494
500
|
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x"
|
|
495
|
-
autorouterVersion?:
|
|
501
|
+
autorouterVersion?:
|
|
502
|
+
| "v1"
|
|
503
|
+
| "v2"
|
|
504
|
+
| "v3"
|
|
505
|
+
| "v4"
|
|
506
|
+
| "v5"
|
|
507
|
+
| "v6"
|
|
508
|
+
| "beta_pipeline9"
|
|
509
|
+
| "latest"
|
|
496
510
|
|
|
497
511
|
/**
|
|
498
512
|
* Serialized circuit JSON describing a precompiled subcircuit
|
|
@@ -660,6 +674,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
|
|
|
660
674
|
schTraceAutoLabelEnabled: z.boolean().optional(),
|
|
661
675
|
schMaxTraceDistance: distance.optional(),
|
|
662
676
|
routingDisabled: z.boolean().optional(),
|
|
677
|
+
placementDrcChecksDisabled: z.boolean().optional(),
|
|
663
678
|
bomDisabled: z.boolean().optional(),
|
|
664
679
|
defaultTraceWidth: length.optional(),
|
|
665
680
|
...routingTolerances.shape,
|
|
@@ -670,7 +685,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
|
|
|
670
685
|
autorouter: autorouterProp.optional(),
|
|
671
686
|
autorouterEffortLevel: autorouterEffortLevel.optional(),
|
|
672
687
|
autorouterVersion: z
|
|
673
|
-
.enum(["v1", "v2", "v3", "v4", "v5", "v6", "latest"])
|
|
688
|
+
.enum(["v1", "v2", "v3", "v4", "v5", "v6", "beta_pipeline9", "latest"])
|
|
674
689
|
.optional(),
|
|
675
690
|
square: z.boolean().optional(),
|
|
676
691
|
emptyArea: z.string().optional(),
|