circuit-json 0.0.274 → 0.0.276

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.mts CHANGED
@@ -612,7 +612,168 @@ interface PcbHoleOval {
612
612
  x: Distance;
613
613
  y: Distance;
614
614
  }
615
- declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
615
+ declare const pcb_hole_pill: z.ZodObject<{
616
+ type: z.ZodLiteral<"pcb_hole">;
617
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
618
+ pcb_group_id: z.ZodOptional<z.ZodString>;
619
+ subcircuit_id: z.ZodOptional<z.ZodString>;
620
+ hole_shape: z.ZodLiteral<"pill">;
621
+ hole_width: z.ZodNumber;
622
+ hole_height: z.ZodNumber;
623
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
624
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ x: number;
627
+ y: number;
628
+ type: "pcb_hole";
629
+ pcb_hole_id: string;
630
+ hole_shape: "pill";
631
+ hole_width: number;
632
+ hole_height: number;
633
+ subcircuit_id?: string | undefined;
634
+ pcb_group_id?: string | undefined;
635
+ }, {
636
+ x: string | number;
637
+ y: string | number;
638
+ type: "pcb_hole";
639
+ hole_shape: "pill";
640
+ hole_width: number;
641
+ hole_height: number;
642
+ subcircuit_id?: string | undefined;
643
+ pcb_group_id?: string | undefined;
644
+ pcb_hole_id?: string | undefined;
645
+ }>;
646
+ declare const pcb_hole_pill_shape: z.ZodObject<{
647
+ type: z.ZodLiteral<"pcb_hole">;
648
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
649
+ pcb_group_id: z.ZodOptional<z.ZodString>;
650
+ subcircuit_id: z.ZodOptional<z.ZodString>;
651
+ hole_shape: z.ZodLiteral<"pill">;
652
+ hole_width: z.ZodNumber;
653
+ hole_height: z.ZodNumber;
654
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
655
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
656
+ }, "strip", z.ZodTypeAny, {
657
+ x: number;
658
+ y: number;
659
+ type: "pcb_hole";
660
+ pcb_hole_id: string;
661
+ hole_shape: "pill";
662
+ hole_width: number;
663
+ hole_height: number;
664
+ subcircuit_id?: string | undefined;
665
+ pcb_group_id?: string | undefined;
666
+ }, {
667
+ x: string | number;
668
+ y: string | number;
669
+ type: "pcb_hole";
670
+ hole_shape: "pill";
671
+ hole_width: number;
672
+ hole_height: number;
673
+ subcircuit_id?: string | undefined;
674
+ pcb_group_id?: string | undefined;
675
+ pcb_hole_id?: string | undefined;
676
+ }>;
677
+ type PcbHolePillInput = z.input<typeof pcb_hole_pill>;
678
+ /**
679
+ * Defines a pill-shaped hole on the PCB
680
+ */
681
+ interface PcbHolePill {
682
+ type: "pcb_hole";
683
+ pcb_hole_id: string;
684
+ pcb_group_id?: string;
685
+ subcircuit_id?: string;
686
+ hole_shape: "pill";
687
+ hole_width: number;
688
+ hole_height: number;
689
+ x: Distance;
690
+ y: Distance;
691
+ }
692
+ declare const pcb_hole_rotated_pill: z.ZodObject<{
693
+ type: z.ZodLiteral<"pcb_hole">;
694
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
695
+ pcb_group_id: z.ZodOptional<z.ZodString>;
696
+ subcircuit_id: z.ZodOptional<z.ZodString>;
697
+ hole_shape: z.ZodLiteral<"rotated_pill">;
698
+ hole_width: z.ZodNumber;
699
+ hole_height: z.ZodNumber;
700
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
701
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
702
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ x: number;
705
+ y: number;
706
+ type: "pcb_hole";
707
+ pcb_hole_id: string;
708
+ hole_shape: "rotated_pill";
709
+ hole_width: number;
710
+ hole_height: number;
711
+ ccw_rotation: number;
712
+ subcircuit_id?: string | undefined;
713
+ pcb_group_id?: string | undefined;
714
+ }, {
715
+ x: string | number;
716
+ y: string | number;
717
+ type: "pcb_hole";
718
+ hole_shape: "rotated_pill";
719
+ hole_width: number;
720
+ hole_height: number;
721
+ ccw_rotation: string | number;
722
+ subcircuit_id?: string | undefined;
723
+ pcb_group_id?: string | undefined;
724
+ pcb_hole_id?: string | undefined;
725
+ }>;
726
+ declare const pcb_hole_rotated_pill_shape: z.ZodObject<{
727
+ type: z.ZodLiteral<"pcb_hole">;
728
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
729
+ pcb_group_id: z.ZodOptional<z.ZodString>;
730
+ subcircuit_id: z.ZodOptional<z.ZodString>;
731
+ hole_shape: z.ZodLiteral<"rotated_pill">;
732
+ hole_width: z.ZodNumber;
733
+ hole_height: z.ZodNumber;
734
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
735
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
736
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ x: number;
739
+ y: number;
740
+ type: "pcb_hole";
741
+ pcb_hole_id: string;
742
+ hole_shape: "rotated_pill";
743
+ hole_width: number;
744
+ hole_height: number;
745
+ ccw_rotation: number;
746
+ subcircuit_id?: string | undefined;
747
+ pcb_group_id?: string | undefined;
748
+ }, {
749
+ x: string | number;
750
+ y: string | number;
751
+ type: "pcb_hole";
752
+ hole_shape: "rotated_pill";
753
+ hole_width: number;
754
+ hole_height: number;
755
+ ccw_rotation: string | number;
756
+ subcircuit_id?: string | undefined;
757
+ pcb_group_id?: string | undefined;
758
+ pcb_hole_id?: string | undefined;
759
+ }>;
760
+ type PcbHoleRotatedPillInput = z.input<typeof pcb_hole_rotated_pill>;
761
+ /**
762
+ * Defines a rotated pill-shaped hole on the PCB
763
+ */
764
+ interface PcbHoleRotatedPill {
765
+ type: "pcb_hole";
766
+ pcb_hole_id: string;
767
+ pcb_group_id?: string;
768
+ subcircuit_id?: string;
769
+ hole_shape: "rotated_pill";
770
+ hole_width: number;
771
+ hole_height: number;
772
+ x: Distance;
773
+ y: Distance;
774
+ ccw_rotation: Rotation;
775
+ }
776
+ declare const pcb_hole: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
616
777
  type: z.ZodLiteral<"pcb_hole">;
617
778
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
618
779
  pcb_group_id: z.ZodOptional<z.ZodString>;
@@ -669,16 +830,79 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
669
830
  subcircuit_id?: string | undefined;
670
831
  pcb_group_id?: string | undefined;
671
832
  pcb_hole_id?: string | undefined;
833
+ }>]>, z.ZodObject<{
834
+ type: z.ZodLiteral<"pcb_hole">;
835
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
836
+ pcb_group_id: z.ZodOptional<z.ZodString>;
837
+ subcircuit_id: z.ZodOptional<z.ZodString>;
838
+ hole_shape: z.ZodLiteral<"pill">;
839
+ hole_width: z.ZodNumber;
840
+ hole_height: z.ZodNumber;
841
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
842
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
843
+ }, "strip", z.ZodTypeAny, {
844
+ x: number;
845
+ y: number;
846
+ type: "pcb_hole";
847
+ pcb_hole_id: string;
848
+ hole_shape: "pill";
849
+ hole_width: number;
850
+ hole_height: number;
851
+ subcircuit_id?: string | undefined;
852
+ pcb_group_id?: string | undefined;
853
+ }, {
854
+ x: string | number;
855
+ y: string | number;
856
+ type: "pcb_hole";
857
+ hole_shape: "pill";
858
+ hole_width: number;
859
+ hole_height: number;
860
+ subcircuit_id?: string | undefined;
861
+ pcb_group_id?: string | undefined;
862
+ pcb_hole_id?: string | undefined;
863
+ }>]>, z.ZodObject<{
864
+ type: z.ZodLiteral<"pcb_hole">;
865
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
866
+ pcb_group_id: z.ZodOptional<z.ZodString>;
867
+ subcircuit_id: z.ZodOptional<z.ZodString>;
868
+ hole_shape: z.ZodLiteral<"rotated_pill">;
869
+ hole_width: z.ZodNumber;
870
+ hole_height: z.ZodNumber;
871
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
872
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
873
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ x: number;
876
+ y: number;
877
+ type: "pcb_hole";
878
+ pcb_hole_id: string;
879
+ hole_shape: "rotated_pill";
880
+ hole_width: number;
881
+ hole_height: number;
882
+ ccw_rotation: number;
883
+ subcircuit_id?: string | undefined;
884
+ pcb_group_id?: string | undefined;
885
+ }, {
886
+ x: string | number;
887
+ y: string | number;
888
+ type: "pcb_hole";
889
+ hole_shape: "rotated_pill";
890
+ hole_width: number;
891
+ hole_height: number;
892
+ ccw_rotation: string | number;
893
+ subcircuit_id?: string | undefined;
894
+ pcb_group_id?: string | undefined;
895
+ pcb_hole_id?: string | undefined;
672
896
  }>]>;
673
897
  /**
674
- * @deprecated Use PcbHoleCircleOrSquare or PcbHoleOval
898
+ * @deprecated Use PcbHoleCircleOrSquare, PcbHoleOval, PcbHolePill, or PcbHoleRotatedPill
675
899
  */
676
900
  type PCBHoleInput = z.input<typeof pcb_hole>;
677
901
  /**
678
- * @deprecated Use PcbHoleCircleOrSquare or PcbHoleOval
902
+ * @deprecated Use PcbHoleCircleOrSquare, PcbHoleOval, PcbHolePill, or PcbHoleRotatedPill
679
903
  */
680
904
  type PCBHole = z.infer<typeof pcb_hole>;
681
- type PcbHole = PcbHoleCircleOrSquare | PcbHoleOval;
905
+ type PcbHole = PcbHoleCircleOrSquare | PcbHoleOval | PcbHolePill | PcbHoleRotatedPill;
682
906
 
683
907
  /**
684
908
  * Defines a circular plated hole on the PCB
@@ -869,12 +1093,12 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
869
1093
  type: "pcb_plated_hole";
870
1094
  hole_width: number;
871
1095
  hole_height: number;
1096
+ ccw_rotation: number;
872
1097
  shape: "oval" | "pill";
873
1098
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
874
1099
  pcb_plated_hole_id: string;
875
1100
  outer_width: number;
876
1101
  outer_height: number;
877
- ccw_rotation: number;
878
1102
  pcb_component_id?: string | undefined;
879
1103
  subcircuit_id?: string | undefined;
880
1104
  pcb_group_id?: string | undefined;
@@ -886,13 +1110,13 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
886
1110
  type: "pcb_plated_hole";
887
1111
  hole_width: number;
888
1112
  hole_height: number;
1113
+ ccw_rotation: string | number;
889
1114
  shape: "oval" | "pill";
890
1115
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
891
1116
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
892
1117
  })[];
893
1118
  outer_width: number;
894
1119
  outer_height: number;
895
- ccw_rotation: string | number;
896
1120
  pcb_component_id?: string | undefined;
897
1121
  subcircuit_id?: string | undefined;
898
1122
  pcb_group_id?: string | undefined;
@@ -1403,8 +1627,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
1403
1627
  width: number;
1404
1628
  height: number;
1405
1629
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1406
- shape: "rotated_rect";
1407
1630
  ccw_rotation: number;
1631
+ shape: "rotated_rect";
1408
1632
  pcb_smtpad_id: string;
1409
1633
  pcb_component_id?: string | undefined;
1410
1634
  subcircuit_id?: string | undefined;
@@ -1422,8 +1646,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
1422
1646
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1423
1647
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1424
1648
  };
1425
- shape: "rotated_rect";
1426
1649
  ccw_rotation: string | number;
1650
+ shape: "rotated_rect";
1427
1651
  pcb_component_id?: string | undefined;
1428
1652
  subcircuit_id?: string | undefined;
1429
1653
  pcb_group_id?: string | undefined;
@@ -1464,8 +1688,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
1464
1688
  width: number;
1465
1689
  height: number;
1466
1690
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1467
- shape: "rotated_pill";
1468
1691
  ccw_rotation: number;
1692
+ shape: "rotated_pill";
1469
1693
  pcb_smtpad_id: string;
1470
1694
  radius: number;
1471
1695
  pcb_component_id?: string | undefined;
@@ -1483,8 +1707,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
1483
1707
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1484
1708
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1485
1709
  };
1486
- shape: "rotated_pill";
1487
1710
  ccw_rotation: string | number;
1711
+ shape: "rotated_pill";
1488
1712
  radius: number;
1489
1713
  pcb_component_id?: string | undefined;
1490
1714
  subcircuit_id?: string | undefined;
@@ -1912,8 +2136,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
1912
2136
  width: number;
1913
2137
  height: number;
1914
2138
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1915
- shape: "rotated_rect";
1916
2139
  ccw_rotation: number;
2140
+ shape: "rotated_rect";
1917
2141
  pcb_solder_paste_id: string;
1918
2142
  pcb_component_id?: string | undefined;
1919
2143
  subcircuit_id?: string | undefined;
@@ -1928,8 +2152,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
1928
2152
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1929
2153
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1930
2154
  };
1931
- shape: "rotated_rect";
1932
2155
  ccw_rotation: string | number;
2156
+ shape: "rotated_rect";
1933
2157
  pcb_component_id?: string | undefined;
1934
2158
  subcircuit_id?: string | undefined;
1935
2159
  pcb_group_id?: string | undefined;
@@ -3628,6 +3852,92 @@ interface PcbFabricationNotePath {
3628
3852
  */
3629
3853
  type PCBFabricationNotePath = PcbFabricationNotePath;
3630
3854
 
3855
+ declare const pcb_fabrication_note_rect: z.ZodObject<{
3856
+ type: z.ZodLiteral<"pcb_fabrication_note_rect">;
3857
+ pcb_fabrication_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3858
+ pcb_component_id: z.ZodString;
3859
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3860
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3861
+ center: z.ZodObject<{
3862
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3863
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3864
+ }, "strip", z.ZodTypeAny, {
3865
+ x: number;
3866
+ y: number;
3867
+ }, {
3868
+ x: string | number;
3869
+ y: string | number;
3870
+ }>;
3871
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3872
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3873
+ layer: z.ZodEnum<["top", "bottom"]>;
3874
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3875
+ is_filled: z.ZodOptional<z.ZodBoolean>;
3876
+ has_stroke: z.ZodOptional<z.ZodBoolean>;
3877
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
3878
+ color: z.ZodOptional<z.ZodString>;
3879
+ }, "strip", z.ZodTypeAny, {
3880
+ type: "pcb_fabrication_note_rect";
3881
+ width: number;
3882
+ height: number;
3883
+ pcb_component_id: string;
3884
+ center: {
3885
+ x: number;
3886
+ y: number;
3887
+ };
3888
+ layer: "top" | "bottom";
3889
+ stroke_width: number;
3890
+ pcb_fabrication_note_rect_id: string;
3891
+ subcircuit_id?: string | undefined;
3892
+ pcb_group_id?: string | undefined;
3893
+ is_filled?: boolean | undefined;
3894
+ has_stroke?: boolean | undefined;
3895
+ is_stroke_dashed?: boolean | undefined;
3896
+ color?: string | undefined;
3897
+ }, {
3898
+ type: "pcb_fabrication_note_rect";
3899
+ width: string | number;
3900
+ height: string | number;
3901
+ pcb_component_id: string;
3902
+ center: {
3903
+ x: string | number;
3904
+ y: string | number;
3905
+ };
3906
+ layer: "top" | "bottom";
3907
+ subcircuit_id?: string | undefined;
3908
+ pcb_group_id?: string | undefined;
3909
+ stroke_width?: string | number | undefined;
3910
+ is_filled?: boolean | undefined;
3911
+ has_stroke?: boolean | undefined;
3912
+ is_stroke_dashed?: boolean | undefined;
3913
+ color?: string | undefined;
3914
+ pcb_fabrication_note_rect_id?: string | undefined;
3915
+ }>;
3916
+ type PcbFabricationNoteRectInput = z.input<typeof pcb_fabrication_note_rect>;
3917
+ /**
3918
+ * Defines a fabrication note rectangle on the PCB
3919
+ */
3920
+ interface PcbFabricationNoteRect {
3921
+ type: "pcb_fabrication_note_rect";
3922
+ pcb_fabrication_note_rect_id: string;
3923
+ pcb_component_id: string;
3924
+ pcb_group_id?: string;
3925
+ subcircuit_id?: string;
3926
+ center: Point;
3927
+ width: Length;
3928
+ height: Length;
3929
+ layer: VisibleLayer;
3930
+ stroke_width: Length;
3931
+ is_filled?: boolean;
3932
+ has_stroke?: boolean;
3933
+ is_stroke_dashed?: boolean;
3934
+ color?: string;
3935
+ }
3936
+ /**
3937
+ * @deprecated use PcbFabricationNoteRect
3938
+ */
3939
+ type PCBFabricationNoteRect = PcbFabricationNoteRect;
3940
+
3631
3941
  declare const pcb_footprint_overlap_error: z.ZodObject<{
3632
3942
  type: z.ZodLiteral<"pcb_footprint_overlap_error">;
3633
3943
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -5306,24 +5616,184 @@ declare const pcb_via_clearance_error: z.ZodObject<{
5306
5616
  y?: number | undefined;
5307
5617
  } | undefined;
5308
5618
  }>;
5309
- type PcbViaClearanceErrorInput = z.input<typeof pcb_via_clearance_error>;
5310
- /** Error emitted when vias are closer than the allowed clearance */
5311
- interface PcbViaClearanceError {
5312
- type: "pcb_via_clearance_error";
5313
- pcb_error_id: string;
5314
- error_type: "pcb_via_clearance_error";
5315
- message: string;
5316
- pcb_via_ids: string[];
5317
- minimum_clearance?: Distance;
5318
- actual_clearance?: Distance;
5319
- pcb_center?: {
5320
- x?: number;
5321
- y?: number;
5322
- };
5619
+ type PcbViaClearanceErrorInput = z.input<typeof pcb_via_clearance_error>;
5620
+ /** Error emitted when vias are closer than the allowed clearance */
5621
+ interface PcbViaClearanceError {
5622
+ type: "pcb_via_clearance_error";
5623
+ pcb_error_id: string;
5624
+ error_type: "pcb_via_clearance_error";
5625
+ message: string;
5626
+ pcb_via_ids: string[];
5627
+ minimum_clearance?: Distance;
5628
+ actual_clearance?: Distance;
5629
+ pcb_center?: {
5630
+ x?: number;
5631
+ y?: number;
5632
+ };
5633
+ subcircuit_id?: string;
5634
+ }
5635
+
5636
+ declare const pcb_courtyard_rect: z.ZodObject<{
5637
+ type: z.ZodLiteral<"pcb_courtyard_rect">;
5638
+ pcb_courtyard_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5639
+ pcb_component_id: z.ZodString;
5640
+ pcb_group_id: z.ZodOptional<z.ZodString>;
5641
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5642
+ center: z.ZodObject<{
5643
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5644
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5645
+ }, "strip", z.ZodTypeAny, {
5646
+ x: number;
5647
+ y: number;
5648
+ }, {
5649
+ x: string | number;
5650
+ y: string | number;
5651
+ }>;
5652
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5653
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5654
+ layer: z.ZodEnum<["top", "bottom"]>;
5655
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5656
+ is_filled: z.ZodOptional<z.ZodBoolean>;
5657
+ has_stroke: z.ZodOptional<z.ZodBoolean>;
5658
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
5659
+ color: z.ZodOptional<z.ZodString>;
5660
+ }, "strip", z.ZodTypeAny, {
5661
+ type: "pcb_courtyard_rect";
5662
+ width: number;
5663
+ height: number;
5664
+ pcb_component_id: string;
5665
+ center: {
5666
+ x: number;
5667
+ y: number;
5668
+ };
5669
+ layer: "top" | "bottom";
5670
+ stroke_width: number;
5671
+ pcb_courtyard_rect_id: string;
5672
+ subcircuit_id?: string | undefined;
5673
+ pcb_group_id?: string | undefined;
5674
+ is_filled?: boolean | undefined;
5675
+ has_stroke?: boolean | undefined;
5676
+ is_stroke_dashed?: boolean | undefined;
5677
+ color?: string | undefined;
5678
+ }, {
5679
+ type: "pcb_courtyard_rect";
5680
+ width: string | number;
5681
+ height: string | number;
5682
+ pcb_component_id: string;
5683
+ center: {
5684
+ x: string | number;
5685
+ y: string | number;
5686
+ };
5687
+ layer: "top" | "bottom";
5688
+ subcircuit_id?: string | undefined;
5689
+ pcb_group_id?: string | undefined;
5690
+ stroke_width?: string | number | undefined;
5691
+ is_filled?: boolean | undefined;
5692
+ has_stroke?: boolean | undefined;
5693
+ is_stroke_dashed?: boolean | undefined;
5694
+ color?: string | undefined;
5695
+ pcb_courtyard_rect_id?: string | undefined;
5696
+ }>;
5697
+ type PcbCourtyardRectInput = z.input<typeof pcb_courtyard_rect>;
5698
+ /**
5699
+ * Defines a courtyard rectangle on the PCB
5700
+ */
5701
+ interface PcbCourtyardRect {
5702
+ type: "pcb_courtyard_rect";
5703
+ pcb_courtyard_rect_id: string;
5704
+ pcb_component_id: string;
5705
+ pcb_group_id?: string;
5706
+ subcircuit_id?: string;
5707
+ center: Point;
5708
+ width: Length;
5709
+ height: Length;
5710
+ layer: VisibleLayer;
5711
+ stroke_width: Length;
5712
+ is_filled?: boolean;
5713
+ has_stroke?: boolean;
5714
+ is_stroke_dashed?: boolean;
5715
+ color?: string;
5716
+ }
5717
+ /**
5718
+ * @deprecated use PcbCourtyardRect
5719
+ */
5720
+ type PCBCourtyardRect = PcbCourtyardRect;
5721
+
5722
+ declare const pcb_courtyard_outline: z.ZodObject<{
5723
+ type: z.ZodLiteral<"pcb_courtyard_outline">;
5724
+ pcb_courtyard_outline_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5725
+ pcb_component_id: z.ZodString;
5726
+ pcb_group_id: z.ZodOptional<z.ZodString>;
5727
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5728
+ layer: z.ZodEnum<["top", "bottom"]>;
5729
+ outline: z.ZodArray<z.ZodObject<{
5730
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5731
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5732
+ }, "strip", z.ZodTypeAny, {
5733
+ x: number;
5734
+ y: number;
5735
+ }, {
5736
+ x: string | number;
5737
+ y: string | number;
5738
+ }>, "many">;
5739
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5740
+ is_closed: z.ZodOptional<z.ZodBoolean>;
5741
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
5742
+ color: z.ZodOptional<z.ZodString>;
5743
+ }, "strip", z.ZodTypeAny, {
5744
+ type: "pcb_courtyard_outline";
5745
+ pcb_component_id: string;
5746
+ layer: "top" | "bottom";
5747
+ outline: {
5748
+ x: number;
5749
+ y: number;
5750
+ }[];
5751
+ stroke_width: number;
5752
+ pcb_courtyard_outline_id: string;
5753
+ subcircuit_id?: string | undefined;
5754
+ pcb_group_id?: string | undefined;
5755
+ is_stroke_dashed?: boolean | undefined;
5756
+ color?: string | undefined;
5757
+ is_closed?: boolean | undefined;
5758
+ }, {
5759
+ type: "pcb_courtyard_outline";
5760
+ pcb_component_id: string;
5761
+ layer: "top" | "bottom";
5762
+ outline: {
5763
+ x: string | number;
5764
+ y: string | number;
5765
+ }[];
5766
+ subcircuit_id?: string | undefined;
5767
+ pcb_group_id?: string | undefined;
5768
+ stroke_width?: string | number | undefined;
5769
+ is_stroke_dashed?: boolean | undefined;
5770
+ color?: string | undefined;
5771
+ pcb_courtyard_outline_id?: string | undefined;
5772
+ is_closed?: boolean | undefined;
5773
+ }>;
5774
+ type PcbCourtyardOutlineInput = z.input<typeof pcb_courtyard_outline>;
5775
+ /**
5776
+ * Defines a courtyard outline on the PCB
5777
+ */
5778
+ interface PcbCourtyardOutline {
5779
+ type: "pcb_courtyard_outline";
5780
+ pcb_courtyard_outline_id: string;
5781
+ pcb_component_id: string;
5782
+ pcb_group_id?: string;
5323
5783
  subcircuit_id?: string;
5784
+ layer: VisibleLayer;
5785
+ outline: Point[];
5786
+ stroke_width: Length;
5787
+ is_closed?: boolean;
5788
+ is_stroke_dashed?: boolean;
5789
+ color?: string;
5324
5790
  }
5791
+ /**
5792
+ * @deprecated use PcbCourtyardOutline
5793
+ */
5794
+ type PCBCourtyardOutline = PcbCourtyardOutline;
5325
5795
 
5326
- type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError;
5796
+ type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbFabricationNoteRect | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError | PcbCourtyardRect | PcbCourtyardOutline;
5327
5797
 
5328
5798
  interface SchematicBox {
5329
5799
  type: "schematic_box";
@@ -12423,7 +12893,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12423
12893
  subcircuit_id?: string | undefined;
12424
12894
  pcb_group_id?: string | undefined;
12425
12895
  obstructs_within_bounds?: boolean | undefined;
12426
- }>, z.ZodUnion<[z.ZodObject<{
12896
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12427
12897
  type: z.ZodLiteral<"pcb_hole">;
12428
12898
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12429
12899
  pcb_group_id: z.ZodOptional<z.ZodString>;
@@ -12480,6 +12950,69 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12480
12950
  subcircuit_id?: string | undefined;
12481
12951
  pcb_group_id?: string | undefined;
12482
12952
  pcb_hole_id?: string | undefined;
12953
+ }>]>, z.ZodObject<{
12954
+ type: z.ZodLiteral<"pcb_hole">;
12955
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12956
+ pcb_group_id: z.ZodOptional<z.ZodString>;
12957
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12958
+ hole_shape: z.ZodLiteral<"pill">;
12959
+ hole_width: z.ZodNumber;
12960
+ hole_height: z.ZodNumber;
12961
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12962
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12963
+ }, "strip", z.ZodTypeAny, {
12964
+ x: number;
12965
+ y: number;
12966
+ type: "pcb_hole";
12967
+ pcb_hole_id: string;
12968
+ hole_shape: "pill";
12969
+ hole_width: number;
12970
+ hole_height: number;
12971
+ subcircuit_id?: string | undefined;
12972
+ pcb_group_id?: string | undefined;
12973
+ }, {
12974
+ x: string | number;
12975
+ y: string | number;
12976
+ type: "pcb_hole";
12977
+ hole_shape: "pill";
12978
+ hole_width: number;
12979
+ hole_height: number;
12980
+ subcircuit_id?: string | undefined;
12981
+ pcb_group_id?: string | undefined;
12982
+ pcb_hole_id?: string | undefined;
12983
+ }>]>, z.ZodObject<{
12984
+ type: z.ZodLiteral<"pcb_hole">;
12985
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12986
+ pcb_group_id: z.ZodOptional<z.ZodString>;
12987
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12988
+ hole_shape: z.ZodLiteral<"rotated_pill">;
12989
+ hole_width: z.ZodNumber;
12990
+ hole_height: z.ZodNumber;
12991
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12992
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12993
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12994
+ }, "strip", z.ZodTypeAny, {
12995
+ x: number;
12996
+ y: number;
12997
+ type: "pcb_hole";
12998
+ pcb_hole_id: string;
12999
+ hole_shape: "rotated_pill";
13000
+ hole_width: number;
13001
+ hole_height: number;
13002
+ ccw_rotation: number;
13003
+ subcircuit_id?: string | undefined;
13004
+ pcb_group_id?: string | undefined;
13005
+ }, {
13006
+ x: string | number;
13007
+ y: string | number;
13008
+ type: "pcb_hole";
13009
+ hole_shape: "rotated_pill";
13010
+ hole_width: number;
13011
+ hole_height: number;
13012
+ ccw_rotation: string | number;
13013
+ subcircuit_id?: string | undefined;
13014
+ pcb_group_id?: string | undefined;
13015
+ pcb_hole_id?: string | undefined;
12483
13016
  }>]>, z.ZodObject<{
12484
13017
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
12485
13018
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -12674,12 +13207,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12674
13207
  type: "pcb_plated_hole";
12675
13208
  hole_width: number;
12676
13209
  hole_height: number;
13210
+ ccw_rotation: number;
12677
13211
  shape: "oval" | "pill";
12678
13212
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
12679
13213
  pcb_plated_hole_id: string;
12680
13214
  outer_width: number;
12681
13215
  outer_height: number;
12682
- ccw_rotation: number;
12683
13216
  pcb_component_id?: string | undefined;
12684
13217
  subcircuit_id?: string | undefined;
12685
13218
  pcb_group_id?: string | undefined;
@@ -12691,13 +13224,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12691
13224
  type: "pcb_plated_hole";
12692
13225
  hole_width: number;
12693
13226
  hole_height: number;
13227
+ ccw_rotation: string | number;
12694
13228
  shape: "oval" | "pill";
12695
13229
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
12696
13230
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
12697
13231
  })[];
12698
13232
  outer_width: number;
12699
13233
  outer_height: number;
12700
- ccw_rotation: string | number;
12701
13234
  pcb_component_id?: string | undefined;
12702
13235
  subcircuit_id?: string | undefined;
12703
13236
  pcb_group_id?: string | undefined;
@@ -13480,8 +14013,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13480
14013
  width: number;
13481
14014
  height: number;
13482
14015
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13483
- shape: "rotated_rect";
13484
14016
  ccw_rotation: number;
14017
+ shape: "rotated_rect";
13485
14018
  pcb_smtpad_id: string;
13486
14019
  pcb_component_id?: string | undefined;
13487
14020
  subcircuit_id?: string | undefined;
@@ -13499,8 +14032,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13499
14032
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13500
14033
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13501
14034
  };
13502
- shape: "rotated_rect";
13503
14035
  ccw_rotation: string | number;
14036
+ shape: "rotated_rect";
13504
14037
  pcb_component_id?: string | undefined;
13505
14038
  subcircuit_id?: string | undefined;
13506
14039
  pcb_group_id?: string | undefined;
@@ -13541,8 +14074,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13541
14074
  width: number;
13542
14075
  height: number;
13543
14076
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13544
- shape: "rotated_pill";
13545
14077
  ccw_rotation: number;
14078
+ shape: "rotated_pill";
13546
14079
  pcb_smtpad_id: string;
13547
14080
  radius: number;
13548
14081
  pcb_component_id?: string | undefined;
@@ -13560,8 +14093,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13560
14093
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13561
14094
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13562
14095
  };
13563
- shape: "rotated_pill";
13564
14096
  ccw_rotation: string | number;
14097
+ shape: "rotated_pill";
13565
14098
  radius: number;
13566
14099
  pcb_component_id?: string | undefined;
13567
14100
  subcircuit_id?: string | undefined;
@@ -13865,8 +14398,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13865
14398
  width: number;
13866
14399
  height: number;
13867
14400
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13868
- shape: "rotated_rect";
13869
14401
  ccw_rotation: number;
14402
+ shape: "rotated_rect";
13870
14403
  pcb_solder_paste_id: string;
13871
14404
  pcb_component_id?: string | undefined;
13872
14405
  subcircuit_id?: string | undefined;
@@ -13881,8 +14414,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13881
14414
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13882
14415
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13883
14416
  };
13884
- shape: "rotated_rect";
13885
14417
  ccw_rotation: string | number;
14418
+ shape: "rotated_rect";
13886
14419
  pcb_component_id?: string | undefined;
13887
14420
  subcircuit_id?: string | undefined;
13888
14421
  pcb_group_id?: string | undefined;
@@ -14776,6 +15309,66 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14776
15309
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
14777
15310
  pcb_fabrication_note_text_id?: string | undefined;
14778
15311
  color?: string | undefined;
15312
+ }>, z.ZodObject<{
15313
+ type: z.ZodLiteral<"pcb_fabrication_note_rect">;
15314
+ pcb_fabrication_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15315
+ pcb_component_id: z.ZodString;
15316
+ pcb_group_id: z.ZodOptional<z.ZodString>;
15317
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15318
+ center: z.ZodObject<{
15319
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15320
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15321
+ }, "strip", z.ZodTypeAny, {
15322
+ x: number;
15323
+ y: number;
15324
+ }, {
15325
+ x: string | number;
15326
+ y: string | number;
15327
+ }>;
15328
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15329
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15330
+ layer: z.ZodEnum<["top", "bottom"]>;
15331
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
15332
+ is_filled: z.ZodOptional<z.ZodBoolean>;
15333
+ has_stroke: z.ZodOptional<z.ZodBoolean>;
15334
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
15335
+ color: z.ZodOptional<z.ZodString>;
15336
+ }, "strip", z.ZodTypeAny, {
15337
+ type: "pcb_fabrication_note_rect";
15338
+ width: number;
15339
+ height: number;
15340
+ pcb_component_id: string;
15341
+ center: {
15342
+ x: number;
15343
+ y: number;
15344
+ };
15345
+ layer: "top" | "bottom";
15346
+ stroke_width: number;
15347
+ pcb_fabrication_note_rect_id: string;
15348
+ subcircuit_id?: string | undefined;
15349
+ pcb_group_id?: string | undefined;
15350
+ is_filled?: boolean | undefined;
15351
+ has_stroke?: boolean | undefined;
15352
+ is_stroke_dashed?: boolean | undefined;
15353
+ color?: string | undefined;
15354
+ }, {
15355
+ type: "pcb_fabrication_note_rect";
15356
+ width: string | number;
15357
+ height: string | number;
15358
+ pcb_component_id: string;
15359
+ center: {
15360
+ x: string | number;
15361
+ y: string | number;
15362
+ };
15363
+ layer: "top" | "bottom";
15364
+ subcircuit_id?: string | undefined;
15365
+ pcb_group_id?: string | undefined;
15366
+ stroke_width?: string | number | undefined;
15367
+ is_filled?: boolean | undefined;
15368
+ has_stroke?: boolean | undefined;
15369
+ is_stroke_dashed?: boolean | undefined;
15370
+ color?: string | undefined;
15371
+ pcb_fabrication_note_rect_id?: string | undefined;
14779
15372
  }>, z.ZodObject<{
14780
15373
  type: z.ZodLiteral<"pcb_autorouting_error">;
14781
15374
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -15400,24 +15993,135 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15400
15993
  source_component_id?: string | undefined;
15401
15994
  subcircuit_id?: string | undefined;
15402
15995
  }, {
15403
- message: string;
15404
- type: "pcb_component_outside_board_error";
15996
+ message: string;
15997
+ type: "pcb_component_outside_board_error";
15998
+ pcb_component_id: string;
15999
+ pcb_board_id: string;
16000
+ component_center: {
16001
+ x: string | number;
16002
+ y: string | number;
16003
+ };
16004
+ component_bounds: {
16005
+ min_x: number;
16006
+ max_x: number;
16007
+ min_y: number;
16008
+ max_y: number;
16009
+ };
16010
+ source_component_id?: string | undefined;
16011
+ subcircuit_id?: string | undefined;
16012
+ error_type?: "pcb_component_outside_board_error" | undefined;
16013
+ pcb_component_outside_board_error_id?: string | undefined;
16014
+ }>, z.ZodObject<{
16015
+ type: z.ZodLiteral<"pcb_courtyard_rect">;
16016
+ pcb_courtyard_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16017
+ pcb_component_id: z.ZodString;
16018
+ pcb_group_id: z.ZodOptional<z.ZodString>;
16019
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16020
+ center: z.ZodObject<{
16021
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16022
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16023
+ }, "strip", z.ZodTypeAny, {
16024
+ x: number;
16025
+ y: number;
16026
+ }, {
16027
+ x: string | number;
16028
+ y: string | number;
16029
+ }>;
16030
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16031
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16032
+ layer: z.ZodEnum<["top", "bottom"]>;
16033
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16034
+ is_filled: z.ZodOptional<z.ZodBoolean>;
16035
+ has_stroke: z.ZodOptional<z.ZodBoolean>;
16036
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
16037
+ color: z.ZodOptional<z.ZodString>;
16038
+ }, "strip", z.ZodTypeAny, {
16039
+ type: "pcb_courtyard_rect";
16040
+ width: number;
16041
+ height: number;
16042
+ pcb_component_id: string;
16043
+ center: {
16044
+ x: number;
16045
+ y: number;
16046
+ };
16047
+ layer: "top" | "bottom";
16048
+ stroke_width: number;
16049
+ pcb_courtyard_rect_id: string;
16050
+ subcircuit_id?: string | undefined;
16051
+ pcb_group_id?: string | undefined;
16052
+ is_filled?: boolean | undefined;
16053
+ has_stroke?: boolean | undefined;
16054
+ is_stroke_dashed?: boolean | undefined;
16055
+ color?: string | undefined;
16056
+ }, {
16057
+ type: "pcb_courtyard_rect";
16058
+ width: string | number;
16059
+ height: string | number;
16060
+ pcb_component_id: string;
16061
+ center: {
16062
+ x: string | number;
16063
+ y: string | number;
16064
+ };
16065
+ layer: "top" | "bottom";
16066
+ subcircuit_id?: string | undefined;
16067
+ pcb_group_id?: string | undefined;
16068
+ stroke_width?: string | number | undefined;
16069
+ is_filled?: boolean | undefined;
16070
+ has_stroke?: boolean | undefined;
16071
+ is_stroke_dashed?: boolean | undefined;
16072
+ color?: string | undefined;
16073
+ pcb_courtyard_rect_id?: string | undefined;
16074
+ }>, z.ZodObject<{
16075
+ type: z.ZodLiteral<"pcb_courtyard_outline">;
16076
+ pcb_courtyard_outline_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16077
+ pcb_component_id: z.ZodString;
16078
+ pcb_group_id: z.ZodOptional<z.ZodString>;
16079
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16080
+ layer: z.ZodEnum<["top", "bottom"]>;
16081
+ outline: z.ZodArray<z.ZodObject<{
16082
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16083
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16084
+ }, "strip", z.ZodTypeAny, {
16085
+ x: number;
16086
+ y: number;
16087
+ }, {
16088
+ x: string | number;
16089
+ y: string | number;
16090
+ }>, "many">;
16091
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16092
+ is_closed: z.ZodOptional<z.ZodBoolean>;
16093
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
16094
+ color: z.ZodOptional<z.ZodString>;
16095
+ }, "strip", z.ZodTypeAny, {
16096
+ type: "pcb_courtyard_outline";
16097
+ pcb_component_id: string;
16098
+ layer: "top" | "bottom";
16099
+ outline: {
16100
+ x: number;
16101
+ y: number;
16102
+ }[];
16103
+ stroke_width: number;
16104
+ pcb_courtyard_outline_id: string;
16105
+ subcircuit_id?: string | undefined;
16106
+ pcb_group_id?: string | undefined;
16107
+ is_stroke_dashed?: boolean | undefined;
16108
+ color?: string | undefined;
16109
+ is_closed?: boolean | undefined;
16110
+ }, {
16111
+ type: "pcb_courtyard_outline";
15405
16112
  pcb_component_id: string;
15406
- pcb_board_id: string;
15407
- component_center: {
16113
+ layer: "top" | "bottom";
16114
+ outline: {
15408
16115
  x: string | number;
15409
16116
  y: string | number;
15410
- };
15411
- component_bounds: {
15412
- min_x: number;
15413
- max_x: number;
15414
- min_y: number;
15415
- max_y: number;
15416
- };
15417
- source_component_id?: string | undefined;
16117
+ }[];
15418
16118
  subcircuit_id?: string | undefined;
15419
- error_type?: "pcb_component_outside_board_error" | undefined;
15420
- pcb_component_outside_board_error_id?: string | undefined;
16119
+ pcb_group_id?: string | undefined;
16120
+ stroke_width?: string | number | undefined;
16121
+ is_stroke_dashed?: boolean | undefined;
16122
+ color?: string | undefined;
16123
+ pcb_courtyard_outline_id?: string | undefined;
16124
+ is_closed?: boolean | undefined;
15421
16125
  }>, z.ZodObject<{
15422
16126
  type: z.ZodLiteral<"schematic_box">;
15423
16127
  schematic_component_id: z.ZodOptional<z.ZodString>;
@@ -18979,7 +19683,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18979
19683
  subcircuit_id?: string | undefined;
18980
19684
  pcb_group_id?: string | undefined;
18981
19685
  obstructs_within_bounds?: boolean | undefined;
18982
- }>, z.ZodUnion<[z.ZodObject<{
19686
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
18983
19687
  type: z.ZodLiteral<"pcb_hole">;
18984
19688
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18985
19689
  pcb_group_id: z.ZodOptional<z.ZodString>;
@@ -19036,6 +19740,69 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19036
19740
  subcircuit_id?: string | undefined;
19037
19741
  pcb_group_id?: string | undefined;
19038
19742
  pcb_hole_id?: string | undefined;
19743
+ }>]>, z.ZodObject<{
19744
+ type: z.ZodLiteral<"pcb_hole">;
19745
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19746
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19747
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19748
+ hole_shape: z.ZodLiteral<"pill">;
19749
+ hole_width: z.ZodNumber;
19750
+ hole_height: z.ZodNumber;
19751
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19752
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19753
+ }, "strip", z.ZodTypeAny, {
19754
+ x: number;
19755
+ y: number;
19756
+ type: "pcb_hole";
19757
+ pcb_hole_id: string;
19758
+ hole_shape: "pill";
19759
+ hole_width: number;
19760
+ hole_height: number;
19761
+ subcircuit_id?: string | undefined;
19762
+ pcb_group_id?: string | undefined;
19763
+ }, {
19764
+ x: string | number;
19765
+ y: string | number;
19766
+ type: "pcb_hole";
19767
+ hole_shape: "pill";
19768
+ hole_width: number;
19769
+ hole_height: number;
19770
+ subcircuit_id?: string | undefined;
19771
+ pcb_group_id?: string | undefined;
19772
+ pcb_hole_id?: string | undefined;
19773
+ }>]>, z.ZodObject<{
19774
+ type: z.ZodLiteral<"pcb_hole">;
19775
+ pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19776
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19777
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19778
+ hole_shape: z.ZodLiteral<"rotated_pill">;
19779
+ hole_width: z.ZodNumber;
19780
+ hole_height: z.ZodNumber;
19781
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19782
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19783
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19784
+ }, "strip", z.ZodTypeAny, {
19785
+ x: number;
19786
+ y: number;
19787
+ type: "pcb_hole";
19788
+ pcb_hole_id: string;
19789
+ hole_shape: "rotated_pill";
19790
+ hole_width: number;
19791
+ hole_height: number;
19792
+ ccw_rotation: number;
19793
+ subcircuit_id?: string | undefined;
19794
+ pcb_group_id?: string | undefined;
19795
+ }, {
19796
+ x: string | number;
19797
+ y: string | number;
19798
+ type: "pcb_hole";
19799
+ hole_shape: "rotated_pill";
19800
+ hole_width: number;
19801
+ hole_height: number;
19802
+ ccw_rotation: string | number;
19803
+ subcircuit_id?: string | undefined;
19804
+ pcb_group_id?: string | undefined;
19805
+ pcb_hole_id?: string | undefined;
19039
19806
  }>]>, z.ZodObject<{
19040
19807
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
19041
19808
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -19230,12 +19997,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19230
19997
  type: "pcb_plated_hole";
19231
19998
  hole_width: number;
19232
19999
  hole_height: number;
20000
+ ccw_rotation: number;
19233
20001
  shape: "oval" | "pill";
19234
20002
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
19235
20003
  pcb_plated_hole_id: string;
19236
20004
  outer_width: number;
19237
20005
  outer_height: number;
19238
- ccw_rotation: number;
19239
20006
  pcb_component_id?: string | undefined;
19240
20007
  subcircuit_id?: string | undefined;
19241
20008
  pcb_group_id?: string | undefined;
@@ -19247,13 +20014,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19247
20014
  type: "pcb_plated_hole";
19248
20015
  hole_width: number;
19249
20016
  hole_height: number;
20017
+ ccw_rotation: string | number;
19250
20018
  shape: "oval" | "pill";
19251
20019
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19252
20020
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19253
20021
  })[];
19254
20022
  outer_width: number;
19255
20023
  outer_height: number;
19256
- ccw_rotation: string | number;
19257
20024
  pcb_component_id?: string | undefined;
19258
20025
  subcircuit_id?: string | undefined;
19259
20026
  pcb_group_id?: string | undefined;
@@ -20036,8 +20803,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20036
20803
  width: number;
20037
20804
  height: number;
20038
20805
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20039
- shape: "rotated_rect";
20040
20806
  ccw_rotation: number;
20807
+ shape: "rotated_rect";
20041
20808
  pcb_smtpad_id: string;
20042
20809
  pcb_component_id?: string | undefined;
20043
20810
  subcircuit_id?: string | undefined;
@@ -20055,8 +20822,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20055
20822
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
20056
20823
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20057
20824
  };
20058
- shape: "rotated_rect";
20059
20825
  ccw_rotation: string | number;
20826
+ shape: "rotated_rect";
20060
20827
  pcb_component_id?: string | undefined;
20061
20828
  subcircuit_id?: string | undefined;
20062
20829
  pcb_group_id?: string | undefined;
@@ -20097,8 +20864,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20097
20864
  width: number;
20098
20865
  height: number;
20099
20866
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20100
- shape: "rotated_pill";
20101
20867
  ccw_rotation: number;
20868
+ shape: "rotated_pill";
20102
20869
  pcb_smtpad_id: string;
20103
20870
  radius: number;
20104
20871
  pcb_component_id?: string | undefined;
@@ -20116,8 +20883,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20116
20883
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
20117
20884
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20118
20885
  };
20119
- shape: "rotated_pill";
20120
20886
  ccw_rotation: string | number;
20887
+ shape: "rotated_pill";
20121
20888
  radius: number;
20122
20889
  pcb_component_id?: string | undefined;
20123
20890
  subcircuit_id?: string | undefined;
@@ -20421,8 +21188,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20421
21188
  width: number;
20422
21189
  height: number;
20423
21190
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20424
- shape: "rotated_rect";
20425
21191
  ccw_rotation: number;
21192
+ shape: "rotated_rect";
20426
21193
  pcb_solder_paste_id: string;
20427
21194
  pcb_component_id?: string | undefined;
20428
21195
  subcircuit_id?: string | undefined;
@@ -20437,8 +21204,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20437
21204
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
20438
21205
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20439
21206
  };
20440
- shape: "rotated_rect";
20441
21207
  ccw_rotation: string | number;
21208
+ shape: "rotated_rect";
20442
21209
  pcb_component_id?: string | undefined;
20443
21210
  subcircuit_id?: string | undefined;
20444
21211
  pcb_group_id?: string | undefined;
@@ -21332,6 +22099,66 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
21332
22099
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
21333
22100
  pcb_fabrication_note_text_id?: string | undefined;
21334
22101
  color?: string | undefined;
22102
+ }>, z.ZodObject<{
22103
+ type: z.ZodLiteral<"pcb_fabrication_note_rect">;
22104
+ pcb_fabrication_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
22105
+ pcb_component_id: z.ZodString;
22106
+ pcb_group_id: z.ZodOptional<z.ZodString>;
22107
+ subcircuit_id: z.ZodOptional<z.ZodString>;
22108
+ center: z.ZodObject<{
22109
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22110
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22111
+ }, "strip", z.ZodTypeAny, {
22112
+ x: number;
22113
+ y: number;
22114
+ }, {
22115
+ x: string | number;
22116
+ y: string | number;
22117
+ }>;
22118
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22119
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22120
+ layer: z.ZodEnum<["top", "bottom"]>;
22121
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
22122
+ is_filled: z.ZodOptional<z.ZodBoolean>;
22123
+ has_stroke: z.ZodOptional<z.ZodBoolean>;
22124
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
22125
+ color: z.ZodOptional<z.ZodString>;
22126
+ }, "strip", z.ZodTypeAny, {
22127
+ type: "pcb_fabrication_note_rect";
22128
+ width: number;
22129
+ height: number;
22130
+ pcb_component_id: string;
22131
+ center: {
22132
+ x: number;
22133
+ y: number;
22134
+ };
22135
+ layer: "top" | "bottom";
22136
+ stroke_width: number;
22137
+ pcb_fabrication_note_rect_id: string;
22138
+ subcircuit_id?: string | undefined;
22139
+ pcb_group_id?: string | undefined;
22140
+ is_filled?: boolean | undefined;
22141
+ has_stroke?: boolean | undefined;
22142
+ is_stroke_dashed?: boolean | undefined;
22143
+ color?: string | undefined;
22144
+ }, {
22145
+ type: "pcb_fabrication_note_rect";
22146
+ width: string | number;
22147
+ height: string | number;
22148
+ pcb_component_id: string;
22149
+ center: {
22150
+ x: string | number;
22151
+ y: string | number;
22152
+ };
22153
+ layer: "top" | "bottom";
22154
+ subcircuit_id?: string | undefined;
22155
+ pcb_group_id?: string | undefined;
22156
+ stroke_width?: string | number | undefined;
22157
+ is_filled?: boolean | undefined;
22158
+ has_stroke?: boolean | undefined;
22159
+ is_stroke_dashed?: boolean | undefined;
22160
+ color?: string | undefined;
22161
+ pcb_fabrication_note_rect_id?: string | undefined;
21335
22162
  }>, z.ZodObject<{
21336
22163
  type: z.ZodLiteral<"pcb_autorouting_error">;
21337
22164
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -21974,6 +22801,117 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
21974
22801
  subcircuit_id?: string | undefined;
21975
22802
  error_type?: "pcb_component_outside_board_error" | undefined;
21976
22803
  pcb_component_outside_board_error_id?: string | undefined;
22804
+ }>, z.ZodObject<{
22805
+ type: z.ZodLiteral<"pcb_courtyard_rect">;
22806
+ pcb_courtyard_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
22807
+ pcb_component_id: z.ZodString;
22808
+ pcb_group_id: z.ZodOptional<z.ZodString>;
22809
+ subcircuit_id: z.ZodOptional<z.ZodString>;
22810
+ center: z.ZodObject<{
22811
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22812
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22813
+ }, "strip", z.ZodTypeAny, {
22814
+ x: number;
22815
+ y: number;
22816
+ }, {
22817
+ x: string | number;
22818
+ y: string | number;
22819
+ }>;
22820
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22821
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22822
+ layer: z.ZodEnum<["top", "bottom"]>;
22823
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
22824
+ is_filled: z.ZodOptional<z.ZodBoolean>;
22825
+ has_stroke: z.ZodOptional<z.ZodBoolean>;
22826
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
22827
+ color: z.ZodOptional<z.ZodString>;
22828
+ }, "strip", z.ZodTypeAny, {
22829
+ type: "pcb_courtyard_rect";
22830
+ width: number;
22831
+ height: number;
22832
+ pcb_component_id: string;
22833
+ center: {
22834
+ x: number;
22835
+ y: number;
22836
+ };
22837
+ layer: "top" | "bottom";
22838
+ stroke_width: number;
22839
+ pcb_courtyard_rect_id: string;
22840
+ subcircuit_id?: string | undefined;
22841
+ pcb_group_id?: string | undefined;
22842
+ is_filled?: boolean | undefined;
22843
+ has_stroke?: boolean | undefined;
22844
+ is_stroke_dashed?: boolean | undefined;
22845
+ color?: string | undefined;
22846
+ }, {
22847
+ type: "pcb_courtyard_rect";
22848
+ width: string | number;
22849
+ height: string | number;
22850
+ pcb_component_id: string;
22851
+ center: {
22852
+ x: string | number;
22853
+ y: string | number;
22854
+ };
22855
+ layer: "top" | "bottom";
22856
+ subcircuit_id?: string | undefined;
22857
+ pcb_group_id?: string | undefined;
22858
+ stroke_width?: string | number | undefined;
22859
+ is_filled?: boolean | undefined;
22860
+ has_stroke?: boolean | undefined;
22861
+ is_stroke_dashed?: boolean | undefined;
22862
+ color?: string | undefined;
22863
+ pcb_courtyard_rect_id?: string | undefined;
22864
+ }>, z.ZodObject<{
22865
+ type: z.ZodLiteral<"pcb_courtyard_outline">;
22866
+ pcb_courtyard_outline_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
22867
+ pcb_component_id: z.ZodString;
22868
+ pcb_group_id: z.ZodOptional<z.ZodString>;
22869
+ subcircuit_id: z.ZodOptional<z.ZodString>;
22870
+ layer: z.ZodEnum<["top", "bottom"]>;
22871
+ outline: z.ZodArray<z.ZodObject<{
22872
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22873
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22874
+ }, "strip", z.ZodTypeAny, {
22875
+ x: number;
22876
+ y: number;
22877
+ }, {
22878
+ x: string | number;
22879
+ y: string | number;
22880
+ }>, "many">;
22881
+ stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
22882
+ is_closed: z.ZodOptional<z.ZodBoolean>;
22883
+ is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
22884
+ color: z.ZodOptional<z.ZodString>;
22885
+ }, "strip", z.ZodTypeAny, {
22886
+ type: "pcb_courtyard_outline";
22887
+ pcb_component_id: string;
22888
+ layer: "top" | "bottom";
22889
+ outline: {
22890
+ x: number;
22891
+ y: number;
22892
+ }[];
22893
+ stroke_width: number;
22894
+ pcb_courtyard_outline_id: string;
22895
+ subcircuit_id?: string | undefined;
22896
+ pcb_group_id?: string | undefined;
22897
+ is_stroke_dashed?: boolean | undefined;
22898
+ color?: string | undefined;
22899
+ is_closed?: boolean | undefined;
22900
+ }, {
22901
+ type: "pcb_courtyard_outline";
22902
+ pcb_component_id: string;
22903
+ layer: "top" | "bottom";
22904
+ outline: {
22905
+ x: string | number;
22906
+ y: string | number;
22907
+ }[];
22908
+ subcircuit_id?: string | undefined;
22909
+ pcb_group_id?: string | undefined;
22910
+ stroke_width?: string | number | undefined;
22911
+ is_stroke_dashed?: boolean | undefined;
22912
+ color?: string | undefined;
22913
+ pcb_courtyard_outline_id?: string | undefined;
22914
+ is_closed?: boolean | undefined;
21977
22915
  }>, z.ZodObject<{
21978
22916
  type: z.ZodLiteral<"schematic_box">;
21979
22917
  schematic_component_id: z.ZodOptional<z.ZodString>;
@@ -23509,4 +24447,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
23509
24447
  */
23510
24448
  type CircuitJson = AnyCircuitElement[];
23511
24449
 
23512
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, 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 PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, 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 PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbSmtPadRotatedPill, 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 PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, 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 SchematicRect, type SchematicRectInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, 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 SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, 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_net, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, 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_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, 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_rect, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, 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_pinout, 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, source_trace_not_connected_error, supplier_name, time, timestamp, visible_layer, voltage, wave_shape };
24450
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCourtyardOutline, type PCBCourtyardRect, type PCBFabricationNotePath, type PCBFabricationNoteRect, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, 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 PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbSmtPadRotatedPill, 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 PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, 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 SchematicRect, type SchematicRectInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, 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 SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_courtyard_outline, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, 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_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, 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_rect, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, 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_pinout, 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, source_trace_not_connected_error, supplier_name, time, timestamp, visible_layer, voltage, wave_shape };