@tscircuit/props 0.0.614 → 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 CHANGED
@@ -18235,6 +18235,12 @@ declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]
18235
18235
  interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
18236
18236
  manualEdits?: ManualEditsFileInput;
18237
18237
  routingDisabled?: boolean;
18238
+ /**
18239
+ * Skip the PCB placement design rule checks for this subcircuit. Placement
18240
+ * errors otherwise cause autorouting to be skipped entirely, so this is the
18241
+ * escape hatch for a placement the checks flag but you intend to keep.
18242
+ */
18243
+ placementDrcChecksDisabled?: boolean;
18238
18244
  bomDisabled?: boolean;
18239
18245
  defaultTraceWidth?: Distance;
18240
18246
  nominalTraceWidth?: Distance;
@@ -20131,6 +20137,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
20131
20137
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
20132
20138
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
20133
20139
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
20140
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
20134
20141
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
20135
20142
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
20136
20143
  }, "strip", z.ZodTypeAny, {
@@ -20390,6 +20397,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
20390
20397
  }[] | undefined;
20391
20398
  } | undefined;
20392
20399
  routingDisabled?: boolean | undefined;
20400
+ placementDrcChecksDisabled?: boolean | undefined;
20393
20401
  bomDisabled?: boolean | undefined;
20394
20402
  defaultTraceWidth?: number | undefined;
20395
20403
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -20712,6 +20720,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
20712
20720
  }[] | undefined;
20713
20721
  } | undefined;
20714
20722
  routingDisabled?: boolean | undefined;
20723
+ placementDrcChecksDisabled?: boolean | undefined;
20715
20724
  bomDisabled?: boolean | undefined;
20716
20725
  defaultTraceWidth?: string | number | undefined;
20717
20726
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -21537,6 +21546,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
21537
21546
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
21538
21547
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
21539
21548
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
21549
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
21540
21550
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
21541
21551
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
21542
21552
  } & {
@@ -21799,6 +21809,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
21799
21809
  }[] | undefined;
21800
21810
  } | undefined;
21801
21811
  routingDisabled?: boolean | undefined;
21812
+ placementDrcChecksDisabled?: boolean | undefined;
21802
21813
  bomDisabled?: boolean | undefined;
21803
21814
  defaultTraceWidth?: number | undefined;
21804
21815
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -22122,6 +22133,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
22122
22133
  }[] | undefined;
22123
22134
  } | undefined;
22124
22135
  routingDisabled?: boolean | undefined;
22136
+ placementDrcChecksDisabled?: boolean | undefined;
22125
22137
  bomDisabled?: boolean | undefined;
22126
22138
  defaultTraceWidth?: string | number | undefined;
22127
22139
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -24030,6 +24042,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
24030
24042
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
24031
24043
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24032
24044
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
24045
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
24033
24046
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
24034
24047
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24035
24048
  } & {
@@ -24292,6 +24305,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
24292
24305
  }[] | undefined;
24293
24306
  } | undefined;
24294
24307
  routingDisabled?: boolean | undefined;
24308
+ placementDrcChecksDisabled?: boolean | undefined;
24295
24309
  bomDisabled?: boolean | undefined;
24296
24310
  defaultTraceWidth?: number | undefined;
24297
24311
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -24615,6 +24629,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
24615
24629
  }[] | undefined;
24616
24630
  } | undefined;
24617
24631
  routingDisabled?: boolean | undefined;
24632
+ placementDrcChecksDisabled?: boolean | undefined;
24618
24633
  bomDisabled?: boolean | undefined;
24619
24634
  defaultTraceWidth?: string | number | undefined;
24620
24635
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -25473,6 +25488,7 @@ declare const boardProps: z.ZodObject<Omit<{
25473
25488
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
25474
25489
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
25475
25490
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
25491
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
25476
25492
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
25477
25493
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
25478
25494
  }, "connections"> & {
@@ -25762,6 +25778,7 @@ declare const boardProps: z.ZodObject<Omit<{
25762
25778
  }[] | undefined;
25763
25779
  } | undefined;
25764
25780
  routingDisabled?: boolean | undefined;
25781
+ placementDrcChecksDisabled?: boolean | undefined;
25765
25782
  bomDisabled?: boolean | undefined;
25766
25783
  defaultTraceWidth?: number | undefined;
25767
25784
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -26101,6 +26118,7 @@ declare const boardProps: z.ZodObject<Omit<{
26101
26118
  }[] | undefined;
26102
26119
  } | undefined;
26103
26120
  routingDisabled?: boolean | undefined;
26121
+ placementDrcChecksDisabled?: boolean | undefined;
26104
26122
  bomDisabled?: boolean | undefined;
26105
26123
  defaultTraceWidth?: string | number | undefined;
26106
26124
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -29451,6 +29469,7 @@ declare const breakoutProps: z.ZodObject<{
29451
29469
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
29452
29470
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29453
29471
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
29472
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
29454
29473
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
29455
29474
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29456
29475
  } & {
@@ -29759,6 +29778,7 @@ declare const breakoutProps: z.ZodObject<{
29759
29778
  }[] | undefined;
29760
29779
  } | undefined;
29761
29780
  routingDisabled?: boolean | undefined;
29781
+ placementDrcChecksDisabled?: boolean | undefined;
29762
29782
  bomDisabled?: boolean | undefined;
29763
29783
  defaultTraceWidth?: number | undefined;
29764
29784
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -30091,6 +30111,7 @@ declare const breakoutProps: z.ZodObject<{
30091
30111
  }[] | undefined;
30092
30112
  } | undefined;
30093
30113
  routingDisabled?: boolean | undefined;
30114
+ placementDrcChecksDisabled?: boolean | undefined;
30094
30115
  bomDisabled?: boolean | undefined;
30095
30116
  defaultTraceWidth?: string | number | undefined;
30096
30117
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -90151,6 +90172,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
90151
90172
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
90152
90173
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
90153
90174
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
90175
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
90154
90176
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
90155
90177
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
90156
90178
  }, "connections"> & {
@@ -90455,6 +90477,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
90455
90477
  }[] | undefined;
90456
90478
  } | undefined;
90457
90479
  routingDisabled?: boolean | undefined;
90480
+ placementDrcChecksDisabled?: boolean | undefined;
90458
90481
  bomDisabled?: boolean | undefined;
90459
90482
  defaultTraceWidth?: number | undefined;
90460
90483
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -90804,6 +90827,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
90804
90827
  }[] | undefined;
90805
90828
  } | undefined;
90806
90829
  routingDisabled?: boolean | undefined;
90830
+ placementDrcChecksDisabled?: boolean | undefined;
90807
90831
  bomDisabled?: boolean | undefined;
90808
90832
  defaultTraceWidth?: string | number | undefined;
90809
90833
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -110810,6 +110834,7 @@ declare const mountedboardProps: z.ZodObject<{
110810
110834
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
110811
110835
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
110812
110836
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
110837
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
110813
110838
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
110814
110839
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
110815
110840
  } & {
@@ -111214,6 +111239,7 @@ declare const mountedboardProps: z.ZodObject<{
111214
111239
  }[] | undefined;
111215
111240
  } | undefined;
111216
111241
  routingDisabled?: boolean | undefined;
111242
+ placementDrcChecksDisabled?: boolean | undefined;
111217
111243
  bomDisabled?: boolean | undefined;
111218
111244
  defaultTraceWidth?: number | undefined;
111219
111245
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -111575,6 +111601,7 @@ declare const mountedboardProps: z.ZodObject<{
111575
111601
  }[] | undefined;
111576
111602
  } | undefined;
111577
111603
  routingDisabled?: boolean | undefined;
111604
+ placementDrcChecksDisabled?: boolean | undefined;
111578
111605
  bomDisabled?: boolean | undefined;
111579
111606
  defaultTraceWidth?: string | number | undefined;
111580
111607
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -122365,6 +122392,7 @@ declare const subcircuitProps: z.ZodObject<{
122365
122392
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
122366
122393
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
122367
122394
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
122395
+ placementDrcChecksDisabled: z.ZodOptional<z.ZodBoolean>;
122368
122396
  bomDisabled: z.ZodOptional<z.ZodBoolean>;
122369
122397
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
122370
122398
  }, "strip", z.ZodTypeAny, {
@@ -122624,6 +122652,7 @@ declare const subcircuitProps: z.ZodObject<{
122624
122652
  }[] | undefined;
122625
122653
  } | undefined;
122626
122654
  routingDisabled?: boolean | undefined;
122655
+ placementDrcChecksDisabled?: boolean | undefined;
122627
122656
  bomDisabled?: boolean | undefined;
122628
122657
  defaultTraceWidth?: number | undefined;
122629
122658
  pcbRouteCache?: PcbRouteCache | undefined;
@@ -122946,6 +122975,7 @@ declare const subcircuitProps: z.ZodObject<{
122946
122975
  }[] | undefined;
122947
122976
  } | undefined;
122948
122977
  routingDisabled?: boolean | undefined;
122978
+ placementDrcChecksDisabled?: boolean | undefined;
122949
122979
  bomDisabled?: boolean | undefined;
122950
122980
  defaultTraceWidth?: string | number | undefined;
122951
122981
  pcbRouteCache?: PcbRouteCache | undefined;
package/dist/index.js CHANGED
@@ -16505,6 +16505,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
16505
16505
  schTraceAutoLabelEnabled: z41.boolean().optional(),
16506
16506
  schMaxTraceDistance: distance11.optional(),
16507
16507
  routingDisabled: z41.boolean().optional(),
16508
+ placementDrcChecksDisabled: z41.boolean().optional(),
16508
16509
  bomDisabled: z41.boolean().optional(),
16509
16510
  defaultTraceWidth: length3.optional(),
16510
16511
  ...routingTolerances.shape,