circuit-json 0.0.257 → 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 +80 -5
- package/dist/index.d.mts +586 -10
- package/dist/index.mjs +763 -699
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5753,27 +5753,31 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5753
5753
|
}>;
|
|
5754
5754
|
type SchematicComponentInput = z.input<typeof schematic_component>;
|
|
5755
5755
|
|
|
5756
|
-
/**
|
|
5757
|
-
* Defines a line on the schematic, this can be used for adding arbitrary lines
|
|
5758
|
-
* to a schematic, but don't use it for drawing traces, schematic boxes or where
|
|
5759
|
-
* other schematic elements are more appropriate.
|
|
5760
|
-
*/
|
|
5756
|
+
/** Draws a styled line on the schematic */
|
|
5761
5757
|
interface SchematicLine {
|
|
5762
5758
|
type: "schematic_line";
|
|
5759
|
+
schematic_line_id: string;
|
|
5763
5760
|
schematic_component_id: string;
|
|
5764
5761
|
x1: number;
|
|
5765
|
-
x2: number;
|
|
5766
5762
|
y1: number;
|
|
5763
|
+
x2: number;
|
|
5767
5764
|
y2: number;
|
|
5765
|
+
stroke_width?: number | null;
|
|
5766
|
+
color: string;
|
|
5767
|
+
is_dashed: boolean;
|
|
5768
5768
|
subcircuit_id?: string;
|
|
5769
5769
|
}
|
|
5770
5770
|
declare const schematic_line: z.ZodObject<{
|
|
5771
5771
|
type: z.ZodLiteral<"schematic_line">;
|
|
5772
|
+
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5772
5773
|
schematic_component_id: z.ZodString;
|
|
5773
5774
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5774
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5775
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>;
|
|
5776
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>;
|
|
5777
5781
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5778
5782
|
}, "strip", z.ZodTypeAny, {
|
|
5779
5783
|
type: "schematic_line";
|
|
@@ -5781,8 +5785,12 @@ declare const schematic_line: z.ZodObject<{
|
|
|
5781
5785
|
y1: number;
|
|
5782
5786
|
x2: number;
|
|
5783
5787
|
y2: number;
|
|
5788
|
+
color: string;
|
|
5784
5789
|
schematic_component_id: string;
|
|
5790
|
+
is_dashed: boolean;
|
|
5791
|
+
schematic_line_id: string;
|
|
5785
5792
|
subcircuit_id?: string | undefined;
|
|
5793
|
+
stroke_width?: number | null | undefined;
|
|
5786
5794
|
}, {
|
|
5787
5795
|
type: "schematic_line";
|
|
5788
5796
|
x1: string | number;
|
|
@@ -5791,9 +5799,229 @@ declare const schematic_line: z.ZodObject<{
|
|
|
5791
5799
|
y2: string | number;
|
|
5792
5800
|
schematic_component_id: string;
|
|
5793
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;
|
|
5794
5806
|
}>;
|
|
5795
5807
|
type SchematicLineInput = z.input<typeof schematic_line>;
|
|
5796
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
|
+
|
|
5797
6025
|
interface SchematicTraceEdge {
|
|
5798
6026
|
from: {
|
|
5799
6027
|
x: number;
|
|
@@ -14795,11 +15023,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14795
15023
|
schematic_component_id?: string | undefined;
|
|
14796
15024
|
}>, z.ZodObject<{
|
|
14797
15025
|
type: z.ZodLiteral<"schematic_line">;
|
|
15026
|
+
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14798
15027
|
schematic_component_id: z.ZodString;
|
|
14799
15028
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14800
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14801
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>;
|
|
14802
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>;
|
|
14803
15035
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14804
15036
|
}, "strip", z.ZodTypeAny, {
|
|
14805
15037
|
type: "schematic_line";
|
|
@@ -14807,8 +15039,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14807
15039
|
y1: number;
|
|
14808
15040
|
x2: number;
|
|
14809
15041
|
y2: number;
|
|
15042
|
+
color: string;
|
|
14810
15043
|
schematic_component_id: string;
|
|
15044
|
+
is_dashed: boolean;
|
|
15045
|
+
schematic_line_id: string;
|
|
14811
15046
|
subcircuit_id?: string | undefined;
|
|
15047
|
+
stroke_width?: number | null | undefined;
|
|
14812
15048
|
}, {
|
|
14813
15049
|
type: "schematic_line";
|
|
14814
15050
|
x1: string | number;
|
|
@@ -14817,6 +15053,172 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14817
15053
|
y2: string | number;
|
|
14818
15054
|
schematic_component_id: string;
|
|
14819
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;
|
|
14820
15222
|
}>, z.ZodObject<{
|
|
14821
15223
|
type: z.ZodLiteral<"schematic_component">;
|
|
14822
15224
|
size: z.ZodObject<{
|
|
@@ -20941,11 +21343,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20941
21343
|
schematic_component_id?: string | undefined;
|
|
20942
21344
|
}>, z.ZodObject<{
|
|
20943
21345
|
type: z.ZodLiteral<"schematic_line">;
|
|
21346
|
+
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20944
21347
|
schematic_component_id: z.ZodString;
|
|
20945
21348
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20946
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20947
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>;
|
|
20948
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>;
|
|
20949
21355
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
20950
21356
|
}, "strip", z.ZodTypeAny, {
|
|
20951
21357
|
type: "schematic_line";
|
|
@@ -20953,8 +21359,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20953
21359
|
y1: number;
|
|
20954
21360
|
x2: number;
|
|
20955
21361
|
y2: number;
|
|
21362
|
+
color: string;
|
|
20956
21363
|
schematic_component_id: string;
|
|
21364
|
+
is_dashed: boolean;
|
|
21365
|
+
schematic_line_id: string;
|
|
20957
21366
|
subcircuit_id?: string | undefined;
|
|
21367
|
+
stroke_width?: number | null | undefined;
|
|
20958
21368
|
}, {
|
|
20959
21369
|
type: "schematic_line";
|
|
20960
21370
|
x1: string | number;
|
|
@@ -20963,6 +21373,172 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20963
21373
|
y2: string | number;
|
|
20964
21374
|
schematic_component_id: string;
|
|
20965
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;
|
|
20966
21542
|
}>, z.ZodObject<{
|
|
20967
21543
|
type: z.ZodLiteral<"schematic_component">;
|
|
20968
21544
|
size: z.ZodObject<{
|
|
@@ -22106,4 +22682,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
22106
22682
|
*/
|
|
22107
22683
|
type CircuitJson = AnyCircuitElement[];
|
|
22108
22684
|
|
|
22109
|
-
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 };
|