circuit-json 0.0.206 → 0.0.208
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 +116 -0
- package/dist/index.d.mts +521 -238
- package/dist/index.mjs +222 -152
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -42,10 +42,16 @@ declare const position: z.ZodObject<{
|
|
|
42
42
|
x: string | number;
|
|
43
43
|
y: string | number;
|
|
44
44
|
}>;
|
|
45
|
-
type Point = z.infer<typeof point>;
|
|
46
45
|
type InputPoint = z.input<typeof point>;
|
|
47
46
|
type InputPosition = z.input<typeof position>;
|
|
48
|
-
|
|
47
|
+
interface Point {
|
|
48
|
+
x: number;
|
|
49
|
+
y: number;
|
|
50
|
+
}
|
|
51
|
+
interface Position {
|
|
52
|
+
x: number;
|
|
53
|
+
y: number;
|
|
54
|
+
}
|
|
49
55
|
|
|
50
56
|
declare const point3: z.ZodObject<{
|
|
51
57
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -73,7 +79,11 @@ declare const position3: z.ZodObject<{
|
|
|
73
79
|
y: string | number;
|
|
74
80
|
z: string | number;
|
|
75
81
|
}>;
|
|
76
|
-
|
|
82
|
+
interface Point3 {
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
z: number;
|
|
86
|
+
}
|
|
77
87
|
|
|
78
88
|
declare const size: z.ZodObject<{
|
|
79
89
|
width: z.ZodNumber;
|
|
@@ -85,7 +95,11 @@ declare const size: z.ZodObject<{
|
|
|
85
95
|
width: number;
|
|
86
96
|
height: number;
|
|
87
97
|
}>;
|
|
88
|
-
type
|
|
98
|
+
type SizeInput = z.input<typeof size>;
|
|
99
|
+
interface Size {
|
|
100
|
+
width: number;
|
|
101
|
+
height: number;
|
|
102
|
+
}
|
|
89
103
|
|
|
90
104
|
/**
|
|
91
105
|
* Use this for primary keys for any circuit element
|
|
@@ -104,7 +118,7 @@ declare const layer_ref: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "i
|
|
|
104
118
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
105
119
|
}>;
|
|
106
120
|
type LayerRefInput = z.input<typeof layer_ref>;
|
|
107
|
-
type LayerRef =
|
|
121
|
+
type LayerRef = (typeof all_layers)[number];
|
|
108
122
|
declare const visible_layer: z.ZodEnum<["top", "bottom"]>;
|
|
109
123
|
type VisibleLayerRef = z.infer<typeof visible_layer>;
|
|
110
124
|
type VisibleLayer = z.infer<typeof visible_layer>;
|
|
@@ -163,11 +177,16 @@ declare const pcb_route_hints: z.ZodArray<z.ZodObject<{
|
|
|
163
177
|
}>, "many">;
|
|
164
178
|
type PcbRouteHintInput = z.input<typeof pcb_route_hint>;
|
|
165
179
|
type PcbRouteHintsInput = z.input<typeof pcb_route_hints>;
|
|
166
|
-
|
|
167
|
-
|
|
180
|
+
interface PcbRouteHint {
|
|
181
|
+
x: number;
|
|
182
|
+
y: number;
|
|
183
|
+
via?: boolean;
|
|
184
|
+
via_to_layer?: LayerRef;
|
|
185
|
+
}
|
|
186
|
+
type PcbRouteHints = PcbRouteHint[];
|
|
168
187
|
|
|
169
188
|
declare const supplier_name: z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>;
|
|
170
|
-
type SupplierName =
|
|
189
|
+
type SupplierName = "jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc";
|
|
171
190
|
|
|
172
191
|
declare const route_hint_point: z.ZodObject<{
|
|
173
192
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -198,8 +217,14 @@ declare const route_hint_point: z.ZodObject<{
|
|
|
198
217
|
} | undefined;
|
|
199
218
|
trace_width?: string | number | undefined;
|
|
200
219
|
}>;
|
|
201
|
-
type RouteHintPoint = z.infer<typeof route_hint_point>;
|
|
202
220
|
type RouteHintPointInput = z.input<typeof route_hint_point>;
|
|
221
|
+
interface RouteHintPoint {
|
|
222
|
+
x: number;
|
|
223
|
+
y: number;
|
|
224
|
+
via?: boolean;
|
|
225
|
+
to_layer?: LayerRef;
|
|
226
|
+
trace_width?: number;
|
|
227
|
+
}
|
|
203
228
|
|
|
204
229
|
declare const pcb_component: z.ZodObject<{
|
|
205
230
|
type: z.ZodLiteral<"pcb_component">;
|
|
@@ -3101,7 +3126,30 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
3101
3126
|
pcb_group_id?: string | undefined;
|
|
3102
3127
|
}>]>;
|
|
3103
3128
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
3104
|
-
|
|
3129
|
+
interface PCBKeepoutRect {
|
|
3130
|
+
type: "pcb_keepout";
|
|
3131
|
+
shape: "rect";
|
|
3132
|
+
pcb_group_id?: string;
|
|
3133
|
+
subcircuit_id?: string;
|
|
3134
|
+
center: Point;
|
|
3135
|
+
width: number;
|
|
3136
|
+
height: number;
|
|
3137
|
+
pcb_keepout_id: string;
|
|
3138
|
+
layers: string[];
|
|
3139
|
+
description?: string;
|
|
3140
|
+
}
|
|
3141
|
+
interface PCBKeepoutCircle {
|
|
3142
|
+
type: "pcb_keepout";
|
|
3143
|
+
shape: "circle";
|
|
3144
|
+
pcb_group_id?: string;
|
|
3145
|
+
subcircuit_id?: string;
|
|
3146
|
+
center: Point;
|
|
3147
|
+
radius: number;
|
|
3148
|
+
pcb_keepout_id: string;
|
|
3149
|
+
layers: string[];
|
|
3150
|
+
description?: string;
|
|
3151
|
+
}
|
|
3152
|
+
type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle;
|
|
3105
3153
|
|
|
3106
3154
|
declare const pcb_cutout_rect: z.ZodObject<{
|
|
3107
3155
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
@@ -3472,8 +3520,8 @@ declare const pcb_group: z.ZodObject<{
|
|
|
3472
3520
|
pcb_group_id: string;
|
|
3473
3521
|
pcb_component_ids: string[];
|
|
3474
3522
|
source_group_id: string;
|
|
3475
|
-
name?: string | undefined;
|
|
3476
3523
|
description?: string | undefined;
|
|
3524
|
+
name?: string | undefined;
|
|
3477
3525
|
subcircuit_id?: string | undefined;
|
|
3478
3526
|
is_subcircuit?: boolean | undefined;
|
|
3479
3527
|
}, {
|
|
@@ -3486,8 +3534,8 @@ declare const pcb_group: z.ZodObject<{
|
|
|
3486
3534
|
};
|
|
3487
3535
|
pcb_component_ids: string[];
|
|
3488
3536
|
source_group_id: string;
|
|
3489
|
-
name?: string | undefined;
|
|
3490
3537
|
description?: string | undefined;
|
|
3538
|
+
name?: string | undefined;
|
|
3491
3539
|
subcircuit_id?: string | undefined;
|
|
3492
3540
|
pcb_group_id?: string | undefined;
|
|
3493
3541
|
is_subcircuit?: boolean | undefined;
|
|
@@ -3625,7 +3673,153 @@ interface PcbBreakoutPoint {
|
|
|
3625
3673
|
y: Distance;
|
|
3626
3674
|
}
|
|
3627
3675
|
|
|
3628
|
-
|
|
3676
|
+
declare const pcb_ground_plane: z.ZodObject<{
|
|
3677
|
+
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
3678
|
+
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3679
|
+
source_pcb_ground_plane_id: z.ZodString;
|
|
3680
|
+
source_net_id: z.ZodString;
|
|
3681
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
}, "strip", z.ZodTypeAny, {
|
|
3684
|
+
type: "pcb_ground_plane";
|
|
3685
|
+
source_net_id: string;
|
|
3686
|
+
pcb_ground_plane_id: string;
|
|
3687
|
+
source_pcb_ground_plane_id: string;
|
|
3688
|
+
subcircuit_id?: string | undefined;
|
|
3689
|
+
pcb_group_id?: string | undefined;
|
|
3690
|
+
}, {
|
|
3691
|
+
type: "pcb_ground_plane";
|
|
3692
|
+
source_net_id: string;
|
|
3693
|
+
source_pcb_ground_plane_id: string;
|
|
3694
|
+
subcircuit_id?: string | undefined;
|
|
3695
|
+
pcb_group_id?: string | undefined;
|
|
3696
|
+
pcb_ground_plane_id?: string | undefined;
|
|
3697
|
+
}>;
|
|
3698
|
+
type PcbGroundPlaneInput = z.input<typeof pcb_ground_plane>;
|
|
3699
|
+
/**
|
|
3700
|
+
* Defines a ground plane on the PCB
|
|
3701
|
+
*/
|
|
3702
|
+
interface PcbGroundPlane {
|
|
3703
|
+
type: "pcb_ground_plane";
|
|
3704
|
+
pcb_ground_plane_id: string;
|
|
3705
|
+
source_pcb_ground_plane_id: string;
|
|
3706
|
+
source_net_id: string;
|
|
3707
|
+
pcb_group_id?: string;
|
|
3708
|
+
subcircuit_id?: string;
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
declare const pcb_ground_plane_region: z.ZodObject<{
|
|
3712
|
+
type: z.ZodLiteral<"pcb_ground_plane_region">;
|
|
3713
|
+
pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3714
|
+
pcb_ground_plane_id: z.ZodString;
|
|
3715
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3716
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3717
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
3718
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
3719
|
+
}, "strip", z.ZodTypeAny, {
|
|
3720
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3721
|
+
}, {
|
|
3722
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3723
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3724
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3725
|
+
}>;
|
|
3726
|
+
points: z.ZodArray<z.ZodObject<{
|
|
3727
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3728
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3729
|
+
}, "strip", z.ZodTypeAny, {
|
|
3730
|
+
x: number;
|
|
3731
|
+
y: number;
|
|
3732
|
+
}, {
|
|
3733
|
+
x: string | number;
|
|
3734
|
+
y: string | number;
|
|
3735
|
+
}>, "many">;
|
|
3736
|
+
}, "strip", z.ZodTypeAny, {
|
|
3737
|
+
type: "pcb_ground_plane_region";
|
|
3738
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3739
|
+
points: {
|
|
3740
|
+
x: number;
|
|
3741
|
+
y: number;
|
|
3742
|
+
}[];
|
|
3743
|
+
pcb_ground_plane_id: string;
|
|
3744
|
+
pcb_ground_plane_region_id: string;
|
|
3745
|
+
subcircuit_id?: string | undefined;
|
|
3746
|
+
pcb_group_id?: string | undefined;
|
|
3747
|
+
}, {
|
|
3748
|
+
type: "pcb_ground_plane_region";
|
|
3749
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3750
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3751
|
+
};
|
|
3752
|
+
points: {
|
|
3753
|
+
x: string | number;
|
|
3754
|
+
y: string | number;
|
|
3755
|
+
}[];
|
|
3756
|
+
pcb_ground_plane_id: string;
|
|
3757
|
+
subcircuit_id?: string | undefined;
|
|
3758
|
+
pcb_group_id?: string | undefined;
|
|
3759
|
+
pcb_ground_plane_region_id?: string | undefined;
|
|
3760
|
+
}>;
|
|
3761
|
+
type PcbGroundPlaneRegionInput = z.input<typeof pcb_ground_plane_region>;
|
|
3762
|
+
/**
|
|
3763
|
+
* Defines a polygon region of a ground plane
|
|
3764
|
+
*/
|
|
3765
|
+
interface PcbGroundPlaneRegion {
|
|
3766
|
+
type: "pcb_ground_plane_region";
|
|
3767
|
+
pcb_ground_plane_region_id: string;
|
|
3768
|
+
pcb_ground_plane_id: string;
|
|
3769
|
+
pcb_group_id?: string;
|
|
3770
|
+
subcircuit_id?: string;
|
|
3771
|
+
layer: LayerRef;
|
|
3772
|
+
points: Point[];
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3775
|
+
declare const pcb_thermal_spoke: z.ZodObject<{
|
|
3776
|
+
type: z.ZodLiteral<"pcb_thermal_spoke">;
|
|
3777
|
+
pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3778
|
+
pcb_ground_plane_id: z.ZodString;
|
|
3779
|
+
shape: z.ZodString;
|
|
3780
|
+
spoke_count: z.ZodNumber;
|
|
3781
|
+
spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3782
|
+
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3783
|
+
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3784
|
+
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
3785
|
+
}, "strip", z.ZodTypeAny, {
|
|
3786
|
+
type: "pcb_thermal_spoke";
|
|
3787
|
+
shape: string;
|
|
3788
|
+
pcb_ground_plane_id: string;
|
|
3789
|
+
pcb_thermal_spoke_id: string;
|
|
3790
|
+
spoke_count: number;
|
|
3791
|
+
spoke_thickness: number;
|
|
3792
|
+
spoke_inner_diameter: number;
|
|
3793
|
+
spoke_outer_diameter: number;
|
|
3794
|
+
pcb_plated_hole_id?: string | undefined;
|
|
3795
|
+
}, {
|
|
3796
|
+
type: "pcb_thermal_spoke";
|
|
3797
|
+
shape: string;
|
|
3798
|
+
pcb_ground_plane_id: string;
|
|
3799
|
+
spoke_count: number;
|
|
3800
|
+
spoke_thickness: string | number;
|
|
3801
|
+
spoke_inner_diameter: string | number;
|
|
3802
|
+
spoke_outer_diameter: string | number;
|
|
3803
|
+
pcb_plated_hole_id?: string | undefined;
|
|
3804
|
+
pcb_thermal_spoke_id?: string | undefined;
|
|
3805
|
+
}>;
|
|
3806
|
+
type PcbThermalSpokeInput = z.input<typeof pcb_thermal_spoke>;
|
|
3807
|
+
/**
|
|
3808
|
+
* Pattern for connecting a ground plane to a plated hole
|
|
3809
|
+
*/
|
|
3810
|
+
interface PcbThermalSpoke {
|
|
3811
|
+
type: "pcb_thermal_spoke";
|
|
3812
|
+
pcb_thermal_spoke_id: string;
|
|
3813
|
+
pcb_ground_plane_id: string;
|
|
3814
|
+
shape: string;
|
|
3815
|
+
spoke_count: number;
|
|
3816
|
+
spoke_thickness: Distance;
|
|
3817
|
+
spoke_inner_diameter: Distance;
|
|
3818
|
+
spoke_outer_diameter: Distance;
|
|
3819
|
+
pcb_plated_hole_id?: string;
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke;
|
|
3629
3823
|
|
|
3630
3824
|
interface SchematicBox {
|
|
3631
3825
|
type: "schematic_box";
|
|
@@ -5035,8 +5229,8 @@ declare const schematic_group: z.ZodObject<{
|
|
|
5035
5229
|
source_group_id: string;
|
|
5036
5230
|
schematic_group_id: string;
|
|
5037
5231
|
schematic_component_ids: string[];
|
|
5038
|
-
name?: string | undefined;
|
|
5039
5232
|
description?: string | undefined;
|
|
5233
|
+
name?: string | undefined;
|
|
5040
5234
|
subcircuit_id?: string | undefined;
|
|
5041
5235
|
is_subcircuit?: boolean | undefined;
|
|
5042
5236
|
}, {
|
|
@@ -5049,8 +5243,8 @@ declare const schematic_group: z.ZodObject<{
|
|
|
5049
5243
|
};
|
|
5050
5244
|
source_group_id: string;
|
|
5051
5245
|
schematic_component_ids: string[];
|
|
5052
|
-
name?: string | undefined;
|
|
5053
5246
|
description?: string | undefined;
|
|
5247
|
+
name?: string | undefined;
|
|
5054
5248
|
subcircuit_id?: string | undefined;
|
|
5055
5249
|
is_subcircuit?: boolean | undefined;
|
|
5056
5250
|
schematic_group_id?: string | undefined;
|
|
@@ -5369,47 +5563,6 @@ interface SourceSimpleGround extends SourceComponentBase {
|
|
|
5369
5563
|
ftype: "simple_ground";
|
|
5370
5564
|
}
|
|
5371
5565
|
|
|
5372
|
-
/**
|
|
5373
|
-
* @deprecated Use source_simple_chip instead. This will be removed in a future version.
|
|
5374
|
-
*/
|
|
5375
|
-
declare const source_simple_bug: z.ZodObject<{
|
|
5376
|
-
type: z.ZodLiteral<"source_component">;
|
|
5377
|
-
source_component_id: z.ZodString;
|
|
5378
|
-
name: z.ZodString;
|
|
5379
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5380
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5381
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
5382
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5383
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5384
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5385
|
-
} & {
|
|
5386
|
-
ftype: z.ZodLiteral<"simple_bug">;
|
|
5387
|
-
}, "strip", z.ZodTypeAny, {
|
|
5388
|
-
type: "source_component";
|
|
5389
|
-
name: string;
|
|
5390
|
-
source_component_id: string;
|
|
5391
|
-
ftype: "simple_bug";
|
|
5392
|
-
source_group_id?: string | undefined;
|
|
5393
|
-
manufacturer_part_number?: string | undefined;
|
|
5394
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5395
|
-
display_value?: string | undefined;
|
|
5396
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
5397
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5398
|
-
}, {
|
|
5399
|
-
type: "source_component";
|
|
5400
|
-
name: string;
|
|
5401
|
-
source_component_id: string;
|
|
5402
|
-
ftype: "simple_bug";
|
|
5403
|
-
source_group_id?: string | undefined;
|
|
5404
|
-
manufacturer_part_number?: string | undefined;
|
|
5405
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5406
|
-
display_value?: string | undefined;
|
|
5407
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
5408
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5409
|
-
}>;
|
|
5410
|
-
type source_simple_bug = z.infer<typeof source_simple_bug>;
|
|
5411
|
-
type SourceSimpleBugInput = z.input<typeof source_simple_bug>;
|
|
5412
|
-
|
|
5413
5566
|
declare const source_simple_chip: z.ZodObject<{
|
|
5414
5567
|
type: z.ZodLiteral<"source_component">;
|
|
5415
5568
|
source_component_id: z.ZodString;
|
|
@@ -6440,40 +6593,6 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6440
6593
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6441
6594
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6442
6595
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6443
|
-
} & {
|
|
6444
|
-
ftype: z.ZodLiteral<"simple_bug">;
|
|
6445
|
-
}, "strip", z.ZodTypeAny, {
|
|
6446
|
-
type: "source_component";
|
|
6447
|
-
name: string;
|
|
6448
|
-
source_component_id: string;
|
|
6449
|
-
ftype: "simple_bug";
|
|
6450
|
-
source_group_id?: string | undefined;
|
|
6451
|
-
manufacturer_part_number?: string | undefined;
|
|
6452
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6453
|
-
display_value?: string | undefined;
|
|
6454
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
6455
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6456
|
-
}, {
|
|
6457
|
-
type: "source_component";
|
|
6458
|
-
name: string;
|
|
6459
|
-
source_component_id: string;
|
|
6460
|
-
ftype: "simple_bug";
|
|
6461
|
-
source_group_id?: string | undefined;
|
|
6462
|
-
manufacturer_part_number?: string | undefined;
|
|
6463
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6464
|
-
display_value?: string | undefined;
|
|
6465
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
6466
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6467
|
-
}>, z.ZodObject<{
|
|
6468
|
-
type: z.ZodLiteral<"source_component">;
|
|
6469
|
-
source_component_id: z.ZodString;
|
|
6470
|
-
name: z.ZodString;
|
|
6471
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
6472
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
6473
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
6474
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6475
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6476
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6477
6596
|
} & {
|
|
6478
6597
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
6479
6598
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7186,8 +7305,15 @@ declare const source_group: z.ZodObject<{
|
|
|
7186
7305
|
is_subcircuit?: boolean | undefined;
|
|
7187
7306
|
parent_subcircuit_id?: string | undefined;
|
|
7188
7307
|
}>;
|
|
7189
|
-
type SourceGroup = z.infer<typeof source_group>;
|
|
7190
7308
|
type SourceGroupInput = z.input<typeof source_group>;
|
|
7309
|
+
interface SourceGroup {
|
|
7310
|
+
type: "source_group";
|
|
7311
|
+
source_group_id: string;
|
|
7312
|
+
subcircuit_id?: string;
|
|
7313
|
+
parent_subcircuit_id?: string;
|
|
7314
|
+
is_subcircuit?: boolean;
|
|
7315
|
+
name?: string;
|
|
7316
|
+
}
|
|
7191
7317
|
|
|
7192
7318
|
declare const source_net: z.ZodObject<{
|
|
7193
7319
|
type: z.ZodLiteral<"source_net">;
|
|
@@ -7226,8 +7352,51 @@ declare const source_net: z.ZodObject<{
|
|
|
7226
7352
|
is_digital_signal?: boolean | undefined;
|
|
7227
7353
|
is_analog_signal?: boolean | undefined;
|
|
7228
7354
|
}>;
|
|
7229
|
-
type SourceNet = z.infer<typeof source_net>;
|
|
7230
7355
|
type SourceNetInput = z.input<typeof source_net>;
|
|
7356
|
+
interface SourceNet {
|
|
7357
|
+
type: "source_net";
|
|
7358
|
+
source_net_id: string;
|
|
7359
|
+
name: string;
|
|
7360
|
+
member_source_group_ids: string[];
|
|
7361
|
+
is_power?: boolean;
|
|
7362
|
+
is_ground?: boolean;
|
|
7363
|
+
is_digital_signal?: boolean;
|
|
7364
|
+
is_analog_signal?: boolean;
|
|
7365
|
+
trace_width?: number;
|
|
7366
|
+
subcircuit_id?: string;
|
|
7367
|
+
subcircuit_connectivity_map_key?: string;
|
|
7368
|
+
}
|
|
7369
|
+
|
|
7370
|
+
declare const source_pcb_ground_plane: z.ZodObject<{
|
|
7371
|
+
type: z.ZodLiteral<"source_pcb_ground_plane">;
|
|
7372
|
+
source_pcb_ground_plane_id: z.ZodString;
|
|
7373
|
+
source_group_id: z.ZodString;
|
|
7374
|
+
source_net_id: z.ZodString;
|
|
7375
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7376
|
+
}, "strip", z.ZodTypeAny, {
|
|
7377
|
+
type: "source_pcb_ground_plane";
|
|
7378
|
+
source_group_id: string;
|
|
7379
|
+
source_net_id: string;
|
|
7380
|
+
source_pcb_ground_plane_id: string;
|
|
7381
|
+
subcircuit_id?: string | undefined;
|
|
7382
|
+
}, {
|
|
7383
|
+
type: "source_pcb_ground_plane";
|
|
7384
|
+
source_group_id: string;
|
|
7385
|
+
source_net_id: string;
|
|
7386
|
+
source_pcb_ground_plane_id: string;
|
|
7387
|
+
subcircuit_id?: string | undefined;
|
|
7388
|
+
}>;
|
|
7389
|
+
type SourcePcbGroundPlaneInput = z.input<typeof source_pcb_ground_plane>;
|
|
7390
|
+
/**
|
|
7391
|
+
* Defines a ground plane in the source domain
|
|
7392
|
+
*/
|
|
7393
|
+
interface SourcePcbGroundPlane {
|
|
7394
|
+
type: "source_pcb_ground_plane";
|
|
7395
|
+
source_pcb_ground_plane_id: string;
|
|
7396
|
+
source_group_id: string;
|
|
7397
|
+
source_net_id: string;
|
|
7398
|
+
subcircuit_id?: string;
|
|
7399
|
+
}
|
|
7231
7400
|
|
|
7232
7401
|
declare const cad_component: z.ZodObject<{
|
|
7233
7402
|
type: z.ZodLiteral<"cad_component">;
|
|
@@ -7343,7 +7512,21 @@ declare const cad_component: z.ZodObject<{
|
|
|
7343
7512
|
model_jscad?: any;
|
|
7344
7513
|
}>;
|
|
7345
7514
|
type CadComponentInput = z.input<typeof cad_component>;
|
|
7346
|
-
|
|
7515
|
+
interface CadComponent {
|
|
7516
|
+
type: "cad_component";
|
|
7517
|
+
cad_component_id: string;
|
|
7518
|
+
pcb_component_id: string;
|
|
7519
|
+
source_component_id: string;
|
|
7520
|
+
position: Point3;
|
|
7521
|
+
rotation?: Point3;
|
|
7522
|
+
size?: Point3;
|
|
7523
|
+
layer?: LayerRef;
|
|
7524
|
+
footprinter_string?: string;
|
|
7525
|
+
model_obj_url?: string;
|
|
7526
|
+
model_stl_url?: string;
|
|
7527
|
+
model_3mf_url?: string;
|
|
7528
|
+
model_jscad?: any;
|
|
7529
|
+
}
|
|
7347
7530
|
|
|
7348
7531
|
declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
7349
7532
|
type: z.ZodLiteral<"source_trace">;
|
|
@@ -7640,40 +7823,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7640
7823
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7641
7824
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7642
7825
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7643
|
-
} & {
|
|
7644
|
-
ftype: z.ZodLiteral<"simple_bug">;
|
|
7645
|
-
}, "strip", z.ZodTypeAny, {
|
|
7646
|
-
type: "source_component";
|
|
7647
|
-
name: string;
|
|
7648
|
-
source_component_id: string;
|
|
7649
|
-
ftype: "simple_bug";
|
|
7650
|
-
source_group_id?: string | undefined;
|
|
7651
|
-
manufacturer_part_number?: string | undefined;
|
|
7652
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7653
|
-
display_value?: string | undefined;
|
|
7654
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
7655
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7656
|
-
}, {
|
|
7657
|
-
type: "source_component";
|
|
7658
|
-
name: string;
|
|
7659
|
-
source_component_id: string;
|
|
7660
|
-
ftype: "simple_bug";
|
|
7661
|
-
source_group_id?: string | undefined;
|
|
7662
|
-
manufacturer_part_number?: string | undefined;
|
|
7663
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7664
|
-
display_value?: string | undefined;
|
|
7665
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
7666
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7667
|
-
}>, z.ZodObject<{
|
|
7668
|
-
type: z.ZodLiteral<"source_component">;
|
|
7669
|
-
source_component_id: z.ZodString;
|
|
7670
|
-
name: z.ZodString;
|
|
7671
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7672
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7673
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
7674
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7675
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7676
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7677
7826
|
} & {
|
|
7678
7827
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
7679
7828
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8338,40 +8487,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8338
8487
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8339
8488
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8340
8489
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8341
|
-
} & {
|
|
8342
|
-
ftype: z.ZodLiteral<"simple_bug">;
|
|
8343
|
-
}, "strip", z.ZodTypeAny, {
|
|
8344
|
-
type: "source_component";
|
|
8345
|
-
name: string;
|
|
8346
|
-
source_component_id: string;
|
|
8347
|
-
ftype: "simple_bug";
|
|
8348
|
-
source_group_id?: string | undefined;
|
|
8349
|
-
manufacturer_part_number?: string | undefined;
|
|
8350
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8351
|
-
display_value?: string | undefined;
|
|
8352
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
8353
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8354
|
-
}, {
|
|
8355
|
-
type: "source_component";
|
|
8356
|
-
name: string;
|
|
8357
|
-
source_component_id: string;
|
|
8358
|
-
ftype: "simple_bug";
|
|
8359
|
-
source_group_id?: string | undefined;
|
|
8360
|
-
manufacturer_part_number?: string | undefined;
|
|
8361
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8362
|
-
display_value?: string | undefined;
|
|
8363
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
8364
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8365
|
-
}>, z.ZodObject<{
|
|
8366
|
-
type: z.ZodLiteral<"source_component">;
|
|
8367
|
-
source_component_id: z.ZodString;
|
|
8368
|
-
name: z.ZodString;
|
|
8369
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8370
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8371
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
8372
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8373
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8374
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8375
8490
|
} & {
|
|
8376
8491
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
8377
8492
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8984,6 +9099,24 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8984
9099
|
display_value?: string | undefined;
|
|
8985
9100
|
are_pins_interchangeable?: boolean | undefined;
|
|
8986
9101
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
9102
|
+
}>, z.ZodObject<{
|
|
9103
|
+
type: z.ZodLiteral<"source_pcb_ground_plane">;
|
|
9104
|
+
source_pcb_ground_plane_id: z.ZodString;
|
|
9105
|
+
source_group_id: z.ZodString;
|
|
9106
|
+
source_net_id: z.ZodString;
|
|
9107
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9108
|
+
}, "strip", z.ZodTypeAny, {
|
|
9109
|
+
type: "source_pcb_ground_plane";
|
|
9110
|
+
source_group_id: string;
|
|
9111
|
+
source_net_id: string;
|
|
9112
|
+
source_pcb_ground_plane_id: string;
|
|
9113
|
+
subcircuit_id?: string | undefined;
|
|
9114
|
+
}, {
|
|
9115
|
+
type: "source_pcb_ground_plane";
|
|
9116
|
+
source_group_id: string;
|
|
9117
|
+
source_net_id: string;
|
|
9118
|
+
source_pcb_ground_plane_id: string;
|
|
9119
|
+
subcircuit_id?: string | undefined;
|
|
8987
9120
|
}>, z.ZodObject<{
|
|
8988
9121
|
type: z.ZodLiteral<"source_project_metadata">;
|
|
8989
9122
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -10409,8 +10542,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10409
10542
|
pcb_group_id: string;
|
|
10410
10543
|
pcb_component_ids: string[];
|
|
10411
10544
|
source_group_id: string;
|
|
10412
|
-
name?: string | undefined;
|
|
10413
10545
|
description?: string | undefined;
|
|
10546
|
+
name?: string | undefined;
|
|
10414
10547
|
subcircuit_id?: string | undefined;
|
|
10415
10548
|
is_subcircuit?: boolean | undefined;
|
|
10416
10549
|
}, {
|
|
@@ -10423,8 +10556,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10423
10556
|
};
|
|
10424
10557
|
pcb_component_ids: string[];
|
|
10425
10558
|
source_group_id: string;
|
|
10426
|
-
name?: string | undefined;
|
|
10427
10559
|
description?: string | undefined;
|
|
10560
|
+
name?: string | undefined;
|
|
10428
10561
|
subcircuit_id?: string | undefined;
|
|
10429
10562
|
pcb_group_id?: string | undefined;
|
|
10430
10563
|
is_subcircuit?: boolean | undefined;
|
|
@@ -11143,6 +11276,106 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11143
11276
|
pcb_group_id?: string | undefined;
|
|
11144
11277
|
pcb_cutout_id?: string | undefined;
|
|
11145
11278
|
}>]>, z.ZodObject<{
|
|
11279
|
+
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
11280
|
+
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11281
|
+
source_pcb_ground_plane_id: z.ZodString;
|
|
11282
|
+
source_net_id: z.ZodString;
|
|
11283
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11284
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11285
|
+
}, "strip", z.ZodTypeAny, {
|
|
11286
|
+
type: "pcb_ground_plane";
|
|
11287
|
+
source_net_id: string;
|
|
11288
|
+
pcb_ground_plane_id: string;
|
|
11289
|
+
source_pcb_ground_plane_id: string;
|
|
11290
|
+
subcircuit_id?: string | undefined;
|
|
11291
|
+
pcb_group_id?: string | undefined;
|
|
11292
|
+
}, {
|
|
11293
|
+
type: "pcb_ground_plane";
|
|
11294
|
+
source_net_id: string;
|
|
11295
|
+
source_pcb_ground_plane_id: string;
|
|
11296
|
+
subcircuit_id?: string | undefined;
|
|
11297
|
+
pcb_group_id?: string | undefined;
|
|
11298
|
+
pcb_ground_plane_id?: string | undefined;
|
|
11299
|
+
}>, z.ZodObject<{
|
|
11300
|
+
type: z.ZodLiteral<"pcb_ground_plane_region">;
|
|
11301
|
+
pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11302
|
+
pcb_ground_plane_id: z.ZodString;
|
|
11303
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11304
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11305
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
11306
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
11307
|
+
}, "strip", z.ZodTypeAny, {
|
|
11308
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11309
|
+
}, {
|
|
11310
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11311
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11312
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11313
|
+
}>;
|
|
11314
|
+
points: z.ZodArray<z.ZodObject<{
|
|
11315
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11316
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11317
|
+
}, "strip", z.ZodTypeAny, {
|
|
11318
|
+
x: number;
|
|
11319
|
+
y: number;
|
|
11320
|
+
}, {
|
|
11321
|
+
x: string | number;
|
|
11322
|
+
y: string | number;
|
|
11323
|
+
}>, "many">;
|
|
11324
|
+
}, "strip", z.ZodTypeAny, {
|
|
11325
|
+
type: "pcb_ground_plane_region";
|
|
11326
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11327
|
+
points: {
|
|
11328
|
+
x: number;
|
|
11329
|
+
y: number;
|
|
11330
|
+
}[];
|
|
11331
|
+
pcb_ground_plane_id: string;
|
|
11332
|
+
pcb_ground_plane_region_id: string;
|
|
11333
|
+
subcircuit_id?: string | undefined;
|
|
11334
|
+
pcb_group_id?: string | undefined;
|
|
11335
|
+
}, {
|
|
11336
|
+
type: "pcb_ground_plane_region";
|
|
11337
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11338
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11339
|
+
};
|
|
11340
|
+
points: {
|
|
11341
|
+
x: string | number;
|
|
11342
|
+
y: string | number;
|
|
11343
|
+
}[];
|
|
11344
|
+
pcb_ground_plane_id: string;
|
|
11345
|
+
subcircuit_id?: string | undefined;
|
|
11346
|
+
pcb_group_id?: string | undefined;
|
|
11347
|
+
pcb_ground_plane_region_id?: string | undefined;
|
|
11348
|
+
}>, z.ZodObject<{
|
|
11349
|
+
type: z.ZodLiteral<"pcb_thermal_spoke">;
|
|
11350
|
+
pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11351
|
+
pcb_ground_plane_id: z.ZodString;
|
|
11352
|
+
shape: z.ZodString;
|
|
11353
|
+
spoke_count: z.ZodNumber;
|
|
11354
|
+
spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11355
|
+
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11356
|
+
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11357
|
+
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
11358
|
+
}, "strip", z.ZodTypeAny, {
|
|
11359
|
+
type: "pcb_thermal_spoke";
|
|
11360
|
+
shape: string;
|
|
11361
|
+
pcb_ground_plane_id: string;
|
|
11362
|
+
pcb_thermal_spoke_id: string;
|
|
11363
|
+
spoke_count: number;
|
|
11364
|
+
spoke_thickness: number;
|
|
11365
|
+
spoke_inner_diameter: number;
|
|
11366
|
+
spoke_outer_diameter: number;
|
|
11367
|
+
pcb_plated_hole_id?: string | undefined;
|
|
11368
|
+
}, {
|
|
11369
|
+
type: "pcb_thermal_spoke";
|
|
11370
|
+
shape: string;
|
|
11371
|
+
pcb_ground_plane_id: string;
|
|
11372
|
+
spoke_count: number;
|
|
11373
|
+
spoke_thickness: string | number;
|
|
11374
|
+
spoke_inner_diameter: string | number;
|
|
11375
|
+
spoke_outer_diameter: string | number;
|
|
11376
|
+
pcb_plated_hole_id?: string | undefined;
|
|
11377
|
+
pcb_thermal_spoke_id?: string | undefined;
|
|
11378
|
+
}>, z.ZodObject<{
|
|
11146
11379
|
type: z.ZodLiteral<"schematic_box">;
|
|
11147
11380
|
schematic_component_id: z.ZodString;
|
|
11148
11381
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -11975,8 +12208,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11975
12208
|
source_group_id: string;
|
|
11976
12209
|
schematic_group_id: string;
|
|
11977
12210
|
schematic_component_ids: string[];
|
|
11978
|
-
name?: string | undefined;
|
|
11979
12211
|
description?: string | undefined;
|
|
12212
|
+
name?: string | undefined;
|
|
11980
12213
|
subcircuit_id?: string | undefined;
|
|
11981
12214
|
is_subcircuit?: boolean | undefined;
|
|
11982
12215
|
}, {
|
|
@@ -11989,8 +12222,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11989
12222
|
};
|
|
11990
12223
|
source_group_id: string;
|
|
11991
12224
|
schematic_component_ids: string[];
|
|
11992
|
-
name?: string | undefined;
|
|
11993
12225
|
description?: string | undefined;
|
|
12226
|
+
name?: string | undefined;
|
|
11994
12227
|
subcircuit_id?: string | undefined;
|
|
11995
12228
|
is_subcircuit?: boolean | undefined;
|
|
11996
12229
|
schematic_group_id?: string | undefined;
|
|
@@ -12405,40 +12638,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12405
12638
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12406
12639
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12407
12640
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12408
|
-
} & {
|
|
12409
|
-
ftype: z.ZodLiteral<"simple_bug">;
|
|
12410
|
-
}, "strip", z.ZodTypeAny, {
|
|
12411
|
-
type: "source_component";
|
|
12412
|
-
name: string;
|
|
12413
|
-
source_component_id: string;
|
|
12414
|
-
ftype: "simple_bug";
|
|
12415
|
-
source_group_id?: string | undefined;
|
|
12416
|
-
manufacturer_part_number?: string | undefined;
|
|
12417
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12418
|
-
display_value?: string | undefined;
|
|
12419
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
12420
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12421
|
-
}, {
|
|
12422
|
-
type: "source_component";
|
|
12423
|
-
name: string;
|
|
12424
|
-
source_component_id: string;
|
|
12425
|
-
ftype: "simple_bug";
|
|
12426
|
-
source_group_id?: string | undefined;
|
|
12427
|
-
manufacturer_part_number?: string | undefined;
|
|
12428
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12429
|
-
display_value?: string | undefined;
|
|
12430
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
12431
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12432
|
-
}>, z.ZodObject<{
|
|
12433
|
-
type: z.ZodLiteral<"source_component">;
|
|
12434
|
-
source_component_id: z.ZodString;
|
|
12435
|
-
name: z.ZodString;
|
|
12436
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
12437
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
12438
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
12439
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12440
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12441
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12442
12641
|
} & {
|
|
12443
12642
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
12444
12643
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13103,40 +13302,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13103
13302
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13104
13303
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13105
13304
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13106
|
-
} & {
|
|
13107
|
-
ftype: z.ZodLiteral<"simple_bug">;
|
|
13108
|
-
}, "strip", z.ZodTypeAny, {
|
|
13109
|
-
type: "source_component";
|
|
13110
|
-
name: string;
|
|
13111
|
-
source_component_id: string;
|
|
13112
|
-
ftype: "simple_bug";
|
|
13113
|
-
source_group_id?: string | undefined;
|
|
13114
|
-
manufacturer_part_number?: string | undefined;
|
|
13115
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13116
|
-
display_value?: string | undefined;
|
|
13117
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
13118
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13119
|
-
}, {
|
|
13120
|
-
type: "source_component";
|
|
13121
|
-
name: string;
|
|
13122
|
-
source_component_id: string;
|
|
13123
|
-
ftype: "simple_bug";
|
|
13124
|
-
source_group_id?: string | undefined;
|
|
13125
|
-
manufacturer_part_number?: string | undefined;
|
|
13126
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13127
|
-
display_value?: string | undefined;
|
|
13128
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
13129
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13130
|
-
}>, z.ZodObject<{
|
|
13131
|
-
type: z.ZodLiteral<"source_component">;
|
|
13132
|
-
source_component_id: z.ZodString;
|
|
13133
|
-
name: z.ZodString;
|
|
13134
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
13135
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
13136
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
13137
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13138
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13139
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13140
13305
|
} & {
|
|
13141
13306
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
13142
13307
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13749,6 +13914,24 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13749
13914
|
display_value?: string | undefined;
|
|
13750
13915
|
are_pins_interchangeable?: boolean | undefined;
|
|
13751
13916
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13917
|
+
}>, z.ZodObject<{
|
|
13918
|
+
type: z.ZodLiteral<"source_pcb_ground_plane">;
|
|
13919
|
+
source_pcb_ground_plane_id: z.ZodString;
|
|
13920
|
+
source_group_id: z.ZodString;
|
|
13921
|
+
source_net_id: z.ZodString;
|
|
13922
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13923
|
+
}, "strip", z.ZodTypeAny, {
|
|
13924
|
+
type: "source_pcb_ground_plane";
|
|
13925
|
+
source_group_id: string;
|
|
13926
|
+
source_net_id: string;
|
|
13927
|
+
source_pcb_ground_plane_id: string;
|
|
13928
|
+
subcircuit_id?: string | undefined;
|
|
13929
|
+
}, {
|
|
13930
|
+
type: "source_pcb_ground_plane";
|
|
13931
|
+
source_group_id: string;
|
|
13932
|
+
source_net_id: string;
|
|
13933
|
+
source_pcb_ground_plane_id: string;
|
|
13934
|
+
subcircuit_id?: string | undefined;
|
|
13752
13935
|
}>, z.ZodObject<{
|
|
13753
13936
|
type: z.ZodLiteral<"source_project_metadata">;
|
|
13754
13937
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -15174,8 +15357,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15174
15357
|
pcb_group_id: string;
|
|
15175
15358
|
pcb_component_ids: string[];
|
|
15176
15359
|
source_group_id: string;
|
|
15177
|
-
name?: string | undefined;
|
|
15178
15360
|
description?: string | undefined;
|
|
15361
|
+
name?: string | undefined;
|
|
15179
15362
|
subcircuit_id?: string | undefined;
|
|
15180
15363
|
is_subcircuit?: boolean | undefined;
|
|
15181
15364
|
}, {
|
|
@@ -15188,8 +15371,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15188
15371
|
};
|
|
15189
15372
|
pcb_component_ids: string[];
|
|
15190
15373
|
source_group_id: string;
|
|
15191
|
-
name?: string | undefined;
|
|
15192
15374
|
description?: string | undefined;
|
|
15375
|
+
name?: string | undefined;
|
|
15193
15376
|
subcircuit_id?: string | undefined;
|
|
15194
15377
|
pcb_group_id?: string | undefined;
|
|
15195
15378
|
is_subcircuit?: boolean | undefined;
|
|
@@ -15908,6 +16091,106 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15908
16091
|
pcb_group_id?: string | undefined;
|
|
15909
16092
|
pcb_cutout_id?: string | undefined;
|
|
15910
16093
|
}>]>, z.ZodObject<{
|
|
16094
|
+
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
16095
|
+
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16096
|
+
source_pcb_ground_plane_id: z.ZodString;
|
|
16097
|
+
source_net_id: z.ZodString;
|
|
16098
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16099
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16100
|
+
}, "strip", z.ZodTypeAny, {
|
|
16101
|
+
type: "pcb_ground_plane";
|
|
16102
|
+
source_net_id: string;
|
|
16103
|
+
pcb_ground_plane_id: string;
|
|
16104
|
+
source_pcb_ground_plane_id: string;
|
|
16105
|
+
subcircuit_id?: string | undefined;
|
|
16106
|
+
pcb_group_id?: string | undefined;
|
|
16107
|
+
}, {
|
|
16108
|
+
type: "pcb_ground_plane";
|
|
16109
|
+
source_net_id: string;
|
|
16110
|
+
source_pcb_ground_plane_id: string;
|
|
16111
|
+
subcircuit_id?: string | undefined;
|
|
16112
|
+
pcb_group_id?: string | undefined;
|
|
16113
|
+
pcb_ground_plane_id?: string | undefined;
|
|
16114
|
+
}>, z.ZodObject<{
|
|
16115
|
+
type: z.ZodLiteral<"pcb_ground_plane_region">;
|
|
16116
|
+
pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16117
|
+
pcb_ground_plane_id: z.ZodString;
|
|
16118
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16119
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16120
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
16121
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
16122
|
+
}, "strip", z.ZodTypeAny, {
|
|
16123
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16124
|
+
}, {
|
|
16125
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16126
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16127
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16128
|
+
}>;
|
|
16129
|
+
points: z.ZodArray<z.ZodObject<{
|
|
16130
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16131
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16132
|
+
}, "strip", z.ZodTypeAny, {
|
|
16133
|
+
x: number;
|
|
16134
|
+
y: number;
|
|
16135
|
+
}, {
|
|
16136
|
+
x: string | number;
|
|
16137
|
+
y: string | number;
|
|
16138
|
+
}>, "many">;
|
|
16139
|
+
}, "strip", z.ZodTypeAny, {
|
|
16140
|
+
type: "pcb_ground_plane_region";
|
|
16141
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16142
|
+
points: {
|
|
16143
|
+
x: number;
|
|
16144
|
+
y: number;
|
|
16145
|
+
}[];
|
|
16146
|
+
pcb_ground_plane_id: string;
|
|
16147
|
+
pcb_ground_plane_region_id: string;
|
|
16148
|
+
subcircuit_id?: string | undefined;
|
|
16149
|
+
pcb_group_id?: string | undefined;
|
|
16150
|
+
}, {
|
|
16151
|
+
type: "pcb_ground_plane_region";
|
|
16152
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16153
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16154
|
+
};
|
|
16155
|
+
points: {
|
|
16156
|
+
x: string | number;
|
|
16157
|
+
y: string | number;
|
|
16158
|
+
}[];
|
|
16159
|
+
pcb_ground_plane_id: string;
|
|
16160
|
+
subcircuit_id?: string | undefined;
|
|
16161
|
+
pcb_group_id?: string | undefined;
|
|
16162
|
+
pcb_ground_plane_region_id?: string | undefined;
|
|
16163
|
+
}>, z.ZodObject<{
|
|
16164
|
+
type: z.ZodLiteral<"pcb_thermal_spoke">;
|
|
16165
|
+
pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16166
|
+
pcb_ground_plane_id: z.ZodString;
|
|
16167
|
+
shape: z.ZodString;
|
|
16168
|
+
spoke_count: z.ZodNumber;
|
|
16169
|
+
spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16170
|
+
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16171
|
+
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16172
|
+
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
16173
|
+
}, "strip", z.ZodTypeAny, {
|
|
16174
|
+
type: "pcb_thermal_spoke";
|
|
16175
|
+
shape: string;
|
|
16176
|
+
pcb_ground_plane_id: string;
|
|
16177
|
+
pcb_thermal_spoke_id: string;
|
|
16178
|
+
spoke_count: number;
|
|
16179
|
+
spoke_thickness: number;
|
|
16180
|
+
spoke_inner_diameter: number;
|
|
16181
|
+
spoke_outer_diameter: number;
|
|
16182
|
+
pcb_plated_hole_id?: string | undefined;
|
|
16183
|
+
}, {
|
|
16184
|
+
type: "pcb_thermal_spoke";
|
|
16185
|
+
shape: string;
|
|
16186
|
+
pcb_ground_plane_id: string;
|
|
16187
|
+
spoke_count: number;
|
|
16188
|
+
spoke_thickness: string | number;
|
|
16189
|
+
spoke_inner_diameter: string | number;
|
|
16190
|
+
spoke_outer_diameter: string | number;
|
|
16191
|
+
pcb_plated_hole_id?: string | undefined;
|
|
16192
|
+
pcb_thermal_spoke_id?: string | undefined;
|
|
16193
|
+
}>, z.ZodObject<{
|
|
15911
16194
|
type: z.ZodLiteral<"schematic_box">;
|
|
15912
16195
|
schematic_component_id: z.ZodString;
|
|
15913
16196
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16740,8 +17023,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16740
17023
|
source_group_id: string;
|
|
16741
17024
|
schematic_group_id: string;
|
|
16742
17025
|
schematic_component_ids: string[];
|
|
16743
|
-
name?: string | undefined;
|
|
16744
17026
|
description?: string | undefined;
|
|
17027
|
+
name?: string | undefined;
|
|
16745
17028
|
subcircuit_id?: string | undefined;
|
|
16746
17029
|
is_subcircuit?: boolean | undefined;
|
|
16747
17030
|
}, {
|
|
@@ -16754,8 +17037,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16754
17037
|
};
|
|
16755
17038
|
source_group_id: string;
|
|
16756
17039
|
schematic_component_ids: string[];
|
|
16757
|
-
name?: string | undefined;
|
|
16758
17040
|
description?: string | undefined;
|
|
17041
|
+
name?: string | undefined;
|
|
16759
17042
|
subcircuit_id?: string | undefined;
|
|
16760
17043
|
is_subcircuit?: boolean | undefined;
|
|
16761
17044
|
schematic_group_id?: string | undefined;
|
|
@@ -16888,4 +17171,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
16888
17171
|
*/
|
|
16889
17172
|
type CircuitJson = AnyCircuitElement[];
|
|
16890
17173
|
|
|
16891
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type
|
|
17174
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|