circuit-json 0.0.256 → 0.0.258
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 +84 -5
- package/dist/index.d.mts +626 -10
- package/dist/index.mjs +767 -699
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -720,6 +720,8 @@ interface PcbHolePillWithRectPad {
|
|
|
720
720
|
rect_pad_width: number;
|
|
721
721
|
rect_pad_height: number;
|
|
722
722
|
rect_border_radius?: number;
|
|
723
|
+
hole_offset_x: Distance;
|
|
724
|
+
hole_offset_y: Distance;
|
|
723
725
|
x: Distance;
|
|
724
726
|
y: Distance;
|
|
725
727
|
layers: LayerRef[];
|
|
@@ -742,6 +744,8 @@ interface PcbHoleRotatedPillWithRectPad {
|
|
|
742
744
|
rect_pad_height: number;
|
|
743
745
|
rect_border_radius?: number;
|
|
744
746
|
rect_ccw_rotation: Rotation;
|
|
747
|
+
hole_offset_x: Distance;
|
|
748
|
+
hole_offset_y: Distance;
|
|
745
749
|
x: Distance;
|
|
746
750
|
y: Distance;
|
|
747
751
|
layers: LayerRef[];
|
|
@@ -966,6 +970,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
966
970
|
rect_pad_width: z.ZodNumber;
|
|
967
971
|
rect_pad_height: z.ZodNumber;
|
|
968
972
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
973
|
+
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
974
|
+
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
969
975
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
970
976
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
971
977
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -994,6 +1000,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
994
1000
|
pad_shape: "rect";
|
|
995
1001
|
rect_pad_width: number;
|
|
996
1002
|
rect_pad_height: number;
|
|
1003
|
+
hole_offset_x: number;
|
|
1004
|
+
hole_offset_y: number;
|
|
997
1005
|
pcb_component_id?: string | undefined;
|
|
998
1006
|
subcircuit_id?: string | undefined;
|
|
999
1007
|
pcb_group_id?: string | undefined;
|
|
@@ -1021,6 +1029,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1021
1029
|
pcb_port_id?: string | undefined;
|
|
1022
1030
|
pcb_plated_hole_id?: string | undefined;
|
|
1023
1031
|
rect_border_radius?: number | undefined;
|
|
1032
|
+
hole_offset_x?: string | number | undefined;
|
|
1033
|
+
hole_offset_y?: string | number | undefined;
|
|
1024
1034
|
}>, z.ZodObject<{
|
|
1025
1035
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
1026
1036
|
shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
|
|
@@ -1035,6 +1045,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1035
1045
|
rect_pad_height: z.ZodNumber;
|
|
1036
1046
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1037
1047
|
rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1048
|
+
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1049
|
+
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1038
1050
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1039
1051
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1040
1052
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -1063,6 +1075,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1063
1075
|
pad_shape: "rect";
|
|
1064
1076
|
rect_pad_width: number;
|
|
1065
1077
|
rect_pad_height: number;
|
|
1078
|
+
hole_offset_x: number;
|
|
1079
|
+
hole_offset_y: number;
|
|
1066
1080
|
hole_ccw_rotation: number;
|
|
1067
1081
|
rect_ccw_rotation: number;
|
|
1068
1082
|
pcb_component_id?: string | undefined;
|
|
@@ -1094,6 +1108,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1094
1108
|
pcb_port_id?: string | undefined;
|
|
1095
1109
|
pcb_plated_hole_id?: string | undefined;
|
|
1096
1110
|
rect_border_radius?: number | undefined;
|
|
1111
|
+
hole_offset_x?: string | number | undefined;
|
|
1112
|
+
hole_offset_y?: string | number | undefined;
|
|
1097
1113
|
}>]>;
|
|
1098
1114
|
type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad | PcbHolePillWithRectPad | PcbHoleRotatedPillWithRectPad;
|
|
1099
1115
|
/**
|
|
@@ -5737,27 +5753,31 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5737
5753
|
}>;
|
|
5738
5754
|
type SchematicComponentInput = z.input<typeof schematic_component>;
|
|
5739
5755
|
|
|
5740
|
-
/**
|
|
5741
|
-
* Defines a line on the schematic, this can be used for adding arbitrary lines
|
|
5742
|
-
* to a schematic, but don't use it for drawing traces, schematic boxes or where
|
|
5743
|
-
* other schematic elements are more appropriate.
|
|
5744
|
-
*/
|
|
5756
|
+
/** Draws a styled line on the schematic */
|
|
5745
5757
|
interface SchematicLine {
|
|
5746
5758
|
type: "schematic_line";
|
|
5759
|
+
schematic_line_id: string;
|
|
5747
5760
|
schematic_component_id: string;
|
|
5748
5761
|
x1: number;
|
|
5749
|
-
x2: number;
|
|
5750
5762
|
y1: number;
|
|
5763
|
+
x2: number;
|
|
5751
5764
|
y2: number;
|
|
5765
|
+
stroke_width?: number | null;
|
|
5766
|
+
color: string;
|
|
5767
|
+
is_dashed: boolean;
|
|
5752
5768
|
subcircuit_id?: string;
|
|
5753
5769
|
}
|
|
5754
5770
|
declare const schematic_line: z.ZodObject<{
|
|
5755
5771
|
type: z.ZodLiteral<"schematic_line">;
|
|
5772
|
+
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5756
5773
|
schematic_component_id: z.ZodString;
|
|
5757
5774
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5758
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5759
5775
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5776
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5760
5777
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5778
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
5779
|
+
color: z.ZodDefault<z.ZodString>;
|
|
5780
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
5761
5781
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5762
5782
|
}, "strip", z.ZodTypeAny, {
|
|
5763
5783
|
type: "schematic_line";
|
|
@@ -5765,8 +5785,12 @@ declare const schematic_line: z.ZodObject<{
|
|
|
5765
5785
|
y1: number;
|
|
5766
5786
|
x2: number;
|
|
5767
5787
|
y2: number;
|
|
5788
|
+
color: string;
|
|
5768
5789
|
schematic_component_id: string;
|
|
5790
|
+
is_dashed: boolean;
|
|
5791
|
+
schematic_line_id: string;
|
|
5769
5792
|
subcircuit_id?: string | undefined;
|
|
5793
|
+
stroke_width?: number | null | undefined;
|
|
5770
5794
|
}, {
|
|
5771
5795
|
type: "schematic_line";
|
|
5772
5796
|
x1: string | number;
|
|
@@ -5775,9 +5799,229 @@ declare const schematic_line: z.ZodObject<{
|
|
|
5775
5799
|
y2: string | number;
|
|
5776
5800
|
schematic_component_id: string;
|
|
5777
5801
|
subcircuit_id?: string | undefined;
|
|
5802
|
+
stroke_width?: string | number | null | undefined;
|
|
5803
|
+
color?: string | undefined;
|
|
5804
|
+
is_dashed?: boolean | undefined;
|
|
5805
|
+
schematic_line_id?: string | undefined;
|
|
5778
5806
|
}>;
|
|
5779
5807
|
type SchematicLineInput = z.input<typeof schematic_line>;
|
|
5780
5808
|
|
|
5809
|
+
/** Draws a styled rectangle on the schematic */
|
|
5810
|
+
interface SchematicRect {
|
|
5811
|
+
type: "schematic_rect";
|
|
5812
|
+
schematic_rect_id: string;
|
|
5813
|
+
schematic_component_id: string;
|
|
5814
|
+
center: Point;
|
|
5815
|
+
width: number;
|
|
5816
|
+
height: number;
|
|
5817
|
+
rotation: number;
|
|
5818
|
+
stroke_width?: number | null;
|
|
5819
|
+
color: string;
|
|
5820
|
+
is_filled: boolean;
|
|
5821
|
+
fill_color?: string;
|
|
5822
|
+
is_dashed: boolean;
|
|
5823
|
+
subcircuit_id?: string;
|
|
5824
|
+
}
|
|
5825
|
+
declare const schematic_rect: z.ZodObject<{
|
|
5826
|
+
type: z.ZodLiteral<"schematic_rect">;
|
|
5827
|
+
schematic_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5828
|
+
schematic_component_id: z.ZodString;
|
|
5829
|
+
center: z.ZodObject<{
|
|
5830
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5831
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5832
|
+
}, "strip", z.ZodTypeAny, {
|
|
5833
|
+
x: number;
|
|
5834
|
+
y: number;
|
|
5835
|
+
}, {
|
|
5836
|
+
x: string | number;
|
|
5837
|
+
y: string | number;
|
|
5838
|
+
}>;
|
|
5839
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5840
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5841
|
+
rotation: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5842
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
5843
|
+
color: z.ZodDefault<z.ZodString>;
|
|
5844
|
+
is_filled: z.ZodDefault<z.ZodBoolean>;
|
|
5845
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
5846
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
5847
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5848
|
+
}, "strip", z.ZodTypeAny, {
|
|
5849
|
+
type: "schematic_rect";
|
|
5850
|
+
width: number;
|
|
5851
|
+
height: number;
|
|
5852
|
+
center: {
|
|
5853
|
+
x: number;
|
|
5854
|
+
y: number;
|
|
5855
|
+
};
|
|
5856
|
+
rotation: number;
|
|
5857
|
+
is_filled: boolean;
|
|
5858
|
+
color: string;
|
|
5859
|
+
schematic_component_id: string;
|
|
5860
|
+
is_dashed: boolean;
|
|
5861
|
+
schematic_rect_id: string;
|
|
5862
|
+
subcircuit_id?: string | undefined;
|
|
5863
|
+
stroke_width?: number | null | undefined;
|
|
5864
|
+
fill_color?: string | undefined;
|
|
5865
|
+
}, {
|
|
5866
|
+
type: "schematic_rect";
|
|
5867
|
+
width: string | number;
|
|
5868
|
+
height: string | number;
|
|
5869
|
+
center: {
|
|
5870
|
+
x: string | number;
|
|
5871
|
+
y: string | number;
|
|
5872
|
+
};
|
|
5873
|
+
schematic_component_id: string;
|
|
5874
|
+
rotation?: string | number | undefined;
|
|
5875
|
+
subcircuit_id?: string | undefined;
|
|
5876
|
+
stroke_width?: string | number | null | undefined;
|
|
5877
|
+
is_filled?: boolean | undefined;
|
|
5878
|
+
color?: string | undefined;
|
|
5879
|
+
is_dashed?: boolean | undefined;
|
|
5880
|
+
fill_color?: string | undefined;
|
|
5881
|
+
schematic_rect_id?: string | undefined;
|
|
5882
|
+
}>;
|
|
5883
|
+
type SchematicRectInput = z.input<typeof schematic_rect>;
|
|
5884
|
+
|
|
5885
|
+
/** Draws a styled circle on the schematic */
|
|
5886
|
+
interface SchematicCircle {
|
|
5887
|
+
type: "schematic_circle";
|
|
5888
|
+
schematic_circle_id: string;
|
|
5889
|
+
schematic_component_id: string;
|
|
5890
|
+
center: Point;
|
|
5891
|
+
radius: number;
|
|
5892
|
+
stroke_width?: number | null;
|
|
5893
|
+
color: string;
|
|
5894
|
+
is_filled: boolean;
|
|
5895
|
+
fill_color?: string;
|
|
5896
|
+
is_dashed: boolean;
|
|
5897
|
+
subcircuit_id?: string;
|
|
5898
|
+
}
|
|
5899
|
+
declare const schematic_circle: z.ZodObject<{
|
|
5900
|
+
type: z.ZodLiteral<"schematic_circle">;
|
|
5901
|
+
schematic_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5902
|
+
schematic_component_id: z.ZodString;
|
|
5903
|
+
center: z.ZodObject<{
|
|
5904
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5905
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5906
|
+
}, "strip", z.ZodTypeAny, {
|
|
5907
|
+
x: number;
|
|
5908
|
+
y: number;
|
|
5909
|
+
}, {
|
|
5910
|
+
x: string | number;
|
|
5911
|
+
y: string | number;
|
|
5912
|
+
}>;
|
|
5913
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5914
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
5915
|
+
color: z.ZodDefault<z.ZodString>;
|
|
5916
|
+
is_filled: z.ZodDefault<z.ZodBoolean>;
|
|
5917
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
5918
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
5919
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5920
|
+
}, "strip", z.ZodTypeAny, {
|
|
5921
|
+
type: "schematic_circle";
|
|
5922
|
+
center: {
|
|
5923
|
+
x: number;
|
|
5924
|
+
y: number;
|
|
5925
|
+
};
|
|
5926
|
+
radius: number;
|
|
5927
|
+
is_filled: boolean;
|
|
5928
|
+
color: string;
|
|
5929
|
+
schematic_component_id: string;
|
|
5930
|
+
is_dashed: boolean;
|
|
5931
|
+
schematic_circle_id: string;
|
|
5932
|
+
subcircuit_id?: string | undefined;
|
|
5933
|
+
stroke_width?: number | null | undefined;
|
|
5934
|
+
fill_color?: string | undefined;
|
|
5935
|
+
}, {
|
|
5936
|
+
type: "schematic_circle";
|
|
5937
|
+
center: {
|
|
5938
|
+
x: string | number;
|
|
5939
|
+
y: string | number;
|
|
5940
|
+
};
|
|
5941
|
+
radius: string | number;
|
|
5942
|
+
schematic_component_id: string;
|
|
5943
|
+
subcircuit_id?: string | undefined;
|
|
5944
|
+
stroke_width?: string | number | null | undefined;
|
|
5945
|
+
is_filled?: boolean | undefined;
|
|
5946
|
+
color?: string | undefined;
|
|
5947
|
+
is_dashed?: boolean | undefined;
|
|
5948
|
+
fill_color?: string | undefined;
|
|
5949
|
+
schematic_circle_id?: string | undefined;
|
|
5950
|
+
}>;
|
|
5951
|
+
type SchematicCircleInput = z.input<typeof schematic_circle>;
|
|
5952
|
+
|
|
5953
|
+
/** Draws a styled arc on the schematic */
|
|
5954
|
+
interface SchematicArc {
|
|
5955
|
+
type: "schematic_arc";
|
|
5956
|
+
schematic_arc_id: string;
|
|
5957
|
+
schematic_component_id: string;
|
|
5958
|
+
center: Point;
|
|
5959
|
+
radius: number;
|
|
5960
|
+
start_angle_degrees: number;
|
|
5961
|
+
end_angle_degrees: number;
|
|
5962
|
+
direction: "clockwise" | "counterclockwise";
|
|
5963
|
+
stroke_width?: number | null;
|
|
5964
|
+
color: string;
|
|
5965
|
+
is_dashed: boolean;
|
|
5966
|
+
subcircuit_id?: string;
|
|
5967
|
+
}
|
|
5968
|
+
declare const schematic_arc: z.ZodObject<{
|
|
5969
|
+
type: z.ZodLiteral<"schematic_arc">;
|
|
5970
|
+
schematic_arc_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5971
|
+
schematic_component_id: z.ZodString;
|
|
5972
|
+
center: z.ZodObject<{
|
|
5973
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5974
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5975
|
+
}, "strip", z.ZodTypeAny, {
|
|
5976
|
+
x: number;
|
|
5977
|
+
y: number;
|
|
5978
|
+
}, {
|
|
5979
|
+
x: string | number;
|
|
5980
|
+
y: string | number;
|
|
5981
|
+
}>;
|
|
5982
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5983
|
+
start_angle_degrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5984
|
+
end_angle_degrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5985
|
+
direction: z.ZodDefault<z.ZodEnum<["clockwise", "counterclockwise"]>>;
|
|
5986
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
5987
|
+
color: z.ZodDefault<z.ZodString>;
|
|
5988
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
5989
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5990
|
+
}, "strip", z.ZodTypeAny, {
|
|
5991
|
+
type: "schematic_arc";
|
|
5992
|
+
center: {
|
|
5993
|
+
x: number;
|
|
5994
|
+
y: number;
|
|
5995
|
+
};
|
|
5996
|
+
radius: number;
|
|
5997
|
+
color: string;
|
|
5998
|
+
schematic_component_id: string;
|
|
5999
|
+
is_dashed: boolean;
|
|
6000
|
+
direction: "clockwise" | "counterclockwise";
|
|
6001
|
+
schematic_arc_id: string;
|
|
6002
|
+
start_angle_degrees: number;
|
|
6003
|
+
end_angle_degrees: number;
|
|
6004
|
+
subcircuit_id?: string | undefined;
|
|
6005
|
+
stroke_width?: number | null | undefined;
|
|
6006
|
+
}, {
|
|
6007
|
+
type: "schematic_arc";
|
|
6008
|
+
center: {
|
|
6009
|
+
x: string | number;
|
|
6010
|
+
y: string | number;
|
|
6011
|
+
};
|
|
6012
|
+
radius: string | number;
|
|
6013
|
+
schematic_component_id: string;
|
|
6014
|
+
start_angle_degrees: string | number;
|
|
6015
|
+
end_angle_degrees: string | number;
|
|
6016
|
+
subcircuit_id?: string | undefined;
|
|
6017
|
+
stroke_width?: string | number | null | undefined;
|
|
6018
|
+
color?: string | undefined;
|
|
6019
|
+
is_dashed?: boolean | undefined;
|
|
6020
|
+
direction?: "clockwise" | "counterclockwise" | undefined;
|
|
6021
|
+
schematic_arc_id?: string | undefined;
|
|
6022
|
+
}>;
|
|
6023
|
+
type SchematicArcInput = z.input<typeof schematic_arc>;
|
|
6024
|
+
|
|
5781
6025
|
interface SchematicTraceEdge {
|
|
5782
6026
|
from: {
|
|
5783
6027
|
x: number;
|
|
@@ -12133,6 +12377,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12133
12377
|
rect_pad_width: z.ZodNumber;
|
|
12134
12378
|
rect_pad_height: z.ZodNumber;
|
|
12135
12379
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
12380
|
+
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12381
|
+
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12136
12382
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12137
12383
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12138
12384
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -12161,6 +12407,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12161
12407
|
pad_shape: "rect";
|
|
12162
12408
|
rect_pad_width: number;
|
|
12163
12409
|
rect_pad_height: number;
|
|
12410
|
+
hole_offset_x: number;
|
|
12411
|
+
hole_offset_y: number;
|
|
12164
12412
|
pcb_component_id?: string | undefined;
|
|
12165
12413
|
subcircuit_id?: string | undefined;
|
|
12166
12414
|
pcb_group_id?: string | undefined;
|
|
@@ -12188,6 +12436,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12188
12436
|
pcb_port_id?: string | undefined;
|
|
12189
12437
|
pcb_plated_hole_id?: string | undefined;
|
|
12190
12438
|
rect_border_radius?: number | undefined;
|
|
12439
|
+
hole_offset_x?: string | number | undefined;
|
|
12440
|
+
hole_offset_y?: string | number | undefined;
|
|
12191
12441
|
}>, z.ZodObject<{
|
|
12192
12442
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
12193
12443
|
shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
|
|
@@ -12202,6 +12452,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12202
12452
|
rect_pad_height: z.ZodNumber;
|
|
12203
12453
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
12204
12454
|
rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12455
|
+
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12456
|
+
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12205
12457
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12206
12458
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12207
12459
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -12230,6 +12482,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12230
12482
|
pad_shape: "rect";
|
|
12231
12483
|
rect_pad_width: number;
|
|
12232
12484
|
rect_pad_height: number;
|
|
12485
|
+
hole_offset_x: number;
|
|
12486
|
+
hole_offset_y: number;
|
|
12233
12487
|
hole_ccw_rotation: number;
|
|
12234
12488
|
rect_ccw_rotation: number;
|
|
12235
12489
|
pcb_component_id?: string | undefined;
|
|
@@ -12261,6 +12515,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12261
12515
|
pcb_port_id?: string | undefined;
|
|
12262
12516
|
pcb_plated_hole_id?: string | undefined;
|
|
12263
12517
|
rect_border_radius?: number | undefined;
|
|
12518
|
+
hole_offset_x?: string | number | undefined;
|
|
12519
|
+
hole_offset_y?: string | number | undefined;
|
|
12264
12520
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
12265
12521
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
12266
12522
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -14767,11 +15023,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14767
15023
|
schematic_component_id?: string | undefined;
|
|
14768
15024
|
}>, z.ZodObject<{
|
|
14769
15025
|
type: z.ZodLiteral<"schematic_line">;
|
|
15026
|
+
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14770
15027
|
schematic_component_id: z.ZodString;
|
|
14771
15028
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14772
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14773
15029
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15030
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14774
15031
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15032
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
15033
|
+
color: z.ZodDefault<z.ZodString>;
|
|
15034
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
14775
15035
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14776
15036
|
}, "strip", z.ZodTypeAny, {
|
|
14777
15037
|
type: "schematic_line";
|
|
@@ -14779,8 +15039,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14779
15039
|
y1: number;
|
|
14780
15040
|
x2: number;
|
|
14781
15041
|
y2: number;
|
|
15042
|
+
color: string;
|
|
14782
15043
|
schematic_component_id: string;
|
|
15044
|
+
is_dashed: boolean;
|
|
15045
|
+
schematic_line_id: string;
|
|
14783
15046
|
subcircuit_id?: string | undefined;
|
|
15047
|
+
stroke_width?: number | null | undefined;
|
|
14784
15048
|
}, {
|
|
14785
15049
|
type: "schematic_line";
|
|
14786
15050
|
x1: string | number;
|
|
@@ -14789,6 +15053,172 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14789
15053
|
y2: string | number;
|
|
14790
15054
|
schematic_component_id: string;
|
|
14791
15055
|
subcircuit_id?: string | undefined;
|
|
15056
|
+
stroke_width?: string | number | null | undefined;
|
|
15057
|
+
color?: string | undefined;
|
|
15058
|
+
is_dashed?: boolean | undefined;
|
|
15059
|
+
schematic_line_id?: string | undefined;
|
|
15060
|
+
}>, z.ZodObject<{
|
|
15061
|
+
type: z.ZodLiteral<"schematic_rect">;
|
|
15062
|
+
schematic_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15063
|
+
schematic_component_id: z.ZodString;
|
|
15064
|
+
center: z.ZodObject<{
|
|
15065
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15066
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15067
|
+
}, "strip", z.ZodTypeAny, {
|
|
15068
|
+
x: number;
|
|
15069
|
+
y: number;
|
|
15070
|
+
}, {
|
|
15071
|
+
x: string | number;
|
|
15072
|
+
y: string | number;
|
|
15073
|
+
}>;
|
|
15074
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15075
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15076
|
+
rotation: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15077
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
15078
|
+
color: z.ZodDefault<z.ZodString>;
|
|
15079
|
+
is_filled: z.ZodDefault<z.ZodBoolean>;
|
|
15080
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
15081
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
15082
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15083
|
+
}, "strip", z.ZodTypeAny, {
|
|
15084
|
+
type: "schematic_rect";
|
|
15085
|
+
width: number;
|
|
15086
|
+
height: number;
|
|
15087
|
+
center: {
|
|
15088
|
+
x: number;
|
|
15089
|
+
y: number;
|
|
15090
|
+
};
|
|
15091
|
+
rotation: number;
|
|
15092
|
+
is_filled: boolean;
|
|
15093
|
+
color: string;
|
|
15094
|
+
schematic_component_id: string;
|
|
15095
|
+
is_dashed: boolean;
|
|
15096
|
+
schematic_rect_id: string;
|
|
15097
|
+
subcircuit_id?: string | undefined;
|
|
15098
|
+
stroke_width?: number | null | undefined;
|
|
15099
|
+
fill_color?: string | undefined;
|
|
15100
|
+
}, {
|
|
15101
|
+
type: "schematic_rect";
|
|
15102
|
+
width: string | number;
|
|
15103
|
+
height: string | number;
|
|
15104
|
+
center: {
|
|
15105
|
+
x: string | number;
|
|
15106
|
+
y: string | number;
|
|
15107
|
+
};
|
|
15108
|
+
schematic_component_id: string;
|
|
15109
|
+
rotation?: string | number | undefined;
|
|
15110
|
+
subcircuit_id?: string | undefined;
|
|
15111
|
+
stroke_width?: string | number | null | undefined;
|
|
15112
|
+
is_filled?: boolean | undefined;
|
|
15113
|
+
color?: string | undefined;
|
|
15114
|
+
is_dashed?: boolean | undefined;
|
|
15115
|
+
fill_color?: string | undefined;
|
|
15116
|
+
schematic_rect_id?: string | undefined;
|
|
15117
|
+
}>, z.ZodObject<{
|
|
15118
|
+
type: z.ZodLiteral<"schematic_circle">;
|
|
15119
|
+
schematic_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15120
|
+
schematic_component_id: z.ZodString;
|
|
15121
|
+
center: z.ZodObject<{
|
|
15122
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15123
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15124
|
+
}, "strip", z.ZodTypeAny, {
|
|
15125
|
+
x: number;
|
|
15126
|
+
y: number;
|
|
15127
|
+
}, {
|
|
15128
|
+
x: string | number;
|
|
15129
|
+
y: string | number;
|
|
15130
|
+
}>;
|
|
15131
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15132
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
15133
|
+
color: z.ZodDefault<z.ZodString>;
|
|
15134
|
+
is_filled: z.ZodDefault<z.ZodBoolean>;
|
|
15135
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
15136
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
15137
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15138
|
+
}, "strip", z.ZodTypeAny, {
|
|
15139
|
+
type: "schematic_circle";
|
|
15140
|
+
center: {
|
|
15141
|
+
x: number;
|
|
15142
|
+
y: number;
|
|
15143
|
+
};
|
|
15144
|
+
radius: number;
|
|
15145
|
+
is_filled: boolean;
|
|
15146
|
+
color: string;
|
|
15147
|
+
schematic_component_id: string;
|
|
15148
|
+
is_dashed: boolean;
|
|
15149
|
+
schematic_circle_id: string;
|
|
15150
|
+
subcircuit_id?: string | undefined;
|
|
15151
|
+
stroke_width?: number | null | undefined;
|
|
15152
|
+
fill_color?: string | undefined;
|
|
15153
|
+
}, {
|
|
15154
|
+
type: "schematic_circle";
|
|
15155
|
+
center: {
|
|
15156
|
+
x: string | number;
|
|
15157
|
+
y: string | number;
|
|
15158
|
+
};
|
|
15159
|
+
radius: string | number;
|
|
15160
|
+
schematic_component_id: string;
|
|
15161
|
+
subcircuit_id?: string | undefined;
|
|
15162
|
+
stroke_width?: string | number | null | undefined;
|
|
15163
|
+
is_filled?: boolean | undefined;
|
|
15164
|
+
color?: string | undefined;
|
|
15165
|
+
is_dashed?: boolean | undefined;
|
|
15166
|
+
fill_color?: string | undefined;
|
|
15167
|
+
schematic_circle_id?: string | undefined;
|
|
15168
|
+
}>, z.ZodObject<{
|
|
15169
|
+
type: z.ZodLiteral<"schematic_arc">;
|
|
15170
|
+
schematic_arc_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15171
|
+
schematic_component_id: z.ZodString;
|
|
15172
|
+
center: z.ZodObject<{
|
|
15173
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15174
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15175
|
+
}, "strip", z.ZodTypeAny, {
|
|
15176
|
+
x: number;
|
|
15177
|
+
y: number;
|
|
15178
|
+
}, {
|
|
15179
|
+
x: string | number;
|
|
15180
|
+
y: string | number;
|
|
15181
|
+
}>;
|
|
15182
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15183
|
+
start_angle_degrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15184
|
+
end_angle_degrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15185
|
+
direction: z.ZodDefault<z.ZodEnum<["clockwise", "counterclockwise"]>>;
|
|
15186
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
15187
|
+
color: z.ZodDefault<z.ZodString>;
|
|
15188
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
15189
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15190
|
+
}, "strip", z.ZodTypeAny, {
|
|
15191
|
+
type: "schematic_arc";
|
|
15192
|
+
center: {
|
|
15193
|
+
x: number;
|
|
15194
|
+
y: number;
|
|
15195
|
+
};
|
|
15196
|
+
radius: number;
|
|
15197
|
+
color: string;
|
|
15198
|
+
schematic_component_id: string;
|
|
15199
|
+
is_dashed: boolean;
|
|
15200
|
+
direction: "clockwise" | "counterclockwise";
|
|
15201
|
+
schematic_arc_id: string;
|
|
15202
|
+
start_angle_degrees: number;
|
|
15203
|
+
end_angle_degrees: number;
|
|
15204
|
+
subcircuit_id?: string | undefined;
|
|
15205
|
+
stroke_width?: number | null | undefined;
|
|
15206
|
+
}, {
|
|
15207
|
+
type: "schematic_arc";
|
|
15208
|
+
center: {
|
|
15209
|
+
x: string | number;
|
|
15210
|
+
y: string | number;
|
|
15211
|
+
};
|
|
15212
|
+
radius: string | number;
|
|
15213
|
+
schematic_component_id: string;
|
|
15214
|
+
start_angle_degrees: string | number;
|
|
15215
|
+
end_angle_degrees: string | number;
|
|
15216
|
+
subcircuit_id?: string | undefined;
|
|
15217
|
+
stroke_width?: string | number | null | undefined;
|
|
15218
|
+
color?: string | undefined;
|
|
15219
|
+
is_dashed?: boolean | undefined;
|
|
15220
|
+
direction?: "clockwise" | "counterclockwise" | undefined;
|
|
15221
|
+
schematic_arc_id?: string | undefined;
|
|
14792
15222
|
}>, z.ZodObject<{
|
|
14793
15223
|
type: z.ZodLiteral<"schematic_component">;
|
|
14794
15224
|
size: z.ZodObject<{
|
|
@@ -18267,6 +18697,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18267
18697
|
rect_pad_width: z.ZodNumber;
|
|
18268
18698
|
rect_pad_height: z.ZodNumber;
|
|
18269
18699
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18700
|
+
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18701
|
+
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18270
18702
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18271
18703
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18272
18704
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -18295,6 +18727,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18295
18727
|
pad_shape: "rect";
|
|
18296
18728
|
rect_pad_width: number;
|
|
18297
18729
|
rect_pad_height: number;
|
|
18730
|
+
hole_offset_x: number;
|
|
18731
|
+
hole_offset_y: number;
|
|
18298
18732
|
pcb_component_id?: string | undefined;
|
|
18299
18733
|
subcircuit_id?: string | undefined;
|
|
18300
18734
|
pcb_group_id?: string | undefined;
|
|
@@ -18322,6 +18756,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18322
18756
|
pcb_port_id?: string | undefined;
|
|
18323
18757
|
pcb_plated_hole_id?: string | undefined;
|
|
18324
18758
|
rect_border_radius?: number | undefined;
|
|
18759
|
+
hole_offset_x?: string | number | undefined;
|
|
18760
|
+
hole_offset_y?: string | number | undefined;
|
|
18325
18761
|
}>, z.ZodObject<{
|
|
18326
18762
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
18327
18763
|
shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
|
|
@@ -18336,6 +18772,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18336
18772
|
rect_pad_height: z.ZodNumber;
|
|
18337
18773
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18338
18774
|
rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18775
|
+
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18776
|
+
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18339
18777
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18340
18778
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18341
18779
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -18364,6 +18802,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18364
18802
|
pad_shape: "rect";
|
|
18365
18803
|
rect_pad_width: number;
|
|
18366
18804
|
rect_pad_height: number;
|
|
18805
|
+
hole_offset_x: number;
|
|
18806
|
+
hole_offset_y: number;
|
|
18367
18807
|
hole_ccw_rotation: number;
|
|
18368
18808
|
rect_ccw_rotation: number;
|
|
18369
18809
|
pcb_component_id?: string | undefined;
|
|
@@ -18395,6 +18835,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18395
18835
|
pcb_port_id?: string | undefined;
|
|
18396
18836
|
pcb_plated_hole_id?: string | undefined;
|
|
18397
18837
|
rect_border_radius?: number | undefined;
|
|
18838
|
+
hole_offset_x?: string | number | undefined;
|
|
18839
|
+
hole_offset_y?: string | number | undefined;
|
|
18398
18840
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
18399
18841
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
18400
18842
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -20901,11 +21343,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20901
21343
|
schematic_component_id?: string | undefined;
|
|
20902
21344
|
}>, z.ZodObject<{
|
|
20903
21345
|
type: z.ZodLiteral<"schematic_line">;
|
|
21346
|
+
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20904
21347
|
schematic_component_id: z.ZodString;
|
|
20905
21348
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20906
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20907
21349
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21350
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20908
21351
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21352
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
21353
|
+
color: z.ZodDefault<z.ZodString>;
|
|
21354
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
20909
21355
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
20910
21356
|
}, "strip", z.ZodTypeAny, {
|
|
20911
21357
|
type: "schematic_line";
|
|
@@ -20913,8 +21359,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20913
21359
|
y1: number;
|
|
20914
21360
|
x2: number;
|
|
20915
21361
|
y2: number;
|
|
21362
|
+
color: string;
|
|
20916
21363
|
schematic_component_id: string;
|
|
21364
|
+
is_dashed: boolean;
|
|
21365
|
+
schematic_line_id: string;
|
|
20917
21366
|
subcircuit_id?: string | undefined;
|
|
21367
|
+
stroke_width?: number | null | undefined;
|
|
20918
21368
|
}, {
|
|
20919
21369
|
type: "schematic_line";
|
|
20920
21370
|
x1: string | number;
|
|
@@ -20923,6 +21373,172 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20923
21373
|
y2: string | number;
|
|
20924
21374
|
schematic_component_id: string;
|
|
20925
21375
|
subcircuit_id?: string | undefined;
|
|
21376
|
+
stroke_width?: string | number | null | undefined;
|
|
21377
|
+
color?: string | undefined;
|
|
21378
|
+
is_dashed?: boolean | undefined;
|
|
21379
|
+
schematic_line_id?: string | undefined;
|
|
21380
|
+
}>, z.ZodObject<{
|
|
21381
|
+
type: z.ZodLiteral<"schematic_rect">;
|
|
21382
|
+
schematic_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21383
|
+
schematic_component_id: z.ZodString;
|
|
21384
|
+
center: z.ZodObject<{
|
|
21385
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21386
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21387
|
+
}, "strip", z.ZodTypeAny, {
|
|
21388
|
+
x: number;
|
|
21389
|
+
y: number;
|
|
21390
|
+
}, {
|
|
21391
|
+
x: string | number;
|
|
21392
|
+
y: string | number;
|
|
21393
|
+
}>;
|
|
21394
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21395
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21396
|
+
rotation: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21397
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
21398
|
+
color: z.ZodDefault<z.ZodString>;
|
|
21399
|
+
is_filled: z.ZodDefault<z.ZodBoolean>;
|
|
21400
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
21401
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
21402
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
21403
|
+
}, "strip", z.ZodTypeAny, {
|
|
21404
|
+
type: "schematic_rect";
|
|
21405
|
+
width: number;
|
|
21406
|
+
height: number;
|
|
21407
|
+
center: {
|
|
21408
|
+
x: number;
|
|
21409
|
+
y: number;
|
|
21410
|
+
};
|
|
21411
|
+
rotation: number;
|
|
21412
|
+
is_filled: boolean;
|
|
21413
|
+
color: string;
|
|
21414
|
+
schematic_component_id: string;
|
|
21415
|
+
is_dashed: boolean;
|
|
21416
|
+
schematic_rect_id: string;
|
|
21417
|
+
subcircuit_id?: string | undefined;
|
|
21418
|
+
stroke_width?: number | null | undefined;
|
|
21419
|
+
fill_color?: string | undefined;
|
|
21420
|
+
}, {
|
|
21421
|
+
type: "schematic_rect";
|
|
21422
|
+
width: string | number;
|
|
21423
|
+
height: string | number;
|
|
21424
|
+
center: {
|
|
21425
|
+
x: string | number;
|
|
21426
|
+
y: string | number;
|
|
21427
|
+
};
|
|
21428
|
+
schematic_component_id: string;
|
|
21429
|
+
rotation?: string | number | undefined;
|
|
21430
|
+
subcircuit_id?: string | undefined;
|
|
21431
|
+
stroke_width?: string | number | null | undefined;
|
|
21432
|
+
is_filled?: boolean | undefined;
|
|
21433
|
+
color?: string | undefined;
|
|
21434
|
+
is_dashed?: boolean | undefined;
|
|
21435
|
+
fill_color?: string | undefined;
|
|
21436
|
+
schematic_rect_id?: string | undefined;
|
|
21437
|
+
}>, z.ZodObject<{
|
|
21438
|
+
type: z.ZodLiteral<"schematic_circle">;
|
|
21439
|
+
schematic_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21440
|
+
schematic_component_id: z.ZodString;
|
|
21441
|
+
center: z.ZodObject<{
|
|
21442
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21443
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21444
|
+
}, "strip", z.ZodTypeAny, {
|
|
21445
|
+
x: number;
|
|
21446
|
+
y: number;
|
|
21447
|
+
}, {
|
|
21448
|
+
x: string | number;
|
|
21449
|
+
y: string | number;
|
|
21450
|
+
}>;
|
|
21451
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21452
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
21453
|
+
color: z.ZodDefault<z.ZodString>;
|
|
21454
|
+
is_filled: z.ZodDefault<z.ZodBoolean>;
|
|
21455
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
21456
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
21457
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
21458
|
+
}, "strip", z.ZodTypeAny, {
|
|
21459
|
+
type: "schematic_circle";
|
|
21460
|
+
center: {
|
|
21461
|
+
x: number;
|
|
21462
|
+
y: number;
|
|
21463
|
+
};
|
|
21464
|
+
radius: number;
|
|
21465
|
+
is_filled: boolean;
|
|
21466
|
+
color: string;
|
|
21467
|
+
schematic_component_id: string;
|
|
21468
|
+
is_dashed: boolean;
|
|
21469
|
+
schematic_circle_id: string;
|
|
21470
|
+
subcircuit_id?: string | undefined;
|
|
21471
|
+
stroke_width?: number | null | undefined;
|
|
21472
|
+
fill_color?: string | undefined;
|
|
21473
|
+
}, {
|
|
21474
|
+
type: "schematic_circle";
|
|
21475
|
+
center: {
|
|
21476
|
+
x: string | number;
|
|
21477
|
+
y: string | number;
|
|
21478
|
+
};
|
|
21479
|
+
radius: string | number;
|
|
21480
|
+
schematic_component_id: string;
|
|
21481
|
+
subcircuit_id?: string | undefined;
|
|
21482
|
+
stroke_width?: string | number | null | undefined;
|
|
21483
|
+
is_filled?: boolean | undefined;
|
|
21484
|
+
color?: string | undefined;
|
|
21485
|
+
is_dashed?: boolean | undefined;
|
|
21486
|
+
fill_color?: string | undefined;
|
|
21487
|
+
schematic_circle_id?: string | undefined;
|
|
21488
|
+
}>, z.ZodObject<{
|
|
21489
|
+
type: z.ZodLiteral<"schematic_arc">;
|
|
21490
|
+
schematic_arc_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21491
|
+
schematic_component_id: z.ZodString;
|
|
21492
|
+
center: z.ZodObject<{
|
|
21493
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21494
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21495
|
+
}, "strip", z.ZodTypeAny, {
|
|
21496
|
+
x: number;
|
|
21497
|
+
y: number;
|
|
21498
|
+
}, {
|
|
21499
|
+
x: string | number;
|
|
21500
|
+
y: string | number;
|
|
21501
|
+
}>;
|
|
21502
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21503
|
+
start_angle_degrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21504
|
+
end_angle_degrees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21505
|
+
direction: z.ZodDefault<z.ZodEnum<["clockwise", "counterclockwise"]>>;
|
|
21506
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
21507
|
+
color: z.ZodDefault<z.ZodString>;
|
|
21508
|
+
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
21509
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
21510
|
+
}, "strip", z.ZodTypeAny, {
|
|
21511
|
+
type: "schematic_arc";
|
|
21512
|
+
center: {
|
|
21513
|
+
x: number;
|
|
21514
|
+
y: number;
|
|
21515
|
+
};
|
|
21516
|
+
radius: number;
|
|
21517
|
+
color: string;
|
|
21518
|
+
schematic_component_id: string;
|
|
21519
|
+
is_dashed: boolean;
|
|
21520
|
+
direction: "clockwise" | "counterclockwise";
|
|
21521
|
+
schematic_arc_id: string;
|
|
21522
|
+
start_angle_degrees: number;
|
|
21523
|
+
end_angle_degrees: number;
|
|
21524
|
+
subcircuit_id?: string | undefined;
|
|
21525
|
+
stroke_width?: number | null | undefined;
|
|
21526
|
+
}, {
|
|
21527
|
+
type: "schematic_arc";
|
|
21528
|
+
center: {
|
|
21529
|
+
x: string | number;
|
|
21530
|
+
y: string | number;
|
|
21531
|
+
};
|
|
21532
|
+
radius: string | number;
|
|
21533
|
+
schematic_component_id: string;
|
|
21534
|
+
start_angle_degrees: string | number;
|
|
21535
|
+
end_angle_degrees: string | number;
|
|
21536
|
+
subcircuit_id?: string | undefined;
|
|
21537
|
+
stroke_width?: string | number | null | undefined;
|
|
21538
|
+
color?: string | undefined;
|
|
21539
|
+
is_dashed?: boolean | undefined;
|
|
21540
|
+
direction?: "clockwise" | "counterclockwise" | undefined;
|
|
21541
|
+
schematic_arc_id?: string | undefined;
|
|
20926
21542
|
}>, z.ZodObject<{
|
|
20927
21543
|
type: z.ZodLiteral<"schematic_component">;
|
|
20928
21544
|
size: z.ZodObject<{
|
|
@@ -22066,4 +22682,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
22066
22682
|
*/
|
|
22067
22683
|
type CircuitJson = AnyCircuitElement[];
|
|
22068
22684
|
|
|
22069
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, 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 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 PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, 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 SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, 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, current, distance, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, 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_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, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, 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, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, 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, visible_layer, voltage, wave_shape };
|
|
22685
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, 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 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 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 SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, 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, current, distance, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, 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_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, 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_voltage_source, size, 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, visible_layer, voltage, wave_shape };
|