@tscircuit/props 0.0.433 → 0.0.435

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
@@ -5712,6 +5712,7 @@ declare const autorouterProp: z.ZodType<AutorouterProp>;
5712
5712
  interface SubcircuitGroupProps extends BaseGroupProps {
5713
5713
  manualEdits?: ManualEditsFileInput;
5714
5714
  routingDisabled?: boolean;
5715
+ bomDisabled?: boolean;
5715
5716
  defaultTraceWidth?: Distance;
5716
5717
  minTraceWidth?: Distance;
5717
5718
  pcbRouteCache?: PcbRouteCache;
@@ -7497,6 +7498,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
7497
7498
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
7498
7499
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7499
7500
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
7501
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
7500
7502
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7501
7503
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7502
7504
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -7765,6 +7767,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
7765
7767
  }[] | undefined;
7766
7768
  } | undefined;
7767
7769
  routingDisabled?: boolean | undefined;
7770
+ bomDisabled?: boolean | undefined;
7768
7771
  defaultTraceWidth?: number | undefined;
7769
7772
  pcbGrid?: boolean | undefined;
7770
7773
  pcbGridCols?: string | number | undefined;
@@ -8069,6 +8072,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
8069
8072
  }[] | undefined;
8070
8073
  } | undefined;
8071
8074
  routingDisabled?: boolean | undefined;
8075
+ bomDisabled?: boolean | undefined;
8072
8076
  defaultTraceWidth?: string | number | undefined;
8073
8077
  pcbGrid?: boolean | undefined;
8074
8078
  pcbGridCols?: string | number | undefined;
@@ -8825,6 +8829,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
8825
8829
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
8826
8830
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8827
8831
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
8832
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
8828
8833
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8829
8834
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8830
8835
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -9096,6 +9101,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
9096
9101
  }[] | undefined;
9097
9102
  } | undefined;
9098
9103
  routingDisabled?: boolean | undefined;
9104
+ bomDisabled?: boolean | undefined;
9099
9105
  defaultTraceWidth?: number | undefined;
9100
9106
  pcbGrid?: boolean | undefined;
9101
9107
  pcbGridCols?: string | number | undefined;
@@ -9401,6 +9407,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
9401
9407
  }[] | undefined;
9402
9408
  } | undefined;
9403
9409
  routingDisabled?: boolean | undefined;
9410
+ bomDisabled?: boolean | undefined;
9404
9411
  defaultTraceWidth?: string | number | undefined;
9405
9412
  pcbGrid?: boolean | undefined;
9406
9413
  pcbGridCols?: string | number | undefined;
@@ -11204,6 +11211,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
11204
11211
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
11205
11212
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11206
11213
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
11214
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
11207
11215
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11208
11216
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11209
11217
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -11475,6 +11483,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
11475
11483
  }[] | undefined;
11476
11484
  } | undefined;
11477
11485
  routingDisabled?: boolean | undefined;
11486
+ bomDisabled?: boolean | undefined;
11478
11487
  defaultTraceWidth?: number | undefined;
11479
11488
  pcbGrid?: boolean | undefined;
11480
11489
  pcbGridCols?: string | number | undefined;
@@ -11780,6 +11789,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
11780
11789
  }[] | undefined;
11781
11790
  } | undefined;
11782
11791
  routingDisabled?: boolean | undefined;
11792
+ bomDisabled?: boolean | undefined;
11783
11793
  defaultTraceWidth?: string | number | undefined;
11784
11794
  pcbGrid?: boolean | undefined;
11785
11795
  pcbGridCols?: string | number | undefined;
@@ -12567,6 +12577,7 @@ declare const boardProps: z.ZodObject<Omit<{
12567
12577
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
12568
12578
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12569
12579
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
12580
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
12570
12581
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12571
12582
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12572
12583
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -12863,6 +12874,7 @@ declare const boardProps: z.ZodObject<Omit<{
12863
12874
  }[] | undefined;
12864
12875
  } | undefined;
12865
12876
  routingDisabled?: boolean | undefined;
12877
+ bomDisabled?: boolean | undefined;
12866
12878
  defaultTraceWidth?: number | undefined;
12867
12879
  pcbGrid?: boolean | undefined;
12868
12880
  pcbGridCols?: string | number | undefined;
@@ -13182,6 +13194,7 @@ declare const boardProps: z.ZodObject<Omit<{
13182
13194
  }[] | undefined;
13183
13195
  } | undefined;
13184
13196
  routingDisabled?: boolean | undefined;
13197
+ bomDisabled?: boolean | undefined;
13185
13198
  defaultTraceWidth?: string | number | undefined;
13186
13199
  pcbGrid?: boolean | undefined;
13187
13200
  pcbGridCols?: string | number | undefined;
@@ -16184,6 +16197,7 @@ declare const breakoutProps: z.ZodObject<{
16184
16197
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
16185
16198
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16186
16199
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
16200
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
16187
16201
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16188
16202
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16189
16203
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -16458,6 +16472,7 @@ declare const breakoutProps: z.ZodObject<{
16458
16472
  }[] | undefined;
16459
16473
  } | undefined;
16460
16474
  routingDisabled?: boolean | undefined;
16475
+ bomDisabled?: boolean | undefined;
16461
16476
  defaultTraceWidth?: number | undefined;
16462
16477
  pcbGrid?: boolean | undefined;
16463
16478
  pcbGridCols?: string | number | undefined;
@@ -16762,6 +16777,7 @@ declare const breakoutProps: z.ZodObject<{
16762
16777
  }[] | undefined;
16763
16778
  } | undefined;
16764
16779
  routingDisabled?: boolean | undefined;
16780
+ bomDisabled?: boolean | undefined;
16765
16781
  defaultTraceWidth?: string | number | undefined;
16766
16782
  pcbGrid?: boolean | undefined;
16767
16783
  pcbGridCols?: string | number | undefined;
@@ -28214,8 +28230,8 @@ interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotati
28214
28230
  name?: string;
28215
28231
  connectsTo?: string | string[];
28216
28232
  shape: "pill_hole_with_rect_pad";
28217
- holeShape: "pill";
28218
- padShape: "rect";
28233
+ holeShape?: "pill";
28234
+ padShape?: "rect";
28219
28235
  holeWidth: number | string;
28220
28236
  holeHeight: number | string;
28221
28237
  rectPadWidth: number | string;
@@ -28951,8 +28967,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
28951
28967
  name: z.ZodOptional<z.ZodString>;
28952
28968
  connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28953
28969
  shape: z.ZodLiteral<"pill_hole_with_rect_pad">;
28954
- holeShape: z.ZodLiteral<"pill">;
28955
- padShape: z.ZodLiteral<"rect">;
28970
+ holeShape: z.ZodOptional<z.ZodLiteral<"pill">>;
28971
+ padShape: z.ZodOptional<z.ZodLiteral<"rect">>;
28956
28972
  holeWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28957
28973
  holeHeight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28958
28974
  rectPadWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -28968,8 +28984,6 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
28968
28984
  holeHeight: number;
28969
28985
  rectPadWidth: number;
28970
28986
  rectPadHeight: number;
28971
- holeShape: "pill";
28972
- padShape: "rect";
28973
28987
  pcbX?: string | number | undefined;
28974
28988
  pcbY?: string | number | undefined;
28975
28989
  pcbLeftEdgeX?: string | number | undefined;
@@ -29005,14 +29019,14 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
29005
29019
  coveredWithSolderMask?: boolean | undefined;
29006
29020
  holeOffsetX?: number | undefined;
29007
29021
  holeOffsetY?: number | undefined;
29022
+ holeShape?: "pill" | undefined;
29023
+ padShape?: "rect" | undefined;
29008
29024
  }, {
29009
29025
  shape: "pill_hole_with_rect_pad";
29010
29026
  holeWidth: string | number;
29011
29027
  holeHeight: string | number;
29012
29028
  rectPadWidth: string | number;
29013
29029
  rectPadHeight: string | number;
29014
- holeShape: "pill";
29015
- padShape: "rect";
29016
29030
  pcbX?: string | number | undefined;
29017
29031
  pcbY?: string | number | undefined;
29018
29032
  pcbLeftEdgeX?: string | number | undefined;
@@ -29048,6 +29062,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
29048
29062
  coveredWithSolderMask?: boolean | undefined;
29049
29063
  holeOffsetX?: string | number | undefined;
29050
29064
  holeOffsetY?: string | number | undefined;
29065
+ holeShape?: "pill" | undefined;
29066
+ padShape?: "rect" | undefined;
29051
29067
  }>, z.ZodObject<Omit<{
29052
29068
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
29053
29069
  pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -29398,8 +29414,6 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
29398
29414
  holeHeight: number;
29399
29415
  rectPadWidth: number;
29400
29416
  rectPadHeight: number;
29401
- holeShape: "pill";
29402
- padShape: "rect";
29403
29417
  pcbX?: string | number | undefined;
29404
29418
  pcbY?: string | number | undefined;
29405
29419
  pcbLeftEdgeX?: string | number | undefined;
@@ -29435,6 +29449,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
29435
29449
  coveredWithSolderMask?: boolean | undefined;
29436
29450
  holeOffsetX?: number | undefined;
29437
29451
  holeOffsetY?: number | undefined;
29452
+ holeShape?: "pill" | undefined;
29453
+ padShape?: "rect" | undefined;
29438
29454
  } | {
29439
29455
  shape: "hole_with_polygon_pad";
29440
29456
  holeOffsetX: number;
@@ -29654,8 +29670,6 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
29654
29670
  holeHeight: string | number;
29655
29671
  rectPadWidth: string | number;
29656
29672
  rectPadHeight: string | number;
29657
- holeShape: "pill";
29658
- padShape: "rect";
29659
29673
  pcbX?: string | number | undefined;
29660
29674
  pcbY?: string | number | undefined;
29661
29675
  pcbLeftEdgeX?: string | number | undefined;
@@ -29691,6 +29705,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
29691
29705
  coveredWithSolderMask?: boolean | undefined;
29692
29706
  holeOffsetX?: string | number | undefined;
29693
29707
  holeOffsetY?: string | number | undefined;
29708
+ holeShape?: "pill" | undefined;
29709
+ padShape?: "rect" | undefined;
29694
29710
  } | {
29695
29711
  shape: "hole_with_polygon_pad";
29696
29712
  holeOffsetX: string | number;
@@ -35010,6 +35026,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
35010
35026
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
35011
35027
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35012
35028
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
35029
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
35013
35030
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35014
35031
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35015
35032
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -35321,6 +35338,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
35321
35338
  }[] | undefined;
35322
35339
  } | undefined;
35323
35340
  routingDisabled?: boolean | undefined;
35341
+ bomDisabled?: boolean | undefined;
35324
35342
  defaultTraceWidth?: number | undefined;
35325
35343
  pcbGrid?: boolean | undefined;
35326
35344
  pcbGridCols?: string | number | undefined;
@@ -35650,6 +35668,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
35650
35668
  }[] | undefined;
35651
35669
  } | undefined;
35652
35670
  routingDisabled?: boolean | undefined;
35671
+ bomDisabled?: boolean | undefined;
35653
35672
  defaultTraceWidth?: string | number | undefined;
35654
35673
  pcbGrid?: boolean | undefined;
35655
35674
  pcbGridCols?: string | number | undefined;
@@ -47024,6 +47043,7 @@ declare const subcircuitProps: z.ZodObject<{
47024
47043
  schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
47025
47044
  schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
47026
47045
  routingDisabled: z.ZodOptional<z.ZodBoolean>;
47046
+ bomDisabled: z.ZodOptional<z.ZodBoolean>;
47027
47047
  defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
47028
47048
  minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
47029
47049
  partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
@@ -47292,6 +47312,7 @@ declare const subcircuitProps: z.ZodObject<{
47292
47312
  }[] | undefined;
47293
47313
  } | undefined;
47294
47314
  routingDisabled?: boolean | undefined;
47315
+ bomDisabled?: boolean | undefined;
47295
47316
  defaultTraceWidth?: number | undefined;
47296
47317
  pcbGrid?: boolean | undefined;
47297
47318
  pcbGridCols?: string | number | undefined;
@@ -47596,6 +47617,7 @@ declare const subcircuitProps: z.ZodObject<{
47596
47617
  }[] | undefined;
47597
47618
  } | undefined;
47598
47619
  routingDisabled?: boolean | undefined;
47620
+ bomDisabled?: boolean | undefined;
47599
47621
  defaultTraceWidth?: string | number | undefined;
47600
47622
  pcbGrid?: boolean | undefined;
47601
47623
  pcbGridCols?: string | number | undefined;
package/dist/index.js CHANGED
@@ -707,6 +707,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
707
707
  schTraceAutoLabelEnabled: z30.boolean().optional(),
708
708
  schMaxTraceDistance: distance9.optional(),
709
709
  routingDisabled: z30.boolean().optional(),
710
+ bomDisabled: z30.boolean().optional(),
710
711
  defaultTraceWidth: length2.optional(),
711
712
  minTraceWidth: length2.optional(),
712
713
  partsEngine: partsEngine.optional(),
@@ -999,8 +1000,8 @@ var platedHoleProps = z41.discriminatedUnion("shape", [
999
1000
  name: z41.string().optional(),
1000
1001
  connectsTo: z41.string().or(z41.array(z41.string())).optional(),
1001
1002
  shape: z41.literal("pill_hole_with_rect_pad"),
1002
- holeShape: z41.literal("pill"),
1003
- padShape: z41.literal("rect"),
1003
+ holeShape: z41.literal("pill").optional(),
1004
+ padShape: z41.literal("rect").optional(),
1004
1005
  holeWidth: distance14,
1005
1006
  holeHeight: distance14,
1006
1007
  rectPadWidth: distance14,