circuit-json 0.0.211 → 0.0.213
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 +114 -106
- package/dist/index.d.mts +564 -0
- package/dist/index.mjs +39 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2069,6 +2069,7 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
2069
2069
|
source_trace_id: z.ZodString;
|
|
2070
2070
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
2071
2071
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
2072
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2072
2073
|
}, "strip", z.ZodTypeAny, {
|
|
2073
2074
|
message: string;
|
|
2074
2075
|
type: "pcb_trace_error";
|
|
@@ -2082,6 +2083,7 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
2082
2083
|
x: number;
|
|
2083
2084
|
y: number;
|
|
2084
2085
|
} | undefined;
|
|
2086
|
+
subcircuit_id?: string | undefined;
|
|
2085
2087
|
}, {
|
|
2086
2088
|
message: string;
|
|
2087
2089
|
type: "pcb_trace_error";
|
|
@@ -2093,6 +2095,7 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
2093
2095
|
x: string | number;
|
|
2094
2096
|
y: string | number;
|
|
2095
2097
|
} | undefined;
|
|
2098
|
+
subcircuit_id?: string | undefined;
|
|
2096
2099
|
pcb_trace_error_id?: string | undefined;
|
|
2097
2100
|
error_type?: "pcb_trace_error" | undefined;
|
|
2098
2101
|
}>;
|
|
@@ -2110,6 +2113,7 @@ interface PcbTraceError {
|
|
|
2110
2113
|
source_trace_id: string;
|
|
2111
2114
|
pcb_component_ids: string[];
|
|
2112
2115
|
pcb_port_ids: string[];
|
|
2116
|
+
subcircuit_id?: string;
|
|
2113
2117
|
}
|
|
2114
2118
|
/**
|
|
2115
2119
|
* @deprecated use PcbTraceError
|
|
@@ -2122,16 +2126,19 @@ declare const pcb_port_not_matched_error: z.ZodObject<{
|
|
|
2122
2126
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
2123
2127
|
message: z.ZodString;
|
|
2124
2128
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
2129
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2125
2130
|
}, "strip", z.ZodTypeAny, {
|
|
2126
2131
|
message: string;
|
|
2127
2132
|
type: "pcb_port_not_matched_error";
|
|
2128
2133
|
error_type: "pcb_port_not_matched_error";
|
|
2129
2134
|
pcb_component_ids: string[];
|
|
2130
2135
|
pcb_error_id: string;
|
|
2136
|
+
subcircuit_id?: string | undefined;
|
|
2131
2137
|
}, {
|
|
2132
2138
|
message: string;
|
|
2133
2139
|
type: "pcb_port_not_matched_error";
|
|
2134
2140
|
pcb_component_ids: string[];
|
|
2141
|
+
subcircuit_id?: string | undefined;
|
|
2135
2142
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
2136
2143
|
pcb_error_id?: string | undefined;
|
|
2137
2144
|
}>;
|
|
@@ -2145,6 +2152,7 @@ interface PcbPortNotMatchedError {
|
|
|
2145
2152
|
error_type: "pcb_port_not_matched_error";
|
|
2146
2153
|
message: string;
|
|
2147
2154
|
pcb_component_ids: string[];
|
|
2155
|
+
subcircuit_id?: string;
|
|
2148
2156
|
}
|
|
2149
2157
|
/**
|
|
2150
2158
|
* @deprecated use PcbPortNotMatchedError
|
|
@@ -2342,14 +2350,17 @@ declare const pcb_placement_error: z.ZodObject<{
|
|
|
2342
2350
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2343
2351
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
2344
2352
|
message: z.ZodString;
|
|
2353
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2345
2354
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2355
|
message: string;
|
|
2347
2356
|
type: "pcb_placement_error";
|
|
2348
2357
|
error_type: "pcb_placement_error";
|
|
2349
2358
|
pcb_placement_error_id: string;
|
|
2359
|
+
subcircuit_id?: string | undefined;
|
|
2350
2360
|
}, {
|
|
2351
2361
|
message: string;
|
|
2352
2362
|
type: "pcb_placement_error";
|
|
2363
|
+
subcircuit_id?: string | undefined;
|
|
2353
2364
|
error_type?: "pcb_placement_error" | undefined;
|
|
2354
2365
|
pcb_placement_error_id?: string | undefined;
|
|
2355
2366
|
}>;
|
|
@@ -2362,6 +2373,7 @@ interface PcbPlacementError {
|
|
|
2362
2373
|
pcb_placement_error_id: string;
|
|
2363
2374
|
error_type: "pcb_placement_error";
|
|
2364
2375
|
message: string;
|
|
2376
|
+
subcircuit_id?: string;
|
|
2365
2377
|
}
|
|
2366
2378
|
/**
|
|
2367
2379
|
* @deprecated use PcbPlacementError
|
|
@@ -2377,6 +2389,7 @@ interface PcbTraceHint {
|
|
|
2377
2389
|
pcb_port_id: string;
|
|
2378
2390
|
pcb_component_id: string;
|
|
2379
2391
|
route: RouteHintPoint[];
|
|
2392
|
+
subcircuit_id?: string;
|
|
2380
2393
|
}
|
|
2381
2394
|
declare const pcb_trace_hint: z.ZodObject<{
|
|
2382
2395
|
type: z.ZodLiteral<"pcb_trace_hint">;
|
|
@@ -2412,6 +2425,7 @@ declare const pcb_trace_hint: z.ZodObject<{
|
|
|
2412
2425
|
} | undefined;
|
|
2413
2426
|
trace_width?: string | number | undefined;
|
|
2414
2427
|
}>, "many">;
|
|
2428
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2415
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2416
2430
|
type: "pcb_trace_hint";
|
|
2417
2431
|
pcb_component_id: string;
|
|
@@ -2424,6 +2438,7 @@ declare const pcb_trace_hint: z.ZodObject<{
|
|
|
2424
2438
|
trace_width?: number | undefined;
|
|
2425
2439
|
}[];
|
|
2426
2440
|
pcb_trace_hint_id: string;
|
|
2441
|
+
subcircuit_id?: string | undefined;
|
|
2427
2442
|
}, {
|
|
2428
2443
|
type: "pcb_trace_hint";
|
|
2429
2444
|
pcb_component_id: string;
|
|
@@ -2437,6 +2452,7 @@ declare const pcb_trace_hint: z.ZodObject<{
|
|
|
2437
2452
|
} | undefined;
|
|
2438
2453
|
trace_width?: string | number | undefined;
|
|
2439
2454
|
}[];
|
|
2455
|
+
subcircuit_id?: string | undefined;
|
|
2440
2456
|
pcb_trace_hint_id?: string | undefined;
|
|
2441
2457
|
}>;
|
|
2442
2458
|
type PcbTraceHintInput = z.input<typeof pcb_trace_hint>;
|
|
@@ -3563,14 +3579,17 @@ declare const pcb_autorouting_error: z.ZodObject<{
|
|
|
3563
3579
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3564
3580
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
3565
3581
|
message: z.ZodString;
|
|
3582
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3566
3583
|
}, "strip", z.ZodTypeAny, {
|
|
3567
3584
|
message: string;
|
|
3568
3585
|
type: "pcb_autorouting_error";
|
|
3569
3586
|
error_type: "pcb_autorouting_error";
|
|
3570
3587
|
pcb_error_id: string;
|
|
3588
|
+
subcircuit_id?: string | undefined;
|
|
3571
3589
|
}, {
|
|
3572
3590
|
message: string;
|
|
3573
3591
|
type: "pcb_autorouting_error";
|
|
3592
|
+
subcircuit_id?: string | undefined;
|
|
3574
3593
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
3575
3594
|
pcb_error_id?: string | undefined;
|
|
3576
3595
|
}>;
|
|
@@ -3580,6 +3599,7 @@ interface PcbAutoroutingErrorInterface {
|
|
|
3580
3599
|
pcb_error_id: string;
|
|
3581
3600
|
error_type: "pcb_autorouting_error";
|
|
3582
3601
|
message: string;
|
|
3602
|
+
subcircuit_id?: string;
|
|
3583
3603
|
}
|
|
3584
3604
|
type PcbAutoroutingError = PcbAutoroutingErrorInterface;
|
|
3585
3605
|
|
|
@@ -3782,6 +3802,7 @@ declare const pcb_thermal_spoke: z.ZodObject<{
|
|
|
3782
3802
|
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3783
3803
|
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3784
3804
|
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
3805
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3785
3806
|
}, "strip", z.ZodTypeAny, {
|
|
3786
3807
|
type: "pcb_thermal_spoke";
|
|
3787
3808
|
shape: string;
|
|
@@ -3791,6 +3812,7 @@ declare const pcb_thermal_spoke: z.ZodObject<{
|
|
|
3791
3812
|
spoke_thickness: number;
|
|
3792
3813
|
spoke_inner_diameter: number;
|
|
3793
3814
|
spoke_outer_diameter: number;
|
|
3815
|
+
subcircuit_id?: string | undefined;
|
|
3794
3816
|
pcb_plated_hole_id?: string | undefined;
|
|
3795
3817
|
}, {
|
|
3796
3818
|
type: "pcb_thermal_spoke";
|
|
@@ -3800,6 +3822,7 @@ declare const pcb_thermal_spoke: z.ZodObject<{
|
|
|
3800
3822
|
spoke_thickness: string | number;
|
|
3801
3823
|
spoke_inner_diameter: string | number;
|
|
3802
3824
|
spoke_outer_diameter: string | number;
|
|
3825
|
+
subcircuit_id?: string | undefined;
|
|
3803
3826
|
pcb_plated_hole_id?: string | undefined;
|
|
3804
3827
|
pcb_thermal_spoke_id?: string | undefined;
|
|
3805
3828
|
}>;
|
|
@@ -3817,6 +3840,7 @@ interface PcbThermalSpoke {
|
|
|
3817
3840
|
spoke_inner_diameter: Distance;
|
|
3818
3841
|
spoke_outer_diameter: Distance;
|
|
3819
3842
|
pcb_plated_hole_id?: string;
|
|
3843
|
+
subcircuit_id?: string;
|
|
3820
3844
|
}
|
|
3821
3845
|
|
|
3822
3846
|
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;
|
|
@@ -3829,6 +3853,7 @@ interface SchematicBox {
|
|
|
3829
3853
|
is_dashed: boolean;
|
|
3830
3854
|
x: number;
|
|
3831
3855
|
y: number;
|
|
3856
|
+
subcircuit_id?: string;
|
|
3832
3857
|
}
|
|
3833
3858
|
declare const schematic_box: z.ZodObject<{
|
|
3834
3859
|
type: z.ZodLiteral<"schematic_box">;
|
|
@@ -3838,6 +3863,7 @@ declare const schematic_box: z.ZodObject<{
|
|
|
3838
3863
|
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
3839
3864
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3840
3865
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3866
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3841
3867
|
}, "strip", z.ZodTypeAny, {
|
|
3842
3868
|
x: number;
|
|
3843
3869
|
y: number;
|
|
@@ -3845,6 +3871,7 @@ declare const schematic_box: z.ZodObject<{
|
|
|
3845
3871
|
width: number;
|
|
3846
3872
|
height: number;
|
|
3847
3873
|
is_dashed: boolean;
|
|
3874
|
+
subcircuit_id?: string | undefined;
|
|
3848
3875
|
schematic_component_id?: string | undefined;
|
|
3849
3876
|
}, {
|
|
3850
3877
|
x: string | number;
|
|
@@ -3852,6 +3879,7 @@ declare const schematic_box: z.ZodObject<{
|
|
|
3852
3879
|
type: "schematic_box";
|
|
3853
3880
|
width: string | number;
|
|
3854
3881
|
height: string | number;
|
|
3882
|
+
subcircuit_id?: string | undefined;
|
|
3855
3883
|
schematic_component_id?: string | undefined;
|
|
3856
3884
|
is_dashed?: boolean | undefined;
|
|
3857
3885
|
}>;
|
|
@@ -3863,6 +3891,7 @@ interface SchematicPath {
|
|
|
3863
3891
|
fill_color?: "red" | "blue";
|
|
3864
3892
|
is_filled?: boolean;
|
|
3865
3893
|
points: Point[];
|
|
3894
|
+
subcircuit_id?: string;
|
|
3866
3895
|
}
|
|
3867
3896
|
declare const schematic_path: z.ZodObject<{
|
|
3868
3897
|
type: z.ZodLiteral<"schematic_path">;
|
|
@@ -3879,6 +3908,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
3879
3908
|
x: string | number;
|
|
3880
3909
|
y: string | number;
|
|
3881
3910
|
}>, "many">;
|
|
3911
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3882
3912
|
}, "strip", z.ZodTypeAny, {
|
|
3883
3913
|
type: "schematic_path";
|
|
3884
3914
|
points: {
|
|
@@ -3886,6 +3916,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
3886
3916
|
y: number;
|
|
3887
3917
|
}[];
|
|
3888
3918
|
schematic_component_id: string;
|
|
3919
|
+
subcircuit_id?: string | undefined;
|
|
3889
3920
|
is_filled?: boolean | undefined;
|
|
3890
3921
|
fill_color?: "red" | "blue" | undefined;
|
|
3891
3922
|
}, {
|
|
@@ -3895,6 +3926,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
3895
3926
|
y: string | number;
|
|
3896
3927
|
}[];
|
|
3897
3928
|
schematic_component_id: string;
|
|
3929
|
+
subcircuit_id?: string | undefined;
|
|
3898
3930
|
is_filled?: boolean | undefined;
|
|
3899
3931
|
fill_color?: "red" | "blue" | undefined;
|
|
3900
3932
|
}>;
|
|
@@ -4394,6 +4426,7 @@ interface SchematicLine {
|
|
|
4394
4426
|
x2: number;
|
|
4395
4427
|
y1: number;
|
|
4396
4428
|
y2: number;
|
|
4429
|
+
subcircuit_id?: string;
|
|
4397
4430
|
}
|
|
4398
4431
|
declare const schematic_line: z.ZodObject<{
|
|
4399
4432
|
type: z.ZodLiteral<"schematic_line">;
|
|
@@ -4402,6 +4435,7 @@ declare const schematic_line: z.ZodObject<{
|
|
|
4402
4435
|
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4403
4436
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4404
4437
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4438
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4405
4439
|
}, "strip", z.ZodTypeAny, {
|
|
4406
4440
|
type: "schematic_line";
|
|
4407
4441
|
x1: number;
|
|
@@ -4409,6 +4443,7 @@ declare const schematic_line: z.ZodObject<{
|
|
|
4409
4443
|
x2: number;
|
|
4410
4444
|
y2: number;
|
|
4411
4445
|
schematic_component_id: string;
|
|
4446
|
+
subcircuit_id?: string | undefined;
|
|
4412
4447
|
}, {
|
|
4413
4448
|
type: "schematic_line";
|
|
4414
4449
|
x1: string | number;
|
|
@@ -4416,6 +4451,7 @@ declare const schematic_line: z.ZodObject<{
|
|
|
4416
4451
|
x2: string | number;
|
|
4417
4452
|
y2: string | number;
|
|
4418
4453
|
schematic_component_id: string;
|
|
4454
|
+
subcircuit_id?: string | undefined;
|
|
4419
4455
|
}>;
|
|
4420
4456
|
type SchematicLineInput = z.input<typeof schematic_line>;
|
|
4421
4457
|
|
|
@@ -4441,6 +4477,7 @@ interface SchematicTrace {
|
|
|
4441
4477
|
y: number;
|
|
4442
4478
|
}[];
|
|
4443
4479
|
edges: SchematicTraceEdge[];
|
|
4480
|
+
subcircuit_id?: string;
|
|
4444
4481
|
}
|
|
4445
4482
|
declare const schematic_trace: z.ZodObject<{
|
|
4446
4483
|
type: z.ZodLiteral<"schematic_trace">;
|
|
@@ -4505,6 +4542,7 @@ declare const schematic_trace: z.ZodObject<{
|
|
|
4505
4542
|
from_schematic_port_id?: string | undefined;
|
|
4506
4543
|
to_schematic_port_id?: string | undefined;
|
|
4507
4544
|
}>, "many">;
|
|
4545
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4508
4546
|
}, "strip", z.ZodTypeAny, {
|
|
4509
4547
|
type: "schematic_trace";
|
|
4510
4548
|
source_trace_id: string;
|
|
@@ -4526,6 +4564,7 @@ declare const schematic_trace: z.ZodObject<{
|
|
|
4526
4564
|
from_schematic_port_id?: string | undefined;
|
|
4527
4565
|
to_schematic_port_id?: string | undefined;
|
|
4528
4566
|
}[];
|
|
4567
|
+
subcircuit_id?: string | undefined;
|
|
4529
4568
|
}, {
|
|
4530
4569
|
type: "schematic_trace";
|
|
4531
4570
|
source_trace_id: string;
|
|
@@ -4547,6 +4586,7 @@ declare const schematic_trace: z.ZodObject<{
|
|
|
4547
4586
|
from_schematic_port_id?: string | undefined;
|
|
4548
4587
|
to_schematic_port_id?: string | undefined;
|
|
4549
4588
|
}[];
|
|
4589
|
+
subcircuit_id?: string | undefined;
|
|
4550
4590
|
}>;
|
|
4551
4591
|
type SchematicTraceInput = z.input<typeof schematic_trace>;
|
|
4552
4592
|
|
|
@@ -4565,6 +4605,7 @@ interface SchematicText {
|
|
|
4565
4605
|
rotation: number;
|
|
4566
4606
|
anchor: NinePointAnchor | FivePointAnchor;
|
|
4567
4607
|
color: string;
|
|
4608
|
+
subcircuit_id?: string;
|
|
4568
4609
|
}
|
|
4569
4610
|
declare const schematic_text: z.ZodObject<{
|
|
4570
4611
|
type: z.ZodLiteral<"schematic_text">;
|
|
@@ -4585,6 +4626,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
4585
4626
|
rotation: z.ZodDefault<z.ZodNumber>;
|
|
4586
4627
|
anchor: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["center", "left", "right", "top", "bottom"]>, z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>]>>;
|
|
4587
4628
|
color: z.ZodDefault<z.ZodString>;
|
|
4629
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4588
4630
|
}, "strip", z.ZodTypeAny, {
|
|
4589
4631
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
4590
4632
|
type: "schematic_text";
|
|
@@ -4597,6 +4639,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
4597
4639
|
x: number;
|
|
4598
4640
|
y: number;
|
|
4599
4641
|
};
|
|
4642
|
+
subcircuit_id?: string | undefined;
|
|
4600
4643
|
schematic_component_id?: string | undefined;
|
|
4601
4644
|
}, {
|
|
4602
4645
|
type: "schematic_text";
|
|
@@ -4608,6 +4651,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
4608
4651
|
};
|
|
4609
4652
|
anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
4610
4653
|
rotation?: number | undefined;
|
|
4654
|
+
subcircuit_id?: string | undefined;
|
|
4611
4655
|
font_size?: number | undefined;
|
|
4612
4656
|
color?: string | undefined;
|
|
4613
4657
|
schematic_component_id?: string | undefined;
|
|
@@ -4626,6 +4670,7 @@ interface SchematicPort {
|
|
|
4626
4670
|
true_ccw_index?: number;
|
|
4627
4671
|
pin_number?: number;
|
|
4628
4672
|
display_pin_label?: string;
|
|
4673
|
+
subcircuit_id?: string;
|
|
4629
4674
|
}
|
|
4630
4675
|
declare const schematic_port: z.ZodObject<{
|
|
4631
4676
|
type: z.ZodLiteral<"schematic_port">;
|
|
@@ -4648,6 +4693,7 @@ declare const schematic_port: z.ZodObject<{
|
|
|
4648
4693
|
true_ccw_index: z.ZodOptional<z.ZodNumber>;
|
|
4649
4694
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
4650
4695
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
4696
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4651
4697
|
}, "strip", z.ZodTypeAny, {
|
|
4652
4698
|
type: "schematic_port";
|
|
4653
4699
|
center: {
|
|
@@ -4656,6 +4702,7 @@ declare const schematic_port: z.ZodObject<{
|
|
|
4656
4702
|
};
|
|
4657
4703
|
source_port_id: string;
|
|
4658
4704
|
schematic_port_id: string;
|
|
4705
|
+
subcircuit_id?: string | undefined;
|
|
4659
4706
|
schematic_component_id?: string | undefined;
|
|
4660
4707
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
4661
4708
|
distance_from_component_edge?: number | undefined;
|
|
@@ -4671,6 +4718,7 @@ declare const schematic_port: z.ZodObject<{
|
|
|
4671
4718
|
};
|
|
4672
4719
|
source_port_id: string;
|
|
4673
4720
|
schematic_port_id: string;
|
|
4721
|
+
subcircuit_id?: string | undefined;
|
|
4674
4722
|
schematic_component_id?: string | undefined;
|
|
4675
4723
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
4676
4724
|
distance_from_component_edge?: number | undefined;
|
|
@@ -4692,6 +4740,12 @@ interface SchematicNetLabel {
|
|
|
4692
4740
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
4693
4741
|
text: string;
|
|
4694
4742
|
symbol_name?: string | undefined;
|
|
4743
|
+
/**
|
|
4744
|
+
* When true the net label can be repositioned. When false the label's
|
|
4745
|
+
* position is fixed by the element it is attached to.
|
|
4746
|
+
*/
|
|
4747
|
+
is_movable?: boolean;
|
|
4748
|
+
subcircuit_id?: string;
|
|
4695
4749
|
}
|
|
4696
4750
|
declare const schematic_net_label: z.ZodObject<{
|
|
4697
4751
|
type: z.ZodLiteral<"schematic_net_label">;
|
|
@@ -4722,6 +4776,8 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4722
4776
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
4723
4777
|
text: z.ZodString;
|
|
4724
4778
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
4779
|
+
is_movable: z.ZodOptional<z.ZodBoolean>;
|
|
4780
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4725
4781
|
}, "strip", z.ZodTypeAny, {
|
|
4726
4782
|
type: "schematic_net_label";
|
|
4727
4783
|
center: {
|
|
@@ -4732,6 +4788,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4732
4788
|
source_net_id: string;
|
|
4733
4789
|
schematic_net_label_id: string;
|
|
4734
4790
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
4791
|
+
subcircuit_id?: string | undefined;
|
|
4735
4792
|
source_trace_id?: string | undefined;
|
|
4736
4793
|
anchor_position?: {
|
|
4737
4794
|
x: number;
|
|
@@ -4739,6 +4796,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4739
4796
|
} | undefined;
|
|
4740
4797
|
symbol_name?: string | undefined;
|
|
4741
4798
|
schematic_trace_id?: string | undefined;
|
|
4799
|
+
is_movable?: boolean | undefined;
|
|
4742
4800
|
}, {
|
|
4743
4801
|
type: "schematic_net_label";
|
|
4744
4802
|
center: {
|
|
@@ -4748,6 +4806,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4748
4806
|
text: string;
|
|
4749
4807
|
source_net_id: string;
|
|
4750
4808
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
4809
|
+
subcircuit_id?: string | undefined;
|
|
4751
4810
|
source_trace_id?: string | undefined;
|
|
4752
4811
|
anchor_position?: {
|
|
4753
4812
|
x: string | number;
|
|
@@ -4756,6 +4815,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4756
4815
|
symbol_name?: string | undefined;
|
|
4757
4816
|
schematic_trace_id?: string | undefined;
|
|
4758
4817
|
schematic_net_label_id?: string | undefined;
|
|
4818
|
+
is_movable?: boolean | undefined;
|
|
4759
4819
|
}>;
|
|
4760
4820
|
type SchematicNetLabelInput = z.input<typeof schematic_net_label>;
|
|
4761
4821
|
type InferredSchematicNetLabel = z.infer<typeof schematic_net_label>;
|
|
@@ -4765,21 +4825,25 @@ interface SchematicError {
|
|
|
4765
4825
|
schematic_error_id: string;
|
|
4766
4826
|
error_type: "schematic_port_not_found";
|
|
4767
4827
|
message: string;
|
|
4828
|
+
subcircuit_id?: string;
|
|
4768
4829
|
}
|
|
4769
4830
|
declare const schematic_error: z.ZodObject<{
|
|
4770
4831
|
type: z.ZodLiteral<"schematic_error">;
|
|
4771
4832
|
schematic_error_id: z.ZodString;
|
|
4772
4833
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
4773
4834
|
message: z.ZodString;
|
|
4835
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4774
4836
|
}, "strip", z.ZodTypeAny, {
|
|
4775
4837
|
message: string;
|
|
4776
4838
|
type: "schematic_error";
|
|
4777
4839
|
error_type: "schematic_port_not_found";
|
|
4778
4840
|
schematic_error_id: string;
|
|
4841
|
+
subcircuit_id?: string | undefined;
|
|
4779
4842
|
}, {
|
|
4780
4843
|
message: string;
|
|
4781
4844
|
type: "schematic_error";
|
|
4782
4845
|
schematic_error_id: string;
|
|
4846
|
+
subcircuit_id?: string | undefined;
|
|
4783
4847
|
error_type?: "schematic_port_not_found" | undefined;
|
|
4784
4848
|
}>;
|
|
4785
4849
|
type SchematicErrorInput = z.input<typeof schematic_error>;
|
|
@@ -4791,6 +4855,7 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
4791
4855
|
message: z.ZodString;
|
|
4792
4856
|
source_group_id: z.ZodString;
|
|
4793
4857
|
schematic_group_id: z.ZodString;
|
|
4858
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4794
4859
|
}, "strip", z.ZodTypeAny, {
|
|
4795
4860
|
message: string;
|
|
4796
4861
|
type: "schematic_layout_error";
|
|
@@ -4798,11 +4863,13 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
4798
4863
|
source_group_id: string;
|
|
4799
4864
|
schematic_group_id: string;
|
|
4800
4865
|
schematic_layout_error_id: string;
|
|
4866
|
+
subcircuit_id?: string | undefined;
|
|
4801
4867
|
}, {
|
|
4802
4868
|
message: string;
|
|
4803
4869
|
type: "schematic_layout_error";
|
|
4804
4870
|
source_group_id: string;
|
|
4805
4871
|
schematic_group_id: string;
|
|
4872
|
+
subcircuit_id?: string | undefined;
|
|
4806
4873
|
error_type?: "schematic_layout_error" | undefined;
|
|
4807
4874
|
schematic_layout_error_id?: string | undefined;
|
|
4808
4875
|
}>;
|
|
@@ -4814,21 +4881,26 @@ interface SchematicLayoutError {
|
|
|
4814
4881
|
message: string;
|
|
4815
4882
|
source_group_id: string;
|
|
4816
4883
|
schematic_group_id: string;
|
|
4884
|
+
subcircuit_id?: string;
|
|
4817
4885
|
}
|
|
4818
4886
|
|
|
4819
4887
|
declare const schematic_debug_object_base: z.ZodObject<{
|
|
4820
4888
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4821
4889
|
label: z.ZodOptional<z.ZodString>;
|
|
4890
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4822
4891
|
}, "strip", z.ZodTypeAny, {
|
|
4823
4892
|
type: "schematic_debug_object";
|
|
4893
|
+
subcircuit_id?: string | undefined;
|
|
4824
4894
|
label?: string | undefined;
|
|
4825
4895
|
}, {
|
|
4826
4896
|
type: "schematic_debug_object";
|
|
4897
|
+
subcircuit_id?: string | undefined;
|
|
4827
4898
|
label?: string | undefined;
|
|
4828
4899
|
}>;
|
|
4829
4900
|
declare const schematic_debug_rect: z.ZodObject<{
|
|
4830
4901
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4831
4902
|
label: z.ZodOptional<z.ZodString>;
|
|
4903
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4832
4904
|
} & {
|
|
4833
4905
|
shape: z.ZodLiteral<"rect">;
|
|
4834
4906
|
center: z.ZodObject<{
|
|
@@ -4862,6 +4934,7 @@ declare const schematic_debug_rect: z.ZodObject<{
|
|
|
4862
4934
|
width: number;
|
|
4863
4935
|
height: number;
|
|
4864
4936
|
};
|
|
4937
|
+
subcircuit_id?: string | undefined;
|
|
4865
4938
|
label?: string | undefined;
|
|
4866
4939
|
}, {
|
|
4867
4940
|
type: "schematic_debug_object";
|
|
@@ -4874,11 +4947,13 @@ declare const schematic_debug_rect: z.ZodObject<{
|
|
|
4874
4947
|
width: number;
|
|
4875
4948
|
height: number;
|
|
4876
4949
|
};
|
|
4950
|
+
subcircuit_id?: string | undefined;
|
|
4877
4951
|
label?: string | undefined;
|
|
4878
4952
|
}>;
|
|
4879
4953
|
declare const schematic_debug_line: z.ZodObject<{
|
|
4880
4954
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4881
4955
|
label: z.ZodOptional<z.ZodString>;
|
|
4956
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4882
4957
|
} & {
|
|
4883
4958
|
shape: z.ZodLiteral<"line">;
|
|
4884
4959
|
start: z.ZodObject<{
|
|
@@ -4912,6 +4987,7 @@ declare const schematic_debug_line: z.ZodObject<{
|
|
|
4912
4987
|
x: number;
|
|
4913
4988
|
y: number;
|
|
4914
4989
|
};
|
|
4990
|
+
subcircuit_id?: string | undefined;
|
|
4915
4991
|
label?: string | undefined;
|
|
4916
4992
|
}, {
|
|
4917
4993
|
type: "schematic_debug_object";
|
|
@@ -4924,11 +5000,13 @@ declare const schematic_debug_line: z.ZodObject<{
|
|
|
4924
5000
|
x: string | number;
|
|
4925
5001
|
y: string | number;
|
|
4926
5002
|
};
|
|
5003
|
+
subcircuit_id?: string | undefined;
|
|
4927
5004
|
label?: string | undefined;
|
|
4928
5005
|
}>;
|
|
4929
5006
|
declare const schematic_debug_point: z.ZodObject<{
|
|
4930
5007
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4931
5008
|
label: z.ZodOptional<z.ZodString>;
|
|
5009
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4932
5010
|
} & {
|
|
4933
5011
|
shape: z.ZodLiteral<"point">;
|
|
4934
5012
|
center: z.ZodObject<{
|
|
@@ -4948,6 +5026,7 @@ declare const schematic_debug_point: z.ZodObject<{
|
|
|
4948
5026
|
y: number;
|
|
4949
5027
|
};
|
|
4950
5028
|
shape: "point";
|
|
5029
|
+
subcircuit_id?: string | undefined;
|
|
4951
5030
|
label?: string | undefined;
|
|
4952
5031
|
}, {
|
|
4953
5032
|
type: "schematic_debug_object";
|
|
@@ -4956,11 +5035,13 @@ declare const schematic_debug_point: z.ZodObject<{
|
|
|
4956
5035
|
y: string | number;
|
|
4957
5036
|
};
|
|
4958
5037
|
shape: "point";
|
|
5038
|
+
subcircuit_id?: string | undefined;
|
|
4959
5039
|
label?: string | undefined;
|
|
4960
5040
|
}>;
|
|
4961
5041
|
declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
4962
5042
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4963
5043
|
label: z.ZodOptional<z.ZodString>;
|
|
5044
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4964
5045
|
} & {
|
|
4965
5046
|
shape: z.ZodLiteral<"rect">;
|
|
4966
5047
|
center: z.ZodObject<{
|
|
@@ -4994,6 +5075,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4994
5075
|
width: number;
|
|
4995
5076
|
height: number;
|
|
4996
5077
|
};
|
|
5078
|
+
subcircuit_id?: string | undefined;
|
|
4997
5079
|
label?: string | undefined;
|
|
4998
5080
|
}, {
|
|
4999
5081
|
type: "schematic_debug_object";
|
|
@@ -5006,10 +5088,12 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5006
5088
|
width: number;
|
|
5007
5089
|
height: number;
|
|
5008
5090
|
};
|
|
5091
|
+
subcircuit_id?: string | undefined;
|
|
5009
5092
|
label?: string | undefined;
|
|
5010
5093
|
}>, z.ZodObject<{
|
|
5011
5094
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
5012
5095
|
label: z.ZodOptional<z.ZodString>;
|
|
5096
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5013
5097
|
} & {
|
|
5014
5098
|
shape: z.ZodLiteral<"line">;
|
|
5015
5099
|
start: z.ZodObject<{
|
|
@@ -5043,6 +5127,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5043
5127
|
x: number;
|
|
5044
5128
|
y: number;
|
|
5045
5129
|
};
|
|
5130
|
+
subcircuit_id?: string | undefined;
|
|
5046
5131
|
label?: string | undefined;
|
|
5047
5132
|
}, {
|
|
5048
5133
|
type: "schematic_debug_object";
|
|
@@ -5055,10 +5140,12 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5055
5140
|
x: string | number;
|
|
5056
5141
|
y: string | number;
|
|
5057
5142
|
};
|
|
5143
|
+
subcircuit_id?: string | undefined;
|
|
5058
5144
|
label?: string | undefined;
|
|
5059
5145
|
}>, z.ZodObject<{
|
|
5060
5146
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
5061
5147
|
label: z.ZodOptional<z.ZodString>;
|
|
5148
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5062
5149
|
} & {
|
|
5063
5150
|
shape: z.ZodLiteral<"point">;
|
|
5064
5151
|
center: z.ZodObject<{
|
|
@@ -5078,6 +5165,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5078
5165
|
y: number;
|
|
5079
5166
|
};
|
|
5080
5167
|
shape: "point";
|
|
5168
|
+
subcircuit_id?: string | undefined;
|
|
5081
5169
|
label?: string | undefined;
|
|
5082
5170
|
}, {
|
|
5083
5171
|
type: "schematic_debug_object";
|
|
@@ -5086,6 +5174,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5086
5174
|
y: string | number;
|
|
5087
5175
|
};
|
|
5088
5176
|
shape: "point";
|
|
5177
|
+
subcircuit_id?: string | undefined;
|
|
5089
5178
|
label?: string | undefined;
|
|
5090
5179
|
}>]>;
|
|
5091
5180
|
interface SchematicDebugRect {
|
|
@@ -5094,6 +5183,7 @@ interface SchematicDebugRect {
|
|
|
5094
5183
|
shape: "rect";
|
|
5095
5184
|
center: Point;
|
|
5096
5185
|
size: Size;
|
|
5186
|
+
subcircuit_id?: string;
|
|
5097
5187
|
}
|
|
5098
5188
|
interface SchematicDebugLine {
|
|
5099
5189
|
type: "schematic_debug_object";
|
|
@@ -5101,12 +5191,14 @@ interface SchematicDebugLine {
|
|
|
5101
5191
|
shape: "line";
|
|
5102
5192
|
start: Point;
|
|
5103
5193
|
end: Point;
|
|
5194
|
+
subcircuit_id?: string;
|
|
5104
5195
|
}
|
|
5105
5196
|
interface SchematicDebugPoint {
|
|
5106
5197
|
type: "schematic_debug_object";
|
|
5107
5198
|
label?: string;
|
|
5108
5199
|
shape: "point";
|
|
5109
5200
|
center: Point;
|
|
5201
|
+
subcircuit_id?: string;
|
|
5110
5202
|
}
|
|
5111
5203
|
type SchematicDebugObject = SchematicDebugRect | SchematicDebugLine | SchematicDebugPoint;
|
|
5112
5204
|
type SchematicDebugObjectInput = z.input<typeof schematic_debug_object>;
|
|
@@ -5117,6 +5209,7 @@ interface SchematicVoltageProbe {
|
|
|
5117
5209
|
position: Point;
|
|
5118
5210
|
schematic_trace_id: string;
|
|
5119
5211
|
voltage?: number;
|
|
5212
|
+
subcircuit_id?: string;
|
|
5120
5213
|
}
|
|
5121
5214
|
declare const schematic_voltage_probe: z.ZodObject<{
|
|
5122
5215
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -5133,6 +5226,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
5133
5226
|
}>;
|
|
5134
5227
|
schematic_trace_id: z.ZodString;
|
|
5135
5228
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5229
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5136
5230
|
}, "strip", z.ZodTypeAny, {
|
|
5137
5231
|
type: "schematic_voltage_probe";
|
|
5138
5232
|
schematic_trace_id: string;
|
|
@@ -5141,6 +5235,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
5141
5235
|
y: number;
|
|
5142
5236
|
};
|
|
5143
5237
|
schematic_voltage_probe_id: string;
|
|
5238
|
+
subcircuit_id?: string | undefined;
|
|
5144
5239
|
voltage?: number | undefined;
|
|
5145
5240
|
}, {
|
|
5146
5241
|
type: "schematic_voltage_probe";
|
|
@@ -5150,6 +5245,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
5150
5245
|
y: string | number;
|
|
5151
5246
|
};
|
|
5152
5247
|
schematic_voltage_probe_id: string;
|
|
5248
|
+
subcircuit_id?: string | undefined;
|
|
5153
5249
|
voltage?: string | number | undefined;
|
|
5154
5250
|
}>;
|
|
5155
5251
|
type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
|
|
@@ -5280,6 +5376,7 @@ interface SourceComponentBase {
|
|
|
5280
5376
|
are_pins_interchangeable?: boolean;
|
|
5281
5377
|
internally_connected_source_port_ids?: string[][];
|
|
5282
5378
|
source_group_id?: string;
|
|
5379
|
+
subcircuit_id?: string;
|
|
5283
5380
|
}
|
|
5284
5381
|
declare const source_component_base: z.ZodObject<{
|
|
5285
5382
|
type: z.ZodLiteral<"source_component">;
|
|
@@ -5292,10 +5389,12 @@ declare const source_component_base: z.ZodObject<{
|
|
|
5292
5389
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5293
5390
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5294
5391
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5392
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5295
5393
|
}, "strip", z.ZodTypeAny, {
|
|
5296
5394
|
type: "source_component";
|
|
5297
5395
|
name: string;
|
|
5298
5396
|
source_component_id: string;
|
|
5397
|
+
subcircuit_id?: string | undefined;
|
|
5299
5398
|
source_group_id?: string | undefined;
|
|
5300
5399
|
ftype?: string | undefined;
|
|
5301
5400
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5307,6 +5406,7 @@ declare const source_component_base: z.ZodObject<{
|
|
|
5307
5406
|
type: "source_component";
|
|
5308
5407
|
name: string;
|
|
5309
5408
|
source_component_id: string;
|
|
5409
|
+
subcircuit_id?: string | undefined;
|
|
5310
5410
|
source_group_id?: string | undefined;
|
|
5311
5411
|
ftype?: string | undefined;
|
|
5312
5412
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5326,6 +5426,7 @@ declare const source_simple_capacitor: z.ZodObject<{
|
|
|
5326
5426
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5327
5427
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5328
5428
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5429
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5329
5430
|
} & {
|
|
5330
5431
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
5331
5432
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -5338,6 +5439,7 @@ declare const source_simple_capacitor: z.ZodObject<{
|
|
|
5338
5439
|
source_component_id: string;
|
|
5339
5440
|
ftype: "simple_capacitor";
|
|
5340
5441
|
capacitance: number;
|
|
5442
|
+
subcircuit_id?: string | undefined;
|
|
5341
5443
|
source_group_id?: string | undefined;
|
|
5342
5444
|
manufacturer_part_number?: string | undefined;
|
|
5343
5445
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5353,6 +5455,7 @@ declare const source_simple_capacitor: z.ZodObject<{
|
|
|
5353
5455
|
source_component_id: string;
|
|
5354
5456
|
ftype: "simple_capacitor";
|
|
5355
5457
|
capacitance: string | number;
|
|
5458
|
+
subcircuit_id?: string | undefined;
|
|
5356
5459
|
source_group_id?: string | undefined;
|
|
5357
5460
|
manufacturer_part_number?: string | undefined;
|
|
5358
5461
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5385,6 +5488,7 @@ declare const source_simple_resistor: z.ZodObject<{
|
|
|
5385
5488
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5386
5489
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5387
5490
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5491
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5388
5492
|
} & {
|
|
5389
5493
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
5390
5494
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5395,6 +5499,7 @@ declare const source_simple_resistor: z.ZodObject<{
|
|
|
5395
5499
|
source_component_id: string;
|
|
5396
5500
|
ftype: "simple_resistor";
|
|
5397
5501
|
resistance: number;
|
|
5502
|
+
subcircuit_id?: string | undefined;
|
|
5398
5503
|
source_group_id?: string | undefined;
|
|
5399
5504
|
manufacturer_part_number?: string | undefined;
|
|
5400
5505
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5408,6 +5513,7 @@ declare const source_simple_resistor: z.ZodObject<{
|
|
|
5408
5513
|
source_component_id: string;
|
|
5409
5514
|
ftype: "simple_resistor";
|
|
5410
5515
|
resistance: string | number;
|
|
5516
|
+
subcircuit_id?: string | undefined;
|
|
5411
5517
|
source_group_id?: string | undefined;
|
|
5412
5518
|
manufacturer_part_number?: string | undefined;
|
|
5413
5519
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5436,6 +5542,7 @@ declare const source_simple_diode: z.ZodObject<{
|
|
|
5436
5542
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5437
5543
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5438
5544
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5545
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5439
5546
|
} & {
|
|
5440
5547
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
5441
5548
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5443,6 +5550,7 @@ declare const source_simple_diode: z.ZodObject<{
|
|
|
5443
5550
|
name: string;
|
|
5444
5551
|
source_component_id: string;
|
|
5445
5552
|
ftype: "simple_diode";
|
|
5553
|
+
subcircuit_id?: string | undefined;
|
|
5446
5554
|
source_group_id?: string | undefined;
|
|
5447
5555
|
manufacturer_part_number?: string | undefined;
|
|
5448
5556
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5454,6 +5562,7 @@ declare const source_simple_diode: z.ZodObject<{
|
|
|
5454
5562
|
name: string;
|
|
5455
5563
|
source_component_id: string;
|
|
5456
5564
|
ftype: "simple_diode";
|
|
5565
|
+
subcircuit_id?: string | undefined;
|
|
5457
5566
|
source_group_id?: string | undefined;
|
|
5458
5567
|
manufacturer_part_number?: string | undefined;
|
|
5459
5568
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5479,6 +5588,7 @@ declare const source_simple_led: z.ZodObject<{
|
|
|
5479
5588
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5480
5589
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5481
5590
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5591
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5482
5592
|
} & {
|
|
5483
5593
|
ftype: z.ZodLiteral<"simple_led">;
|
|
5484
5594
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -5488,6 +5598,7 @@ declare const source_simple_led: z.ZodObject<{
|
|
|
5488
5598
|
name: string;
|
|
5489
5599
|
source_component_id: string;
|
|
5490
5600
|
ftype: "simple_led";
|
|
5601
|
+
subcircuit_id?: string | undefined;
|
|
5491
5602
|
color?: string | undefined;
|
|
5492
5603
|
source_group_id?: string | undefined;
|
|
5493
5604
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5501,6 +5612,7 @@ declare const source_simple_led: z.ZodObject<{
|
|
|
5501
5612
|
name: string;
|
|
5502
5613
|
source_component_id: string;
|
|
5503
5614
|
ftype: "simple_led";
|
|
5615
|
+
subcircuit_id?: string | undefined;
|
|
5504
5616
|
color?: string | undefined;
|
|
5505
5617
|
source_group_id?: string | undefined;
|
|
5506
5618
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5530,6 +5642,7 @@ declare const source_simple_ground: z.ZodObject<{
|
|
|
5530
5642
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5531
5643
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5532
5644
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5645
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5533
5646
|
} & {
|
|
5534
5647
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
5535
5648
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5537,6 +5650,7 @@ declare const source_simple_ground: z.ZodObject<{
|
|
|
5537
5650
|
name: string;
|
|
5538
5651
|
source_component_id: string;
|
|
5539
5652
|
ftype: "simple_ground";
|
|
5653
|
+
subcircuit_id?: string | undefined;
|
|
5540
5654
|
source_group_id?: string | undefined;
|
|
5541
5655
|
manufacturer_part_number?: string | undefined;
|
|
5542
5656
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5548,6 +5662,7 @@ declare const source_simple_ground: z.ZodObject<{
|
|
|
5548
5662
|
name: string;
|
|
5549
5663
|
source_component_id: string;
|
|
5550
5664
|
ftype: "simple_ground";
|
|
5665
|
+
subcircuit_id?: string | undefined;
|
|
5551
5666
|
source_group_id?: string | undefined;
|
|
5552
5667
|
manufacturer_part_number?: string | undefined;
|
|
5553
5668
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5573,6 +5688,7 @@ declare const source_simple_chip: z.ZodObject<{
|
|
|
5573
5688
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5574
5689
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5575
5690
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5691
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5576
5692
|
} & {
|
|
5577
5693
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
5578
5694
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5580,6 +5696,7 @@ declare const source_simple_chip: z.ZodObject<{
|
|
|
5580
5696
|
name: string;
|
|
5581
5697
|
source_component_id: string;
|
|
5582
5698
|
ftype: "simple_chip";
|
|
5699
|
+
subcircuit_id?: string | undefined;
|
|
5583
5700
|
source_group_id?: string | undefined;
|
|
5584
5701
|
manufacturer_part_number?: string | undefined;
|
|
5585
5702
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5591,6 +5708,7 @@ declare const source_simple_chip: z.ZodObject<{
|
|
|
5591
5708
|
name: string;
|
|
5592
5709
|
source_component_id: string;
|
|
5593
5710
|
ftype: "simple_chip";
|
|
5711
|
+
subcircuit_id?: string | undefined;
|
|
5594
5712
|
source_group_id?: string | undefined;
|
|
5595
5713
|
manufacturer_part_number?: string | undefined;
|
|
5596
5714
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5616,6 +5734,7 @@ declare const source_simple_power_source: z.ZodObject<{
|
|
|
5616
5734
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5617
5735
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5618
5736
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5737
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5619
5738
|
} & {
|
|
5620
5739
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
5621
5740
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5625,6 +5744,7 @@ declare const source_simple_power_source: z.ZodObject<{
|
|
|
5625
5744
|
source_component_id: string;
|
|
5626
5745
|
voltage: number;
|
|
5627
5746
|
ftype: "simple_power_source";
|
|
5747
|
+
subcircuit_id?: string | undefined;
|
|
5628
5748
|
source_group_id?: string | undefined;
|
|
5629
5749
|
manufacturer_part_number?: string | undefined;
|
|
5630
5750
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5637,6 +5757,7 @@ declare const source_simple_power_source: z.ZodObject<{
|
|
|
5637
5757
|
source_component_id: string;
|
|
5638
5758
|
voltage: string | number;
|
|
5639
5759
|
ftype: "simple_power_source";
|
|
5760
|
+
subcircuit_id?: string | undefined;
|
|
5640
5761
|
source_group_id?: string | undefined;
|
|
5641
5762
|
manufacturer_part_number?: string | undefined;
|
|
5642
5763
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5669,6 +5790,7 @@ declare const source_simple_battery: z.ZodObject<{
|
|
|
5669
5790
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5670
5791
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5671
5792
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5793
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5672
5794
|
} & {
|
|
5673
5795
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
5674
5796
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -5678,6 +5800,7 @@ declare const source_simple_battery: z.ZodObject<{
|
|
|
5678
5800
|
source_component_id: string;
|
|
5679
5801
|
ftype: "simple_battery";
|
|
5680
5802
|
capacity: number;
|
|
5803
|
+
subcircuit_id?: string | undefined;
|
|
5681
5804
|
source_group_id?: string | undefined;
|
|
5682
5805
|
manufacturer_part_number?: string | undefined;
|
|
5683
5806
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5690,6 +5813,7 @@ declare const source_simple_battery: z.ZodObject<{
|
|
|
5690
5813
|
source_component_id: string;
|
|
5691
5814
|
ftype: "simple_battery";
|
|
5692
5815
|
capacity: string | number;
|
|
5816
|
+
subcircuit_id?: string | undefined;
|
|
5693
5817
|
source_group_id?: string | undefined;
|
|
5694
5818
|
manufacturer_part_number?: string | undefined;
|
|
5695
5819
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5716,6 +5840,7 @@ declare const source_simple_inductor: z.ZodObject<{
|
|
|
5716
5840
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5717
5841
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5718
5842
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5843
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5719
5844
|
} & {
|
|
5720
5845
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
5721
5846
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5726,6 +5851,7 @@ declare const source_simple_inductor: z.ZodObject<{
|
|
|
5726
5851
|
source_component_id: string;
|
|
5727
5852
|
ftype: "simple_inductor";
|
|
5728
5853
|
inductance: number;
|
|
5854
|
+
subcircuit_id?: string | undefined;
|
|
5729
5855
|
source_group_id?: string | undefined;
|
|
5730
5856
|
manufacturer_part_number?: string | undefined;
|
|
5731
5857
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5739,6 +5865,7 @@ declare const source_simple_inductor: z.ZodObject<{
|
|
|
5739
5865
|
source_component_id: string;
|
|
5740
5866
|
ftype: "simple_inductor";
|
|
5741
5867
|
inductance: string | number;
|
|
5868
|
+
subcircuit_id?: string | undefined;
|
|
5742
5869
|
source_group_id?: string | undefined;
|
|
5743
5870
|
manufacturer_part_number?: string | undefined;
|
|
5744
5871
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5767,6 +5894,7 @@ declare const source_simple_push_button: z.ZodObject<{
|
|
|
5767
5894
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5768
5895
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5769
5896
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5897
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5770
5898
|
} & {
|
|
5771
5899
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
5772
5900
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5774,6 +5902,7 @@ declare const source_simple_push_button: z.ZodObject<{
|
|
|
5774
5902
|
name: string;
|
|
5775
5903
|
source_component_id: string;
|
|
5776
5904
|
ftype: "simple_push_button";
|
|
5905
|
+
subcircuit_id?: string | undefined;
|
|
5777
5906
|
source_group_id?: string | undefined;
|
|
5778
5907
|
manufacturer_part_number?: string | undefined;
|
|
5779
5908
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5785,6 +5914,7 @@ declare const source_simple_push_button: z.ZodObject<{
|
|
|
5785
5914
|
name: string;
|
|
5786
5915
|
source_component_id: string;
|
|
5787
5916
|
ftype: "simple_push_button";
|
|
5917
|
+
subcircuit_id?: string | undefined;
|
|
5788
5918
|
source_group_id?: string | undefined;
|
|
5789
5919
|
manufacturer_part_number?: string | undefined;
|
|
5790
5920
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5810,6 +5940,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
|
|
|
5810
5940
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5811
5941
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5812
5942
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5943
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5813
5944
|
} & {
|
|
5814
5945
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
5815
5946
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5819,6 +5950,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
|
|
|
5819
5950
|
source_component_id: string;
|
|
5820
5951
|
ftype: "simple_potentiometer";
|
|
5821
5952
|
max_resistance: number;
|
|
5953
|
+
subcircuit_id?: string | undefined;
|
|
5822
5954
|
source_group_id?: string | undefined;
|
|
5823
5955
|
manufacturer_part_number?: string | undefined;
|
|
5824
5956
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5831,6 +5963,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
|
|
|
5831
5963
|
source_component_id: string;
|
|
5832
5964
|
ftype: "simple_potentiometer";
|
|
5833
5965
|
max_resistance: string | number;
|
|
5966
|
+
subcircuit_id?: string | undefined;
|
|
5834
5967
|
source_group_id?: string | undefined;
|
|
5835
5968
|
manufacturer_part_number?: string | undefined;
|
|
5836
5969
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5854,6 +5987,7 @@ declare const source_simple_crystal: z.ZodObject<{
|
|
|
5854
5987
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5855
5988
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5856
5989
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5990
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5857
5991
|
} & {
|
|
5858
5992
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
5859
5993
|
frequency: z.ZodNumber;
|
|
@@ -5864,6 +5998,7 @@ declare const source_simple_crystal: z.ZodObject<{
|
|
|
5864
5998
|
source_component_id: string;
|
|
5865
5999
|
ftype: "simple_crystal";
|
|
5866
6000
|
frequency: number;
|
|
6001
|
+
subcircuit_id?: string | undefined;
|
|
5867
6002
|
source_group_id?: string | undefined;
|
|
5868
6003
|
manufacturer_part_number?: string | undefined;
|
|
5869
6004
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5877,6 +6012,7 @@ declare const source_simple_crystal: z.ZodObject<{
|
|
|
5877
6012
|
source_component_id: string;
|
|
5878
6013
|
ftype: "simple_crystal";
|
|
5879
6014
|
frequency: number;
|
|
6015
|
+
subcircuit_id?: string | undefined;
|
|
5880
6016
|
source_group_id?: string | undefined;
|
|
5881
6017
|
manufacturer_part_number?: string | undefined;
|
|
5882
6018
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5905,6 +6041,7 @@ declare const source_simple_pin_header: z.ZodObject<{
|
|
|
5905
6041
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5906
6042
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5907
6043
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6044
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5908
6045
|
} & {
|
|
5909
6046
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
5910
6047
|
pin_count: z.ZodNumber;
|
|
@@ -5916,6 +6053,7 @@ declare const source_simple_pin_header: z.ZodObject<{
|
|
|
5916
6053
|
ftype: "simple_pin_header";
|
|
5917
6054
|
pin_count: number;
|
|
5918
6055
|
gender: "male" | "female";
|
|
6056
|
+
subcircuit_id?: string | undefined;
|
|
5919
6057
|
source_group_id?: string | undefined;
|
|
5920
6058
|
manufacturer_part_number?: string | undefined;
|
|
5921
6059
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5928,6 +6066,7 @@ declare const source_simple_pin_header: z.ZodObject<{
|
|
|
5928
6066
|
source_component_id: string;
|
|
5929
6067
|
ftype: "simple_pin_header";
|
|
5930
6068
|
pin_count: number;
|
|
6069
|
+
subcircuit_id?: string | undefined;
|
|
5931
6070
|
source_group_id?: string | undefined;
|
|
5932
6071
|
manufacturer_part_number?: string | undefined;
|
|
5933
6072
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5953,6 +6092,7 @@ declare const source_simple_resonator: z.ZodObject<{
|
|
|
5953
6092
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5954
6093
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5955
6094
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6095
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5956
6096
|
} & {
|
|
5957
6097
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5958
6098
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -5965,6 +6105,7 @@ declare const source_simple_resonator: z.ZodObject<{
|
|
|
5965
6105
|
ftype: "simple_resonator";
|
|
5966
6106
|
frequency: number;
|
|
5967
6107
|
load_capacitance: number;
|
|
6108
|
+
subcircuit_id?: string | undefined;
|
|
5968
6109
|
source_group_id?: string | undefined;
|
|
5969
6110
|
manufacturer_part_number?: string | undefined;
|
|
5970
6111
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5979,6 +6120,7 @@ declare const source_simple_resonator: z.ZodObject<{
|
|
|
5979
6120
|
ftype: "simple_resonator";
|
|
5980
6121
|
frequency: string | number;
|
|
5981
6122
|
load_capacitance: string | number;
|
|
6123
|
+
subcircuit_id?: string | undefined;
|
|
5982
6124
|
source_group_id?: string | undefined;
|
|
5983
6125
|
manufacturer_part_number?: string | undefined;
|
|
5984
6126
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6008,6 +6150,7 @@ declare const source_simple_transistor: z.ZodObject<{
|
|
|
6008
6150
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6009
6151
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6010
6152
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6153
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6011
6154
|
} & {
|
|
6012
6155
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
6013
6156
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -6017,6 +6160,7 @@ declare const source_simple_transistor: z.ZodObject<{
|
|
|
6017
6160
|
source_component_id: string;
|
|
6018
6161
|
ftype: "simple_transistor";
|
|
6019
6162
|
transistor_type: "npn" | "pnp";
|
|
6163
|
+
subcircuit_id?: string | undefined;
|
|
6020
6164
|
source_group_id?: string | undefined;
|
|
6021
6165
|
manufacturer_part_number?: string | undefined;
|
|
6022
6166
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6029,6 +6173,7 @@ declare const source_simple_transistor: z.ZodObject<{
|
|
|
6029
6173
|
source_component_id: string;
|
|
6030
6174
|
ftype: "simple_transistor";
|
|
6031
6175
|
transistor_type: "npn" | "pnp";
|
|
6176
|
+
subcircuit_id?: string | undefined;
|
|
6032
6177
|
source_group_id?: string | undefined;
|
|
6033
6178
|
manufacturer_part_number?: string | undefined;
|
|
6034
6179
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6057,6 +6202,7 @@ declare const source_simple_test_point: z.ZodObject<{
|
|
|
6057
6202
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6058
6203
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6059
6204
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6205
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6060
6206
|
} & {
|
|
6061
6207
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
6062
6208
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -6072,6 +6218,7 @@ declare const source_simple_test_point: z.ZodObject<{
|
|
|
6072
6218
|
ftype: "simple_test_point";
|
|
6073
6219
|
width?: string | number | undefined;
|
|
6074
6220
|
height?: string | number | undefined;
|
|
6221
|
+
subcircuit_id?: string | undefined;
|
|
6075
6222
|
hole_diameter?: string | number | undefined;
|
|
6076
6223
|
pad_shape?: "circle" | "rect" | undefined;
|
|
6077
6224
|
source_group_id?: string | undefined;
|
|
@@ -6089,6 +6236,7 @@ declare const source_simple_test_point: z.ZodObject<{
|
|
|
6089
6236
|
ftype: "simple_test_point";
|
|
6090
6237
|
width?: string | number | undefined;
|
|
6091
6238
|
height?: string | number | undefined;
|
|
6239
|
+
subcircuit_id?: string | undefined;
|
|
6092
6240
|
hole_diameter?: string | number | undefined;
|
|
6093
6241
|
pad_shape?: "circle" | "rect" | undefined;
|
|
6094
6242
|
source_group_id?: string | undefined;
|
|
@@ -6126,6 +6274,7 @@ declare const source_simple_mosfet: z.ZodObject<{
|
|
|
6126
6274
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6127
6275
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6128
6276
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6277
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6129
6278
|
} & {
|
|
6130
6279
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
6131
6280
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -6137,6 +6286,7 @@ declare const source_simple_mosfet: z.ZodObject<{
|
|
|
6137
6286
|
ftype: "simple_mosfet";
|
|
6138
6287
|
channel_type: "n" | "p";
|
|
6139
6288
|
mosfet_mode: "enhancement" | "depletion";
|
|
6289
|
+
subcircuit_id?: string | undefined;
|
|
6140
6290
|
source_group_id?: string | undefined;
|
|
6141
6291
|
manufacturer_part_number?: string | undefined;
|
|
6142
6292
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6150,6 +6300,7 @@ declare const source_simple_mosfet: z.ZodObject<{
|
|
|
6150
6300
|
ftype: "simple_mosfet";
|
|
6151
6301
|
channel_type: "n" | "p";
|
|
6152
6302
|
mosfet_mode: "enhancement" | "depletion";
|
|
6303
|
+
subcircuit_id?: string | undefined;
|
|
6153
6304
|
source_group_id?: string | undefined;
|
|
6154
6305
|
manufacturer_part_number?: string | undefined;
|
|
6155
6306
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6179,6 +6330,7 @@ declare const source_simple_switch: z.ZodObject<{
|
|
|
6179
6330
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6180
6331
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6181
6332
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6333
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6182
6334
|
} & {
|
|
6183
6335
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
6184
6336
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6186,6 +6338,7 @@ declare const source_simple_switch: z.ZodObject<{
|
|
|
6186
6338
|
name: string;
|
|
6187
6339
|
source_component_id: string;
|
|
6188
6340
|
ftype: "simple_switch";
|
|
6341
|
+
subcircuit_id?: string | undefined;
|
|
6189
6342
|
source_group_id?: string | undefined;
|
|
6190
6343
|
manufacturer_part_number?: string | undefined;
|
|
6191
6344
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6197,6 +6350,7 @@ declare const source_simple_switch: z.ZodObject<{
|
|
|
6197
6350
|
name: string;
|
|
6198
6351
|
source_component_id: string;
|
|
6199
6352
|
ftype: "simple_switch";
|
|
6353
|
+
subcircuit_id?: string | undefined;
|
|
6200
6354
|
source_group_id?: string | undefined;
|
|
6201
6355
|
manufacturer_part_number?: string | undefined;
|
|
6202
6356
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6245,6 +6399,7 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
6245
6399
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6246
6400
|
source_component_id: z.ZodString;
|
|
6247
6401
|
property_name: z.ZodString;
|
|
6402
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6248
6403
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
6249
6404
|
message: z.ZodString;
|
|
6250
6405
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6254,11 +6409,13 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
6254
6409
|
error_type: "source_missing_property_error";
|
|
6255
6410
|
source_missing_property_error_id: string;
|
|
6256
6411
|
property_name: string;
|
|
6412
|
+
subcircuit_id?: string | undefined;
|
|
6257
6413
|
}, {
|
|
6258
6414
|
message: string;
|
|
6259
6415
|
type: "source_missing_property_error";
|
|
6260
6416
|
source_component_id: string;
|
|
6261
6417
|
property_name: string;
|
|
6418
|
+
subcircuit_id?: string | undefined;
|
|
6262
6419
|
error_type?: "source_missing_property_error" | undefined;
|
|
6263
6420
|
source_missing_property_error_id?: string | undefined;
|
|
6264
6421
|
}>;
|
|
@@ -6271,6 +6428,7 @@ interface SourceMissingPropertyError {
|
|
|
6271
6428
|
source_missing_property_error_id: string;
|
|
6272
6429
|
source_component_id: string;
|
|
6273
6430
|
property_name: string;
|
|
6431
|
+
subcircuit_id?: string;
|
|
6274
6432
|
error_type: "source_missing_property_error";
|
|
6275
6433
|
message: string;
|
|
6276
6434
|
}
|
|
@@ -6369,6 +6527,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6369
6527
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6370
6528
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6371
6529
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6530
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6372
6531
|
} & {
|
|
6373
6532
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
6374
6533
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6379,6 +6538,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6379
6538
|
source_component_id: string;
|
|
6380
6539
|
ftype: "simple_resistor";
|
|
6381
6540
|
resistance: number;
|
|
6541
|
+
subcircuit_id?: string | undefined;
|
|
6382
6542
|
source_group_id?: string | undefined;
|
|
6383
6543
|
manufacturer_part_number?: string | undefined;
|
|
6384
6544
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6392,6 +6552,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6392
6552
|
source_component_id: string;
|
|
6393
6553
|
ftype: "simple_resistor";
|
|
6394
6554
|
resistance: string | number;
|
|
6555
|
+
subcircuit_id?: string | undefined;
|
|
6395
6556
|
source_group_id?: string | undefined;
|
|
6396
6557
|
manufacturer_part_number?: string | undefined;
|
|
6397
6558
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6409,6 +6570,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6409
6570
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6410
6571
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6411
6572
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6573
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6412
6574
|
} & {
|
|
6413
6575
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
6414
6576
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -6421,6 +6583,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6421
6583
|
source_component_id: string;
|
|
6422
6584
|
ftype: "simple_capacitor";
|
|
6423
6585
|
capacitance: number;
|
|
6586
|
+
subcircuit_id?: string | undefined;
|
|
6424
6587
|
source_group_id?: string | undefined;
|
|
6425
6588
|
manufacturer_part_number?: string | undefined;
|
|
6426
6589
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6436,6 +6599,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6436
6599
|
source_component_id: string;
|
|
6437
6600
|
ftype: "simple_capacitor";
|
|
6438
6601
|
capacitance: string | number;
|
|
6602
|
+
subcircuit_id?: string | undefined;
|
|
6439
6603
|
source_group_id?: string | undefined;
|
|
6440
6604
|
manufacturer_part_number?: string | undefined;
|
|
6441
6605
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6455,6 +6619,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6455
6619
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6456
6620
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6457
6621
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6622
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6458
6623
|
} & {
|
|
6459
6624
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
6460
6625
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6462,6 +6627,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6462
6627
|
name: string;
|
|
6463
6628
|
source_component_id: string;
|
|
6464
6629
|
ftype: "simple_diode";
|
|
6630
|
+
subcircuit_id?: string | undefined;
|
|
6465
6631
|
source_group_id?: string | undefined;
|
|
6466
6632
|
manufacturer_part_number?: string | undefined;
|
|
6467
6633
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6473,6 +6639,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6473
6639
|
name: string;
|
|
6474
6640
|
source_component_id: string;
|
|
6475
6641
|
ftype: "simple_diode";
|
|
6642
|
+
subcircuit_id?: string | undefined;
|
|
6476
6643
|
source_group_id?: string | undefined;
|
|
6477
6644
|
manufacturer_part_number?: string | undefined;
|
|
6478
6645
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6489,6 +6656,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6489
6656
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6490
6657
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6491
6658
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6659
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6492
6660
|
} & {
|
|
6493
6661
|
ftype: z.ZodLiteral<"simple_led">;
|
|
6494
6662
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -6498,6 +6666,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6498
6666
|
name: string;
|
|
6499
6667
|
source_component_id: string;
|
|
6500
6668
|
ftype: "simple_led";
|
|
6669
|
+
subcircuit_id?: string | undefined;
|
|
6501
6670
|
color?: string | undefined;
|
|
6502
6671
|
source_group_id?: string | undefined;
|
|
6503
6672
|
manufacturer_part_number?: string | undefined;
|
|
@@ -6511,6 +6680,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6511
6680
|
name: string;
|
|
6512
6681
|
source_component_id: string;
|
|
6513
6682
|
ftype: "simple_led";
|
|
6683
|
+
subcircuit_id?: string | undefined;
|
|
6514
6684
|
color?: string | undefined;
|
|
6515
6685
|
source_group_id?: string | undefined;
|
|
6516
6686
|
manufacturer_part_number?: string | undefined;
|
|
@@ -6529,6 +6699,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6529
6699
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6530
6700
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6531
6701
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6702
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6532
6703
|
} & {
|
|
6533
6704
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
6534
6705
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6536,6 +6707,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6536
6707
|
name: string;
|
|
6537
6708
|
source_component_id: string;
|
|
6538
6709
|
ftype: "simple_ground";
|
|
6710
|
+
subcircuit_id?: string | undefined;
|
|
6539
6711
|
source_group_id?: string | undefined;
|
|
6540
6712
|
manufacturer_part_number?: string | undefined;
|
|
6541
6713
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6547,6 +6719,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6547
6719
|
name: string;
|
|
6548
6720
|
source_component_id: string;
|
|
6549
6721
|
ftype: "simple_ground";
|
|
6722
|
+
subcircuit_id?: string | undefined;
|
|
6550
6723
|
source_group_id?: string | undefined;
|
|
6551
6724
|
manufacturer_part_number?: string | undefined;
|
|
6552
6725
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6563,6 +6736,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6563
6736
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6564
6737
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6565
6738
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6739
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6566
6740
|
} & {
|
|
6567
6741
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
6568
6742
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6570,6 +6744,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6570
6744
|
name: string;
|
|
6571
6745
|
source_component_id: string;
|
|
6572
6746
|
ftype: "simple_chip";
|
|
6747
|
+
subcircuit_id?: string | undefined;
|
|
6573
6748
|
source_group_id?: string | undefined;
|
|
6574
6749
|
manufacturer_part_number?: string | undefined;
|
|
6575
6750
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6581,6 +6756,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6581
6756
|
name: string;
|
|
6582
6757
|
source_component_id: string;
|
|
6583
6758
|
ftype: "simple_chip";
|
|
6759
|
+
subcircuit_id?: string | undefined;
|
|
6584
6760
|
source_group_id?: string | undefined;
|
|
6585
6761
|
manufacturer_part_number?: string | undefined;
|
|
6586
6762
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6597,6 +6773,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6597
6773
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6598
6774
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6599
6775
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6776
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6600
6777
|
} & {
|
|
6601
6778
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
6602
6779
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6606,6 +6783,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6606
6783
|
source_component_id: string;
|
|
6607
6784
|
voltage: number;
|
|
6608
6785
|
ftype: "simple_power_source";
|
|
6786
|
+
subcircuit_id?: string | undefined;
|
|
6609
6787
|
source_group_id?: string | undefined;
|
|
6610
6788
|
manufacturer_part_number?: string | undefined;
|
|
6611
6789
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6618,6 +6796,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6618
6796
|
source_component_id: string;
|
|
6619
6797
|
voltage: string | number;
|
|
6620
6798
|
ftype: "simple_power_source";
|
|
6799
|
+
subcircuit_id?: string | undefined;
|
|
6621
6800
|
source_group_id?: string | undefined;
|
|
6622
6801
|
manufacturer_part_number?: string | undefined;
|
|
6623
6802
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6634,6 +6813,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6634
6813
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6635
6814
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6636
6815
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6816
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6637
6817
|
} & {
|
|
6638
6818
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
6639
6819
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -6643,6 +6823,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6643
6823
|
source_component_id: string;
|
|
6644
6824
|
ftype: "simple_battery";
|
|
6645
6825
|
capacity: number;
|
|
6826
|
+
subcircuit_id?: string | undefined;
|
|
6646
6827
|
source_group_id?: string | undefined;
|
|
6647
6828
|
manufacturer_part_number?: string | undefined;
|
|
6648
6829
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6655,6 +6836,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6655
6836
|
source_component_id: string;
|
|
6656
6837
|
ftype: "simple_battery";
|
|
6657
6838
|
capacity: string | number;
|
|
6839
|
+
subcircuit_id?: string | undefined;
|
|
6658
6840
|
source_group_id?: string | undefined;
|
|
6659
6841
|
manufacturer_part_number?: string | undefined;
|
|
6660
6842
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6671,6 +6853,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6671
6853
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6672
6854
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6673
6855
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6856
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6674
6857
|
} & {
|
|
6675
6858
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
6676
6859
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6681,6 +6864,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6681
6864
|
source_component_id: string;
|
|
6682
6865
|
ftype: "simple_inductor";
|
|
6683
6866
|
inductance: number;
|
|
6867
|
+
subcircuit_id?: string | undefined;
|
|
6684
6868
|
source_group_id?: string | undefined;
|
|
6685
6869
|
manufacturer_part_number?: string | undefined;
|
|
6686
6870
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6694,6 +6878,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6694
6878
|
source_component_id: string;
|
|
6695
6879
|
ftype: "simple_inductor";
|
|
6696
6880
|
inductance: string | number;
|
|
6881
|
+
subcircuit_id?: string | undefined;
|
|
6697
6882
|
source_group_id?: string | undefined;
|
|
6698
6883
|
manufacturer_part_number?: string | undefined;
|
|
6699
6884
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6711,6 +6896,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6711
6896
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6712
6897
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6713
6898
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6899
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6714
6900
|
} & {
|
|
6715
6901
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
6716
6902
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6718,6 +6904,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6718
6904
|
name: string;
|
|
6719
6905
|
source_component_id: string;
|
|
6720
6906
|
ftype: "simple_push_button";
|
|
6907
|
+
subcircuit_id?: string | undefined;
|
|
6721
6908
|
source_group_id?: string | undefined;
|
|
6722
6909
|
manufacturer_part_number?: string | undefined;
|
|
6723
6910
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6729,6 +6916,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6729
6916
|
name: string;
|
|
6730
6917
|
source_component_id: string;
|
|
6731
6918
|
ftype: "simple_push_button";
|
|
6919
|
+
subcircuit_id?: string | undefined;
|
|
6732
6920
|
source_group_id?: string | undefined;
|
|
6733
6921
|
manufacturer_part_number?: string | undefined;
|
|
6734
6922
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6745,6 +6933,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6745
6933
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6746
6934
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6747
6935
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6936
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6748
6937
|
} & {
|
|
6749
6938
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
6750
6939
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6754,6 +6943,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6754
6943
|
source_component_id: string;
|
|
6755
6944
|
ftype: "simple_potentiometer";
|
|
6756
6945
|
max_resistance: number;
|
|
6946
|
+
subcircuit_id?: string | undefined;
|
|
6757
6947
|
source_group_id?: string | undefined;
|
|
6758
6948
|
manufacturer_part_number?: string | undefined;
|
|
6759
6949
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6766,6 +6956,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6766
6956
|
source_component_id: string;
|
|
6767
6957
|
ftype: "simple_potentiometer";
|
|
6768
6958
|
max_resistance: string | number;
|
|
6959
|
+
subcircuit_id?: string | undefined;
|
|
6769
6960
|
source_group_id?: string | undefined;
|
|
6770
6961
|
manufacturer_part_number?: string | undefined;
|
|
6771
6962
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6782,6 +6973,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6782
6973
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6783
6974
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6784
6975
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6976
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6785
6977
|
} & {
|
|
6786
6978
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
6787
6979
|
frequency: z.ZodNumber;
|
|
@@ -6792,6 +6984,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6792
6984
|
source_component_id: string;
|
|
6793
6985
|
ftype: "simple_crystal";
|
|
6794
6986
|
frequency: number;
|
|
6987
|
+
subcircuit_id?: string | undefined;
|
|
6795
6988
|
source_group_id?: string | undefined;
|
|
6796
6989
|
manufacturer_part_number?: string | undefined;
|
|
6797
6990
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6805,6 +6998,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6805
6998
|
source_component_id: string;
|
|
6806
6999
|
ftype: "simple_crystal";
|
|
6807
7000
|
frequency: number;
|
|
7001
|
+
subcircuit_id?: string | undefined;
|
|
6808
7002
|
source_group_id?: string | undefined;
|
|
6809
7003
|
manufacturer_part_number?: string | undefined;
|
|
6810
7004
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6822,6 +7016,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6822
7016
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6823
7017
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6824
7018
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7019
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6825
7020
|
} & {
|
|
6826
7021
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
6827
7022
|
pin_count: z.ZodNumber;
|
|
@@ -6833,6 +7028,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6833
7028
|
ftype: "simple_pin_header";
|
|
6834
7029
|
pin_count: number;
|
|
6835
7030
|
gender: "male" | "female";
|
|
7031
|
+
subcircuit_id?: string | undefined;
|
|
6836
7032
|
source_group_id?: string | undefined;
|
|
6837
7033
|
manufacturer_part_number?: string | undefined;
|
|
6838
7034
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6845,6 +7041,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6845
7041
|
source_component_id: string;
|
|
6846
7042
|
ftype: "simple_pin_header";
|
|
6847
7043
|
pin_count: number;
|
|
7044
|
+
subcircuit_id?: string | undefined;
|
|
6848
7045
|
source_group_id?: string | undefined;
|
|
6849
7046
|
manufacturer_part_number?: string | undefined;
|
|
6850
7047
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6862,6 +7059,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6862
7059
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6863
7060
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6864
7061
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7062
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6865
7063
|
} & {
|
|
6866
7064
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
6867
7065
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -6874,6 +7072,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6874
7072
|
ftype: "simple_resonator";
|
|
6875
7073
|
frequency: number;
|
|
6876
7074
|
load_capacitance: number;
|
|
7075
|
+
subcircuit_id?: string | undefined;
|
|
6877
7076
|
source_group_id?: string | undefined;
|
|
6878
7077
|
manufacturer_part_number?: string | undefined;
|
|
6879
7078
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6888,6 +7087,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6888
7087
|
ftype: "simple_resonator";
|
|
6889
7088
|
frequency: string | number;
|
|
6890
7089
|
load_capacitance: string | number;
|
|
7090
|
+
subcircuit_id?: string | undefined;
|
|
6891
7091
|
source_group_id?: string | undefined;
|
|
6892
7092
|
manufacturer_part_number?: string | undefined;
|
|
6893
7093
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6905,6 +7105,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6905
7105
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6906
7106
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6907
7107
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7108
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6908
7109
|
} & {
|
|
6909
7110
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
6910
7111
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6912,6 +7113,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6912
7113
|
name: string;
|
|
6913
7114
|
source_component_id: string;
|
|
6914
7115
|
ftype: "simple_switch";
|
|
7116
|
+
subcircuit_id?: string | undefined;
|
|
6915
7117
|
source_group_id?: string | undefined;
|
|
6916
7118
|
manufacturer_part_number?: string | undefined;
|
|
6917
7119
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6923,6 +7125,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6923
7125
|
name: string;
|
|
6924
7126
|
source_component_id: string;
|
|
6925
7127
|
ftype: "simple_switch";
|
|
7128
|
+
subcircuit_id?: string | undefined;
|
|
6926
7129
|
source_group_id?: string | undefined;
|
|
6927
7130
|
manufacturer_part_number?: string | undefined;
|
|
6928
7131
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6939,6 +7142,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6939
7142
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6940
7143
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6941
7144
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7145
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6942
7146
|
} & {
|
|
6943
7147
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
6944
7148
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -6948,6 +7152,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6948
7152
|
source_component_id: string;
|
|
6949
7153
|
ftype: "simple_transistor";
|
|
6950
7154
|
transistor_type: "npn" | "pnp";
|
|
7155
|
+
subcircuit_id?: string | undefined;
|
|
6951
7156
|
source_group_id?: string | undefined;
|
|
6952
7157
|
manufacturer_part_number?: string | undefined;
|
|
6953
7158
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6960,6 +7165,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6960
7165
|
source_component_id: string;
|
|
6961
7166
|
ftype: "simple_transistor";
|
|
6962
7167
|
transistor_type: "npn" | "pnp";
|
|
7168
|
+
subcircuit_id?: string | undefined;
|
|
6963
7169
|
source_group_id?: string | undefined;
|
|
6964
7170
|
manufacturer_part_number?: string | undefined;
|
|
6965
7171
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6976,6 +7182,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6976
7182
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6977
7183
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6978
7184
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7185
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6979
7186
|
} & {
|
|
6980
7187
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
6981
7188
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -6991,6 +7198,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6991
7198
|
ftype: "simple_test_point";
|
|
6992
7199
|
width?: string | number | undefined;
|
|
6993
7200
|
height?: string | number | undefined;
|
|
7201
|
+
subcircuit_id?: string | undefined;
|
|
6994
7202
|
hole_diameter?: string | number | undefined;
|
|
6995
7203
|
pad_shape?: "circle" | "rect" | undefined;
|
|
6996
7204
|
source_group_id?: string | undefined;
|
|
@@ -7008,6 +7216,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7008
7216
|
ftype: "simple_test_point";
|
|
7009
7217
|
width?: string | number | undefined;
|
|
7010
7218
|
height?: string | number | undefined;
|
|
7219
|
+
subcircuit_id?: string | undefined;
|
|
7011
7220
|
hole_diameter?: string | number | undefined;
|
|
7012
7221
|
pad_shape?: "circle" | "rect" | undefined;
|
|
7013
7222
|
source_group_id?: string | undefined;
|
|
@@ -7028,6 +7237,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7028
7237
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7029
7238
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7030
7239
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7240
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7031
7241
|
} & {
|
|
7032
7242
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
7033
7243
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -7039,6 +7249,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7039
7249
|
ftype: "simple_mosfet";
|
|
7040
7250
|
channel_type: "n" | "p";
|
|
7041
7251
|
mosfet_mode: "enhancement" | "depletion";
|
|
7252
|
+
subcircuit_id?: string | undefined;
|
|
7042
7253
|
source_group_id?: string | undefined;
|
|
7043
7254
|
manufacturer_part_number?: string | undefined;
|
|
7044
7255
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7052,6 +7263,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7052
7263
|
ftype: "simple_mosfet";
|
|
7053
7264
|
channel_type: "n" | "p";
|
|
7054
7265
|
mosfet_mode: "enhancement" | "depletion";
|
|
7266
|
+
subcircuit_id?: string | undefined;
|
|
7055
7267
|
source_group_id?: string | undefined;
|
|
7056
7268
|
manufacturer_part_number?: string | undefined;
|
|
7057
7269
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7068,6 +7280,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7068
7280
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7069
7281
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7070
7282
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7283
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7071
7284
|
} & {
|
|
7072
7285
|
ftype: z.ZodLiteral<"simple_fuse">;
|
|
7073
7286
|
current_rating_amps: z.ZodNumber;
|
|
@@ -7079,6 +7292,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7079
7292
|
ftype: "simple_fuse";
|
|
7080
7293
|
current_rating_amps: number;
|
|
7081
7294
|
voltage_rating_volts: number;
|
|
7295
|
+
subcircuit_id?: string | undefined;
|
|
7082
7296
|
source_group_id?: string | undefined;
|
|
7083
7297
|
manufacturer_part_number?: string | undefined;
|
|
7084
7298
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7092,6 +7306,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7092
7306
|
ftype: "simple_fuse";
|
|
7093
7307
|
current_rating_amps: number;
|
|
7094
7308
|
voltage_rating_volts: number;
|
|
7309
|
+
subcircuit_id?: string | undefined;
|
|
7095
7310
|
source_group_id?: string | undefined;
|
|
7096
7311
|
manufacturer_part_number?: string | undefined;
|
|
7097
7312
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7121,6 +7336,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7121
7336
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7122
7337
|
source_component_id: z.ZodString;
|
|
7123
7338
|
property_name: z.ZodString;
|
|
7339
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7124
7340
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
7125
7341
|
message: z.ZodString;
|
|
7126
7342
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7130,11 +7346,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7130
7346
|
error_type: "source_missing_property_error";
|
|
7131
7347
|
source_missing_property_error_id: string;
|
|
7132
7348
|
property_name: string;
|
|
7349
|
+
subcircuit_id?: string | undefined;
|
|
7133
7350
|
}, {
|
|
7134
7351
|
message: string;
|
|
7135
7352
|
type: "source_missing_property_error";
|
|
7136
7353
|
source_component_id: string;
|
|
7137
7354
|
property_name: string;
|
|
7355
|
+
subcircuit_id?: string | undefined;
|
|
7138
7356
|
error_type?: "source_missing_property_error" | undefined;
|
|
7139
7357
|
source_missing_property_error_id?: string | undefined;
|
|
7140
7358
|
}>, z.ZodObject<{
|
|
@@ -7458,6 +7676,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
7458
7676
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7459
7677
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7460
7678
|
}>>;
|
|
7679
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7461
7680
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
7462
7681
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
7463
7682
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
@@ -7479,6 +7698,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
7479
7698
|
y: number;
|
|
7480
7699
|
z: number;
|
|
7481
7700
|
} | undefined;
|
|
7701
|
+
subcircuit_id?: string | undefined;
|
|
7482
7702
|
size?: {
|
|
7483
7703
|
x: number;
|
|
7484
7704
|
y: number;
|
|
@@ -7507,6 +7727,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
7507
7727
|
y: string | number;
|
|
7508
7728
|
z: string | number;
|
|
7509
7729
|
} | undefined;
|
|
7730
|
+
subcircuit_id?: string | undefined;
|
|
7510
7731
|
size?: {
|
|
7511
7732
|
x: string | number;
|
|
7512
7733
|
y: string | number;
|
|
@@ -7528,6 +7749,7 @@ interface CadComponent {
|
|
|
7528
7749
|
rotation?: Point3;
|
|
7529
7750
|
size?: Point3;
|
|
7530
7751
|
layer?: LayerRef;
|
|
7752
|
+
subcircuit_id?: string;
|
|
7531
7753
|
footprinter_string?: string;
|
|
7532
7754
|
model_obj_url?: string;
|
|
7533
7755
|
model_stl_url?: string;
|
|
@@ -7602,6 +7824,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7602
7824
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7603
7825
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7604
7826
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7827
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7605
7828
|
} & {
|
|
7606
7829
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
7607
7830
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7612,6 +7835,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7612
7835
|
source_component_id: string;
|
|
7613
7836
|
ftype: "simple_resistor";
|
|
7614
7837
|
resistance: number;
|
|
7838
|
+
subcircuit_id?: string | undefined;
|
|
7615
7839
|
source_group_id?: string | undefined;
|
|
7616
7840
|
manufacturer_part_number?: string | undefined;
|
|
7617
7841
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7625,6 +7849,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7625
7849
|
source_component_id: string;
|
|
7626
7850
|
ftype: "simple_resistor";
|
|
7627
7851
|
resistance: string | number;
|
|
7852
|
+
subcircuit_id?: string | undefined;
|
|
7628
7853
|
source_group_id?: string | undefined;
|
|
7629
7854
|
manufacturer_part_number?: string | undefined;
|
|
7630
7855
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7642,6 +7867,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7642
7867
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7643
7868
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7644
7869
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7870
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7645
7871
|
} & {
|
|
7646
7872
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
7647
7873
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -7654,6 +7880,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7654
7880
|
source_component_id: string;
|
|
7655
7881
|
ftype: "simple_capacitor";
|
|
7656
7882
|
capacitance: number;
|
|
7883
|
+
subcircuit_id?: string | undefined;
|
|
7657
7884
|
source_group_id?: string | undefined;
|
|
7658
7885
|
manufacturer_part_number?: string | undefined;
|
|
7659
7886
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7669,6 +7896,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7669
7896
|
source_component_id: string;
|
|
7670
7897
|
ftype: "simple_capacitor";
|
|
7671
7898
|
capacitance: string | number;
|
|
7899
|
+
subcircuit_id?: string | undefined;
|
|
7672
7900
|
source_group_id?: string | undefined;
|
|
7673
7901
|
manufacturer_part_number?: string | undefined;
|
|
7674
7902
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7688,6 +7916,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7688
7916
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7689
7917
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7690
7918
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7919
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7691
7920
|
} & {
|
|
7692
7921
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
7693
7922
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7695,6 +7924,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7695
7924
|
name: string;
|
|
7696
7925
|
source_component_id: string;
|
|
7697
7926
|
ftype: "simple_diode";
|
|
7927
|
+
subcircuit_id?: string | undefined;
|
|
7698
7928
|
source_group_id?: string | undefined;
|
|
7699
7929
|
manufacturer_part_number?: string | undefined;
|
|
7700
7930
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7706,6 +7936,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7706
7936
|
name: string;
|
|
7707
7937
|
source_component_id: string;
|
|
7708
7938
|
ftype: "simple_diode";
|
|
7939
|
+
subcircuit_id?: string | undefined;
|
|
7709
7940
|
source_group_id?: string | undefined;
|
|
7710
7941
|
manufacturer_part_number?: string | undefined;
|
|
7711
7942
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7722,6 +7953,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7722
7953
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7723
7954
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7724
7955
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7956
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7725
7957
|
} & {
|
|
7726
7958
|
ftype: z.ZodLiteral<"simple_led">;
|
|
7727
7959
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -7731,6 +7963,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7731
7963
|
name: string;
|
|
7732
7964
|
source_component_id: string;
|
|
7733
7965
|
ftype: "simple_led";
|
|
7966
|
+
subcircuit_id?: string | undefined;
|
|
7734
7967
|
color?: string | undefined;
|
|
7735
7968
|
source_group_id?: string | undefined;
|
|
7736
7969
|
manufacturer_part_number?: string | undefined;
|
|
@@ -7744,6 +7977,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7744
7977
|
name: string;
|
|
7745
7978
|
source_component_id: string;
|
|
7746
7979
|
ftype: "simple_led";
|
|
7980
|
+
subcircuit_id?: string | undefined;
|
|
7747
7981
|
color?: string | undefined;
|
|
7748
7982
|
source_group_id?: string | undefined;
|
|
7749
7983
|
manufacturer_part_number?: string | undefined;
|
|
@@ -7762,6 +7996,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7762
7996
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7763
7997
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7764
7998
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7999
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7765
8000
|
} & {
|
|
7766
8001
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
7767
8002
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7769,6 +8004,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7769
8004
|
name: string;
|
|
7770
8005
|
source_component_id: string;
|
|
7771
8006
|
ftype: "simple_ground";
|
|
8007
|
+
subcircuit_id?: string | undefined;
|
|
7772
8008
|
source_group_id?: string | undefined;
|
|
7773
8009
|
manufacturer_part_number?: string | undefined;
|
|
7774
8010
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7780,6 +8016,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7780
8016
|
name: string;
|
|
7781
8017
|
source_component_id: string;
|
|
7782
8018
|
ftype: "simple_ground";
|
|
8019
|
+
subcircuit_id?: string | undefined;
|
|
7783
8020
|
source_group_id?: string | undefined;
|
|
7784
8021
|
manufacturer_part_number?: string | undefined;
|
|
7785
8022
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7796,6 +8033,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7796
8033
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7797
8034
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7798
8035
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8036
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7799
8037
|
} & {
|
|
7800
8038
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
7801
8039
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7803,6 +8041,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7803
8041
|
name: string;
|
|
7804
8042
|
source_component_id: string;
|
|
7805
8043
|
ftype: "simple_chip";
|
|
8044
|
+
subcircuit_id?: string | undefined;
|
|
7806
8045
|
source_group_id?: string | undefined;
|
|
7807
8046
|
manufacturer_part_number?: string | undefined;
|
|
7808
8047
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7814,6 +8053,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7814
8053
|
name: string;
|
|
7815
8054
|
source_component_id: string;
|
|
7816
8055
|
ftype: "simple_chip";
|
|
8056
|
+
subcircuit_id?: string | undefined;
|
|
7817
8057
|
source_group_id?: string | undefined;
|
|
7818
8058
|
manufacturer_part_number?: string | undefined;
|
|
7819
8059
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7830,6 +8070,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7830
8070
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7831
8071
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7832
8072
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8073
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7833
8074
|
} & {
|
|
7834
8075
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
7835
8076
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7839,6 +8080,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7839
8080
|
source_component_id: string;
|
|
7840
8081
|
voltage: number;
|
|
7841
8082
|
ftype: "simple_power_source";
|
|
8083
|
+
subcircuit_id?: string | undefined;
|
|
7842
8084
|
source_group_id?: string | undefined;
|
|
7843
8085
|
manufacturer_part_number?: string | undefined;
|
|
7844
8086
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7851,6 +8093,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7851
8093
|
source_component_id: string;
|
|
7852
8094
|
voltage: string | number;
|
|
7853
8095
|
ftype: "simple_power_source";
|
|
8096
|
+
subcircuit_id?: string | undefined;
|
|
7854
8097
|
source_group_id?: string | undefined;
|
|
7855
8098
|
manufacturer_part_number?: string | undefined;
|
|
7856
8099
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7867,6 +8110,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7867
8110
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7868
8111
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7869
8112
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8113
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7870
8114
|
} & {
|
|
7871
8115
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
7872
8116
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -7876,6 +8120,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7876
8120
|
source_component_id: string;
|
|
7877
8121
|
ftype: "simple_battery";
|
|
7878
8122
|
capacity: number;
|
|
8123
|
+
subcircuit_id?: string | undefined;
|
|
7879
8124
|
source_group_id?: string | undefined;
|
|
7880
8125
|
manufacturer_part_number?: string | undefined;
|
|
7881
8126
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7888,6 +8133,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7888
8133
|
source_component_id: string;
|
|
7889
8134
|
ftype: "simple_battery";
|
|
7890
8135
|
capacity: string | number;
|
|
8136
|
+
subcircuit_id?: string | undefined;
|
|
7891
8137
|
source_group_id?: string | undefined;
|
|
7892
8138
|
manufacturer_part_number?: string | undefined;
|
|
7893
8139
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7904,6 +8150,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7904
8150
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7905
8151
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7906
8152
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8153
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7907
8154
|
} & {
|
|
7908
8155
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
7909
8156
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7914,6 +8161,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7914
8161
|
source_component_id: string;
|
|
7915
8162
|
ftype: "simple_inductor";
|
|
7916
8163
|
inductance: number;
|
|
8164
|
+
subcircuit_id?: string | undefined;
|
|
7917
8165
|
source_group_id?: string | undefined;
|
|
7918
8166
|
manufacturer_part_number?: string | undefined;
|
|
7919
8167
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7927,6 +8175,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7927
8175
|
source_component_id: string;
|
|
7928
8176
|
ftype: "simple_inductor";
|
|
7929
8177
|
inductance: string | number;
|
|
8178
|
+
subcircuit_id?: string | undefined;
|
|
7930
8179
|
source_group_id?: string | undefined;
|
|
7931
8180
|
manufacturer_part_number?: string | undefined;
|
|
7932
8181
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7944,6 +8193,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7944
8193
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7945
8194
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7946
8195
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8196
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7947
8197
|
} & {
|
|
7948
8198
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7949
8199
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7951,6 +8201,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7951
8201
|
name: string;
|
|
7952
8202
|
source_component_id: string;
|
|
7953
8203
|
ftype: "simple_push_button";
|
|
8204
|
+
subcircuit_id?: string | undefined;
|
|
7954
8205
|
source_group_id?: string | undefined;
|
|
7955
8206
|
manufacturer_part_number?: string | undefined;
|
|
7956
8207
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7962,6 +8213,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7962
8213
|
name: string;
|
|
7963
8214
|
source_component_id: string;
|
|
7964
8215
|
ftype: "simple_push_button";
|
|
8216
|
+
subcircuit_id?: string | undefined;
|
|
7965
8217
|
source_group_id?: string | undefined;
|
|
7966
8218
|
manufacturer_part_number?: string | undefined;
|
|
7967
8219
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7978,6 +8230,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7978
8230
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7979
8231
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7980
8232
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8233
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7981
8234
|
} & {
|
|
7982
8235
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
7983
8236
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7987,6 +8240,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7987
8240
|
source_component_id: string;
|
|
7988
8241
|
ftype: "simple_potentiometer";
|
|
7989
8242
|
max_resistance: number;
|
|
8243
|
+
subcircuit_id?: string | undefined;
|
|
7990
8244
|
source_group_id?: string | undefined;
|
|
7991
8245
|
manufacturer_part_number?: string | undefined;
|
|
7992
8246
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7999,6 +8253,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7999
8253
|
source_component_id: string;
|
|
8000
8254
|
ftype: "simple_potentiometer";
|
|
8001
8255
|
max_resistance: string | number;
|
|
8256
|
+
subcircuit_id?: string | undefined;
|
|
8002
8257
|
source_group_id?: string | undefined;
|
|
8003
8258
|
manufacturer_part_number?: string | undefined;
|
|
8004
8259
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8015,6 +8270,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8015
8270
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8016
8271
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8017
8272
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8273
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8018
8274
|
} & {
|
|
8019
8275
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
8020
8276
|
frequency: z.ZodNumber;
|
|
@@ -8025,6 +8281,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8025
8281
|
source_component_id: string;
|
|
8026
8282
|
ftype: "simple_crystal";
|
|
8027
8283
|
frequency: number;
|
|
8284
|
+
subcircuit_id?: string | undefined;
|
|
8028
8285
|
source_group_id?: string | undefined;
|
|
8029
8286
|
manufacturer_part_number?: string | undefined;
|
|
8030
8287
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8038,6 +8295,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8038
8295
|
source_component_id: string;
|
|
8039
8296
|
ftype: "simple_crystal";
|
|
8040
8297
|
frequency: number;
|
|
8298
|
+
subcircuit_id?: string | undefined;
|
|
8041
8299
|
source_group_id?: string | undefined;
|
|
8042
8300
|
manufacturer_part_number?: string | undefined;
|
|
8043
8301
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8055,6 +8313,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8055
8313
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8056
8314
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8057
8315
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8316
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8058
8317
|
} & {
|
|
8059
8318
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
8060
8319
|
pin_count: z.ZodNumber;
|
|
@@ -8066,6 +8325,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8066
8325
|
ftype: "simple_pin_header";
|
|
8067
8326
|
pin_count: number;
|
|
8068
8327
|
gender: "male" | "female";
|
|
8328
|
+
subcircuit_id?: string | undefined;
|
|
8069
8329
|
source_group_id?: string | undefined;
|
|
8070
8330
|
manufacturer_part_number?: string | undefined;
|
|
8071
8331
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8078,6 +8338,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8078
8338
|
source_component_id: string;
|
|
8079
8339
|
ftype: "simple_pin_header";
|
|
8080
8340
|
pin_count: number;
|
|
8341
|
+
subcircuit_id?: string | undefined;
|
|
8081
8342
|
source_group_id?: string | undefined;
|
|
8082
8343
|
manufacturer_part_number?: string | undefined;
|
|
8083
8344
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8095,6 +8356,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8095
8356
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8096
8357
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8097
8358
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8359
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8098
8360
|
} & {
|
|
8099
8361
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8100
8362
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8107,6 +8369,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8107
8369
|
ftype: "simple_resonator";
|
|
8108
8370
|
frequency: number;
|
|
8109
8371
|
load_capacitance: number;
|
|
8372
|
+
subcircuit_id?: string | undefined;
|
|
8110
8373
|
source_group_id?: string | undefined;
|
|
8111
8374
|
manufacturer_part_number?: string | undefined;
|
|
8112
8375
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8121,6 +8384,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8121
8384
|
ftype: "simple_resonator";
|
|
8122
8385
|
frequency: string | number;
|
|
8123
8386
|
load_capacitance: string | number;
|
|
8387
|
+
subcircuit_id?: string | undefined;
|
|
8124
8388
|
source_group_id?: string | undefined;
|
|
8125
8389
|
manufacturer_part_number?: string | undefined;
|
|
8126
8390
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8138,6 +8402,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8138
8402
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8139
8403
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8140
8404
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8405
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8141
8406
|
} & {
|
|
8142
8407
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
8143
8408
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8145,6 +8410,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8145
8410
|
name: string;
|
|
8146
8411
|
source_component_id: string;
|
|
8147
8412
|
ftype: "simple_switch";
|
|
8413
|
+
subcircuit_id?: string | undefined;
|
|
8148
8414
|
source_group_id?: string | undefined;
|
|
8149
8415
|
manufacturer_part_number?: string | undefined;
|
|
8150
8416
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8156,6 +8422,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8156
8422
|
name: string;
|
|
8157
8423
|
source_component_id: string;
|
|
8158
8424
|
ftype: "simple_switch";
|
|
8425
|
+
subcircuit_id?: string | undefined;
|
|
8159
8426
|
source_group_id?: string | undefined;
|
|
8160
8427
|
manufacturer_part_number?: string | undefined;
|
|
8161
8428
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8172,6 +8439,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8172
8439
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8173
8440
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8174
8441
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8442
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8175
8443
|
} & {
|
|
8176
8444
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
8177
8445
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -8181,6 +8449,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8181
8449
|
source_component_id: string;
|
|
8182
8450
|
ftype: "simple_transistor";
|
|
8183
8451
|
transistor_type: "npn" | "pnp";
|
|
8452
|
+
subcircuit_id?: string | undefined;
|
|
8184
8453
|
source_group_id?: string | undefined;
|
|
8185
8454
|
manufacturer_part_number?: string | undefined;
|
|
8186
8455
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8193,6 +8462,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8193
8462
|
source_component_id: string;
|
|
8194
8463
|
ftype: "simple_transistor";
|
|
8195
8464
|
transistor_type: "npn" | "pnp";
|
|
8465
|
+
subcircuit_id?: string | undefined;
|
|
8196
8466
|
source_group_id?: string | undefined;
|
|
8197
8467
|
manufacturer_part_number?: string | undefined;
|
|
8198
8468
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8209,6 +8479,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8209
8479
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8210
8480
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8211
8481
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8482
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8212
8483
|
} & {
|
|
8213
8484
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8214
8485
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -8224,6 +8495,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8224
8495
|
ftype: "simple_test_point";
|
|
8225
8496
|
width?: string | number | undefined;
|
|
8226
8497
|
height?: string | number | undefined;
|
|
8498
|
+
subcircuit_id?: string | undefined;
|
|
8227
8499
|
hole_diameter?: string | number | undefined;
|
|
8228
8500
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8229
8501
|
source_group_id?: string | undefined;
|
|
@@ -8241,6 +8513,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8241
8513
|
ftype: "simple_test_point";
|
|
8242
8514
|
width?: string | number | undefined;
|
|
8243
8515
|
height?: string | number | undefined;
|
|
8516
|
+
subcircuit_id?: string | undefined;
|
|
8244
8517
|
hole_diameter?: string | number | undefined;
|
|
8245
8518
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8246
8519
|
source_group_id?: string | undefined;
|
|
@@ -8261,6 +8534,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8261
8534
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8262
8535
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8263
8536
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8537
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8264
8538
|
} & {
|
|
8265
8539
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
8266
8540
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -8272,6 +8546,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8272
8546
|
ftype: "simple_mosfet";
|
|
8273
8547
|
channel_type: "n" | "p";
|
|
8274
8548
|
mosfet_mode: "enhancement" | "depletion";
|
|
8549
|
+
subcircuit_id?: string | undefined;
|
|
8275
8550
|
source_group_id?: string | undefined;
|
|
8276
8551
|
manufacturer_part_number?: string | undefined;
|
|
8277
8552
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8285,6 +8560,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8285
8560
|
ftype: "simple_mosfet";
|
|
8286
8561
|
channel_type: "n" | "p";
|
|
8287
8562
|
mosfet_mode: "enhancement" | "depletion";
|
|
8563
|
+
subcircuit_id?: string | undefined;
|
|
8288
8564
|
source_group_id?: string | undefined;
|
|
8289
8565
|
manufacturer_part_number?: string | undefined;
|
|
8290
8566
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8301,6 +8577,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8301
8577
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8302
8578
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8303
8579
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8580
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8304
8581
|
} & {
|
|
8305
8582
|
ftype: z.ZodLiteral<"simple_fuse">;
|
|
8306
8583
|
current_rating_amps: z.ZodNumber;
|
|
@@ -8312,6 +8589,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8312
8589
|
ftype: "simple_fuse";
|
|
8313
8590
|
current_rating_amps: number;
|
|
8314
8591
|
voltage_rating_volts: number;
|
|
8592
|
+
subcircuit_id?: string | undefined;
|
|
8315
8593
|
source_group_id?: string | undefined;
|
|
8316
8594
|
manufacturer_part_number?: string | undefined;
|
|
8317
8595
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8325,6 +8603,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8325
8603
|
ftype: "simple_fuse";
|
|
8326
8604
|
current_rating_amps: number;
|
|
8327
8605
|
voltage_rating_volts: number;
|
|
8606
|
+
subcircuit_id?: string | undefined;
|
|
8328
8607
|
source_group_id?: string | undefined;
|
|
8329
8608
|
manufacturer_part_number?: string | undefined;
|
|
8330
8609
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8354,6 +8633,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8354
8633
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8355
8634
|
source_component_id: z.ZodString;
|
|
8356
8635
|
property_name: z.ZodString;
|
|
8636
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8357
8637
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
8358
8638
|
message: z.ZodString;
|
|
8359
8639
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8363,11 +8643,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8363
8643
|
error_type: "source_missing_property_error";
|
|
8364
8644
|
source_missing_property_error_id: string;
|
|
8365
8645
|
property_name: string;
|
|
8646
|
+
subcircuit_id?: string | undefined;
|
|
8366
8647
|
}, {
|
|
8367
8648
|
message: string;
|
|
8368
8649
|
type: "source_missing_property_error";
|
|
8369
8650
|
source_component_id: string;
|
|
8370
8651
|
property_name: string;
|
|
8652
|
+
subcircuit_id?: string | undefined;
|
|
8371
8653
|
error_type?: "source_missing_property_error" | undefined;
|
|
8372
8654
|
source_missing_property_error_id?: string | undefined;
|
|
8373
8655
|
}>, z.ZodObject<{
|
|
@@ -8497,6 +8779,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8497
8779
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8498
8780
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8499
8781
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8782
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8500
8783
|
} & {
|
|
8501
8784
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
8502
8785
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8504,6 +8787,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8504
8787
|
name: string;
|
|
8505
8788
|
source_component_id: string;
|
|
8506
8789
|
ftype: "simple_chip";
|
|
8790
|
+
subcircuit_id?: string | undefined;
|
|
8507
8791
|
source_group_id?: string | undefined;
|
|
8508
8792
|
manufacturer_part_number?: string | undefined;
|
|
8509
8793
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8515,6 +8799,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8515
8799
|
name: string;
|
|
8516
8800
|
source_component_id: string;
|
|
8517
8801
|
ftype: "simple_chip";
|
|
8802
|
+
subcircuit_id?: string | undefined;
|
|
8518
8803
|
source_group_id?: string | undefined;
|
|
8519
8804
|
manufacturer_part_number?: string | undefined;
|
|
8520
8805
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8531,6 +8816,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8531
8816
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8532
8817
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8533
8818
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8819
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8534
8820
|
} & {
|
|
8535
8821
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
8536
8822
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8543,6 +8829,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8543
8829
|
source_component_id: string;
|
|
8544
8830
|
ftype: "simple_capacitor";
|
|
8545
8831
|
capacitance: number;
|
|
8832
|
+
subcircuit_id?: string | undefined;
|
|
8546
8833
|
source_group_id?: string | undefined;
|
|
8547
8834
|
manufacturer_part_number?: string | undefined;
|
|
8548
8835
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8558,6 +8845,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8558
8845
|
source_component_id: string;
|
|
8559
8846
|
ftype: "simple_capacitor";
|
|
8560
8847
|
capacitance: string | number;
|
|
8848
|
+
subcircuit_id?: string | undefined;
|
|
8561
8849
|
source_group_id?: string | undefined;
|
|
8562
8850
|
manufacturer_part_number?: string | undefined;
|
|
8563
8851
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8577,6 +8865,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8577
8865
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8578
8866
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8579
8867
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8868
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8580
8869
|
} & {
|
|
8581
8870
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
8582
8871
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8584,6 +8873,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8584
8873
|
name: string;
|
|
8585
8874
|
source_component_id: string;
|
|
8586
8875
|
ftype: "simple_diode";
|
|
8876
|
+
subcircuit_id?: string | undefined;
|
|
8587
8877
|
source_group_id?: string | undefined;
|
|
8588
8878
|
manufacturer_part_number?: string | undefined;
|
|
8589
8879
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8595,6 +8885,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8595
8885
|
name: string;
|
|
8596
8886
|
source_component_id: string;
|
|
8597
8887
|
ftype: "simple_diode";
|
|
8888
|
+
subcircuit_id?: string | undefined;
|
|
8598
8889
|
source_group_id?: string | undefined;
|
|
8599
8890
|
manufacturer_part_number?: string | undefined;
|
|
8600
8891
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8611,6 +8902,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8611
8902
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8612
8903
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8613
8904
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8905
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8614
8906
|
} & {
|
|
8615
8907
|
ftype: z.ZodLiteral<"simple_led">;
|
|
8616
8908
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -8620,6 +8912,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8620
8912
|
name: string;
|
|
8621
8913
|
source_component_id: string;
|
|
8622
8914
|
ftype: "simple_led";
|
|
8915
|
+
subcircuit_id?: string | undefined;
|
|
8623
8916
|
color?: string | undefined;
|
|
8624
8917
|
source_group_id?: string | undefined;
|
|
8625
8918
|
manufacturer_part_number?: string | undefined;
|
|
@@ -8633,6 +8926,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8633
8926
|
name: string;
|
|
8634
8927
|
source_component_id: string;
|
|
8635
8928
|
ftype: "simple_led";
|
|
8929
|
+
subcircuit_id?: string | undefined;
|
|
8636
8930
|
color?: string | undefined;
|
|
8637
8931
|
source_group_id?: string | undefined;
|
|
8638
8932
|
manufacturer_part_number?: string | undefined;
|
|
@@ -8651,6 +8945,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8651
8945
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8652
8946
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8653
8947
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8948
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8654
8949
|
} & {
|
|
8655
8950
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
8656
8951
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8661,6 +8956,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8661
8956
|
source_component_id: string;
|
|
8662
8957
|
ftype: "simple_resistor";
|
|
8663
8958
|
resistance: number;
|
|
8959
|
+
subcircuit_id?: string | undefined;
|
|
8664
8960
|
source_group_id?: string | undefined;
|
|
8665
8961
|
manufacturer_part_number?: string | undefined;
|
|
8666
8962
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8674,6 +8970,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8674
8970
|
source_component_id: string;
|
|
8675
8971
|
ftype: "simple_resistor";
|
|
8676
8972
|
resistance: string | number;
|
|
8973
|
+
subcircuit_id?: string | undefined;
|
|
8677
8974
|
source_group_id?: string | undefined;
|
|
8678
8975
|
manufacturer_part_number?: string | undefined;
|
|
8679
8976
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8691,6 +8988,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8691
8988
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8692
8989
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8693
8990
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8991
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8694
8992
|
} & {
|
|
8695
8993
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
8696
8994
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8700,6 +8998,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8700
8998
|
source_component_id: string;
|
|
8701
8999
|
voltage: number;
|
|
8702
9000
|
ftype: "simple_power_source";
|
|
9001
|
+
subcircuit_id?: string | undefined;
|
|
8703
9002
|
source_group_id?: string | undefined;
|
|
8704
9003
|
manufacturer_part_number?: string | undefined;
|
|
8705
9004
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8712,6 +9011,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8712
9011
|
source_component_id: string;
|
|
8713
9012
|
voltage: string | number;
|
|
8714
9013
|
ftype: "simple_power_source";
|
|
9014
|
+
subcircuit_id?: string | undefined;
|
|
8715
9015
|
source_group_id?: string | undefined;
|
|
8716
9016
|
manufacturer_part_number?: string | undefined;
|
|
8717
9017
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8728,6 +9028,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8728
9028
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8729
9029
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8730
9030
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9031
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8731
9032
|
} & {
|
|
8732
9033
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
8733
9034
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -8737,6 +9038,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8737
9038
|
source_component_id: string;
|
|
8738
9039
|
ftype: "simple_battery";
|
|
8739
9040
|
capacity: number;
|
|
9041
|
+
subcircuit_id?: string | undefined;
|
|
8740
9042
|
source_group_id?: string | undefined;
|
|
8741
9043
|
manufacturer_part_number?: string | undefined;
|
|
8742
9044
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8749,6 +9051,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8749
9051
|
source_component_id: string;
|
|
8750
9052
|
ftype: "simple_battery";
|
|
8751
9053
|
capacity: string | number;
|
|
9054
|
+
subcircuit_id?: string | undefined;
|
|
8752
9055
|
source_group_id?: string | undefined;
|
|
8753
9056
|
manufacturer_part_number?: string | undefined;
|
|
8754
9057
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8765,6 +9068,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8765
9068
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8766
9069
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8767
9070
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9071
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8768
9072
|
} & {
|
|
8769
9073
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
8770
9074
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8775,6 +9079,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8775
9079
|
source_component_id: string;
|
|
8776
9080
|
ftype: "simple_inductor";
|
|
8777
9081
|
inductance: number;
|
|
9082
|
+
subcircuit_id?: string | undefined;
|
|
8778
9083
|
source_group_id?: string | undefined;
|
|
8779
9084
|
manufacturer_part_number?: string | undefined;
|
|
8780
9085
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8788,6 +9093,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8788
9093
|
source_component_id: string;
|
|
8789
9094
|
ftype: "simple_inductor";
|
|
8790
9095
|
inductance: string | number;
|
|
9096
|
+
subcircuit_id?: string | undefined;
|
|
8791
9097
|
source_group_id?: string | undefined;
|
|
8792
9098
|
manufacturer_part_number?: string | undefined;
|
|
8793
9099
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8805,6 +9111,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8805
9111
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8806
9112
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8807
9113
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9114
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8808
9115
|
} & {
|
|
8809
9116
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
8810
9117
|
pin_count: z.ZodNumber;
|
|
@@ -8816,6 +9123,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8816
9123
|
ftype: "simple_pin_header";
|
|
8817
9124
|
pin_count: number;
|
|
8818
9125
|
gender: "male" | "female";
|
|
9126
|
+
subcircuit_id?: string | undefined;
|
|
8819
9127
|
source_group_id?: string | undefined;
|
|
8820
9128
|
manufacturer_part_number?: string | undefined;
|
|
8821
9129
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8828,6 +9136,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8828
9136
|
source_component_id: string;
|
|
8829
9137
|
ftype: "simple_pin_header";
|
|
8830
9138
|
pin_count: number;
|
|
9139
|
+
subcircuit_id?: string | undefined;
|
|
8831
9140
|
source_group_id?: string | undefined;
|
|
8832
9141
|
manufacturer_part_number?: string | undefined;
|
|
8833
9142
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8845,6 +9154,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8845
9154
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8846
9155
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8847
9156
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9157
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8848
9158
|
} & {
|
|
8849
9159
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8850
9160
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8857,6 +9167,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8857
9167
|
ftype: "simple_resonator";
|
|
8858
9168
|
frequency: number;
|
|
8859
9169
|
load_capacitance: number;
|
|
9170
|
+
subcircuit_id?: string | undefined;
|
|
8860
9171
|
source_group_id?: string | undefined;
|
|
8861
9172
|
manufacturer_part_number?: string | undefined;
|
|
8862
9173
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8871,6 +9182,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8871
9182
|
ftype: "simple_resonator";
|
|
8872
9183
|
frequency: string | number;
|
|
8873
9184
|
load_capacitance: string | number;
|
|
9185
|
+
subcircuit_id?: string | undefined;
|
|
8874
9186
|
source_group_id?: string | undefined;
|
|
8875
9187
|
manufacturer_part_number?: string | undefined;
|
|
8876
9188
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8888,6 +9200,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8888
9200
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8889
9201
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8890
9202
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9203
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8891
9204
|
} & {
|
|
8892
9205
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
8893
9206
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8895,6 +9208,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8895
9208
|
name: string;
|
|
8896
9209
|
source_component_id: string;
|
|
8897
9210
|
ftype: "simple_switch";
|
|
9211
|
+
subcircuit_id?: string | undefined;
|
|
8898
9212
|
source_group_id?: string | undefined;
|
|
8899
9213
|
manufacturer_part_number?: string | undefined;
|
|
8900
9214
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8906,6 +9220,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8906
9220
|
name: string;
|
|
8907
9221
|
source_component_id: string;
|
|
8908
9222
|
ftype: "simple_switch";
|
|
9223
|
+
subcircuit_id?: string | undefined;
|
|
8909
9224
|
source_group_id?: string | undefined;
|
|
8910
9225
|
manufacturer_part_number?: string | undefined;
|
|
8911
9226
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8922,6 +9237,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8922
9237
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8923
9238
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8924
9239
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9240
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8925
9241
|
} & {
|
|
8926
9242
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
8927
9243
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -8931,6 +9247,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8931
9247
|
source_component_id: string;
|
|
8932
9248
|
ftype: "simple_transistor";
|
|
8933
9249
|
transistor_type: "npn" | "pnp";
|
|
9250
|
+
subcircuit_id?: string | undefined;
|
|
8934
9251
|
source_group_id?: string | undefined;
|
|
8935
9252
|
manufacturer_part_number?: string | undefined;
|
|
8936
9253
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8943,6 +9260,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8943
9260
|
source_component_id: string;
|
|
8944
9261
|
ftype: "simple_transistor";
|
|
8945
9262
|
transistor_type: "npn" | "pnp";
|
|
9263
|
+
subcircuit_id?: string | undefined;
|
|
8946
9264
|
source_group_id?: string | undefined;
|
|
8947
9265
|
manufacturer_part_number?: string | undefined;
|
|
8948
9266
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8959,6 +9277,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8959
9277
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8960
9278
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8961
9279
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9280
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8962
9281
|
} & {
|
|
8963
9282
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8964
9283
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -8974,6 +9293,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8974
9293
|
ftype: "simple_test_point";
|
|
8975
9294
|
width?: string | number | undefined;
|
|
8976
9295
|
height?: string | number | undefined;
|
|
9296
|
+
subcircuit_id?: string | undefined;
|
|
8977
9297
|
hole_diameter?: string | number | undefined;
|
|
8978
9298
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8979
9299
|
source_group_id?: string | undefined;
|
|
@@ -8991,6 +9311,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8991
9311
|
ftype: "simple_test_point";
|
|
8992
9312
|
width?: string | number | undefined;
|
|
8993
9313
|
height?: string | number | undefined;
|
|
9314
|
+
subcircuit_id?: string | undefined;
|
|
8994
9315
|
hole_diameter?: string | number | undefined;
|
|
8995
9316
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8996
9317
|
source_group_id?: string | undefined;
|
|
@@ -9011,6 +9332,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9011
9332
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
9012
9333
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9013
9334
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9335
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9014
9336
|
} & {
|
|
9015
9337
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
9016
9338
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -9022,6 +9344,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9022
9344
|
ftype: "simple_mosfet";
|
|
9023
9345
|
channel_type: "n" | "p";
|
|
9024
9346
|
mosfet_mode: "enhancement" | "depletion";
|
|
9347
|
+
subcircuit_id?: string | undefined;
|
|
9025
9348
|
source_group_id?: string | undefined;
|
|
9026
9349
|
manufacturer_part_number?: string | undefined;
|
|
9027
9350
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9035,6 +9358,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9035
9358
|
ftype: "simple_mosfet";
|
|
9036
9359
|
channel_type: "n" | "p";
|
|
9037
9360
|
mosfet_mode: "enhancement" | "depletion";
|
|
9361
|
+
subcircuit_id?: string | undefined;
|
|
9038
9362
|
source_group_id?: string | undefined;
|
|
9039
9363
|
manufacturer_part_number?: string | undefined;
|
|
9040
9364
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9051,6 +9375,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9051
9375
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
9052
9376
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9053
9377
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9378
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9054
9379
|
} & {
|
|
9055
9380
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
9056
9381
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9060,6 +9385,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9060
9385
|
source_component_id: string;
|
|
9061
9386
|
ftype: "simple_potentiometer";
|
|
9062
9387
|
max_resistance: number;
|
|
9388
|
+
subcircuit_id?: string | undefined;
|
|
9063
9389
|
source_group_id?: string | undefined;
|
|
9064
9390
|
manufacturer_part_number?: string | undefined;
|
|
9065
9391
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9072,6 +9398,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9072
9398
|
source_component_id: string;
|
|
9073
9399
|
ftype: "simple_potentiometer";
|
|
9074
9400
|
max_resistance: string | number;
|
|
9401
|
+
subcircuit_id?: string | undefined;
|
|
9075
9402
|
source_group_id?: string | undefined;
|
|
9076
9403
|
manufacturer_part_number?: string | undefined;
|
|
9077
9404
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9088,6 +9415,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9088
9415
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
9089
9416
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9090
9417
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9418
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9091
9419
|
} & {
|
|
9092
9420
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
9093
9421
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9095,6 +9423,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9095
9423
|
name: string;
|
|
9096
9424
|
source_component_id: string;
|
|
9097
9425
|
ftype: "simple_push_button";
|
|
9426
|
+
subcircuit_id?: string | undefined;
|
|
9098
9427
|
source_group_id?: string | undefined;
|
|
9099
9428
|
manufacturer_part_number?: string | undefined;
|
|
9100
9429
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9106,6 +9435,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9106
9435
|
name: string;
|
|
9107
9436
|
source_component_id: string;
|
|
9108
9437
|
ftype: "simple_push_button";
|
|
9438
|
+
subcircuit_id?: string | undefined;
|
|
9109
9439
|
source_group_id?: string | undefined;
|
|
9110
9440
|
manufacturer_part_number?: string | undefined;
|
|
9111
9441
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -10608,6 +10938,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10608
10938
|
} | undefined;
|
|
10609
10939
|
trace_width?: string | number | undefined;
|
|
10610
10940
|
}>, "many">;
|
|
10941
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10611
10942
|
}, "strip", z.ZodTypeAny, {
|
|
10612
10943
|
type: "pcb_trace_hint";
|
|
10613
10944
|
pcb_component_id: string;
|
|
@@ -10620,6 +10951,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10620
10951
|
trace_width?: number | undefined;
|
|
10621
10952
|
}[];
|
|
10622
10953
|
pcb_trace_hint_id: string;
|
|
10954
|
+
subcircuit_id?: string | undefined;
|
|
10623
10955
|
}, {
|
|
10624
10956
|
type: "pcb_trace_hint";
|
|
10625
10957
|
pcb_component_id: string;
|
|
@@ -10633,6 +10965,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10633
10965
|
} | undefined;
|
|
10634
10966
|
trace_width?: string | number | undefined;
|
|
10635
10967
|
}[];
|
|
10968
|
+
subcircuit_id?: string | undefined;
|
|
10636
10969
|
pcb_trace_hint_id?: string | undefined;
|
|
10637
10970
|
}>, z.ZodObject<{
|
|
10638
10971
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
@@ -10955,6 +11288,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10955
11288
|
source_trace_id: z.ZodString;
|
|
10956
11289
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
10957
11290
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
11291
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10958
11292
|
}, "strip", z.ZodTypeAny, {
|
|
10959
11293
|
message: string;
|
|
10960
11294
|
type: "pcb_trace_error";
|
|
@@ -10968,6 +11302,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10968
11302
|
x: number;
|
|
10969
11303
|
y: number;
|
|
10970
11304
|
} | undefined;
|
|
11305
|
+
subcircuit_id?: string | undefined;
|
|
10971
11306
|
}, {
|
|
10972
11307
|
message: string;
|
|
10973
11308
|
type: "pcb_trace_error";
|
|
@@ -10979,6 +11314,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10979
11314
|
x: string | number;
|
|
10980
11315
|
y: string | number;
|
|
10981
11316
|
} | undefined;
|
|
11317
|
+
subcircuit_id?: string | undefined;
|
|
10982
11318
|
pcb_trace_error_id?: string | undefined;
|
|
10983
11319
|
error_type?: "pcb_trace_error" | undefined;
|
|
10984
11320
|
}>, z.ZodObject<{
|
|
@@ -10986,14 +11322,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10986
11322
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10987
11323
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
10988
11324
|
message: z.ZodString;
|
|
11325
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10989
11326
|
}, "strip", z.ZodTypeAny, {
|
|
10990
11327
|
message: string;
|
|
10991
11328
|
type: "pcb_placement_error";
|
|
10992
11329
|
error_type: "pcb_placement_error";
|
|
10993
11330
|
pcb_placement_error_id: string;
|
|
11331
|
+
subcircuit_id?: string | undefined;
|
|
10994
11332
|
}, {
|
|
10995
11333
|
message: string;
|
|
10996
11334
|
type: "pcb_placement_error";
|
|
11335
|
+
subcircuit_id?: string | undefined;
|
|
10997
11336
|
error_type?: "pcb_placement_error" | undefined;
|
|
10998
11337
|
pcb_placement_error_id?: string | undefined;
|
|
10999
11338
|
}>, z.ZodObject<{
|
|
@@ -11002,16 +11341,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11002
11341
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
11003
11342
|
message: z.ZodString;
|
|
11004
11343
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
11344
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11005
11345
|
}, "strip", z.ZodTypeAny, {
|
|
11006
11346
|
message: string;
|
|
11007
11347
|
type: "pcb_port_not_matched_error";
|
|
11008
11348
|
error_type: "pcb_port_not_matched_error";
|
|
11009
11349
|
pcb_component_ids: string[];
|
|
11010
11350
|
pcb_error_id: string;
|
|
11351
|
+
subcircuit_id?: string | undefined;
|
|
11011
11352
|
}, {
|
|
11012
11353
|
message: string;
|
|
11013
11354
|
type: "pcb_port_not_matched_error";
|
|
11014
11355
|
pcb_component_ids: string[];
|
|
11356
|
+
subcircuit_id?: string | undefined;
|
|
11015
11357
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
11016
11358
|
pcb_error_id?: string | undefined;
|
|
11017
11359
|
}>, z.ZodObject<{
|
|
@@ -11125,14 +11467,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11125
11467
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11126
11468
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
11127
11469
|
message: z.ZodString;
|
|
11470
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11128
11471
|
}, "strip", z.ZodTypeAny, {
|
|
11129
11472
|
message: string;
|
|
11130
11473
|
type: "pcb_autorouting_error";
|
|
11131
11474
|
error_type: "pcb_autorouting_error";
|
|
11132
11475
|
pcb_error_id: string;
|
|
11476
|
+
subcircuit_id?: string | undefined;
|
|
11133
11477
|
}, {
|
|
11134
11478
|
message: string;
|
|
11135
11479
|
type: "pcb_autorouting_error";
|
|
11480
|
+
subcircuit_id?: string | undefined;
|
|
11136
11481
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
11137
11482
|
pcb_error_id?: string | undefined;
|
|
11138
11483
|
}>, z.ZodObject<{
|
|
@@ -11368,6 +11713,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11368
11713
|
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11369
11714
|
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11370
11715
|
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
11716
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11371
11717
|
}, "strip", z.ZodTypeAny, {
|
|
11372
11718
|
type: "pcb_thermal_spoke";
|
|
11373
11719
|
shape: string;
|
|
@@ -11377,6 +11723,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11377
11723
|
spoke_thickness: number;
|
|
11378
11724
|
spoke_inner_diameter: number;
|
|
11379
11725
|
spoke_outer_diameter: number;
|
|
11726
|
+
subcircuit_id?: string | undefined;
|
|
11380
11727
|
pcb_plated_hole_id?: string | undefined;
|
|
11381
11728
|
}, {
|
|
11382
11729
|
type: "pcb_thermal_spoke";
|
|
@@ -11386,6 +11733,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11386
11733
|
spoke_thickness: string | number;
|
|
11387
11734
|
spoke_inner_diameter: string | number;
|
|
11388
11735
|
spoke_outer_diameter: string | number;
|
|
11736
|
+
subcircuit_id?: string | undefined;
|
|
11389
11737
|
pcb_plated_hole_id?: string | undefined;
|
|
11390
11738
|
pcb_thermal_spoke_id?: string | undefined;
|
|
11391
11739
|
}>, z.ZodObject<{
|
|
@@ -11396,6 +11744,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11396
11744
|
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
11397
11745
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11398
11746
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11747
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11399
11748
|
}, "strip", z.ZodTypeAny, {
|
|
11400
11749
|
x: number;
|
|
11401
11750
|
y: number;
|
|
@@ -11403,6 +11752,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11403
11752
|
width: number;
|
|
11404
11753
|
height: number;
|
|
11405
11754
|
is_dashed: boolean;
|
|
11755
|
+
subcircuit_id?: string | undefined;
|
|
11406
11756
|
schematic_component_id?: string | undefined;
|
|
11407
11757
|
}, {
|
|
11408
11758
|
x: string | number;
|
|
@@ -11410,6 +11760,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11410
11760
|
type: "schematic_box";
|
|
11411
11761
|
width: string | number;
|
|
11412
11762
|
height: string | number;
|
|
11763
|
+
subcircuit_id?: string | undefined;
|
|
11413
11764
|
schematic_component_id?: string | undefined;
|
|
11414
11765
|
is_dashed?: boolean | undefined;
|
|
11415
11766
|
}>, z.ZodObject<{
|
|
@@ -11431,6 +11782,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11431
11782
|
rotation: z.ZodDefault<z.ZodNumber>;
|
|
11432
11783
|
anchor: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["center", "left", "right", "top", "bottom"]>, z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>]>>;
|
|
11433
11784
|
color: z.ZodDefault<z.ZodString>;
|
|
11785
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11434
11786
|
}, "strip", z.ZodTypeAny, {
|
|
11435
11787
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
11436
11788
|
type: "schematic_text";
|
|
@@ -11443,6 +11795,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11443
11795
|
x: number;
|
|
11444
11796
|
y: number;
|
|
11445
11797
|
};
|
|
11798
|
+
subcircuit_id?: string | undefined;
|
|
11446
11799
|
schematic_component_id?: string | undefined;
|
|
11447
11800
|
}, {
|
|
11448
11801
|
type: "schematic_text";
|
|
@@ -11454,6 +11807,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11454
11807
|
};
|
|
11455
11808
|
anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
11456
11809
|
rotation?: number | undefined;
|
|
11810
|
+
subcircuit_id?: string | undefined;
|
|
11457
11811
|
font_size?: number | undefined;
|
|
11458
11812
|
color?: string | undefined;
|
|
11459
11813
|
schematic_component_id?: string | undefined;
|
|
@@ -11464,6 +11818,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11464
11818
|
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11465
11819
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11466
11820
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11821
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11467
11822
|
}, "strip", z.ZodTypeAny, {
|
|
11468
11823
|
type: "schematic_line";
|
|
11469
11824
|
x1: number;
|
|
@@ -11471,6 +11826,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11471
11826
|
x2: number;
|
|
11472
11827
|
y2: number;
|
|
11473
11828
|
schematic_component_id: string;
|
|
11829
|
+
subcircuit_id?: string | undefined;
|
|
11474
11830
|
}, {
|
|
11475
11831
|
type: "schematic_line";
|
|
11476
11832
|
x1: string | number;
|
|
@@ -11478,6 +11834,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11478
11834
|
x2: string | number;
|
|
11479
11835
|
y2: string | number;
|
|
11480
11836
|
schematic_component_id: string;
|
|
11837
|
+
subcircuit_id?: string | undefined;
|
|
11481
11838
|
}>, z.ZodObject<{
|
|
11482
11839
|
type: z.ZodLiteral<"schematic_component">;
|
|
11483
11840
|
size: z.ZodObject<{
|
|
@@ -11733,6 +12090,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11733
12090
|
true_ccw_index: z.ZodOptional<z.ZodNumber>;
|
|
11734
12091
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
11735
12092
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
12093
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11736
12094
|
}, "strip", z.ZodTypeAny, {
|
|
11737
12095
|
type: "schematic_port";
|
|
11738
12096
|
center: {
|
|
@@ -11741,6 +12099,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11741
12099
|
};
|
|
11742
12100
|
source_port_id: string;
|
|
11743
12101
|
schematic_port_id: string;
|
|
12102
|
+
subcircuit_id?: string | undefined;
|
|
11744
12103
|
schematic_component_id?: string | undefined;
|
|
11745
12104
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
11746
12105
|
distance_from_component_edge?: number | undefined;
|
|
@@ -11756,6 +12115,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11756
12115
|
};
|
|
11757
12116
|
source_port_id: string;
|
|
11758
12117
|
schematic_port_id: string;
|
|
12118
|
+
subcircuit_id?: string | undefined;
|
|
11759
12119
|
schematic_component_id?: string | undefined;
|
|
11760
12120
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
11761
12121
|
distance_from_component_edge?: number | undefined;
|
|
@@ -11826,6 +12186,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11826
12186
|
from_schematic_port_id?: string | undefined;
|
|
11827
12187
|
to_schematic_port_id?: string | undefined;
|
|
11828
12188
|
}>, "many">;
|
|
12189
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11829
12190
|
}, "strip", z.ZodTypeAny, {
|
|
11830
12191
|
type: "schematic_trace";
|
|
11831
12192
|
source_trace_id: string;
|
|
@@ -11847,6 +12208,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11847
12208
|
from_schematic_port_id?: string | undefined;
|
|
11848
12209
|
to_schematic_port_id?: string | undefined;
|
|
11849
12210
|
}[];
|
|
12211
|
+
subcircuit_id?: string | undefined;
|
|
11850
12212
|
}, {
|
|
11851
12213
|
type: "schematic_trace";
|
|
11852
12214
|
source_trace_id: string;
|
|
@@ -11868,6 +12230,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11868
12230
|
from_schematic_port_id?: string | undefined;
|
|
11869
12231
|
to_schematic_port_id?: string | undefined;
|
|
11870
12232
|
}[];
|
|
12233
|
+
subcircuit_id?: string | undefined;
|
|
11871
12234
|
}>, z.ZodObject<{
|
|
11872
12235
|
type: z.ZodLiteral<"schematic_path">;
|
|
11873
12236
|
schematic_component_id: z.ZodString;
|
|
@@ -11883,6 +12246,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11883
12246
|
x: string | number;
|
|
11884
12247
|
y: string | number;
|
|
11885
12248
|
}>, "many">;
|
|
12249
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11886
12250
|
}, "strip", z.ZodTypeAny, {
|
|
11887
12251
|
type: "schematic_path";
|
|
11888
12252
|
points: {
|
|
@@ -11890,6 +12254,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11890
12254
|
y: number;
|
|
11891
12255
|
}[];
|
|
11892
12256
|
schematic_component_id: string;
|
|
12257
|
+
subcircuit_id?: string | undefined;
|
|
11893
12258
|
is_filled?: boolean | undefined;
|
|
11894
12259
|
fill_color?: "red" | "blue" | undefined;
|
|
11895
12260
|
}, {
|
|
@@ -11899,6 +12264,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11899
12264
|
y: string | number;
|
|
11900
12265
|
}[];
|
|
11901
12266
|
schematic_component_id: string;
|
|
12267
|
+
subcircuit_id?: string | undefined;
|
|
11902
12268
|
is_filled?: boolean | undefined;
|
|
11903
12269
|
fill_color?: "red" | "blue" | undefined;
|
|
11904
12270
|
}>, z.ZodObject<{
|
|
@@ -11906,15 +12272,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11906
12272
|
schematic_error_id: z.ZodString;
|
|
11907
12273
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
11908
12274
|
message: z.ZodString;
|
|
12275
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11909
12276
|
}, "strip", z.ZodTypeAny, {
|
|
11910
12277
|
message: string;
|
|
11911
12278
|
type: "schematic_error";
|
|
11912
12279
|
error_type: "schematic_port_not_found";
|
|
11913
12280
|
schematic_error_id: string;
|
|
12281
|
+
subcircuit_id?: string | undefined;
|
|
11914
12282
|
}, {
|
|
11915
12283
|
message: string;
|
|
11916
12284
|
type: "schematic_error";
|
|
11917
12285
|
schematic_error_id: string;
|
|
12286
|
+
subcircuit_id?: string | undefined;
|
|
11918
12287
|
error_type?: "schematic_port_not_found" | undefined;
|
|
11919
12288
|
}>, z.ZodObject<{
|
|
11920
12289
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
@@ -11923,6 +12292,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11923
12292
|
message: z.ZodString;
|
|
11924
12293
|
source_group_id: z.ZodString;
|
|
11925
12294
|
schematic_group_id: z.ZodString;
|
|
12295
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11926
12296
|
}, "strip", z.ZodTypeAny, {
|
|
11927
12297
|
message: string;
|
|
11928
12298
|
type: "schematic_layout_error";
|
|
@@ -11930,11 +12300,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11930
12300
|
source_group_id: string;
|
|
11931
12301
|
schematic_group_id: string;
|
|
11932
12302
|
schematic_layout_error_id: string;
|
|
12303
|
+
subcircuit_id?: string | undefined;
|
|
11933
12304
|
}, {
|
|
11934
12305
|
message: string;
|
|
11935
12306
|
type: "schematic_layout_error";
|
|
11936
12307
|
source_group_id: string;
|
|
11937
12308
|
schematic_group_id: string;
|
|
12309
|
+
subcircuit_id?: string | undefined;
|
|
11938
12310
|
error_type?: "schematic_layout_error" | undefined;
|
|
11939
12311
|
schematic_layout_error_id?: string | undefined;
|
|
11940
12312
|
}>, z.ZodObject<{
|
|
@@ -11966,6 +12338,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11966
12338
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
11967
12339
|
text: z.ZodString;
|
|
11968
12340
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
12341
|
+
is_movable: z.ZodOptional<z.ZodBoolean>;
|
|
12342
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11969
12343
|
}, "strip", z.ZodTypeAny, {
|
|
11970
12344
|
type: "schematic_net_label";
|
|
11971
12345
|
center: {
|
|
@@ -11976,6 +12350,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11976
12350
|
source_net_id: string;
|
|
11977
12351
|
schematic_net_label_id: string;
|
|
11978
12352
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
12353
|
+
subcircuit_id?: string | undefined;
|
|
11979
12354
|
source_trace_id?: string | undefined;
|
|
11980
12355
|
anchor_position?: {
|
|
11981
12356
|
x: number;
|
|
@@ -11983,6 +12358,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11983
12358
|
} | undefined;
|
|
11984
12359
|
symbol_name?: string | undefined;
|
|
11985
12360
|
schematic_trace_id?: string | undefined;
|
|
12361
|
+
is_movable?: boolean | undefined;
|
|
11986
12362
|
}, {
|
|
11987
12363
|
type: "schematic_net_label";
|
|
11988
12364
|
center: {
|
|
@@ -11992,6 +12368,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11992
12368
|
text: string;
|
|
11993
12369
|
source_net_id: string;
|
|
11994
12370
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
12371
|
+
subcircuit_id?: string | undefined;
|
|
11995
12372
|
source_trace_id?: string | undefined;
|
|
11996
12373
|
anchor_position?: {
|
|
11997
12374
|
x: string | number;
|
|
@@ -12000,9 +12377,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12000
12377
|
symbol_name?: string | undefined;
|
|
12001
12378
|
schematic_trace_id?: string | undefined;
|
|
12002
12379
|
schematic_net_label_id?: string | undefined;
|
|
12380
|
+
is_movable?: boolean | undefined;
|
|
12003
12381
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
12004
12382
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
12005
12383
|
label: z.ZodOptional<z.ZodString>;
|
|
12384
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12006
12385
|
} & {
|
|
12007
12386
|
shape: z.ZodLiteral<"rect">;
|
|
12008
12387
|
center: z.ZodObject<{
|
|
@@ -12036,6 +12415,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12036
12415
|
width: number;
|
|
12037
12416
|
height: number;
|
|
12038
12417
|
};
|
|
12418
|
+
subcircuit_id?: string | undefined;
|
|
12039
12419
|
label?: string | undefined;
|
|
12040
12420
|
}, {
|
|
12041
12421
|
type: "schematic_debug_object";
|
|
@@ -12048,10 +12428,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12048
12428
|
width: number;
|
|
12049
12429
|
height: number;
|
|
12050
12430
|
};
|
|
12431
|
+
subcircuit_id?: string | undefined;
|
|
12051
12432
|
label?: string | undefined;
|
|
12052
12433
|
}>, z.ZodObject<{
|
|
12053
12434
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
12054
12435
|
label: z.ZodOptional<z.ZodString>;
|
|
12436
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12055
12437
|
} & {
|
|
12056
12438
|
shape: z.ZodLiteral<"line">;
|
|
12057
12439
|
start: z.ZodObject<{
|
|
@@ -12085,6 +12467,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12085
12467
|
x: number;
|
|
12086
12468
|
y: number;
|
|
12087
12469
|
};
|
|
12470
|
+
subcircuit_id?: string | undefined;
|
|
12088
12471
|
label?: string | undefined;
|
|
12089
12472
|
}, {
|
|
12090
12473
|
type: "schematic_debug_object";
|
|
@@ -12097,10 +12480,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12097
12480
|
x: string | number;
|
|
12098
12481
|
y: string | number;
|
|
12099
12482
|
};
|
|
12483
|
+
subcircuit_id?: string | undefined;
|
|
12100
12484
|
label?: string | undefined;
|
|
12101
12485
|
}>, z.ZodObject<{
|
|
12102
12486
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
12103
12487
|
label: z.ZodOptional<z.ZodString>;
|
|
12488
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12104
12489
|
} & {
|
|
12105
12490
|
shape: z.ZodLiteral<"point">;
|
|
12106
12491
|
center: z.ZodObject<{
|
|
@@ -12120,6 +12505,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12120
12505
|
y: number;
|
|
12121
12506
|
};
|
|
12122
12507
|
shape: "point";
|
|
12508
|
+
subcircuit_id?: string | undefined;
|
|
12123
12509
|
label?: string | undefined;
|
|
12124
12510
|
}, {
|
|
12125
12511
|
type: "schematic_debug_object";
|
|
@@ -12128,6 +12514,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12128
12514
|
y: string | number;
|
|
12129
12515
|
};
|
|
12130
12516
|
shape: "point";
|
|
12517
|
+
subcircuit_id?: string | undefined;
|
|
12131
12518
|
label?: string | undefined;
|
|
12132
12519
|
}>]>, z.ZodObject<{
|
|
12133
12520
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -12144,6 +12531,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12144
12531
|
}>;
|
|
12145
12532
|
schematic_trace_id: z.ZodString;
|
|
12146
12533
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12534
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12147
12535
|
}, "strip", z.ZodTypeAny, {
|
|
12148
12536
|
type: "schematic_voltage_probe";
|
|
12149
12537
|
schematic_trace_id: string;
|
|
@@ -12152,6 +12540,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12152
12540
|
y: number;
|
|
12153
12541
|
};
|
|
12154
12542
|
schematic_voltage_probe_id: string;
|
|
12543
|
+
subcircuit_id?: string | undefined;
|
|
12155
12544
|
voltage?: number | undefined;
|
|
12156
12545
|
}, {
|
|
12157
12546
|
type: "schematic_voltage_probe";
|
|
@@ -12161,6 +12550,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12161
12550
|
y: string | number;
|
|
12162
12551
|
};
|
|
12163
12552
|
schematic_voltage_probe_id: string;
|
|
12553
|
+
subcircuit_id?: string | undefined;
|
|
12164
12554
|
voltage?: string | number | undefined;
|
|
12165
12555
|
}>, z.ZodObject<{
|
|
12166
12556
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
@@ -12293,6 +12683,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12293
12683
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12294
12684
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12295
12685
|
}>>;
|
|
12686
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12296
12687
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
12297
12688
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
12298
12689
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
@@ -12314,6 +12705,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12314
12705
|
y: number;
|
|
12315
12706
|
z: number;
|
|
12316
12707
|
} | undefined;
|
|
12708
|
+
subcircuit_id?: string | undefined;
|
|
12317
12709
|
size?: {
|
|
12318
12710
|
x: number;
|
|
12319
12711
|
y: number;
|
|
@@ -12342,6 +12734,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12342
12734
|
y: string | number;
|
|
12343
12735
|
z: string | number;
|
|
12344
12736
|
} | undefined;
|
|
12737
|
+
subcircuit_id?: string | undefined;
|
|
12345
12738
|
size?: {
|
|
12346
12739
|
x: string | number;
|
|
12347
12740
|
y: string | number;
|
|
@@ -12423,6 +12816,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12423
12816
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12424
12817
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12425
12818
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12819
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12426
12820
|
} & {
|
|
12427
12821
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
12428
12822
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12433,6 +12827,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12433
12827
|
source_component_id: string;
|
|
12434
12828
|
ftype: "simple_resistor";
|
|
12435
12829
|
resistance: number;
|
|
12830
|
+
subcircuit_id?: string | undefined;
|
|
12436
12831
|
source_group_id?: string | undefined;
|
|
12437
12832
|
manufacturer_part_number?: string | undefined;
|
|
12438
12833
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12446,6 +12841,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12446
12841
|
source_component_id: string;
|
|
12447
12842
|
ftype: "simple_resistor";
|
|
12448
12843
|
resistance: string | number;
|
|
12844
|
+
subcircuit_id?: string | undefined;
|
|
12449
12845
|
source_group_id?: string | undefined;
|
|
12450
12846
|
manufacturer_part_number?: string | undefined;
|
|
12451
12847
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12463,6 +12859,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12463
12859
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12464
12860
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12465
12861
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12862
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12466
12863
|
} & {
|
|
12467
12864
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
12468
12865
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -12475,6 +12872,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12475
12872
|
source_component_id: string;
|
|
12476
12873
|
ftype: "simple_capacitor";
|
|
12477
12874
|
capacitance: number;
|
|
12875
|
+
subcircuit_id?: string | undefined;
|
|
12478
12876
|
source_group_id?: string | undefined;
|
|
12479
12877
|
manufacturer_part_number?: string | undefined;
|
|
12480
12878
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12490,6 +12888,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12490
12888
|
source_component_id: string;
|
|
12491
12889
|
ftype: "simple_capacitor";
|
|
12492
12890
|
capacitance: string | number;
|
|
12891
|
+
subcircuit_id?: string | undefined;
|
|
12493
12892
|
source_group_id?: string | undefined;
|
|
12494
12893
|
manufacturer_part_number?: string | undefined;
|
|
12495
12894
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12509,6 +12908,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12509
12908
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12510
12909
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12511
12910
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12911
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12512
12912
|
} & {
|
|
12513
12913
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
12514
12914
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12516,6 +12916,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12516
12916
|
name: string;
|
|
12517
12917
|
source_component_id: string;
|
|
12518
12918
|
ftype: "simple_diode";
|
|
12919
|
+
subcircuit_id?: string | undefined;
|
|
12519
12920
|
source_group_id?: string | undefined;
|
|
12520
12921
|
manufacturer_part_number?: string | undefined;
|
|
12521
12922
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12527,6 +12928,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12527
12928
|
name: string;
|
|
12528
12929
|
source_component_id: string;
|
|
12529
12930
|
ftype: "simple_diode";
|
|
12931
|
+
subcircuit_id?: string | undefined;
|
|
12530
12932
|
source_group_id?: string | undefined;
|
|
12531
12933
|
manufacturer_part_number?: string | undefined;
|
|
12532
12934
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12543,6 +12945,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12543
12945
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12544
12946
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12545
12947
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12948
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12546
12949
|
} & {
|
|
12547
12950
|
ftype: z.ZodLiteral<"simple_led">;
|
|
12548
12951
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -12552,6 +12955,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12552
12955
|
name: string;
|
|
12553
12956
|
source_component_id: string;
|
|
12554
12957
|
ftype: "simple_led";
|
|
12958
|
+
subcircuit_id?: string | undefined;
|
|
12555
12959
|
color?: string | undefined;
|
|
12556
12960
|
source_group_id?: string | undefined;
|
|
12557
12961
|
manufacturer_part_number?: string | undefined;
|
|
@@ -12565,6 +12969,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12565
12969
|
name: string;
|
|
12566
12970
|
source_component_id: string;
|
|
12567
12971
|
ftype: "simple_led";
|
|
12972
|
+
subcircuit_id?: string | undefined;
|
|
12568
12973
|
color?: string | undefined;
|
|
12569
12974
|
source_group_id?: string | undefined;
|
|
12570
12975
|
manufacturer_part_number?: string | undefined;
|
|
@@ -12583,6 +12988,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12583
12988
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12584
12989
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12585
12990
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12991
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12586
12992
|
} & {
|
|
12587
12993
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
12588
12994
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12590,6 +12996,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12590
12996
|
name: string;
|
|
12591
12997
|
source_component_id: string;
|
|
12592
12998
|
ftype: "simple_ground";
|
|
12999
|
+
subcircuit_id?: string | undefined;
|
|
12593
13000
|
source_group_id?: string | undefined;
|
|
12594
13001
|
manufacturer_part_number?: string | undefined;
|
|
12595
13002
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12601,6 +13008,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12601
13008
|
name: string;
|
|
12602
13009
|
source_component_id: string;
|
|
12603
13010
|
ftype: "simple_ground";
|
|
13011
|
+
subcircuit_id?: string | undefined;
|
|
12604
13012
|
source_group_id?: string | undefined;
|
|
12605
13013
|
manufacturer_part_number?: string | undefined;
|
|
12606
13014
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12617,6 +13025,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12617
13025
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12618
13026
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12619
13027
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13028
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12620
13029
|
} & {
|
|
12621
13030
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
12622
13031
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12624,6 +13033,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12624
13033
|
name: string;
|
|
12625
13034
|
source_component_id: string;
|
|
12626
13035
|
ftype: "simple_chip";
|
|
13036
|
+
subcircuit_id?: string | undefined;
|
|
12627
13037
|
source_group_id?: string | undefined;
|
|
12628
13038
|
manufacturer_part_number?: string | undefined;
|
|
12629
13039
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12635,6 +13045,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12635
13045
|
name: string;
|
|
12636
13046
|
source_component_id: string;
|
|
12637
13047
|
ftype: "simple_chip";
|
|
13048
|
+
subcircuit_id?: string | undefined;
|
|
12638
13049
|
source_group_id?: string | undefined;
|
|
12639
13050
|
manufacturer_part_number?: string | undefined;
|
|
12640
13051
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12651,6 +13062,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12651
13062
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12652
13063
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12653
13064
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13065
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12654
13066
|
} & {
|
|
12655
13067
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
12656
13068
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12660,6 +13072,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12660
13072
|
source_component_id: string;
|
|
12661
13073
|
voltage: number;
|
|
12662
13074
|
ftype: "simple_power_source";
|
|
13075
|
+
subcircuit_id?: string | undefined;
|
|
12663
13076
|
source_group_id?: string | undefined;
|
|
12664
13077
|
manufacturer_part_number?: string | undefined;
|
|
12665
13078
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12672,6 +13085,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12672
13085
|
source_component_id: string;
|
|
12673
13086
|
voltage: string | number;
|
|
12674
13087
|
ftype: "simple_power_source";
|
|
13088
|
+
subcircuit_id?: string | undefined;
|
|
12675
13089
|
source_group_id?: string | undefined;
|
|
12676
13090
|
manufacturer_part_number?: string | undefined;
|
|
12677
13091
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12688,6 +13102,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12688
13102
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12689
13103
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12690
13104
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13105
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12691
13106
|
} & {
|
|
12692
13107
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
12693
13108
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -12697,6 +13112,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12697
13112
|
source_component_id: string;
|
|
12698
13113
|
ftype: "simple_battery";
|
|
12699
13114
|
capacity: number;
|
|
13115
|
+
subcircuit_id?: string | undefined;
|
|
12700
13116
|
source_group_id?: string | undefined;
|
|
12701
13117
|
manufacturer_part_number?: string | undefined;
|
|
12702
13118
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12709,6 +13125,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12709
13125
|
source_component_id: string;
|
|
12710
13126
|
ftype: "simple_battery";
|
|
12711
13127
|
capacity: string | number;
|
|
13128
|
+
subcircuit_id?: string | undefined;
|
|
12712
13129
|
source_group_id?: string | undefined;
|
|
12713
13130
|
manufacturer_part_number?: string | undefined;
|
|
12714
13131
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12725,6 +13142,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12725
13142
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12726
13143
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12727
13144
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13145
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12728
13146
|
} & {
|
|
12729
13147
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
12730
13148
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12735,6 +13153,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12735
13153
|
source_component_id: string;
|
|
12736
13154
|
ftype: "simple_inductor";
|
|
12737
13155
|
inductance: number;
|
|
13156
|
+
subcircuit_id?: string | undefined;
|
|
12738
13157
|
source_group_id?: string | undefined;
|
|
12739
13158
|
manufacturer_part_number?: string | undefined;
|
|
12740
13159
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12748,6 +13167,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12748
13167
|
source_component_id: string;
|
|
12749
13168
|
ftype: "simple_inductor";
|
|
12750
13169
|
inductance: string | number;
|
|
13170
|
+
subcircuit_id?: string | undefined;
|
|
12751
13171
|
source_group_id?: string | undefined;
|
|
12752
13172
|
manufacturer_part_number?: string | undefined;
|
|
12753
13173
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12765,6 +13185,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12765
13185
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12766
13186
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12767
13187
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13188
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12768
13189
|
} & {
|
|
12769
13190
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
12770
13191
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12772,6 +13193,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12772
13193
|
name: string;
|
|
12773
13194
|
source_component_id: string;
|
|
12774
13195
|
ftype: "simple_push_button";
|
|
13196
|
+
subcircuit_id?: string | undefined;
|
|
12775
13197
|
source_group_id?: string | undefined;
|
|
12776
13198
|
manufacturer_part_number?: string | undefined;
|
|
12777
13199
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12783,6 +13205,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12783
13205
|
name: string;
|
|
12784
13206
|
source_component_id: string;
|
|
12785
13207
|
ftype: "simple_push_button";
|
|
13208
|
+
subcircuit_id?: string | undefined;
|
|
12786
13209
|
source_group_id?: string | undefined;
|
|
12787
13210
|
manufacturer_part_number?: string | undefined;
|
|
12788
13211
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12799,6 +13222,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12799
13222
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12800
13223
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12801
13224
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13225
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12802
13226
|
} & {
|
|
12803
13227
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
12804
13228
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12808,6 +13232,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12808
13232
|
source_component_id: string;
|
|
12809
13233
|
ftype: "simple_potentiometer";
|
|
12810
13234
|
max_resistance: number;
|
|
13235
|
+
subcircuit_id?: string | undefined;
|
|
12811
13236
|
source_group_id?: string | undefined;
|
|
12812
13237
|
manufacturer_part_number?: string | undefined;
|
|
12813
13238
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12820,6 +13245,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12820
13245
|
source_component_id: string;
|
|
12821
13246
|
ftype: "simple_potentiometer";
|
|
12822
13247
|
max_resistance: string | number;
|
|
13248
|
+
subcircuit_id?: string | undefined;
|
|
12823
13249
|
source_group_id?: string | undefined;
|
|
12824
13250
|
manufacturer_part_number?: string | undefined;
|
|
12825
13251
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12836,6 +13262,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12836
13262
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12837
13263
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12838
13264
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13265
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12839
13266
|
} & {
|
|
12840
13267
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
12841
13268
|
frequency: z.ZodNumber;
|
|
@@ -12846,6 +13273,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12846
13273
|
source_component_id: string;
|
|
12847
13274
|
ftype: "simple_crystal";
|
|
12848
13275
|
frequency: number;
|
|
13276
|
+
subcircuit_id?: string | undefined;
|
|
12849
13277
|
source_group_id?: string | undefined;
|
|
12850
13278
|
manufacturer_part_number?: string | undefined;
|
|
12851
13279
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12859,6 +13287,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12859
13287
|
source_component_id: string;
|
|
12860
13288
|
ftype: "simple_crystal";
|
|
12861
13289
|
frequency: number;
|
|
13290
|
+
subcircuit_id?: string | undefined;
|
|
12862
13291
|
source_group_id?: string | undefined;
|
|
12863
13292
|
manufacturer_part_number?: string | undefined;
|
|
12864
13293
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12876,6 +13305,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12876
13305
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12877
13306
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12878
13307
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13308
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12879
13309
|
} & {
|
|
12880
13310
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
12881
13311
|
pin_count: z.ZodNumber;
|
|
@@ -12887,6 +13317,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12887
13317
|
ftype: "simple_pin_header";
|
|
12888
13318
|
pin_count: number;
|
|
12889
13319
|
gender: "male" | "female";
|
|
13320
|
+
subcircuit_id?: string | undefined;
|
|
12890
13321
|
source_group_id?: string | undefined;
|
|
12891
13322
|
manufacturer_part_number?: string | undefined;
|
|
12892
13323
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12899,6 +13330,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12899
13330
|
source_component_id: string;
|
|
12900
13331
|
ftype: "simple_pin_header";
|
|
12901
13332
|
pin_count: number;
|
|
13333
|
+
subcircuit_id?: string | undefined;
|
|
12902
13334
|
source_group_id?: string | undefined;
|
|
12903
13335
|
manufacturer_part_number?: string | undefined;
|
|
12904
13336
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12916,6 +13348,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12916
13348
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12917
13349
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12918
13350
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13351
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12919
13352
|
} & {
|
|
12920
13353
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
12921
13354
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -12928,6 +13361,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12928
13361
|
ftype: "simple_resonator";
|
|
12929
13362
|
frequency: number;
|
|
12930
13363
|
load_capacitance: number;
|
|
13364
|
+
subcircuit_id?: string | undefined;
|
|
12931
13365
|
source_group_id?: string | undefined;
|
|
12932
13366
|
manufacturer_part_number?: string | undefined;
|
|
12933
13367
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12942,6 +13376,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12942
13376
|
ftype: "simple_resonator";
|
|
12943
13377
|
frequency: string | number;
|
|
12944
13378
|
load_capacitance: string | number;
|
|
13379
|
+
subcircuit_id?: string | undefined;
|
|
12945
13380
|
source_group_id?: string | undefined;
|
|
12946
13381
|
manufacturer_part_number?: string | undefined;
|
|
12947
13382
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12959,6 +13394,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12959
13394
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12960
13395
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12961
13396
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13397
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12962
13398
|
} & {
|
|
12963
13399
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
12964
13400
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12966,6 +13402,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12966
13402
|
name: string;
|
|
12967
13403
|
source_component_id: string;
|
|
12968
13404
|
ftype: "simple_switch";
|
|
13405
|
+
subcircuit_id?: string | undefined;
|
|
12969
13406
|
source_group_id?: string | undefined;
|
|
12970
13407
|
manufacturer_part_number?: string | undefined;
|
|
12971
13408
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12977,6 +13414,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12977
13414
|
name: string;
|
|
12978
13415
|
source_component_id: string;
|
|
12979
13416
|
ftype: "simple_switch";
|
|
13417
|
+
subcircuit_id?: string | undefined;
|
|
12980
13418
|
source_group_id?: string | undefined;
|
|
12981
13419
|
manufacturer_part_number?: string | undefined;
|
|
12982
13420
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12993,6 +13431,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12993
13431
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12994
13432
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12995
13433
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13434
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12996
13435
|
} & {
|
|
12997
13436
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
12998
13437
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -13002,6 +13441,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13002
13441
|
source_component_id: string;
|
|
13003
13442
|
ftype: "simple_transistor";
|
|
13004
13443
|
transistor_type: "npn" | "pnp";
|
|
13444
|
+
subcircuit_id?: string | undefined;
|
|
13005
13445
|
source_group_id?: string | undefined;
|
|
13006
13446
|
manufacturer_part_number?: string | undefined;
|
|
13007
13447
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13014,6 +13454,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13014
13454
|
source_component_id: string;
|
|
13015
13455
|
ftype: "simple_transistor";
|
|
13016
13456
|
transistor_type: "npn" | "pnp";
|
|
13457
|
+
subcircuit_id?: string | undefined;
|
|
13017
13458
|
source_group_id?: string | undefined;
|
|
13018
13459
|
manufacturer_part_number?: string | undefined;
|
|
13019
13460
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13030,6 +13471,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13030
13471
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13031
13472
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13032
13473
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13474
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13033
13475
|
} & {
|
|
13034
13476
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
13035
13477
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -13045,6 +13487,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13045
13487
|
ftype: "simple_test_point";
|
|
13046
13488
|
width?: string | number | undefined;
|
|
13047
13489
|
height?: string | number | undefined;
|
|
13490
|
+
subcircuit_id?: string | undefined;
|
|
13048
13491
|
hole_diameter?: string | number | undefined;
|
|
13049
13492
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13050
13493
|
source_group_id?: string | undefined;
|
|
@@ -13062,6 +13505,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13062
13505
|
ftype: "simple_test_point";
|
|
13063
13506
|
width?: string | number | undefined;
|
|
13064
13507
|
height?: string | number | undefined;
|
|
13508
|
+
subcircuit_id?: string | undefined;
|
|
13065
13509
|
hole_diameter?: string | number | undefined;
|
|
13066
13510
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13067
13511
|
source_group_id?: string | undefined;
|
|
@@ -13082,6 +13526,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13082
13526
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13083
13527
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13084
13528
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13529
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13085
13530
|
} & {
|
|
13086
13531
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13087
13532
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -13093,6 +13538,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13093
13538
|
ftype: "simple_mosfet";
|
|
13094
13539
|
channel_type: "n" | "p";
|
|
13095
13540
|
mosfet_mode: "enhancement" | "depletion";
|
|
13541
|
+
subcircuit_id?: string | undefined;
|
|
13096
13542
|
source_group_id?: string | undefined;
|
|
13097
13543
|
manufacturer_part_number?: string | undefined;
|
|
13098
13544
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13106,6 +13552,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13106
13552
|
ftype: "simple_mosfet";
|
|
13107
13553
|
channel_type: "n" | "p";
|
|
13108
13554
|
mosfet_mode: "enhancement" | "depletion";
|
|
13555
|
+
subcircuit_id?: string | undefined;
|
|
13109
13556
|
source_group_id?: string | undefined;
|
|
13110
13557
|
manufacturer_part_number?: string | undefined;
|
|
13111
13558
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13122,6 +13569,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13122
13569
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13123
13570
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13124
13571
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13572
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13125
13573
|
} & {
|
|
13126
13574
|
ftype: z.ZodLiteral<"simple_fuse">;
|
|
13127
13575
|
current_rating_amps: z.ZodNumber;
|
|
@@ -13133,6 +13581,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13133
13581
|
ftype: "simple_fuse";
|
|
13134
13582
|
current_rating_amps: number;
|
|
13135
13583
|
voltage_rating_volts: number;
|
|
13584
|
+
subcircuit_id?: string | undefined;
|
|
13136
13585
|
source_group_id?: string | undefined;
|
|
13137
13586
|
manufacturer_part_number?: string | undefined;
|
|
13138
13587
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13146,6 +13595,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13146
13595
|
ftype: "simple_fuse";
|
|
13147
13596
|
current_rating_amps: number;
|
|
13148
13597
|
voltage_rating_volts: number;
|
|
13598
|
+
subcircuit_id?: string | undefined;
|
|
13149
13599
|
source_group_id?: string | undefined;
|
|
13150
13600
|
manufacturer_part_number?: string | undefined;
|
|
13151
13601
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13175,6 +13625,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13175
13625
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13176
13626
|
source_component_id: z.ZodString;
|
|
13177
13627
|
property_name: z.ZodString;
|
|
13628
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13178
13629
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
13179
13630
|
message: z.ZodString;
|
|
13180
13631
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13184,11 +13635,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13184
13635
|
error_type: "source_missing_property_error";
|
|
13185
13636
|
source_missing_property_error_id: string;
|
|
13186
13637
|
property_name: string;
|
|
13638
|
+
subcircuit_id?: string | undefined;
|
|
13187
13639
|
}, {
|
|
13188
13640
|
message: string;
|
|
13189
13641
|
type: "source_missing_property_error";
|
|
13190
13642
|
source_component_id: string;
|
|
13191
13643
|
property_name: string;
|
|
13644
|
+
subcircuit_id?: string | undefined;
|
|
13192
13645
|
error_type?: "source_missing_property_error" | undefined;
|
|
13193
13646
|
source_missing_property_error_id?: string | undefined;
|
|
13194
13647
|
}>, z.ZodObject<{
|
|
@@ -13318,6 +13771,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13318
13771
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13319
13772
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13320
13773
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13774
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13321
13775
|
} & {
|
|
13322
13776
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
13323
13777
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13325,6 +13779,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13325
13779
|
name: string;
|
|
13326
13780
|
source_component_id: string;
|
|
13327
13781
|
ftype: "simple_chip";
|
|
13782
|
+
subcircuit_id?: string | undefined;
|
|
13328
13783
|
source_group_id?: string | undefined;
|
|
13329
13784
|
manufacturer_part_number?: string | undefined;
|
|
13330
13785
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13336,6 +13791,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13336
13791
|
name: string;
|
|
13337
13792
|
source_component_id: string;
|
|
13338
13793
|
ftype: "simple_chip";
|
|
13794
|
+
subcircuit_id?: string | undefined;
|
|
13339
13795
|
source_group_id?: string | undefined;
|
|
13340
13796
|
manufacturer_part_number?: string | undefined;
|
|
13341
13797
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13352,6 +13808,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13352
13808
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13353
13809
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13354
13810
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13811
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13355
13812
|
} & {
|
|
13356
13813
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
13357
13814
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -13364,6 +13821,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13364
13821
|
source_component_id: string;
|
|
13365
13822
|
ftype: "simple_capacitor";
|
|
13366
13823
|
capacitance: number;
|
|
13824
|
+
subcircuit_id?: string | undefined;
|
|
13367
13825
|
source_group_id?: string | undefined;
|
|
13368
13826
|
manufacturer_part_number?: string | undefined;
|
|
13369
13827
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13379,6 +13837,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13379
13837
|
source_component_id: string;
|
|
13380
13838
|
ftype: "simple_capacitor";
|
|
13381
13839
|
capacitance: string | number;
|
|
13840
|
+
subcircuit_id?: string | undefined;
|
|
13382
13841
|
source_group_id?: string | undefined;
|
|
13383
13842
|
manufacturer_part_number?: string | undefined;
|
|
13384
13843
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13398,6 +13857,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13398
13857
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13399
13858
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13400
13859
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13860
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13401
13861
|
} & {
|
|
13402
13862
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
13403
13863
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13405,6 +13865,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13405
13865
|
name: string;
|
|
13406
13866
|
source_component_id: string;
|
|
13407
13867
|
ftype: "simple_diode";
|
|
13868
|
+
subcircuit_id?: string | undefined;
|
|
13408
13869
|
source_group_id?: string | undefined;
|
|
13409
13870
|
manufacturer_part_number?: string | undefined;
|
|
13410
13871
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13416,6 +13877,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13416
13877
|
name: string;
|
|
13417
13878
|
source_component_id: string;
|
|
13418
13879
|
ftype: "simple_diode";
|
|
13880
|
+
subcircuit_id?: string | undefined;
|
|
13419
13881
|
source_group_id?: string | undefined;
|
|
13420
13882
|
manufacturer_part_number?: string | undefined;
|
|
13421
13883
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13432,6 +13894,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13432
13894
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13433
13895
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13434
13896
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13897
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13435
13898
|
} & {
|
|
13436
13899
|
ftype: z.ZodLiteral<"simple_led">;
|
|
13437
13900
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -13441,6 +13904,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13441
13904
|
name: string;
|
|
13442
13905
|
source_component_id: string;
|
|
13443
13906
|
ftype: "simple_led";
|
|
13907
|
+
subcircuit_id?: string | undefined;
|
|
13444
13908
|
color?: string | undefined;
|
|
13445
13909
|
source_group_id?: string | undefined;
|
|
13446
13910
|
manufacturer_part_number?: string | undefined;
|
|
@@ -13454,6 +13918,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13454
13918
|
name: string;
|
|
13455
13919
|
source_component_id: string;
|
|
13456
13920
|
ftype: "simple_led";
|
|
13921
|
+
subcircuit_id?: string | undefined;
|
|
13457
13922
|
color?: string | undefined;
|
|
13458
13923
|
source_group_id?: string | undefined;
|
|
13459
13924
|
manufacturer_part_number?: string | undefined;
|
|
@@ -13472,6 +13937,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13472
13937
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13473
13938
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13474
13939
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13940
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13475
13941
|
} & {
|
|
13476
13942
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
13477
13943
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13482,6 +13948,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13482
13948
|
source_component_id: string;
|
|
13483
13949
|
ftype: "simple_resistor";
|
|
13484
13950
|
resistance: number;
|
|
13951
|
+
subcircuit_id?: string | undefined;
|
|
13485
13952
|
source_group_id?: string | undefined;
|
|
13486
13953
|
manufacturer_part_number?: string | undefined;
|
|
13487
13954
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13495,6 +13962,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13495
13962
|
source_component_id: string;
|
|
13496
13963
|
ftype: "simple_resistor";
|
|
13497
13964
|
resistance: string | number;
|
|
13965
|
+
subcircuit_id?: string | undefined;
|
|
13498
13966
|
source_group_id?: string | undefined;
|
|
13499
13967
|
manufacturer_part_number?: string | undefined;
|
|
13500
13968
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13512,6 +13980,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13512
13980
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13513
13981
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13514
13982
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13983
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13515
13984
|
} & {
|
|
13516
13985
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
13517
13986
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13521,6 +13990,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13521
13990
|
source_component_id: string;
|
|
13522
13991
|
voltage: number;
|
|
13523
13992
|
ftype: "simple_power_source";
|
|
13993
|
+
subcircuit_id?: string | undefined;
|
|
13524
13994
|
source_group_id?: string | undefined;
|
|
13525
13995
|
manufacturer_part_number?: string | undefined;
|
|
13526
13996
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13533,6 +14003,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13533
14003
|
source_component_id: string;
|
|
13534
14004
|
voltage: string | number;
|
|
13535
14005
|
ftype: "simple_power_source";
|
|
14006
|
+
subcircuit_id?: string | undefined;
|
|
13536
14007
|
source_group_id?: string | undefined;
|
|
13537
14008
|
manufacturer_part_number?: string | undefined;
|
|
13538
14009
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13549,6 +14020,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13549
14020
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13550
14021
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13551
14022
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14023
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13552
14024
|
} & {
|
|
13553
14025
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
13554
14026
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -13558,6 +14030,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13558
14030
|
source_component_id: string;
|
|
13559
14031
|
ftype: "simple_battery";
|
|
13560
14032
|
capacity: number;
|
|
14033
|
+
subcircuit_id?: string | undefined;
|
|
13561
14034
|
source_group_id?: string | undefined;
|
|
13562
14035
|
manufacturer_part_number?: string | undefined;
|
|
13563
14036
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13570,6 +14043,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13570
14043
|
source_component_id: string;
|
|
13571
14044
|
ftype: "simple_battery";
|
|
13572
14045
|
capacity: string | number;
|
|
14046
|
+
subcircuit_id?: string | undefined;
|
|
13573
14047
|
source_group_id?: string | undefined;
|
|
13574
14048
|
manufacturer_part_number?: string | undefined;
|
|
13575
14049
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13586,6 +14060,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13586
14060
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13587
14061
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13588
14062
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14063
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13589
14064
|
} & {
|
|
13590
14065
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
13591
14066
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13596,6 +14071,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13596
14071
|
source_component_id: string;
|
|
13597
14072
|
ftype: "simple_inductor";
|
|
13598
14073
|
inductance: number;
|
|
14074
|
+
subcircuit_id?: string | undefined;
|
|
13599
14075
|
source_group_id?: string | undefined;
|
|
13600
14076
|
manufacturer_part_number?: string | undefined;
|
|
13601
14077
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13609,6 +14085,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13609
14085
|
source_component_id: string;
|
|
13610
14086
|
ftype: "simple_inductor";
|
|
13611
14087
|
inductance: string | number;
|
|
14088
|
+
subcircuit_id?: string | undefined;
|
|
13612
14089
|
source_group_id?: string | undefined;
|
|
13613
14090
|
manufacturer_part_number?: string | undefined;
|
|
13614
14091
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13626,6 +14103,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13626
14103
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13627
14104
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13628
14105
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14106
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13629
14107
|
} & {
|
|
13630
14108
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
13631
14109
|
pin_count: z.ZodNumber;
|
|
@@ -13637,6 +14115,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13637
14115
|
ftype: "simple_pin_header";
|
|
13638
14116
|
pin_count: number;
|
|
13639
14117
|
gender: "male" | "female";
|
|
14118
|
+
subcircuit_id?: string | undefined;
|
|
13640
14119
|
source_group_id?: string | undefined;
|
|
13641
14120
|
manufacturer_part_number?: string | undefined;
|
|
13642
14121
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13649,6 +14128,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13649
14128
|
source_component_id: string;
|
|
13650
14129
|
ftype: "simple_pin_header";
|
|
13651
14130
|
pin_count: number;
|
|
14131
|
+
subcircuit_id?: string | undefined;
|
|
13652
14132
|
source_group_id?: string | undefined;
|
|
13653
14133
|
manufacturer_part_number?: string | undefined;
|
|
13654
14134
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13666,6 +14146,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13666
14146
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13667
14147
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13668
14148
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14149
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13669
14150
|
} & {
|
|
13670
14151
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
13671
14152
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -13678,6 +14159,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13678
14159
|
ftype: "simple_resonator";
|
|
13679
14160
|
frequency: number;
|
|
13680
14161
|
load_capacitance: number;
|
|
14162
|
+
subcircuit_id?: string | undefined;
|
|
13681
14163
|
source_group_id?: string | undefined;
|
|
13682
14164
|
manufacturer_part_number?: string | undefined;
|
|
13683
14165
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13692,6 +14174,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13692
14174
|
ftype: "simple_resonator";
|
|
13693
14175
|
frequency: string | number;
|
|
13694
14176
|
load_capacitance: string | number;
|
|
14177
|
+
subcircuit_id?: string | undefined;
|
|
13695
14178
|
source_group_id?: string | undefined;
|
|
13696
14179
|
manufacturer_part_number?: string | undefined;
|
|
13697
14180
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13709,6 +14192,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13709
14192
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13710
14193
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13711
14194
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14195
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13712
14196
|
} & {
|
|
13713
14197
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
13714
14198
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13716,6 +14200,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13716
14200
|
name: string;
|
|
13717
14201
|
source_component_id: string;
|
|
13718
14202
|
ftype: "simple_switch";
|
|
14203
|
+
subcircuit_id?: string | undefined;
|
|
13719
14204
|
source_group_id?: string | undefined;
|
|
13720
14205
|
manufacturer_part_number?: string | undefined;
|
|
13721
14206
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13727,6 +14212,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13727
14212
|
name: string;
|
|
13728
14213
|
source_component_id: string;
|
|
13729
14214
|
ftype: "simple_switch";
|
|
14215
|
+
subcircuit_id?: string | undefined;
|
|
13730
14216
|
source_group_id?: string | undefined;
|
|
13731
14217
|
manufacturer_part_number?: string | undefined;
|
|
13732
14218
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13743,6 +14229,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13743
14229
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13744
14230
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13745
14231
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14232
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13746
14233
|
} & {
|
|
13747
14234
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
13748
14235
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -13752,6 +14239,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13752
14239
|
source_component_id: string;
|
|
13753
14240
|
ftype: "simple_transistor";
|
|
13754
14241
|
transistor_type: "npn" | "pnp";
|
|
14242
|
+
subcircuit_id?: string | undefined;
|
|
13755
14243
|
source_group_id?: string | undefined;
|
|
13756
14244
|
manufacturer_part_number?: string | undefined;
|
|
13757
14245
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13764,6 +14252,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13764
14252
|
source_component_id: string;
|
|
13765
14253
|
ftype: "simple_transistor";
|
|
13766
14254
|
transistor_type: "npn" | "pnp";
|
|
14255
|
+
subcircuit_id?: string | undefined;
|
|
13767
14256
|
source_group_id?: string | undefined;
|
|
13768
14257
|
manufacturer_part_number?: string | undefined;
|
|
13769
14258
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13780,6 +14269,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13780
14269
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13781
14270
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13782
14271
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14272
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13783
14273
|
} & {
|
|
13784
14274
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
13785
14275
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -13795,6 +14285,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13795
14285
|
ftype: "simple_test_point";
|
|
13796
14286
|
width?: string | number | undefined;
|
|
13797
14287
|
height?: string | number | undefined;
|
|
14288
|
+
subcircuit_id?: string | undefined;
|
|
13798
14289
|
hole_diameter?: string | number | undefined;
|
|
13799
14290
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13800
14291
|
source_group_id?: string | undefined;
|
|
@@ -13812,6 +14303,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13812
14303
|
ftype: "simple_test_point";
|
|
13813
14304
|
width?: string | number | undefined;
|
|
13814
14305
|
height?: string | number | undefined;
|
|
14306
|
+
subcircuit_id?: string | undefined;
|
|
13815
14307
|
hole_diameter?: string | number | undefined;
|
|
13816
14308
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13817
14309
|
source_group_id?: string | undefined;
|
|
@@ -13832,6 +14324,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13832
14324
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13833
14325
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13834
14326
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14327
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13835
14328
|
} & {
|
|
13836
14329
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13837
14330
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -13843,6 +14336,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13843
14336
|
ftype: "simple_mosfet";
|
|
13844
14337
|
channel_type: "n" | "p";
|
|
13845
14338
|
mosfet_mode: "enhancement" | "depletion";
|
|
14339
|
+
subcircuit_id?: string | undefined;
|
|
13846
14340
|
source_group_id?: string | undefined;
|
|
13847
14341
|
manufacturer_part_number?: string | undefined;
|
|
13848
14342
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13856,6 +14350,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13856
14350
|
ftype: "simple_mosfet";
|
|
13857
14351
|
channel_type: "n" | "p";
|
|
13858
14352
|
mosfet_mode: "enhancement" | "depletion";
|
|
14353
|
+
subcircuit_id?: string | undefined;
|
|
13859
14354
|
source_group_id?: string | undefined;
|
|
13860
14355
|
manufacturer_part_number?: string | undefined;
|
|
13861
14356
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13872,6 +14367,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13872
14367
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13873
14368
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13874
14369
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14370
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13875
14371
|
} & {
|
|
13876
14372
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
13877
14373
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13881,6 +14377,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13881
14377
|
source_component_id: string;
|
|
13882
14378
|
ftype: "simple_potentiometer";
|
|
13883
14379
|
max_resistance: number;
|
|
14380
|
+
subcircuit_id?: string | undefined;
|
|
13884
14381
|
source_group_id?: string | undefined;
|
|
13885
14382
|
manufacturer_part_number?: string | undefined;
|
|
13886
14383
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13893,6 +14390,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13893
14390
|
source_component_id: string;
|
|
13894
14391
|
ftype: "simple_potentiometer";
|
|
13895
14392
|
max_resistance: string | number;
|
|
14393
|
+
subcircuit_id?: string | undefined;
|
|
13896
14394
|
source_group_id?: string | undefined;
|
|
13897
14395
|
manufacturer_part_number?: string | undefined;
|
|
13898
14396
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13909,6 +14407,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13909
14407
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13910
14408
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13911
14409
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14410
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13912
14411
|
} & {
|
|
13913
14412
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
13914
14413
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13916,6 +14415,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13916
14415
|
name: string;
|
|
13917
14416
|
source_component_id: string;
|
|
13918
14417
|
ftype: "simple_push_button";
|
|
14418
|
+
subcircuit_id?: string | undefined;
|
|
13919
14419
|
source_group_id?: string | undefined;
|
|
13920
14420
|
manufacturer_part_number?: string | undefined;
|
|
13921
14421
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13927,6 +14427,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13927
14427
|
name: string;
|
|
13928
14428
|
source_component_id: string;
|
|
13929
14429
|
ftype: "simple_push_button";
|
|
14430
|
+
subcircuit_id?: string | undefined;
|
|
13930
14431
|
source_group_id?: string | undefined;
|
|
13931
14432
|
manufacturer_part_number?: string | undefined;
|
|
13932
14433
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -15429,6 +15930,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15429
15930
|
} | undefined;
|
|
15430
15931
|
trace_width?: string | number | undefined;
|
|
15431
15932
|
}>, "many">;
|
|
15933
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15432
15934
|
}, "strip", z.ZodTypeAny, {
|
|
15433
15935
|
type: "pcb_trace_hint";
|
|
15434
15936
|
pcb_component_id: string;
|
|
@@ -15441,6 +15943,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15441
15943
|
trace_width?: number | undefined;
|
|
15442
15944
|
}[];
|
|
15443
15945
|
pcb_trace_hint_id: string;
|
|
15946
|
+
subcircuit_id?: string | undefined;
|
|
15444
15947
|
}, {
|
|
15445
15948
|
type: "pcb_trace_hint";
|
|
15446
15949
|
pcb_component_id: string;
|
|
@@ -15454,6 +15957,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15454
15957
|
} | undefined;
|
|
15455
15958
|
trace_width?: string | number | undefined;
|
|
15456
15959
|
}[];
|
|
15960
|
+
subcircuit_id?: string | undefined;
|
|
15457
15961
|
pcb_trace_hint_id?: string | undefined;
|
|
15458
15962
|
}>, z.ZodObject<{
|
|
15459
15963
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
@@ -15776,6 +16280,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15776
16280
|
source_trace_id: z.ZodString;
|
|
15777
16281
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
15778
16282
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
16283
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15779
16284
|
}, "strip", z.ZodTypeAny, {
|
|
15780
16285
|
message: string;
|
|
15781
16286
|
type: "pcb_trace_error";
|
|
@@ -15789,6 +16294,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15789
16294
|
x: number;
|
|
15790
16295
|
y: number;
|
|
15791
16296
|
} | undefined;
|
|
16297
|
+
subcircuit_id?: string | undefined;
|
|
15792
16298
|
}, {
|
|
15793
16299
|
message: string;
|
|
15794
16300
|
type: "pcb_trace_error";
|
|
@@ -15800,6 +16306,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15800
16306
|
x: string | number;
|
|
15801
16307
|
y: string | number;
|
|
15802
16308
|
} | undefined;
|
|
16309
|
+
subcircuit_id?: string | undefined;
|
|
15803
16310
|
pcb_trace_error_id?: string | undefined;
|
|
15804
16311
|
error_type?: "pcb_trace_error" | undefined;
|
|
15805
16312
|
}>, z.ZodObject<{
|
|
@@ -15807,14 +16314,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15807
16314
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15808
16315
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
15809
16316
|
message: z.ZodString;
|
|
16317
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15810
16318
|
}, "strip", z.ZodTypeAny, {
|
|
15811
16319
|
message: string;
|
|
15812
16320
|
type: "pcb_placement_error";
|
|
15813
16321
|
error_type: "pcb_placement_error";
|
|
15814
16322
|
pcb_placement_error_id: string;
|
|
16323
|
+
subcircuit_id?: string | undefined;
|
|
15815
16324
|
}, {
|
|
15816
16325
|
message: string;
|
|
15817
16326
|
type: "pcb_placement_error";
|
|
16327
|
+
subcircuit_id?: string | undefined;
|
|
15818
16328
|
error_type?: "pcb_placement_error" | undefined;
|
|
15819
16329
|
pcb_placement_error_id?: string | undefined;
|
|
15820
16330
|
}>, z.ZodObject<{
|
|
@@ -15823,16 +16333,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15823
16333
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
15824
16334
|
message: z.ZodString;
|
|
15825
16335
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
16336
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15826
16337
|
}, "strip", z.ZodTypeAny, {
|
|
15827
16338
|
message: string;
|
|
15828
16339
|
type: "pcb_port_not_matched_error";
|
|
15829
16340
|
error_type: "pcb_port_not_matched_error";
|
|
15830
16341
|
pcb_component_ids: string[];
|
|
15831
16342
|
pcb_error_id: string;
|
|
16343
|
+
subcircuit_id?: string | undefined;
|
|
15832
16344
|
}, {
|
|
15833
16345
|
message: string;
|
|
15834
16346
|
type: "pcb_port_not_matched_error";
|
|
15835
16347
|
pcb_component_ids: string[];
|
|
16348
|
+
subcircuit_id?: string | undefined;
|
|
15836
16349
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
15837
16350
|
pcb_error_id?: string | undefined;
|
|
15838
16351
|
}>, z.ZodObject<{
|
|
@@ -15946,14 +16459,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15946
16459
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15947
16460
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
15948
16461
|
message: z.ZodString;
|
|
16462
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15949
16463
|
}, "strip", z.ZodTypeAny, {
|
|
15950
16464
|
message: string;
|
|
15951
16465
|
type: "pcb_autorouting_error";
|
|
15952
16466
|
error_type: "pcb_autorouting_error";
|
|
15953
16467
|
pcb_error_id: string;
|
|
16468
|
+
subcircuit_id?: string | undefined;
|
|
15954
16469
|
}, {
|
|
15955
16470
|
message: string;
|
|
15956
16471
|
type: "pcb_autorouting_error";
|
|
16472
|
+
subcircuit_id?: string | undefined;
|
|
15957
16473
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
15958
16474
|
pcb_error_id?: string | undefined;
|
|
15959
16475
|
}>, z.ZodObject<{
|
|
@@ -16189,6 +16705,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16189
16705
|
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16190
16706
|
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16191
16707
|
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
16708
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16192
16709
|
}, "strip", z.ZodTypeAny, {
|
|
16193
16710
|
type: "pcb_thermal_spoke";
|
|
16194
16711
|
shape: string;
|
|
@@ -16198,6 +16715,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16198
16715
|
spoke_thickness: number;
|
|
16199
16716
|
spoke_inner_diameter: number;
|
|
16200
16717
|
spoke_outer_diameter: number;
|
|
16718
|
+
subcircuit_id?: string | undefined;
|
|
16201
16719
|
pcb_plated_hole_id?: string | undefined;
|
|
16202
16720
|
}, {
|
|
16203
16721
|
type: "pcb_thermal_spoke";
|
|
@@ -16207,6 +16725,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16207
16725
|
spoke_thickness: string | number;
|
|
16208
16726
|
spoke_inner_diameter: string | number;
|
|
16209
16727
|
spoke_outer_diameter: string | number;
|
|
16728
|
+
subcircuit_id?: string | undefined;
|
|
16210
16729
|
pcb_plated_hole_id?: string | undefined;
|
|
16211
16730
|
pcb_thermal_spoke_id?: string | undefined;
|
|
16212
16731
|
}>, z.ZodObject<{
|
|
@@ -16217,6 +16736,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16217
16736
|
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
16218
16737
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16219
16738
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16739
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16220
16740
|
}, "strip", z.ZodTypeAny, {
|
|
16221
16741
|
x: number;
|
|
16222
16742
|
y: number;
|
|
@@ -16224,6 +16744,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16224
16744
|
width: number;
|
|
16225
16745
|
height: number;
|
|
16226
16746
|
is_dashed: boolean;
|
|
16747
|
+
subcircuit_id?: string | undefined;
|
|
16227
16748
|
schematic_component_id?: string | undefined;
|
|
16228
16749
|
}, {
|
|
16229
16750
|
x: string | number;
|
|
@@ -16231,6 +16752,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16231
16752
|
type: "schematic_box";
|
|
16232
16753
|
width: string | number;
|
|
16233
16754
|
height: string | number;
|
|
16755
|
+
subcircuit_id?: string | undefined;
|
|
16234
16756
|
schematic_component_id?: string | undefined;
|
|
16235
16757
|
is_dashed?: boolean | undefined;
|
|
16236
16758
|
}>, z.ZodObject<{
|
|
@@ -16252,6 +16774,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16252
16774
|
rotation: z.ZodDefault<z.ZodNumber>;
|
|
16253
16775
|
anchor: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["center", "left", "right", "top", "bottom"]>, z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>]>>;
|
|
16254
16776
|
color: z.ZodDefault<z.ZodString>;
|
|
16777
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16255
16778
|
}, "strip", z.ZodTypeAny, {
|
|
16256
16779
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
16257
16780
|
type: "schematic_text";
|
|
@@ -16264,6 +16787,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16264
16787
|
x: number;
|
|
16265
16788
|
y: number;
|
|
16266
16789
|
};
|
|
16790
|
+
subcircuit_id?: string | undefined;
|
|
16267
16791
|
schematic_component_id?: string | undefined;
|
|
16268
16792
|
}, {
|
|
16269
16793
|
type: "schematic_text";
|
|
@@ -16275,6 +16799,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16275
16799
|
};
|
|
16276
16800
|
anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
16277
16801
|
rotation?: number | undefined;
|
|
16802
|
+
subcircuit_id?: string | undefined;
|
|
16278
16803
|
font_size?: number | undefined;
|
|
16279
16804
|
color?: string | undefined;
|
|
16280
16805
|
schematic_component_id?: string | undefined;
|
|
@@ -16285,6 +16810,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16285
16810
|
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16286
16811
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16287
16812
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16813
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16288
16814
|
}, "strip", z.ZodTypeAny, {
|
|
16289
16815
|
type: "schematic_line";
|
|
16290
16816
|
x1: number;
|
|
@@ -16292,6 +16818,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16292
16818
|
x2: number;
|
|
16293
16819
|
y2: number;
|
|
16294
16820
|
schematic_component_id: string;
|
|
16821
|
+
subcircuit_id?: string | undefined;
|
|
16295
16822
|
}, {
|
|
16296
16823
|
type: "schematic_line";
|
|
16297
16824
|
x1: string | number;
|
|
@@ -16299,6 +16826,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16299
16826
|
x2: string | number;
|
|
16300
16827
|
y2: string | number;
|
|
16301
16828
|
schematic_component_id: string;
|
|
16829
|
+
subcircuit_id?: string | undefined;
|
|
16302
16830
|
}>, z.ZodObject<{
|
|
16303
16831
|
type: z.ZodLiteral<"schematic_component">;
|
|
16304
16832
|
size: z.ZodObject<{
|
|
@@ -16554,6 +17082,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16554
17082
|
true_ccw_index: z.ZodOptional<z.ZodNumber>;
|
|
16555
17083
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
16556
17084
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
17085
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16557
17086
|
}, "strip", z.ZodTypeAny, {
|
|
16558
17087
|
type: "schematic_port";
|
|
16559
17088
|
center: {
|
|
@@ -16562,6 +17091,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16562
17091
|
};
|
|
16563
17092
|
source_port_id: string;
|
|
16564
17093
|
schematic_port_id: string;
|
|
17094
|
+
subcircuit_id?: string | undefined;
|
|
16565
17095
|
schematic_component_id?: string | undefined;
|
|
16566
17096
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
16567
17097
|
distance_from_component_edge?: number | undefined;
|
|
@@ -16577,6 +17107,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16577
17107
|
};
|
|
16578
17108
|
source_port_id: string;
|
|
16579
17109
|
schematic_port_id: string;
|
|
17110
|
+
subcircuit_id?: string | undefined;
|
|
16580
17111
|
schematic_component_id?: string | undefined;
|
|
16581
17112
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
16582
17113
|
distance_from_component_edge?: number | undefined;
|
|
@@ -16647,6 +17178,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16647
17178
|
from_schematic_port_id?: string | undefined;
|
|
16648
17179
|
to_schematic_port_id?: string | undefined;
|
|
16649
17180
|
}>, "many">;
|
|
17181
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16650
17182
|
}, "strip", z.ZodTypeAny, {
|
|
16651
17183
|
type: "schematic_trace";
|
|
16652
17184
|
source_trace_id: string;
|
|
@@ -16668,6 +17200,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16668
17200
|
from_schematic_port_id?: string | undefined;
|
|
16669
17201
|
to_schematic_port_id?: string | undefined;
|
|
16670
17202
|
}[];
|
|
17203
|
+
subcircuit_id?: string | undefined;
|
|
16671
17204
|
}, {
|
|
16672
17205
|
type: "schematic_trace";
|
|
16673
17206
|
source_trace_id: string;
|
|
@@ -16689,6 +17222,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16689
17222
|
from_schematic_port_id?: string | undefined;
|
|
16690
17223
|
to_schematic_port_id?: string | undefined;
|
|
16691
17224
|
}[];
|
|
17225
|
+
subcircuit_id?: string | undefined;
|
|
16692
17226
|
}>, z.ZodObject<{
|
|
16693
17227
|
type: z.ZodLiteral<"schematic_path">;
|
|
16694
17228
|
schematic_component_id: z.ZodString;
|
|
@@ -16704,6 +17238,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16704
17238
|
x: string | number;
|
|
16705
17239
|
y: string | number;
|
|
16706
17240
|
}>, "many">;
|
|
17241
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16707
17242
|
}, "strip", z.ZodTypeAny, {
|
|
16708
17243
|
type: "schematic_path";
|
|
16709
17244
|
points: {
|
|
@@ -16711,6 +17246,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16711
17246
|
y: number;
|
|
16712
17247
|
}[];
|
|
16713
17248
|
schematic_component_id: string;
|
|
17249
|
+
subcircuit_id?: string | undefined;
|
|
16714
17250
|
is_filled?: boolean | undefined;
|
|
16715
17251
|
fill_color?: "red" | "blue" | undefined;
|
|
16716
17252
|
}, {
|
|
@@ -16720,6 +17256,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16720
17256
|
y: string | number;
|
|
16721
17257
|
}[];
|
|
16722
17258
|
schematic_component_id: string;
|
|
17259
|
+
subcircuit_id?: string | undefined;
|
|
16723
17260
|
is_filled?: boolean | undefined;
|
|
16724
17261
|
fill_color?: "red" | "blue" | undefined;
|
|
16725
17262
|
}>, z.ZodObject<{
|
|
@@ -16727,15 +17264,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16727
17264
|
schematic_error_id: z.ZodString;
|
|
16728
17265
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
16729
17266
|
message: z.ZodString;
|
|
17267
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16730
17268
|
}, "strip", z.ZodTypeAny, {
|
|
16731
17269
|
message: string;
|
|
16732
17270
|
type: "schematic_error";
|
|
16733
17271
|
error_type: "schematic_port_not_found";
|
|
16734
17272
|
schematic_error_id: string;
|
|
17273
|
+
subcircuit_id?: string | undefined;
|
|
16735
17274
|
}, {
|
|
16736
17275
|
message: string;
|
|
16737
17276
|
type: "schematic_error";
|
|
16738
17277
|
schematic_error_id: string;
|
|
17278
|
+
subcircuit_id?: string | undefined;
|
|
16739
17279
|
error_type?: "schematic_port_not_found" | undefined;
|
|
16740
17280
|
}>, z.ZodObject<{
|
|
16741
17281
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
@@ -16744,6 +17284,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16744
17284
|
message: z.ZodString;
|
|
16745
17285
|
source_group_id: z.ZodString;
|
|
16746
17286
|
schematic_group_id: z.ZodString;
|
|
17287
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16747
17288
|
}, "strip", z.ZodTypeAny, {
|
|
16748
17289
|
message: string;
|
|
16749
17290
|
type: "schematic_layout_error";
|
|
@@ -16751,11 +17292,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16751
17292
|
source_group_id: string;
|
|
16752
17293
|
schematic_group_id: string;
|
|
16753
17294
|
schematic_layout_error_id: string;
|
|
17295
|
+
subcircuit_id?: string | undefined;
|
|
16754
17296
|
}, {
|
|
16755
17297
|
message: string;
|
|
16756
17298
|
type: "schematic_layout_error";
|
|
16757
17299
|
source_group_id: string;
|
|
16758
17300
|
schematic_group_id: string;
|
|
17301
|
+
subcircuit_id?: string | undefined;
|
|
16759
17302
|
error_type?: "schematic_layout_error" | undefined;
|
|
16760
17303
|
schematic_layout_error_id?: string | undefined;
|
|
16761
17304
|
}>, z.ZodObject<{
|
|
@@ -16787,6 +17330,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16787
17330
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
16788
17331
|
text: z.ZodString;
|
|
16789
17332
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
17333
|
+
is_movable: z.ZodOptional<z.ZodBoolean>;
|
|
17334
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16790
17335
|
}, "strip", z.ZodTypeAny, {
|
|
16791
17336
|
type: "schematic_net_label";
|
|
16792
17337
|
center: {
|
|
@@ -16797,6 +17342,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16797
17342
|
source_net_id: string;
|
|
16798
17343
|
schematic_net_label_id: string;
|
|
16799
17344
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
17345
|
+
subcircuit_id?: string | undefined;
|
|
16800
17346
|
source_trace_id?: string | undefined;
|
|
16801
17347
|
anchor_position?: {
|
|
16802
17348
|
x: number;
|
|
@@ -16804,6 +17350,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16804
17350
|
} | undefined;
|
|
16805
17351
|
symbol_name?: string | undefined;
|
|
16806
17352
|
schematic_trace_id?: string | undefined;
|
|
17353
|
+
is_movable?: boolean | undefined;
|
|
16807
17354
|
}, {
|
|
16808
17355
|
type: "schematic_net_label";
|
|
16809
17356
|
center: {
|
|
@@ -16813,6 +17360,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16813
17360
|
text: string;
|
|
16814
17361
|
source_net_id: string;
|
|
16815
17362
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
17363
|
+
subcircuit_id?: string | undefined;
|
|
16816
17364
|
source_trace_id?: string | undefined;
|
|
16817
17365
|
anchor_position?: {
|
|
16818
17366
|
x: string | number;
|
|
@@ -16821,9 +17369,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16821
17369
|
symbol_name?: string | undefined;
|
|
16822
17370
|
schematic_trace_id?: string | undefined;
|
|
16823
17371
|
schematic_net_label_id?: string | undefined;
|
|
17372
|
+
is_movable?: boolean | undefined;
|
|
16824
17373
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
16825
17374
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16826
17375
|
label: z.ZodOptional<z.ZodString>;
|
|
17376
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16827
17377
|
} & {
|
|
16828
17378
|
shape: z.ZodLiteral<"rect">;
|
|
16829
17379
|
center: z.ZodObject<{
|
|
@@ -16857,6 +17407,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16857
17407
|
width: number;
|
|
16858
17408
|
height: number;
|
|
16859
17409
|
};
|
|
17410
|
+
subcircuit_id?: string | undefined;
|
|
16860
17411
|
label?: string | undefined;
|
|
16861
17412
|
}, {
|
|
16862
17413
|
type: "schematic_debug_object";
|
|
@@ -16869,10 +17420,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16869
17420
|
width: number;
|
|
16870
17421
|
height: number;
|
|
16871
17422
|
};
|
|
17423
|
+
subcircuit_id?: string | undefined;
|
|
16872
17424
|
label?: string | undefined;
|
|
16873
17425
|
}>, z.ZodObject<{
|
|
16874
17426
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16875
17427
|
label: z.ZodOptional<z.ZodString>;
|
|
17428
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16876
17429
|
} & {
|
|
16877
17430
|
shape: z.ZodLiteral<"line">;
|
|
16878
17431
|
start: z.ZodObject<{
|
|
@@ -16906,6 +17459,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16906
17459
|
x: number;
|
|
16907
17460
|
y: number;
|
|
16908
17461
|
};
|
|
17462
|
+
subcircuit_id?: string | undefined;
|
|
16909
17463
|
label?: string | undefined;
|
|
16910
17464
|
}, {
|
|
16911
17465
|
type: "schematic_debug_object";
|
|
@@ -16918,10 +17472,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16918
17472
|
x: string | number;
|
|
16919
17473
|
y: string | number;
|
|
16920
17474
|
};
|
|
17475
|
+
subcircuit_id?: string | undefined;
|
|
16921
17476
|
label?: string | undefined;
|
|
16922
17477
|
}>, z.ZodObject<{
|
|
16923
17478
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16924
17479
|
label: z.ZodOptional<z.ZodString>;
|
|
17480
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16925
17481
|
} & {
|
|
16926
17482
|
shape: z.ZodLiteral<"point">;
|
|
16927
17483
|
center: z.ZodObject<{
|
|
@@ -16941,6 +17497,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16941
17497
|
y: number;
|
|
16942
17498
|
};
|
|
16943
17499
|
shape: "point";
|
|
17500
|
+
subcircuit_id?: string | undefined;
|
|
16944
17501
|
label?: string | undefined;
|
|
16945
17502
|
}, {
|
|
16946
17503
|
type: "schematic_debug_object";
|
|
@@ -16949,6 +17506,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16949
17506
|
y: string | number;
|
|
16950
17507
|
};
|
|
16951
17508
|
shape: "point";
|
|
17509
|
+
subcircuit_id?: string | undefined;
|
|
16952
17510
|
label?: string | undefined;
|
|
16953
17511
|
}>]>, z.ZodObject<{
|
|
16954
17512
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -16965,6 +17523,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16965
17523
|
}>;
|
|
16966
17524
|
schematic_trace_id: z.ZodString;
|
|
16967
17525
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
17526
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16968
17527
|
}, "strip", z.ZodTypeAny, {
|
|
16969
17528
|
type: "schematic_voltage_probe";
|
|
16970
17529
|
schematic_trace_id: string;
|
|
@@ -16973,6 +17532,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16973
17532
|
y: number;
|
|
16974
17533
|
};
|
|
16975
17534
|
schematic_voltage_probe_id: string;
|
|
17535
|
+
subcircuit_id?: string | undefined;
|
|
16976
17536
|
voltage?: number | undefined;
|
|
16977
17537
|
}, {
|
|
16978
17538
|
type: "schematic_voltage_probe";
|
|
@@ -16982,6 +17542,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16982
17542
|
y: string | number;
|
|
16983
17543
|
};
|
|
16984
17544
|
schematic_voltage_probe_id: string;
|
|
17545
|
+
subcircuit_id?: string | undefined;
|
|
16985
17546
|
voltage?: string | number | undefined;
|
|
16986
17547
|
}>, z.ZodObject<{
|
|
16987
17548
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
@@ -17114,6 +17675,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17114
17675
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
17115
17676
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17116
17677
|
}>>;
|
|
17678
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
17117
17679
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
17118
17680
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
17119
17681
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
@@ -17135,6 +17697,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17135
17697
|
y: number;
|
|
17136
17698
|
z: number;
|
|
17137
17699
|
} | undefined;
|
|
17700
|
+
subcircuit_id?: string | undefined;
|
|
17138
17701
|
size?: {
|
|
17139
17702
|
x: number;
|
|
17140
17703
|
y: number;
|
|
@@ -17163,6 +17726,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17163
17726
|
y: string | number;
|
|
17164
17727
|
z: string | number;
|
|
17165
17728
|
} | undefined;
|
|
17729
|
+
subcircuit_id?: string | undefined;
|
|
17166
17730
|
size?: {
|
|
17167
17731
|
x: string | number;
|
|
17168
17732
|
y: string | number;
|