circuit-json 0.0.214 → 0.0.216

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/README.md CHANGED
@@ -117,6 +117,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
117
117
  - [SchematicNetLabel](#schematicnetlabel)
118
118
  - [SchematicPath](#schematicpath)
119
119
  - [SchematicPort](#schematicport)
120
+ - [SchematicTable](#schematictable)
120
121
  - [SchematicText](#schematictext)
121
122
  - [SchematicTrace](#schematictrace)
122
123
  - [SchematicVoltageProbe](#schematicvoltageprobe)
@@ -819,6 +820,10 @@ interface PcbGroup {
819
820
  pcb_component_ids: string[]
820
821
  name?: string
821
822
  description?: string
823
+ autorouter_configuration?: {
824
+ trace_clearance: Length
825
+ }
826
+ autorouter_used_string?: string
822
827
  }
823
828
  ```
824
829
 
@@ -1586,6 +1591,19 @@ interface SchematicPort {
1586
1591
  }
1587
1592
  ```
1588
1593
 
1594
+ ### SchematicTable
1595
+
1596
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/schematic/schematic_table.ts)
1597
+
1598
+ ```typescript
1599
+ interface SchematicTableCell {
1600
+ text: string
1601
+ horizontal_align?: "left" | "center" | "right"
1602
+ vertical_align?: "top" | "middle" | "bottom"
1603
+ font_size?: Length
1604
+ }
1605
+ ```
1606
+
1589
1607
  ### SchematicText
1590
1608
 
1591
1609
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/schematic/schematic_text.ts)
package/dist/index.d.mts CHANGED
@@ -3525,6 +3525,14 @@ declare const pcb_group: z.ZodObject<{
3525
3525
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
3526
3526
  name: z.ZodOptional<z.ZodString>;
3527
3527
  description: z.ZodOptional<z.ZodString>;
3528
+ autorouter_configuration: z.ZodOptional<z.ZodObject<{
3529
+ trace_clearance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3530
+ }, "strip", z.ZodTypeAny, {
3531
+ trace_clearance: number;
3532
+ }, {
3533
+ trace_clearance: string | number;
3534
+ }>>;
3535
+ autorouter_used_string: z.ZodOptional<z.ZodString>;
3528
3536
  }, "strip", z.ZodTypeAny, {
3529
3537
  type: "pcb_group";
3530
3538
  width: number;
@@ -3540,6 +3548,10 @@ declare const pcb_group: z.ZodObject<{
3540
3548
  name?: string | undefined;
3541
3549
  subcircuit_id?: string | undefined;
3542
3550
  is_subcircuit?: boolean | undefined;
3551
+ autorouter_configuration?: {
3552
+ trace_clearance: number;
3553
+ } | undefined;
3554
+ autorouter_used_string?: string | undefined;
3543
3555
  }, {
3544
3556
  type: "pcb_group";
3545
3557
  width: string | number;
@@ -3555,6 +3567,10 @@ declare const pcb_group: z.ZodObject<{
3555
3567
  subcircuit_id?: string | undefined;
3556
3568
  pcb_group_id?: string | undefined;
3557
3569
  is_subcircuit?: boolean | undefined;
3570
+ autorouter_configuration?: {
3571
+ trace_clearance: string | number;
3572
+ } | undefined;
3573
+ autorouter_used_string?: string | undefined;
3558
3574
  }>;
3559
3575
  type PcbGroupInput = z.input<typeof pcb_group>;
3560
3576
  /**
@@ -3572,6 +3588,10 @@ interface PcbGroup {
3572
3588
  pcb_component_ids: string[];
3573
3589
  name?: string;
3574
3590
  description?: string;
3591
+ autorouter_configuration?: {
3592
+ trace_clearance: Length;
3593
+ };
3594
+ autorouter_used_string?: string;
3575
3595
  }
3576
3596
 
3577
3597
  declare const pcb_autorouting_error: z.ZodObject<{
@@ -5367,6 +5387,123 @@ interface SchematicGroup {
5367
5387
  description?: string;
5368
5388
  }
5369
5389
 
5390
+ declare const schematic_table_cell: z.ZodObject<{
5391
+ text: z.ZodString;
5392
+ horizontal_align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
5393
+ vertical_align: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
5394
+ font_size: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5395
+ }, "strip", z.ZodTypeAny, {
5396
+ text: string;
5397
+ font_size?: number | undefined;
5398
+ horizontal_align?: "center" | "left" | "right" | undefined;
5399
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
5400
+ }, {
5401
+ text: string;
5402
+ font_size?: string | number | undefined;
5403
+ horizontal_align?: "center" | "left" | "right" | undefined;
5404
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
5405
+ }>;
5406
+ interface SchematicTableCell {
5407
+ text: string;
5408
+ horizontal_align?: "left" | "center" | "right";
5409
+ vertical_align?: "top" | "middle" | "bottom";
5410
+ font_size?: Length;
5411
+ }
5412
+ declare const schematic_table: z.ZodObject<{
5413
+ type: z.ZodLiteral<"schematic_table">;
5414
+ schematic_table_id: z.ZodString;
5415
+ position: z.ZodObject<{
5416
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5417
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5418
+ }, "strip", z.ZodTypeAny, {
5419
+ x: number;
5420
+ y: number;
5421
+ }, {
5422
+ x: string | number;
5423
+ y: string | number;
5424
+ }>;
5425
+ rows: z.ZodArray<z.ZodArray<z.ZodObject<{
5426
+ text: z.ZodString;
5427
+ horizontal_align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
5428
+ vertical_align: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
5429
+ font_size: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5430
+ }, "strip", z.ZodTypeAny, {
5431
+ text: string;
5432
+ font_size?: number | undefined;
5433
+ horizontal_align?: "center" | "left" | "right" | undefined;
5434
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
5435
+ }, {
5436
+ text: string;
5437
+ font_size?: string | number | undefined;
5438
+ horizontal_align?: "center" | "left" | "right" | undefined;
5439
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
5440
+ }>, "many">, "many">;
5441
+ column_widths: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, "many">;
5442
+ row_heights: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, "many">;
5443
+ cell_padding: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5444
+ border_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5445
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5446
+ schematic_component_id: z.ZodOptional<z.ZodString>;
5447
+ anchor: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
5448
+ }, "strip", z.ZodTypeAny, {
5449
+ type: "schematic_table";
5450
+ position: {
5451
+ x: number;
5452
+ y: number;
5453
+ };
5454
+ schematic_table_id: string;
5455
+ rows: {
5456
+ text: string;
5457
+ font_size?: number | undefined;
5458
+ horizontal_align?: "center" | "left" | "right" | undefined;
5459
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
5460
+ }[][];
5461
+ column_widths: number[];
5462
+ row_heights: number[];
5463
+ anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
5464
+ subcircuit_id?: string | undefined;
5465
+ schematic_component_id?: string | undefined;
5466
+ cell_padding?: number | undefined;
5467
+ border_width?: number | undefined;
5468
+ }, {
5469
+ type: "schematic_table";
5470
+ position: {
5471
+ x: string | number;
5472
+ y: string | number;
5473
+ };
5474
+ schematic_table_id: string;
5475
+ rows: {
5476
+ text: string;
5477
+ font_size?: string | number | undefined;
5478
+ horizontal_align?: "center" | "left" | "right" | undefined;
5479
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
5480
+ }[][];
5481
+ column_widths: (string | number)[];
5482
+ row_heights: (string | number)[];
5483
+ anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
5484
+ subcircuit_id?: string | undefined;
5485
+ schematic_component_id?: string | undefined;
5486
+ cell_padding?: string | number | undefined;
5487
+ border_width?: string | number | undefined;
5488
+ }>;
5489
+ type SchematicTableInput = z.input<typeof schematic_table>;
5490
+ /**
5491
+ * Defines a table on the schematic, useful for displaying data in a structured format.
5492
+ */
5493
+ interface SchematicTable {
5494
+ type: "schematic_table";
5495
+ schematic_table_id: string;
5496
+ position: Point;
5497
+ rows: SchematicTableCell[][];
5498
+ column_widths: Length[];
5499
+ row_heights: Length[];
5500
+ cell_padding?: Length;
5501
+ border_width?: Length;
5502
+ subcircuit_id?: string;
5503
+ schematic_component_id?: string;
5504
+ anchor?: NinePointAnchor;
5505
+ }
5506
+
5370
5507
  type CircuitJsonError = PcbTraceError | PcbPlacementError | PcbPortNotMatchedError | PcbAutoroutingError | PcbMissingFootprintError | SchematicError;
5371
5508
 
5372
5509
  interface SourceComponentBase {
@@ -10878,6 +11015,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10878
11015
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
10879
11016
  name: z.ZodOptional<z.ZodString>;
10880
11017
  description: z.ZodOptional<z.ZodString>;
11018
+ autorouter_configuration: z.ZodOptional<z.ZodObject<{
11019
+ trace_clearance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11020
+ }, "strip", z.ZodTypeAny, {
11021
+ trace_clearance: number;
11022
+ }, {
11023
+ trace_clearance: string | number;
11024
+ }>>;
11025
+ autorouter_used_string: z.ZodOptional<z.ZodString>;
10881
11026
  }, "strip", z.ZodTypeAny, {
10882
11027
  type: "pcb_group";
10883
11028
  width: number;
@@ -10893,6 +11038,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10893
11038
  name?: string | undefined;
10894
11039
  subcircuit_id?: string | undefined;
10895
11040
  is_subcircuit?: boolean | undefined;
11041
+ autorouter_configuration?: {
11042
+ trace_clearance: number;
11043
+ } | undefined;
11044
+ autorouter_used_string?: string | undefined;
10896
11045
  }, {
10897
11046
  type: "pcb_group";
10898
11047
  width: string | number;
@@ -10908,6 +11057,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10908
11057
  subcircuit_id?: string | undefined;
10909
11058
  pcb_group_id?: string | undefined;
10910
11059
  is_subcircuit?: boolean | undefined;
11060
+ autorouter_configuration?: {
11061
+ trace_clearance: string | number;
11062
+ } | undefined;
11063
+ autorouter_used_string?: string | undefined;
10911
11064
  }>, z.ZodObject<{
10912
11065
  type: z.ZodLiteral<"pcb_trace_hint">;
10913
11066
  pcb_trace_hint_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -12637,6 +12790,82 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12637
12790
  subcircuit_id?: string | undefined;
12638
12791
  is_subcircuit?: boolean | undefined;
12639
12792
  schematic_group_id?: string | undefined;
12793
+ }>, z.ZodObject<{
12794
+ type: z.ZodLiteral<"schematic_table">;
12795
+ schematic_table_id: z.ZodString;
12796
+ position: z.ZodObject<{
12797
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12798
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12799
+ }, "strip", z.ZodTypeAny, {
12800
+ x: number;
12801
+ y: number;
12802
+ }, {
12803
+ x: string | number;
12804
+ y: string | number;
12805
+ }>;
12806
+ rows: z.ZodArray<z.ZodArray<z.ZodObject<{
12807
+ text: z.ZodString;
12808
+ horizontal_align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
12809
+ vertical_align: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
12810
+ font_size: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12811
+ }, "strip", z.ZodTypeAny, {
12812
+ text: string;
12813
+ font_size?: number | undefined;
12814
+ horizontal_align?: "center" | "left" | "right" | undefined;
12815
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
12816
+ }, {
12817
+ text: string;
12818
+ font_size?: string | number | undefined;
12819
+ horizontal_align?: "center" | "left" | "right" | undefined;
12820
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
12821
+ }>, "many">, "many">;
12822
+ column_widths: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, "many">;
12823
+ row_heights: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, "many">;
12824
+ cell_padding: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12825
+ border_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12826
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12827
+ schematic_component_id: z.ZodOptional<z.ZodString>;
12828
+ anchor: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
12829
+ }, "strip", z.ZodTypeAny, {
12830
+ type: "schematic_table";
12831
+ position: {
12832
+ x: number;
12833
+ y: number;
12834
+ };
12835
+ schematic_table_id: string;
12836
+ rows: {
12837
+ text: string;
12838
+ font_size?: number | undefined;
12839
+ horizontal_align?: "center" | "left" | "right" | undefined;
12840
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
12841
+ }[][];
12842
+ column_widths: number[];
12843
+ row_heights: number[];
12844
+ anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
12845
+ subcircuit_id?: string | undefined;
12846
+ schematic_component_id?: string | undefined;
12847
+ cell_padding?: number | undefined;
12848
+ border_width?: number | undefined;
12849
+ }, {
12850
+ type: "schematic_table";
12851
+ position: {
12852
+ x: string | number;
12853
+ y: string | number;
12854
+ };
12855
+ schematic_table_id: string;
12856
+ rows: {
12857
+ text: string;
12858
+ font_size?: string | number | undefined;
12859
+ horizontal_align?: "center" | "left" | "right" | undefined;
12860
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
12861
+ }[][];
12862
+ column_widths: (string | number)[];
12863
+ row_heights: (string | number)[];
12864
+ anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
12865
+ subcircuit_id?: string | undefined;
12866
+ schematic_component_id?: string | undefined;
12867
+ cell_padding?: string | number | undefined;
12868
+ border_width?: string | number | undefined;
12640
12869
  }>, z.ZodObject<{
12641
12870
  type: z.ZodLiteral<"cad_component">;
12642
12871
  cad_component_id: z.ZodString;
@@ -15873,6 +16102,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15873
16102
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
15874
16103
  name: z.ZodOptional<z.ZodString>;
15875
16104
  description: z.ZodOptional<z.ZodString>;
16105
+ autorouter_configuration: z.ZodOptional<z.ZodObject<{
16106
+ trace_clearance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16107
+ }, "strip", z.ZodTypeAny, {
16108
+ trace_clearance: number;
16109
+ }, {
16110
+ trace_clearance: string | number;
16111
+ }>>;
16112
+ autorouter_used_string: z.ZodOptional<z.ZodString>;
15876
16113
  }, "strip", z.ZodTypeAny, {
15877
16114
  type: "pcb_group";
15878
16115
  width: number;
@@ -15888,6 +16125,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15888
16125
  name?: string | undefined;
15889
16126
  subcircuit_id?: string | undefined;
15890
16127
  is_subcircuit?: boolean | undefined;
16128
+ autorouter_configuration?: {
16129
+ trace_clearance: number;
16130
+ } | undefined;
16131
+ autorouter_used_string?: string | undefined;
15891
16132
  }, {
15892
16133
  type: "pcb_group";
15893
16134
  width: string | number;
@@ -15903,6 +16144,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15903
16144
  subcircuit_id?: string | undefined;
15904
16145
  pcb_group_id?: string | undefined;
15905
16146
  is_subcircuit?: boolean | undefined;
16147
+ autorouter_configuration?: {
16148
+ trace_clearance: string | number;
16149
+ } | undefined;
16150
+ autorouter_used_string?: string | undefined;
15906
16151
  }>, z.ZodObject<{
15907
16152
  type: z.ZodLiteral<"pcb_trace_hint">;
15908
16153
  pcb_trace_hint_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -17632,6 +17877,82 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17632
17877
  subcircuit_id?: string | undefined;
17633
17878
  is_subcircuit?: boolean | undefined;
17634
17879
  schematic_group_id?: string | undefined;
17880
+ }>, z.ZodObject<{
17881
+ type: z.ZodLiteral<"schematic_table">;
17882
+ schematic_table_id: z.ZodString;
17883
+ position: z.ZodObject<{
17884
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
17885
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
17886
+ }, "strip", z.ZodTypeAny, {
17887
+ x: number;
17888
+ y: number;
17889
+ }, {
17890
+ x: string | number;
17891
+ y: string | number;
17892
+ }>;
17893
+ rows: z.ZodArray<z.ZodArray<z.ZodObject<{
17894
+ text: z.ZodString;
17895
+ horizontal_align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
17896
+ vertical_align: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
17897
+ font_size: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
17898
+ }, "strip", z.ZodTypeAny, {
17899
+ text: string;
17900
+ font_size?: number | undefined;
17901
+ horizontal_align?: "center" | "left" | "right" | undefined;
17902
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
17903
+ }, {
17904
+ text: string;
17905
+ font_size?: string | number | undefined;
17906
+ horizontal_align?: "center" | "left" | "right" | undefined;
17907
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
17908
+ }>, "many">, "many">;
17909
+ column_widths: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, "many">;
17910
+ row_heights: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, "many">;
17911
+ cell_padding: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
17912
+ border_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
17913
+ subcircuit_id: z.ZodOptional<z.ZodString>;
17914
+ schematic_component_id: z.ZodOptional<z.ZodString>;
17915
+ anchor: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
17916
+ }, "strip", z.ZodTypeAny, {
17917
+ type: "schematic_table";
17918
+ position: {
17919
+ x: number;
17920
+ y: number;
17921
+ };
17922
+ schematic_table_id: string;
17923
+ rows: {
17924
+ text: string;
17925
+ font_size?: number | undefined;
17926
+ horizontal_align?: "center" | "left" | "right" | undefined;
17927
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
17928
+ }[][];
17929
+ column_widths: number[];
17930
+ row_heights: number[];
17931
+ anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17932
+ subcircuit_id?: string | undefined;
17933
+ schematic_component_id?: string | undefined;
17934
+ cell_padding?: number | undefined;
17935
+ border_width?: number | undefined;
17936
+ }, {
17937
+ type: "schematic_table";
17938
+ position: {
17939
+ x: string | number;
17940
+ y: string | number;
17941
+ };
17942
+ schematic_table_id: string;
17943
+ rows: {
17944
+ text: string;
17945
+ font_size?: string | number | undefined;
17946
+ horizontal_align?: "center" | "left" | "right" | undefined;
17947
+ vertical_align?: "top" | "bottom" | "middle" | undefined;
17948
+ }[][];
17949
+ column_widths: (string | number)[];
17950
+ row_heights: (string | number)[];
17951
+ anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17952
+ subcircuit_id?: string | undefined;
17953
+ schematic_component_id?: string | undefined;
17954
+ cell_padding?: string | number | undefined;
17955
+ border_width?: string | number | undefined;
17635
17956
  }>, z.ZodObject<{
17636
17957
  type: z.ZodLiteral<"cad_component">;
17637
17958
  cad_component_id: z.ZodString;
@@ -17764,4 +18085,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
17764
18085
  */
17765
18086
  type CircuitJson = AnyCircuitElement[];
17766
18087
 
17767
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
18088
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };