circuit-json 0.0.210 → 0.0.212
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 +112 -106
- package/dist/index.d.mts +569 -0
- package/dist/index.mjs +40 -19
- 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,7 @@ interface SchematicNetLabel {
|
|
|
4692
4740
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
4693
4741
|
text: string;
|
|
4694
4742
|
symbol_name?: string | undefined;
|
|
4743
|
+
subcircuit_id?: string;
|
|
4695
4744
|
}
|
|
4696
4745
|
declare const schematic_net_label: z.ZodObject<{
|
|
4697
4746
|
type: z.ZodLiteral<"schematic_net_label">;
|
|
@@ -4722,6 +4771,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4722
4771
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
4723
4772
|
text: z.ZodString;
|
|
4724
4773
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
4774
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4725
4775
|
}, "strip", z.ZodTypeAny, {
|
|
4726
4776
|
type: "schematic_net_label";
|
|
4727
4777
|
center: {
|
|
@@ -4732,6 +4782,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4732
4782
|
source_net_id: string;
|
|
4733
4783
|
schematic_net_label_id: string;
|
|
4734
4784
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
4785
|
+
subcircuit_id?: string | undefined;
|
|
4735
4786
|
source_trace_id?: string | undefined;
|
|
4736
4787
|
anchor_position?: {
|
|
4737
4788
|
x: number;
|
|
@@ -4748,6 +4799,7 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
4748
4799
|
text: string;
|
|
4749
4800
|
source_net_id: string;
|
|
4750
4801
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
4802
|
+
subcircuit_id?: string | undefined;
|
|
4751
4803
|
source_trace_id?: string | undefined;
|
|
4752
4804
|
anchor_position?: {
|
|
4753
4805
|
x: string | number;
|
|
@@ -4765,21 +4817,25 @@ interface SchematicError {
|
|
|
4765
4817
|
schematic_error_id: string;
|
|
4766
4818
|
error_type: "schematic_port_not_found";
|
|
4767
4819
|
message: string;
|
|
4820
|
+
subcircuit_id?: string;
|
|
4768
4821
|
}
|
|
4769
4822
|
declare const schematic_error: z.ZodObject<{
|
|
4770
4823
|
type: z.ZodLiteral<"schematic_error">;
|
|
4771
4824
|
schematic_error_id: z.ZodString;
|
|
4772
4825
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
4773
4826
|
message: z.ZodString;
|
|
4827
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4774
4828
|
}, "strip", z.ZodTypeAny, {
|
|
4775
4829
|
message: string;
|
|
4776
4830
|
type: "schematic_error";
|
|
4777
4831
|
error_type: "schematic_port_not_found";
|
|
4778
4832
|
schematic_error_id: string;
|
|
4833
|
+
subcircuit_id?: string | undefined;
|
|
4779
4834
|
}, {
|
|
4780
4835
|
message: string;
|
|
4781
4836
|
type: "schematic_error";
|
|
4782
4837
|
schematic_error_id: string;
|
|
4838
|
+
subcircuit_id?: string | undefined;
|
|
4783
4839
|
error_type?: "schematic_port_not_found" | undefined;
|
|
4784
4840
|
}>;
|
|
4785
4841
|
type SchematicErrorInput = z.input<typeof schematic_error>;
|
|
@@ -4791,6 +4847,7 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
4791
4847
|
message: z.ZodString;
|
|
4792
4848
|
source_group_id: z.ZodString;
|
|
4793
4849
|
schematic_group_id: z.ZodString;
|
|
4850
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4794
4851
|
}, "strip", z.ZodTypeAny, {
|
|
4795
4852
|
message: string;
|
|
4796
4853
|
type: "schematic_layout_error";
|
|
@@ -4798,11 +4855,13 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
4798
4855
|
source_group_id: string;
|
|
4799
4856
|
schematic_group_id: string;
|
|
4800
4857
|
schematic_layout_error_id: string;
|
|
4858
|
+
subcircuit_id?: string | undefined;
|
|
4801
4859
|
}, {
|
|
4802
4860
|
message: string;
|
|
4803
4861
|
type: "schematic_layout_error";
|
|
4804
4862
|
source_group_id: string;
|
|
4805
4863
|
schematic_group_id: string;
|
|
4864
|
+
subcircuit_id?: string | undefined;
|
|
4806
4865
|
error_type?: "schematic_layout_error" | undefined;
|
|
4807
4866
|
schematic_layout_error_id?: string | undefined;
|
|
4808
4867
|
}>;
|
|
@@ -4814,21 +4873,26 @@ interface SchematicLayoutError {
|
|
|
4814
4873
|
message: string;
|
|
4815
4874
|
source_group_id: string;
|
|
4816
4875
|
schematic_group_id: string;
|
|
4876
|
+
subcircuit_id?: string;
|
|
4817
4877
|
}
|
|
4818
4878
|
|
|
4819
4879
|
declare const schematic_debug_object_base: z.ZodObject<{
|
|
4820
4880
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4821
4881
|
label: z.ZodOptional<z.ZodString>;
|
|
4882
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4822
4883
|
}, "strip", z.ZodTypeAny, {
|
|
4823
4884
|
type: "schematic_debug_object";
|
|
4885
|
+
subcircuit_id?: string | undefined;
|
|
4824
4886
|
label?: string | undefined;
|
|
4825
4887
|
}, {
|
|
4826
4888
|
type: "schematic_debug_object";
|
|
4889
|
+
subcircuit_id?: string | undefined;
|
|
4827
4890
|
label?: string | undefined;
|
|
4828
4891
|
}>;
|
|
4829
4892
|
declare const schematic_debug_rect: z.ZodObject<{
|
|
4830
4893
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4831
4894
|
label: z.ZodOptional<z.ZodString>;
|
|
4895
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4832
4896
|
} & {
|
|
4833
4897
|
shape: z.ZodLiteral<"rect">;
|
|
4834
4898
|
center: z.ZodObject<{
|
|
@@ -4862,6 +4926,7 @@ declare const schematic_debug_rect: z.ZodObject<{
|
|
|
4862
4926
|
width: number;
|
|
4863
4927
|
height: number;
|
|
4864
4928
|
};
|
|
4929
|
+
subcircuit_id?: string | undefined;
|
|
4865
4930
|
label?: string | undefined;
|
|
4866
4931
|
}, {
|
|
4867
4932
|
type: "schematic_debug_object";
|
|
@@ -4874,11 +4939,13 @@ declare const schematic_debug_rect: z.ZodObject<{
|
|
|
4874
4939
|
width: number;
|
|
4875
4940
|
height: number;
|
|
4876
4941
|
};
|
|
4942
|
+
subcircuit_id?: string | undefined;
|
|
4877
4943
|
label?: string | undefined;
|
|
4878
4944
|
}>;
|
|
4879
4945
|
declare const schematic_debug_line: z.ZodObject<{
|
|
4880
4946
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4881
4947
|
label: z.ZodOptional<z.ZodString>;
|
|
4948
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4882
4949
|
} & {
|
|
4883
4950
|
shape: z.ZodLiteral<"line">;
|
|
4884
4951
|
start: z.ZodObject<{
|
|
@@ -4912,6 +4979,7 @@ declare const schematic_debug_line: z.ZodObject<{
|
|
|
4912
4979
|
x: number;
|
|
4913
4980
|
y: number;
|
|
4914
4981
|
};
|
|
4982
|
+
subcircuit_id?: string | undefined;
|
|
4915
4983
|
label?: string | undefined;
|
|
4916
4984
|
}, {
|
|
4917
4985
|
type: "schematic_debug_object";
|
|
@@ -4924,11 +4992,13 @@ declare const schematic_debug_line: z.ZodObject<{
|
|
|
4924
4992
|
x: string | number;
|
|
4925
4993
|
y: string | number;
|
|
4926
4994
|
};
|
|
4995
|
+
subcircuit_id?: string | undefined;
|
|
4927
4996
|
label?: string | undefined;
|
|
4928
4997
|
}>;
|
|
4929
4998
|
declare const schematic_debug_point: z.ZodObject<{
|
|
4930
4999
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4931
5000
|
label: z.ZodOptional<z.ZodString>;
|
|
5001
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4932
5002
|
} & {
|
|
4933
5003
|
shape: z.ZodLiteral<"point">;
|
|
4934
5004
|
center: z.ZodObject<{
|
|
@@ -4948,6 +5018,7 @@ declare const schematic_debug_point: z.ZodObject<{
|
|
|
4948
5018
|
y: number;
|
|
4949
5019
|
};
|
|
4950
5020
|
shape: "point";
|
|
5021
|
+
subcircuit_id?: string | undefined;
|
|
4951
5022
|
label?: string | undefined;
|
|
4952
5023
|
}, {
|
|
4953
5024
|
type: "schematic_debug_object";
|
|
@@ -4956,11 +5027,13 @@ declare const schematic_debug_point: z.ZodObject<{
|
|
|
4956
5027
|
y: string | number;
|
|
4957
5028
|
};
|
|
4958
5029
|
shape: "point";
|
|
5030
|
+
subcircuit_id?: string | undefined;
|
|
4959
5031
|
label?: string | undefined;
|
|
4960
5032
|
}>;
|
|
4961
5033
|
declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
4962
5034
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4963
5035
|
label: z.ZodOptional<z.ZodString>;
|
|
5036
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4964
5037
|
} & {
|
|
4965
5038
|
shape: z.ZodLiteral<"rect">;
|
|
4966
5039
|
center: z.ZodObject<{
|
|
@@ -4994,6 +5067,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4994
5067
|
width: number;
|
|
4995
5068
|
height: number;
|
|
4996
5069
|
};
|
|
5070
|
+
subcircuit_id?: string | undefined;
|
|
4997
5071
|
label?: string | undefined;
|
|
4998
5072
|
}, {
|
|
4999
5073
|
type: "schematic_debug_object";
|
|
@@ -5006,10 +5080,12 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5006
5080
|
width: number;
|
|
5007
5081
|
height: number;
|
|
5008
5082
|
};
|
|
5083
|
+
subcircuit_id?: string | undefined;
|
|
5009
5084
|
label?: string | undefined;
|
|
5010
5085
|
}>, z.ZodObject<{
|
|
5011
5086
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
5012
5087
|
label: z.ZodOptional<z.ZodString>;
|
|
5088
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5013
5089
|
} & {
|
|
5014
5090
|
shape: z.ZodLiteral<"line">;
|
|
5015
5091
|
start: z.ZodObject<{
|
|
@@ -5043,6 +5119,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5043
5119
|
x: number;
|
|
5044
5120
|
y: number;
|
|
5045
5121
|
};
|
|
5122
|
+
subcircuit_id?: string | undefined;
|
|
5046
5123
|
label?: string | undefined;
|
|
5047
5124
|
}, {
|
|
5048
5125
|
type: "schematic_debug_object";
|
|
@@ -5055,10 +5132,12 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5055
5132
|
x: string | number;
|
|
5056
5133
|
y: string | number;
|
|
5057
5134
|
};
|
|
5135
|
+
subcircuit_id?: string | undefined;
|
|
5058
5136
|
label?: string | undefined;
|
|
5059
5137
|
}>, z.ZodObject<{
|
|
5060
5138
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
5061
5139
|
label: z.ZodOptional<z.ZodString>;
|
|
5140
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5062
5141
|
} & {
|
|
5063
5142
|
shape: z.ZodLiteral<"point">;
|
|
5064
5143
|
center: z.ZodObject<{
|
|
@@ -5078,6 +5157,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5078
5157
|
y: number;
|
|
5079
5158
|
};
|
|
5080
5159
|
shape: "point";
|
|
5160
|
+
subcircuit_id?: string | undefined;
|
|
5081
5161
|
label?: string | undefined;
|
|
5082
5162
|
}, {
|
|
5083
5163
|
type: "schematic_debug_object";
|
|
@@ -5086,6 +5166,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
5086
5166
|
y: string | number;
|
|
5087
5167
|
};
|
|
5088
5168
|
shape: "point";
|
|
5169
|
+
subcircuit_id?: string | undefined;
|
|
5089
5170
|
label?: string | undefined;
|
|
5090
5171
|
}>]>;
|
|
5091
5172
|
interface SchematicDebugRect {
|
|
@@ -5094,6 +5175,7 @@ interface SchematicDebugRect {
|
|
|
5094
5175
|
shape: "rect";
|
|
5095
5176
|
center: Point;
|
|
5096
5177
|
size: Size;
|
|
5178
|
+
subcircuit_id?: string;
|
|
5097
5179
|
}
|
|
5098
5180
|
interface SchematicDebugLine {
|
|
5099
5181
|
type: "schematic_debug_object";
|
|
@@ -5101,12 +5183,14 @@ interface SchematicDebugLine {
|
|
|
5101
5183
|
shape: "line";
|
|
5102
5184
|
start: Point;
|
|
5103
5185
|
end: Point;
|
|
5186
|
+
subcircuit_id?: string;
|
|
5104
5187
|
}
|
|
5105
5188
|
interface SchematicDebugPoint {
|
|
5106
5189
|
type: "schematic_debug_object";
|
|
5107
5190
|
label?: string;
|
|
5108
5191
|
shape: "point";
|
|
5109
5192
|
center: Point;
|
|
5193
|
+
subcircuit_id?: string;
|
|
5110
5194
|
}
|
|
5111
5195
|
type SchematicDebugObject = SchematicDebugRect | SchematicDebugLine | SchematicDebugPoint;
|
|
5112
5196
|
type SchematicDebugObjectInput = z.input<typeof schematic_debug_object>;
|
|
@@ -5117,6 +5201,7 @@ interface SchematicVoltageProbe {
|
|
|
5117
5201
|
position: Point;
|
|
5118
5202
|
schematic_trace_id: string;
|
|
5119
5203
|
voltage?: number;
|
|
5204
|
+
subcircuit_id?: string;
|
|
5120
5205
|
}
|
|
5121
5206
|
declare const schematic_voltage_probe: z.ZodObject<{
|
|
5122
5207
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -5133,6 +5218,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
5133
5218
|
}>;
|
|
5134
5219
|
schematic_trace_id: z.ZodString;
|
|
5135
5220
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5221
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5136
5222
|
}, "strip", z.ZodTypeAny, {
|
|
5137
5223
|
type: "schematic_voltage_probe";
|
|
5138
5224
|
schematic_trace_id: string;
|
|
@@ -5141,6 +5227,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
5141
5227
|
y: number;
|
|
5142
5228
|
};
|
|
5143
5229
|
schematic_voltage_probe_id: string;
|
|
5230
|
+
subcircuit_id?: string | undefined;
|
|
5144
5231
|
voltage?: number | undefined;
|
|
5145
5232
|
}, {
|
|
5146
5233
|
type: "schematic_voltage_probe";
|
|
@@ -5150,6 +5237,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
5150
5237
|
y: string | number;
|
|
5151
5238
|
};
|
|
5152
5239
|
schematic_voltage_probe_id: string;
|
|
5240
|
+
subcircuit_id?: string | undefined;
|
|
5153
5241
|
voltage?: string | number | undefined;
|
|
5154
5242
|
}>;
|
|
5155
5243
|
type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
|
|
@@ -5280,6 +5368,7 @@ interface SourceComponentBase {
|
|
|
5280
5368
|
are_pins_interchangeable?: boolean;
|
|
5281
5369
|
internally_connected_source_port_ids?: string[][];
|
|
5282
5370
|
source_group_id?: string;
|
|
5371
|
+
subcircuit_id?: string;
|
|
5283
5372
|
}
|
|
5284
5373
|
declare const source_component_base: z.ZodObject<{
|
|
5285
5374
|
type: z.ZodLiteral<"source_component">;
|
|
@@ -5292,10 +5381,12 @@ declare const source_component_base: z.ZodObject<{
|
|
|
5292
5381
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5293
5382
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5294
5383
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5384
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5295
5385
|
}, "strip", z.ZodTypeAny, {
|
|
5296
5386
|
type: "source_component";
|
|
5297
5387
|
name: string;
|
|
5298
5388
|
source_component_id: string;
|
|
5389
|
+
subcircuit_id?: string | undefined;
|
|
5299
5390
|
source_group_id?: string | undefined;
|
|
5300
5391
|
ftype?: string | undefined;
|
|
5301
5392
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5307,6 +5398,7 @@ declare const source_component_base: z.ZodObject<{
|
|
|
5307
5398
|
type: "source_component";
|
|
5308
5399
|
name: string;
|
|
5309
5400
|
source_component_id: string;
|
|
5401
|
+
subcircuit_id?: string | undefined;
|
|
5310
5402
|
source_group_id?: string | undefined;
|
|
5311
5403
|
ftype?: string | undefined;
|
|
5312
5404
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5326,6 +5418,7 @@ declare const source_simple_capacitor: z.ZodObject<{
|
|
|
5326
5418
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5327
5419
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5328
5420
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5421
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5329
5422
|
} & {
|
|
5330
5423
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
5331
5424
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -5338,6 +5431,7 @@ declare const source_simple_capacitor: z.ZodObject<{
|
|
|
5338
5431
|
source_component_id: string;
|
|
5339
5432
|
ftype: "simple_capacitor";
|
|
5340
5433
|
capacitance: number;
|
|
5434
|
+
subcircuit_id?: string | undefined;
|
|
5341
5435
|
source_group_id?: string | undefined;
|
|
5342
5436
|
manufacturer_part_number?: string | undefined;
|
|
5343
5437
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5353,6 +5447,7 @@ declare const source_simple_capacitor: z.ZodObject<{
|
|
|
5353
5447
|
source_component_id: string;
|
|
5354
5448
|
ftype: "simple_capacitor";
|
|
5355
5449
|
capacitance: string | number;
|
|
5450
|
+
subcircuit_id?: string | undefined;
|
|
5356
5451
|
source_group_id?: string | undefined;
|
|
5357
5452
|
manufacturer_part_number?: string | undefined;
|
|
5358
5453
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5385,6 +5480,7 @@ declare const source_simple_resistor: z.ZodObject<{
|
|
|
5385
5480
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5386
5481
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5387
5482
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5483
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5388
5484
|
} & {
|
|
5389
5485
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
5390
5486
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5395,6 +5491,7 @@ declare const source_simple_resistor: z.ZodObject<{
|
|
|
5395
5491
|
source_component_id: string;
|
|
5396
5492
|
ftype: "simple_resistor";
|
|
5397
5493
|
resistance: number;
|
|
5494
|
+
subcircuit_id?: string | undefined;
|
|
5398
5495
|
source_group_id?: string | undefined;
|
|
5399
5496
|
manufacturer_part_number?: string | undefined;
|
|
5400
5497
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5408,6 +5505,7 @@ declare const source_simple_resistor: z.ZodObject<{
|
|
|
5408
5505
|
source_component_id: string;
|
|
5409
5506
|
ftype: "simple_resistor";
|
|
5410
5507
|
resistance: string | number;
|
|
5508
|
+
subcircuit_id?: string | undefined;
|
|
5411
5509
|
source_group_id?: string | undefined;
|
|
5412
5510
|
manufacturer_part_number?: string | undefined;
|
|
5413
5511
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5436,6 +5534,7 @@ declare const source_simple_diode: z.ZodObject<{
|
|
|
5436
5534
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5437
5535
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5438
5536
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5537
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5439
5538
|
} & {
|
|
5440
5539
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
5441
5540
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5443,6 +5542,7 @@ declare const source_simple_diode: z.ZodObject<{
|
|
|
5443
5542
|
name: string;
|
|
5444
5543
|
source_component_id: string;
|
|
5445
5544
|
ftype: "simple_diode";
|
|
5545
|
+
subcircuit_id?: string | undefined;
|
|
5446
5546
|
source_group_id?: string | undefined;
|
|
5447
5547
|
manufacturer_part_number?: string | undefined;
|
|
5448
5548
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5454,6 +5554,7 @@ declare const source_simple_diode: z.ZodObject<{
|
|
|
5454
5554
|
name: string;
|
|
5455
5555
|
source_component_id: string;
|
|
5456
5556
|
ftype: "simple_diode";
|
|
5557
|
+
subcircuit_id?: string | undefined;
|
|
5457
5558
|
source_group_id?: string | undefined;
|
|
5458
5559
|
manufacturer_part_number?: string | undefined;
|
|
5459
5560
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5479,6 +5580,7 @@ declare const source_simple_led: z.ZodObject<{
|
|
|
5479
5580
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5480
5581
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5481
5582
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5583
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5482
5584
|
} & {
|
|
5483
5585
|
ftype: z.ZodLiteral<"simple_led">;
|
|
5484
5586
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -5488,6 +5590,7 @@ declare const source_simple_led: z.ZodObject<{
|
|
|
5488
5590
|
name: string;
|
|
5489
5591
|
source_component_id: string;
|
|
5490
5592
|
ftype: "simple_led";
|
|
5593
|
+
subcircuit_id?: string | undefined;
|
|
5491
5594
|
color?: string | undefined;
|
|
5492
5595
|
source_group_id?: string | undefined;
|
|
5493
5596
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5501,6 +5604,7 @@ declare const source_simple_led: z.ZodObject<{
|
|
|
5501
5604
|
name: string;
|
|
5502
5605
|
source_component_id: string;
|
|
5503
5606
|
ftype: "simple_led";
|
|
5607
|
+
subcircuit_id?: string | undefined;
|
|
5504
5608
|
color?: string | undefined;
|
|
5505
5609
|
source_group_id?: string | undefined;
|
|
5506
5610
|
manufacturer_part_number?: string | undefined;
|
|
@@ -5530,6 +5634,7 @@ declare const source_simple_ground: z.ZodObject<{
|
|
|
5530
5634
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5531
5635
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5532
5636
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5637
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5533
5638
|
} & {
|
|
5534
5639
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
5535
5640
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5537,6 +5642,7 @@ declare const source_simple_ground: z.ZodObject<{
|
|
|
5537
5642
|
name: string;
|
|
5538
5643
|
source_component_id: string;
|
|
5539
5644
|
ftype: "simple_ground";
|
|
5645
|
+
subcircuit_id?: string | undefined;
|
|
5540
5646
|
source_group_id?: string | undefined;
|
|
5541
5647
|
manufacturer_part_number?: string | undefined;
|
|
5542
5648
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5548,6 +5654,7 @@ declare const source_simple_ground: z.ZodObject<{
|
|
|
5548
5654
|
name: string;
|
|
5549
5655
|
source_component_id: string;
|
|
5550
5656
|
ftype: "simple_ground";
|
|
5657
|
+
subcircuit_id?: string | undefined;
|
|
5551
5658
|
source_group_id?: string | undefined;
|
|
5552
5659
|
manufacturer_part_number?: string | undefined;
|
|
5553
5660
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5573,6 +5680,7 @@ declare const source_simple_chip: z.ZodObject<{
|
|
|
5573
5680
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5574
5681
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5575
5682
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5683
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5576
5684
|
} & {
|
|
5577
5685
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
5578
5686
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5580,6 +5688,7 @@ declare const source_simple_chip: z.ZodObject<{
|
|
|
5580
5688
|
name: string;
|
|
5581
5689
|
source_component_id: string;
|
|
5582
5690
|
ftype: "simple_chip";
|
|
5691
|
+
subcircuit_id?: string | undefined;
|
|
5583
5692
|
source_group_id?: string | undefined;
|
|
5584
5693
|
manufacturer_part_number?: string | undefined;
|
|
5585
5694
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5591,6 +5700,7 @@ declare const source_simple_chip: z.ZodObject<{
|
|
|
5591
5700
|
name: string;
|
|
5592
5701
|
source_component_id: string;
|
|
5593
5702
|
ftype: "simple_chip";
|
|
5703
|
+
subcircuit_id?: string | undefined;
|
|
5594
5704
|
source_group_id?: string | undefined;
|
|
5595
5705
|
manufacturer_part_number?: string | undefined;
|
|
5596
5706
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5616,6 +5726,7 @@ declare const source_simple_power_source: z.ZodObject<{
|
|
|
5616
5726
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5617
5727
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5618
5728
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5729
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5619
5730
|
} & {
|
|
5620
5731
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
5621
5732
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5625,6 +5736,7 @@ declare const source_simple_power_source: z.ZodObject<{
|
|
|
5625
5736
|
source_component_id: string;
|
|
5626
5737
|
voltage: number;
|
|
5627
5738
|
ftype: "simple_power_source";
|
|
5739
|
+
subcircuit_id?: string | undefined;
|
|
5628
5740
|
source_group_id?: string | undefined;
|
|
5629
5741
|
manufacturer_part_number?: string | undefined;
|
|
5630
5742
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5637,6 +5749,7 @@ declare const source_simple_power_source: z.ZodObject<{
|
|
|
5637
5749
|
source_component_id: string;
|
|
5638
5750
|
voltage: string | number;
|
|
5639
5751
|
ftype: "simple_power_source";
|
|
5752
|
+
subcircuit_id?: string | undefined;
|
|
5640
5753
|
source_group_id?: string | undefined;
|
|
5641
5754
|
manufacturer_part_number?: string | undefined;
|
|
5642
5755
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5669,6 +5782,7 @@ declare const source_simple_battery: z.ZodObject<{
|
|
|
5669
5782
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5670
5783
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5671
5784
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5785
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5672
5786
|
} & {
|
|
5673
5787
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
5674
5788
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -5678,6 +5792,7 @@ declare const source_simple_battery: z.ZodObject<{
|
|
|
5678
5792
|
source_component_id: string;
|
|
5679
5793
|
ftype: "simple_battery";
|
|
5680
5794
|
capacity: number;
|
|
5795
|
+
subcircuit_id?: string | undefined;
|
|
5681
5796
|
source_group_id?: string | undefined;
|
|
5682
5797
|
manufacturer_part_number?: string | undefined;
|
|
5683
5798
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5690,6 +5805,7 @@ declare const source_simple_battery: z.ZodObject<{
|
|
|
5690
5805
|
source_component_id: string;
|
|
5691
5806
|
ftype: "simple_battery";
|
|
5692
5807
|
capacity: string | number;
|
|
5808
|
+
subcircuit_id?: string | undefined;
|
|
5693
5809
|
source_group_id?: string | undefined;
|
|
5694
5810
|
manufacturer_part_number?: string | undefined;
|
|
5695
5811
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5716,33 +5832,39 @@ declare const source_simple_inductor: z.ZodObject<{
|
|
|
5716
5832
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5717
5833
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5718
5834
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5835
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5719
5836
|
} & {
|
|
5720
5837
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
5721
5838
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5839
|
+
max_current_rating: z.ZodOptional<z.ZodNumber>;
|
|
5722
5840
|
}, "strip", z.ZodTypeAny, {
|
|
5723
5841
|
type: "source_component";
|
|
5724
5842
|
name: string;
|
|
5725
5843
|
source_component_id: string;
|
|
5726
5844
|
ftype: "simple_inductor";
|
|
5727
5845
|
inductance: number;
|
|
5846
|
+
subcircuit_id?: string | undefined;
|
|
5728
5847
|
source_group_id?: string | undefined;
|
|
5729
5848
|
manufacturer_part_number?: string | undefined;
|
|
5730
5849
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5731
5850
|
display_value?: string | undefined;
|
|
5732
5851
|
are_pins_interchangeable?: boolean | undefined;
|
|
5733
5852
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5853
|
+
max_current_rating?: number | undefined;
|
|
5734
5854
|
}, {
|
|
5735
5855
|
type: "source_component";
|
|
5736
5856
|
name: string;
|
|
5737
5857
|
source_component_id: string;
|
|
5738
5858
|
ftype: "simple_inductor";
|
|
5739
5859
|
inductance: string | number;
|
|
5860
|
+
subcircuit_id?: string | undefined;
|
|
5740
5861
|
source_group_id?: string | undefined;
|
|
5741
5862
|
manufacturer_part_number?: string | undefined;
|
|
5742
5863
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5743
5864
|
display_value?: string | undefined;
|
|
5744
5865
|
are_pins_interchangeable?: boolean | undefined;
|
|
5745
5866
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5867
|
+
max_current_rating?: number | undefined;
|
|
5746
5868
|
}>;
|
|
5747
5869
|
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
5748
5870
|
/**
|
|
@@ -5751,6 +5873,7 @@ type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
|
5751
5873
|
interface SourceSimpleInductor extends SourceComponentBase {
|
|
5752
5874
|
ftype: "simple_inductor";
|
|
5753
5875
|
inductance: number;
|
|
5876
|
+
max_current_rating?: number;
|
|
5754
5877
|
}
|
|
5755
5878
|
|
|
5756
5879
|
declare const source_simple_push_button: z.ZodObject<{
|
|
@@ -5763,6 +5886,7 @@ declare const source_simple_push_button: z.ZodObject<{
|
|
|
5763
5886
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5764
5887
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5765
5888
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5889
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5766
5890
|
} & {
|
|
5767
5891
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
5768
5892
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5770,6 +5894,7 @@ declare const source_simple_push_button: z.ZodObject<{
|
|
|
5770
5894
|
name: string;
|
|
5771
5895
|
source_component_id: string;
|
|
5772
5896
|
ftype: "simple_push_button";
|
|
5897
|
+
subcircuit_id?: string | undefined;
|
|
5773
5898
|
source_group_id?: string | undefined;
|
|
5774
5899
|
manufacturer_part_number?: string | undefined;
|
|
5775
5900
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5781,6 +5906,7 @@ declare const source_simple_push_button: z.ZodObject<{
|
|
|
5781
5906
|
name: string;
|
|
5782
5907
|
source_component_id: string;
|
|
5783
5908
|
ftype: "simple_push_button";
|
|
5909
|
+
subcircuit_id?: string | undefined;
|
|
5784
5910
|
source_group_id?: string | undefined;
|
|
5785
5911
|
manufacturer_part_number?: string | undefined;
|
|
5786
5912
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5806,6 +5932,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
|
|
|
5806
5932
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5807
5933
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5808
5934
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5935
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5809
5936
|
} & {
|
|
5810
5937
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
5811
5938
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5815,6 +5942,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
|
|
|
5815
5942
|
source_component_id: string;
|
|
5816
5943
|
ftype: "simple_potentiometer";
|
|
5817
5944
|
max_resistance: number;
|
|
5945
|
+
subcircuit_id?: string | undefined;
|
|
5818
5946
|
source_group_id?: string | undefined;
|
|
5819
5947
|
manufacturer_part_number?: string | undefined;
|
|
5820
5948
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5827,6 +5955,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
|
|
|
5827
5955
|
source_component_id: string;
|
|
5828
5956
|
ftype: "simple_potentiometer";
|
|
5829
5957
|
max_resistance: string | number;
|
|
5958
|
+
subcircuit_id?: string | undefined;
|
|
5830
5959
|
source_group_id?: string | undefined;
|
|
5831
5960
|
manufacturer_part_number?: string | undefined;
|
|
5832
5961
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5850,6 +5979,7 @@ declare const source_simple_crystal: z.ZodObject<{
|
|
|
5850
5979
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5851
5980
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5852
5981
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5982
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5853
5983
|
} & {
|
|
5854
5984
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
5855
5985
|
frequency: z.ZodNumber;
|
|
@@ -5860,6 +5990,7 @@ declare const source_simple_crystal: z.ZodObject<{
|
|
|
5860
5990
|
source_component_id: string;
|
|
5861
5991
|
ftype: "simple_crystal";
|
|
5862
5992
|
frequency: number;
|
|
5993
|
+
subcircuit_id?: string | undefined;
|
|
5863
5994
|
source_group_id?: string | undefined;
|
|
5864
5995
|
manufacturer_part_number?: string | undefined;
|
|
5865
5996
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5873,6 +6004,7 @@ declare const source_simple_crystal: z.ZodObject<{
|
|
|
5873
6004
|
source_component_id: string;
|
|
5874
6005
|
ftype: "simple_crystal";
|
|
5875
6006
|
frequency: number;
|
|
6007
|
+
subcircuit_id?: string | undefined;
|
|
5876
6008
|
source_group_id?: string | undefined;
|
|
5877
6009
|
manufacturer_part_number?: string | undefined;
|
|
5878
6010
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5901,6 +6033,7 @@ declare const source_simple_pin_header: z.ZodObject<{
|
|
|
5901
6033
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5902
6034
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5903
6035
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6036
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5904
6037
|
} & {
|
|
5905
6038
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
5906
6039
|
pin_count: z.ZodNumber;
|
|
@@ -5912,6 +6045,7 @@ declare const source_simple_pin_header: z.ZodObject<{
|
|
|
5912
6045
|
ftype: "simple_pin_header";
|
|
5913
6046
|
pin_count: number;
|
|
5914
6047
|
gender: "male" | "female";
|
|
6048
|
+
subcircuit_id?: string | undefined;
|
|
5915
6049
|
source_group_id?: string | undefined;
|
|
5916
6050
|
manufacturer_part_number?: string | undefined;
|
|
5917
6051
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5924,6 +6058,7 @@ declare const source_simple_pin_header: z.ZodObject<{
|
|
|
5924
6058
|
source_component_id: string;
|
|
5925
6059
|
ftype: "simple_pin_header";
|
|
5926
6060
|
pin_count: number;
|
|
6061
|
+
subcircuit_id?: string | undefined;
|
|
5927
6062
|
source_group_id?: string | undefined;
|
|
5928
6063
|
manufacturer_part_number?: string | undefined;
|
|
5929
6064
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5949,6 +6084,7 @@ declare const source_simple_resonator: z.ZodObject<{
|
|
|
5949
6084
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5950
6085
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5951
6086
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6087
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5952
6088
|
} & {
|
|
5953
6089
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5954
6090
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -5961,6 +6097,7 @@ declare const source_simple_resonator: z.ZodObject<{
|
|
|
5961
6097
|
ftype: "simple_resonator";
|
|
5962
6098
|
frequency: number;
|
|
5963
6099
|
load_capacitance: number;
|
|
6100
|
+
subcircuit_id?: string | undefined;
|
|
5964
6101
|
source_group_id?: string | undefined;
|
|
5965
6102
|
manufacturer_part_number?: string | undefined;
|
|
5966
6103
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -5975,6 +6112,7 @@ declare const source_simple_resonator: z.ZodObject<{
|
|
|
5975
6112
|
ftype: "simple_resonator";
|
|
5976
6113
|
frequency: string | number;
|
|
5977
6114
|
load_capacitance: string | number;
|
|
6115
|
+
subcircuit_id?: string | undefined;
|
|
5978
6116
|
source_group_id?: string | undefined;
|
|
5979
6117
|
manufacturer_part_number?: string | undefined;
|
|
5980
6118
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6004,6 +6142,7 @@ declare const source_simple_transistor: z.ZodObject<{
|
|
|
6004
6142
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6005
6143
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6006
6144
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6145
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6007
6146
|
} & {
|
|
6008
6147
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
6009
6148
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -6013,6 +6152,7 @@ declare const source_simple_transistor: z.ZodObject<{
|
|
|
6013
6152
|
source_component_id: string;
|
|
6014
6153
|
ftype: "simple_transistor";
|
|
6015
6154
|
transistor_type: "npn" | "pnp";
|
|
6155
|
+
subcircuit_id?: string | undefined;
|
|
6016
6156
|
source_group_id?: string | undefined;
|
|
6017
6157
|
manufacturer_part_number?: string | undefined;
|
|
6018
6158
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6025,6 +6165,7 @@ declare const source_simple_transistor: z.ZodObject<{
|
|
|
6025
6165
|
source_component_id: string;
|
|
6026
6166
|
ftype: "simple_transistor";
|
|
6027
6167
|
transistor_type: "npn" | "pnp";
|
|
6168
|
+
subcircuit_id?: string | undefined;
|
|
6028
6169
|
source_group_id?: string | undefined;
|
|
6029
6170
|
manufacturer_part_number?: string | undefined;
|
|
6030
6171
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6053,6 +6194,7 @@ declare const source_simple_test_point: z.ZodObject<{
|
|
|
6053
6194
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6054
6195
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6055
6196
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6197
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6056
6198
|
} & {
|
|
6057
6199
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
6058
6200
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -6068,6 +6210,7 @@ declare const source_simple_test_point: z.ZodObject<{
|
|
|
6068
6210
|
ftype: "simple_test_point";
|
|
6069
6211
|
width?: string | number | undefined;
|
|
6070
6212
|
height?: string | number | undefined;
|
|
6213
|
+
subcircuit_id?: string | undefined;
|
|
6071
6214
|
hole_diameter?: string | number | undefined;
|
|
6072
6215
|
pad_shape?: "circle" | "rect" | undefined;
|
|
6073
6216
|
source_group_id?: string | undefined;
|
|
@@ -6085,6 +6228,7 @@ declare const source_simple_test_point: z.ZodObject<{
|
|
|
6085
6228
|
ftype: "simple_test_point";
|
|
6086
6229
|
width?: string | number | undefined;
|
|
6087
6230
|
height?: string | number | undefined;
|
|
6231
|
+
subcircuit_id?: string | undefined;
|
|
6088
6232
|
hole_diameter?: string | number | undefined;
|
|
6089
6233
|
pad_shape?: "circle" | "rect" | undefined;
|
|
6090
6234
|
source_group_id?: string | undefined;
|
|
@@ -6122,6 +6266,7 @@ declare const source_simple_mosfet: z.ZodObject<{
|
|
|
6122
6266
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6123
6267
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6124
6268
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6269
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6125
6270
|
} & {
|
|
6126
6271
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
6127
6272
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -6133,6 +6278,7 @@ declare const source_simple_mosfet: z.ZodObject<{
|
|
|
6133
6278
|
ftype: "simple_mosfet";
|
|
6134
6279
|
channel_type: "n" | "p";
|
|
6135
6280
|
mosfet_mode: "enhancement" | "depletion";
|
|
6281
|
+
subcircuit_id?: string | undefined;
|
|
6136
6282
|
source_group_id?: string | undefined;
|
|
6137
6283
|
manufacturer_part_number?: string | undefined;
|
|
6138
6284
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6146,6 +6292,7 @@ declare const source_simple_mosfet: z.ZodObject<{
|
|
|
6146
6292
|
ftype: "simple_mosfet";
|
|
6147
6293
|
channel_type: "n" | "p";
|
|
6148
6294
|
mosfet_mode: "enhancement" | "depletion";
|
|
6295
|
+
subcircuit_id?: string | undefined;
|
|
6149
6296
|
source_group_id?: string | undefined;
|
|
6150
6297
|
manufacturer_part_number?: string | undefined;
|
|
6151
6298
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6175,6 +6322,7 @@ declare const source_simple_switch: z.ZodObject<{
|
|
|
6175
6322
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6176
6323
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6177
6324
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6325
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6178
6326
|
} & {
|
|
6179
6327
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
6180
6328
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6182,6 +6330,7 @@ declare const source_simple_switch: z.ZodObject<{
|
|
|
6182
6330
|
name: string;
|
|
6183
6331
|
source_component_id: string;
|
|
6184
6332
|
ftype: "simple_switch";
|
|
6333
|
+
subcircuit_id?: string | undefined;
|
|
6185
6334
|
source_group_id?: string | undefined;
|
|
6186
6335
|
manufacturer_part_number?: string | undefined;
|
|
6187
6336
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6193,6 +6342,7 @@ declare const source_simple_switch: z.ZodObject<{
|
|
|
6193
6342
|
name: string;
|
|
6194
6343
|
source_component_id: string;
|
|
6195
6344
|
ftype: "simple_switch";
|
|
6345
|
+
subcircuit_id?: string | undefined;
|
|
6196
6346
|
source_group_id?: string | undefined;
|
|
6197
6347
|
manufacturer_part_number?: string | undefined;
|
|
6198
6348
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6241,6 +6391,7 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
6241
6391
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6242
6392
|
source_component_id: z.ZodString;
|
|
6243
6393
|
property_name: z.ZodString;
|
|
6394
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6244
6395
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
6245
6396
|
message: z.ZodString;
|
|
6246
6397
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6250,11 +6401,13 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
6250
6401
|
error_type: "source_missing_property_error";
|
|
6251
6402
|
source_missing_property_error_id: string;
|
|
6252
6403
|
property_name: string;
|
|
6404
|
+
subcircuit_id?: string | undefined;
|
|
6253
6405
|
}, {
|
|
6254
6406
|
message: string;
|
|
6255
6407
|
type: "source_missing_property_error";
|
|
6256
6408
|
source_component_id: string;
|
|
6257
6409
|
property_name: string;
|
|
6410
|
+
subcircuit_id?: string | undefined;
|
|
6258
6411
|
error_type?: "source_missing_property_error" | undefined;
|
|
6259
6412
|
source_missing_property_error_id?: string | undefined;
|
|
6260
6413
|
}>;
|
|
@@ -6267,6 +6420,7 @@ interface SourceMissingPropertyError {
|
|
|
6267
6420
|
source_missing_property_error_id: string;
|
|
6268
6421
|
source_component_id: string;
|
|
6269
6422
|
property_name: string;
|
|
6423
|
+
subcircuit_id?: string;
|
|
6270
6424
|
error_type: "source_missing_property_error";
|
|
6271
6425
|
message: string;
|
|
6272
6426
|
}
|
|
@@ -6365,6 +6519,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6365
6519
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6366
6520
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6367
6521
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6522
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6368
6523
|
} & {
|
|
6369
6524
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
6370
6525
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6375,6 +6530,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6375
6530
|
source_component_id: string;
|
|
6376
6531
|
ftype: "simple_resistor";
|
|
6377
6532
|
resistance: number;
|
|
6533
|
+
subcircuit_id?: string | undefined;
|
|
6378
6534
|
source_group_id?: string | undefined;
|
|
6379
6535
|
manufacturer_part_number?: string | undefined;
|
|
6380
6536
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6388,6 +6544,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6388
6544
|
source_component_id: string;
|
|
6389
6545
|
ftype: "simple_resistor";
|
|
6390
6546
|
resistance: string | number;
|
|
6547
|
+
subcircuit_id?: string | undefined;
|
|
6391
6548
|
source_group_id?: string | undefined;
|
|
6392
6549
|
manufacturer_part_number?: string | undefined;
|
|
6393
6550
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6405,6 +6562,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6405
6562
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6406
6563
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6407
6564
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6565
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6408
6566
|
} & {
|
|
6409
6567
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
6410
6568
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -6417,6 +6575,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6417
6575
|
source_component_id: string;
|
|
6418
6576
|
ftype: "simple_capacitor";
|
|
6419
6577
|
capacitance: number;
|
|
6578
|
+
subcircuit_id?: string | undefined;
|
|
6420
6579
|
source_group_id?: string | undefined;
|
|
6421
6580
|
manufacturer_part_number?: string | undefined;
|
|
6422
6581
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6432,6 +6591,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6432
6591
|
source_component_id: string;
|
|
6433
6592
|
ftype: "simple_capacitor";
|
|
6434
6593
|
capacitance: string | number;
|
|
6594
|
+
subcircuit_id?: string | undefined;
|
|
6435
6595
|
source_group_id?: string | undefined;
|
|
6436
6596
|
manufacturer_part_number?: string | undefined;
|
|
6437
6597
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6451,6 +6611,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6451
6611
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6452
6612
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6453
6613
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6614
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6454
6615
|
} & {
|
|
6455
6616
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
6456
6617
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6458,6 +6619,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6458
6619
|
name: string;
|
|
6459
6620
|
source_component_id: string;
|
|
6460
6621
|
ftype: "simple_diode";
|
|
6622
|
+
subcircuit_id?: string | undefined;
|
|
6461
6623
|
source_group_id?: string | undefined;
|
|
6462
6624
|
manufacturer_part_number?: string | undefined;
|
|
6463
6625
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6469,6 +6631,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6469
6631
|
name: string;
|
|
6470
6632
|
source_component_id: string;
|
|
6471
6633
|
ftype: "simple_diode";
|
|
6634
|
+
subcircuit_id?: string | undefined;
|
|
6472
6635
|
source_group_id?: string | undefined;
|
|
6473
6636
|
manufacturer_part_number?: string | undefined;
|
|
6474
6637
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6485,6 +6648,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6485
6648
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6486
6649
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6487
6650
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6651
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6488
6652
|
} & {
|
|
6489
6653
|
ftype: z.ZodLiteral<"simple_led">;
|
|
6490
6654
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -6494,6 +6658,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6494
6658
|
name: string;
|
|
6495
6659
|
source_component_id: string;
|
|
6496
6660
|
ftype: "simple_led";
|
|
6661
|
+
subcircuit_id?: string | undefined;
|
|
6497
6662
|
color?: string | undefined;
|
|
6498
6663
|
source_group_id?: string | undefined;
|
|
6499
6664
|
manufacturer_part_number?: string | undefined;
|
|
@@ -6507,6 +6672,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6507
6672
|
name: string;
|
|
6508
6673
|
source_component_id: string;
|
|
6509
6674
|
ftype: "simple_led";
|
|
6675
|
+
subcircuit_id?: string | undefined;
|
|
6510
6676
|
color?: string | undefined;
|
|
6511
6677
|
source_group_id?: string | undefined;
|
|
6512
6678
|
manufacturer_part_number?: string | undefined;
|
|
@@ -6525,6 +6691,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6525
6691
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6526
6692
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6527
6693
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6694
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6528
6695
|
} & {
|
|
6529
6696
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
6530
6697
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6532,6 +6699,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6532
6699
|
name: string;
|
|
6533
6700
|
source_component_id: string;
|
|
6534
6701
|
ftype: "simple_ground";
|
|
6702
|
+
subcircuit_id?: string | undefined;
|
|
6535
6703
|
source_group_id?: string | undefined;
|
|
6536
6704
|
manufacturer_part_number?: string | undefined;
|
|
6537
6705
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6543,6 +6711,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6543
6711
|
name: string;
|
|
6544
6712
|
source_component_id: string;
|
|
6545
6713
|
ftype: "simple_ground";
|
|
6714
|
+
subcircuit_id?: string | undefined;
|
|
6546
6715
|
source_group_id?: string | undefined;
|
|
6547
6716
|
manufacturer_part_number?: string | undefined;
|
|
6548
6717
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6559,6 +6728,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6559
6728
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6560
6729
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6561
6730
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6731
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6562
6732
|
} & {
|
|
6563
6733
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
6564
6734
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6566,6 +6736,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6566
6736
|
name: string;
|
|
6567
6737
|
source_component_id: string;
|
|
6568
6738
|
ftype: "simple_chip";
|
|
6739
|
+
subcircuit_id?: string | undefined;
|
|
6569
6740
|
source_group_id?: string | undefined;
|
|
6570
6741
|
manufacturer_part_number?: string | undefined;
|
|
6571
6742
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6577,6 +6748,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6577
6748
|
name: string;
|
|
6578
6749
|
source_component_id: string;
|
|
6579
6750
|
ftype: "simple_chip";
|
|
6751
|
+
subcircuit_id?: string | undefined;
|
|
6580
6752
|
source_group_id?: string | undefined;
|
|
6581
6753
|
manufacturer_part_number?: string | undefined;
|
|
6582
6754
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6593,6 +6765,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6593
6765
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6594
6766
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6595
6767
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6768
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6596
6769
|
} & {
|
|
6597
6770
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
6598
6771
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6602,6 +6775,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6602
6775
|
source_component_id: string;
|
|
6603
6776
|
voltage: number;
|
|
6604
6777
|
ftype: "simple_power_source";
|
|
6778
|
+
subcircuit_id?: string | undefined;
|
|
6605
6779
|
source_group_id?: string | undefined;
|
|
6606
6780
|
manufacturer_part_number?: string | undefined;
|
|
6607
6781
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6614,6 +6788,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6614
6788
|
source_component_id: string;
|
|
6615
6789
|
voltage: string | number;
|
|
6616
6790
|
ftype: "simple_power_source";
|
|
6791
|
+
subcircuit_id?: string | undefined;
|
|
6617
6792
|
source_group_id?: string | undefined;
|
|
6618
6793
|
manufacturer_part_number?: string | undefined;
|
|
6619
6794
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6630,6 +6805,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6630
6805
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6631
6806
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6632
6807
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6808
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6633
6809
|
} & {
|
|
6634
6810
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
6635
6811
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -6639,6 +6815,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6639
6815
|
source_component_id: string;
|
|
6640
6816
|
ftype: "simple_battery";
|
|
6641
6817
|
capacity: number;
|
|
6818
|
+
subcircuit_id?: string | undefined;
|
|
6642
6819
|
source_group_id?: string | undefined;
|
|
6643
6820
|
manufacturer_part_number?: string | undefined;
|
|
6644
6821
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6651,6 +6828,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6651
6828
|
source_component_id: string;
|
|
6652
6829
|
ftype: "simple_battery";
|
|
6653
6830
|
capacity: string | number;
|
|
6831
|
+
subcircuit_id?: string | undefined;
|
|
6654
6832
|
source_group_id?: string | undefined;
|
|
6655
6833
|
manufacturer_part_number?: string | undefined;
|
|
6656
6834
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6667,33 +6845,39 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6667
6845
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6668
6846
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6669
6847
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6848
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6670
6849
|
} & {
|
|
6671
6850
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
6672
6851
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6852
|
+
max_current_rating: z.ZodOptional<z.ZodNumber>;
|
|
6673
6853
|
}, "strip", z.ZodTypeAny, {
|
|
6674
6854
|
type: "source_component";
|
|
6675
6855
|
name: string;
|
|
6676
6856
|
source_component_id: string;
|
|
6677
6857
|
ftype: "simple_inductor";
|
|
6678
6858
|
inductance: number;
|
|
6859
|
+
subcircuit_id?: string | undefined;
|
|
6679
6860
|
source_group_id?: string | undefined;
|
|
6680
6861
|
manufacturer_part_number?: string | undefined;
|
|
6681
6862
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6682
6863
|
display_value?: string | undefined;
|
|
6683
6864
|
are_pins_interchangeable?: boolean | undefined;
|
|
6684
6865
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6866
|
+
max_current_rating?: number | undefined;
|
|
6685
6867
|
}, {
|
|
6686
6868
|
type: "source_component";
|
|
6687
6869
|
name: string;
|
|
6688
6870
|
source_component_id: string;
|
|
6689
6871
|
ftype: "simple_inductor";
|
|
6690
6872
|
inductance: string | number;
|
|
6873
|
+
subcircuit_id?: string | undefined;
|
|
6691
6874
|
source_group_id?: string | undefined;
|
|
6692
6875
|
manufacturer_part_number?: string | undefined;
|
|
6693
6876
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6694
6877
|
display_value?: string | undefined;
|
|
6695
6878
|
are_pins_interchangeable?: boolean | undefined;
|
|
6696
6879
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6880
|
+
max_current_rating?: number | undefined;
|
|
6697
6881
|
}>, z.ZodObject<{
|
|
6698
6882
|
type: z.ZodLiteral<"source_component">;
|
|
6699
6883
|
source_component_id: z.ZodString;
|
|
@@ -6704,6 +6888,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6704
6888
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6705
6889
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6706
6890
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6891
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6707
6892
|
} & {
|
|
6708
6893
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
6709
6894
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6711,6 +6896,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6711
6896
|
name: string;
|
|
6712
6897
|
source_component_id: string;
|
|
6713
6898
|
ftype: "simple_push_button";
|
|
6899
|
+
subcircuit_id?: string | undefined;
|
|
6714
6900
|
source_group_id?: string | undefined;
|
|
6715
6901
|
manufacturer_part_number?: string | undefined;
|
|
6716
6902
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6722,6 +6908,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6722
6908
|
name: string;
|
|
6723
6909
|
source_component_id: string;
|
|
6724
6910
|
ftype: "simple_push_button";
|
|
6911
|
+
subcircuit_id?: string | undefined;
|
|
6725
6912
|
source_group_id?: string | undefined;
|
|
6726
6913
|
manufacturer_part_number?: string | undefined;
|
|
6727
6914
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6738,6 +6925,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6738
6925
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6739
6926
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6740
6927
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6928
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6741
6929
|
} & {
|
|
6742
6930
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
6743
6931
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6747,6 +6935,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6747
6935
|
source_component_id: string;
|
|
6748
6936
|
ftype: "simple_potentiometer";
|
|
6749
6937
|
max_resistance: number;
|
|
6938
|
+
subcircuit_id?: string | undefined;
|
|
6750
6939
|
source_group_id?: string | undefined;
|
|
6751
6940
|
manufacturer_part_number?: string | undefined;
|
|
6752
6941
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6759,6 +6948,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6759
6948
|
source_component_id: string;
|
|
6760
6949
|
ftype: "simple_potentiometer";
|
|
6761
6950
|
max_resistance: string | number;
|
|
6951
|
+
subcircuit_id?: string | undefined;
|
|
6762
6952
|
source_group_id?: string | undefined;
|
|
6763
6953
|
manufacturer_part_number?: string | undefined;
|
|
6764
6954
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6775,6 +6965,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6775
6965
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6776
6966
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6777
6967
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6968
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6778
6969
|
} & {
|
|
6779
6970
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
6780
6971
|
frequency: z.ZodNumber;
|
|
@@ -6785,6 +6976,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6785
6976
|
source_component_id: string;
|
|
6786
6977
|
ftype: "simple_crystal";
|
|
6787
6978
|
frequency: number;
|
|
6979
|
+
subcircuit_id?: string | undefined;
|
|
6788
6980
|
source_group_id?: string | undefined;
|
|
6789
6981
|
manufacturer_part_number?: string | undefined;
|
|
6790
6982
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6798,6 +6990,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6798
6990
|
source_component_id: string;
|
|
6799
6991
|
ftype: "simple_crystal";
|
|
6800
6992
|
frequency: number;
|
|
6993
|
+
subcircuit_id?: string | undefined;
|
|
6801
6994
|
source_group_id?: string | undefined;
|
|
6802
6995
|
manufacturer_part_number?: string | undefined;
|
|
6803
6996
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6815,6 +7008,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6815
7008
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6816
7009
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6817
7010
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7011
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6818
7012
|
} & {
|
|
6819
7013
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
6820
7014
|
pin_count: z.ZodNumber;
|
|
@@ -6826,6 +7020,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6826
7020
|
ftype: "simple_pin_header";
|
|
6827
7021
|
pin_count: number;
|
|
6828
7022
|
gender: "male" | "female";
|
|
7023
|
+
subcircuit_id?: string | undefined;
|
|
6829
7024
|
source_group_id?: string | undefined;
|
|
6830
7025
|
manufacturer_part_number?: string | undefined;
|
|
6831
7026
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6838,6 +7033,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6838
7033
|
source_component_id: string;
|
|
6839
7034
|
ftype: "simple_pin_header";
|
|
6840
7035
|
pin_count: number;
|
|
7036
|
+
subcircuit_id?: string | undefined;
|
|
6841
7037
|
source_group_id?: string | undefined;
|
|
6842
7038
|
manufacturer_part_number?: string | undefined;
|
|
6843
7039
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6855,6 +7051,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6855
7051
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6856
7052
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6857
7053
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7054
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6858
7055
|
} & {
|
|
6859
7056
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
6860
7057
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -6867,6 +7064,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6867
7064
|
ftype: "simple_resonator";
|
|
6868
7065
|
frequency: number;
|
|
6869
7066
|
load_capacitance: number;
|
|
7067
|
+
subcircuit_id?: string | undefined;
|
|
6870
7068
|
source_group_id?: string | undefined;
|
|
6871
7069
|
manufacturer_part_number?: string | undefined;
|
|
6872
7070
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6881,6 +7079,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6881
7079
|
ftype: "simple_resonator";
|
|
6882
7080
|
frequency: string | number;
|
|
6883
7081
|
load_capacitance: string | number;
|
|
7082
|
+
subcircuit_id?: string | undefined;
|
|
6884
7083
|
source_group_id?: string | undefined;
|
|
6885
7084
|
manufacturer_part_number?: string | undefined;
|
|
6886
7085
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6898,6 +7097,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6898
7097
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6899
7098
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6900
7099
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7100
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6901
7101
|
} & {
|
|
6902
7102
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
6903
7103
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6905,6 +7105,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6905
7105
|
name: string;
|
|
6906
7106
|
source_component_id: string;
|
|
6907
7107
|
ftype: "simple_switch";
|
|
7108
|
+
subcircuit_id?: string | undefined;
|
|
6908
7109
|
source_group_id?: string | undefined;
|
|
6909
7110
|
manufacturer_part_number?: string | undefined;
|
|
6910
7111
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6916,6 +7117,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6916
7117
|
name: string;
|
|
6917
7118
|
source_component_id: string;
|
|
6918
7119
|
ftype: "simple_switch";
|
|
7120
|
+
subcircuit_id?: string | undefined;
|
|
6919
7121
|
source_group_id?: string | undefined;
|
|
6920
7122
|
manufacturer_part_number?: string | undefined;
|
|
6921
7123
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6932,6 +7134,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6932
7134
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6933
7135
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6934
7136
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7137
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6935
7138
|
} & {
|
|
6936
7139
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
6937
7140
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -6941,6 +7144,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6941
7144
|
source_component_id: string;
|
|
6942
7145
|
ftype: "simple_transistor";
|
|
6943
7146
|
transistor_type: "npn" | "pnp";
|
|
7147
|
+
subcircuit_id?: string | undefined;
|
|
6944
7148
|
source_group_id?: string | undefined;
|
|
6945
7149
|
manufacturer_part_number?: string | undefined;
|
|
6946
7150
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6953,6 +7157,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6953
7157
|
source_component_id: string;
|
|
6954
7158
|
ftype: "simple_transistor";
|
|
6955
7159
|
transistor_type: "npn" | "pnp";
|
|
7160
|
+
subcircuit_id?: string | undefined;
|
|
6956
7161
|
source_group_id?: string | undefined;
|
|
6957
7162
|
manufacturer_part_number?: string | undefined;
|
|
6958
7163
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -6969,6 +7174,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6969
7174
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6970
7175
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6971
7176
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7177
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6972
7178
|
} & {
|
|
6973
7179
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
6974
7180
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -6984,6 +7190,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6984
7190
|
ftype: "simple_test_point";
|
|
6985
7191
|
width?: string | number | undefined;
|
|
6986
7192
|
height?: string | number | undefined;
|
|
7193
|
+
subcircuit_id?: string | undefined;
|
|
6987
7194
|
hole_diameter?: string | number | undefined;
|
|
6988
7195
|
pad_shape?: "circle" | "rect" | undefined;
|
|
6989
7196
|
source_group_id?: string | undefined;
|
|
@@ -7001,6 +7208,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7001
7208
|
ftype: "simple_test_point";
|
|
7002
7209
|
width?: string | number | undefined;
|
|
7003
7210
|
height?: string | number | undefined;
|
|
7211
|
+
subcircuit_id?: string | undefined;
|
|
7004
7212
|
hole_diameter?: string | number | undefined;
|
|
7005
7213
|
pad_shape?: "circle" | "rect" | undefined;
|
|
7006
7214
|
source_group_id?: string | undefined;
|
|
@@ -7021,6 +7229,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7021
7229
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7022
7230
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7023
7231
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7232
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7024
7233
|
} & {
|
|
7025
7234
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
7026
7235
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -7032,6 +7241,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7032
7241
|
ftype: "simple_mosfet";
|
|
7033
7242
|
channel_type: "n" | "p";
|
|
7034
7243
|
mosfet_mode: "enhancement" | "depletion";
|
|
7244
|
+
subcircuit_id?: string | undefined;
|
|
7035
7245
|
source_group_id?: string | undefined;
|
|
7036
7246
|
manufacturer_part_number?: string | undefined;
|
|
7037
7247
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7045,6 +7255,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7045
7255
|
ftype: "simple_mosfet";
|
|
7046
7256
|
channel_type: "n" | "p";
|
|
7047
7257
|
mosfet_mode: "enhancement" | "depletion";
|
|
7258
|
+
subcircuit_id?: string | undefined;
|
|
7048
7259
|
source_group_id?: string | undefined;
|
|
7049
7260
|
manufacturer_part_number?: string | undefined;
|
|
7050
7261
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7061,6 +7272,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7061
7272
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7062
7273
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7063
7274
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7275
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7064
7276
|
} & {
|
|
7065
7277
|
ftype: z.ZodLiteral<"simple_fuse">;
|
|
7066
7278
|
current_rating_amps: z.ZodNumber;
|
|
@@ -7072,6 +7284,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7072
7284
|
ftype: "simple_fuse";
|
|
7073
7285
|
current_rating_amps: number;
|
|
7074
7286
|
voltage_rating_volts: number;
|
|
7287
|
+
subcircuit_id?: string | undefined;
|
|
7075
7288
|
source_group_id?: string | undefined;
|
|
7076
7289
|
manufacturer_part_number?: string | undefined;
|
|
7077
7290
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7085,6 +7298,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7085
7298
|
ftype: "simple_fuse";
|
|
7086
7299
|
current_rating_amps: number;
|
|
7087
7300
|
voltage_rating_volts: number;
|
|
7301
|
+
subcircuit_id?: string | undefined;
|
|
7088
7302
|
source_group_id?: string | undefined;
|
|
7089
7303
|
manufacturer_part_number?: string | undefined;
|
|
7090
7304
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7114,6 +7328,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7114
7328
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7115
7329
|
source_component_id: z.ZodString;
|
|
7116
7330
|
property_name: z.ZodString;
|
|
7331
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7117
7332
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
7118
7333
|
message: z.ZodString;
|
|
7119
7334
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7123,11 +7338,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7123
7338
|
error_type: "source_missing_property_error";
|
|
7124
7339
|
source_missing_property_error_id: string;
|
|
7125
7340
|
property_name: string;
|
|
7341
|
+
subcircuit_id?: string | undefined;
|
|
7126
7342
|
}, {
|
|
7127
7343
|
message: string;
|
|
7128
7344
|
type: "source_missing_property_error";
|
|
7129
7345
|
source_component_id: string;
|
|
7130
7346
|
property_name: string;
|
|
7347
|
+
subcircuit_id?: string | undefined;
|
|
7131
7348
|
error_type?: "source_missing_property_error" | undefined;
|
|
7132
7349
|
source_missing_property_error_id?: string | undefined;
|
|
7133
7350
|
}>, z.ZodObject<{
|
|
@@ -7451,6 +7668,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
7451
7668
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7452
7669
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7453
7670
|
}>>;
|
|
7671
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7454
7672
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
7455
7673
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
7456
7674
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
@@ -7472,6 +7690,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
7472
7690
|
y: number;
|
|
7473
7691
|
z: number;
|
|
7474
7692
|
} | undefined;
|
|
7693
|
+
subcircuit_id?: string | undefined;
|
|
7475
7694
|
size?: {
|
|
7476
7695
|
x: number;
|
|
7477
7696
|
y: number;
|
|
@@ -7500,6 +7719,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
7500
7719
|
y: string | number;
|
|
7501
7720
|
z: string | number;
|
|
7502
7721
|
} | undefined;
|
|
7722
|
+
subcircuit_id?: string | undefined;
|
|
7503
7723
|
size?: {
|
|
7504
7724
|
x: string | number;
|
|
7505
7725
|
y: string | number;
|
|
@@ -7521,6 +7741,7 @@ interface CadComponent {
|
|
|
7521
7741
|
rotation?: Point3;
|
|
7522
7742
|
size?: Point3;
|
|
7523
7743
|
layer?: LayerRef;
|
|
7744
|
+
subcircuit_id?: string;
|
|
7524
7745
|
footprinter_string?: string;
|
|
7525
7746
|
model_obj_url?: string;
|
|
7526
7747
|
model_stl_url?: string;
|
|
@@ -7595,6 +7816,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7595
7816
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7596
7817
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7597
7818
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7819
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7598
7820
|
} & {
|
|
7599
7821
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
7600
7822
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7605,6 +7827,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7605
7827
|
source_component_id: string;
|
|
7606
7828
|
ftype: "simple_resistor";
|
|
7607
7829
|
resistance: number;
|
|
7830
|
+
subcircuit_id?: string | undefined;
|
|
7608
7831
|
source_group_id?: string | undefined;
|
|
7609
7832
|
manufacturer_part_number?: string | undefined;
|
|
7610
7833
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7618,6 +7841,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7618
7841
|
source_component_id: string;
|
|
7619
7842
|
ftype: "simple_resistor";
|
|
7620
7843
|
resistance: string | number;
|
|
7844
|
+
subcircuit_id?: string | undefined;
|
|
7621
7845
|
source_group_id?: string | undefined;
|
|
7622
7846
|
manufacturer_part_number?: string | undefined;
|
|
7623
7847
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7635,6 +7859,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7635
7859
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7636
7860
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7637
7861
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7862
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7638
7863
|
} & {
|
|
7639
7864
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
7640
7865
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -7647,6 +7872,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7647
7872
|
source_component_id: string;
|
|
7648
7873
|
ftype: "simple_capacitor";
|
|
7649
7874
|
capacitance: number;
|
|
7875
|
+
subcircuit_id?: string | undefined;
|
|
7650
7876
|
source_group_id?: string | undefined;
|
|
7651
7877
|
manufacturer_part_number?: string | undefined;
|
|
7652
7878
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7662,6 +7888,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7662
7888
|
source_component_id: string;
|
|
7663
7889
|
ftype: "simple_capacitor";
|
|
7664
7890
|
capacitance: string | number;
|
|
7891
|
+
subcircuit_id?: string | undefined;
|
|
7665
7892
|
source_group_id?: string | undefined;
|
|
7666
7893
|
manufacturer_part_number?: string | undefined;
|
|
7667
7894
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7681,6 +7908,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7681
7908
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7682
7909
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7683
7910
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7911
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7684
7912
|
} & {
|
|
7685
7913
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
7686
7914
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7688,6 +7916,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7688
7916
|
name: string;
|
|
7689
7917
|
source_component_id: string;
|
|
7690
7918
|
ftype: "simple_diode";
|
|
7919
|
+
subcircuit_id?: string | undefined;
|
|
7691
7920
|
source_group_id?: string | undefined;
|
|
7692
7921
|
manufacturer_part_number?: string | undefined;
|
|
7693
7922
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7699,6 +7928,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7699
7928
|
name: string;
|
|
7700
7929
|
source_component_id: string;
|
|
7701
7930
|
ftype: "simple_diode";
|
|
7931
|
+
subcircuit_id?: string | undefined;
|
|
7702
7932
|
source_group_id?: string | undefined;
|
|
7703
7933
|
manufacturer_part_number?: string | undefined;
|
|
7704
7934
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7715,6 +7945,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7715
7945
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7716
7946
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7717
7947
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7948
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7718
7949
|
} & {
|
|
7719
7950
|
ftype: z.ZodLiteral<"simple_led">;
|
|
7720
7951
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -7724,6 +7955,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7724
7955
|
name: string;
|
|
7725
7956
|
source_component_id: string;
|
|
7726
7957
|
ftype: "simple_led";
|
|
7958
|
+
subcircuit_id?: string | undefined;
|
|
7727
7959
|
color?: string | undefined;
|
|
7728
7960
|
source_group_id?: string | undefined;
|
|
7729
7961
|
manufacturer_part_number?: string | undefined;
|
|
@@ -7737,6 +7969,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7737
7969
|
name: string;
|
|
7738
7970
|
source_component_id: string;
|
|
7739
7971
|
ftype: "simple_led";
|
|
7972
|
+
subcircuit_id?: string | undefined;
|
|
7740
7973
|
color?: string | undefined;
|
|
7741
7974
|
source_group_id?: string | undefined;
|
|
7742
7975
|
manufacturer_part_number?: string | undefined;
|
|
@@ -7755,6 +7988,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7755
7988
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7756
7989
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7757
7990
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7991
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7758
7992
|
} & {
|
|
7759
7993
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
7760
7994
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7762,6 +7996,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7762
7996
|
name: string;
|
|
7763
7997
|
source_component_id: string;
|
|
7764
7998
|
ftype: "simple_ground";
|
|
7999
|
+
subcircuit_id?: string | undefined;
|
|
7765
8000
|
source_group_id?: string | undefined;
|
|
7766
8001
|
manufacturer_part_number?: string | undefined;
|
|
7767
8002
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7773,6 +8008,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7773
8008
|
name: string;
|
|
7774
8009
|
source_component_id: string;
|
|
7775
8010
|
ftype: "simple_ground";
|
|
8011
|
+
subcircuit_id?: string | undefined;
|
|
7776
8012
|
source_group_id?: string | undefined;
|
|
7777
8013
|
manufacturer_part_number?: string | undefined;
|
|
7778
8014
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7789,6 +8025,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7789
8025
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7790
8026
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7791
8027
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8028
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7792
8029
|
} & {
|
|
7793
8030
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
7794
8031
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7796,6 +8033,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7796
8033
|
name: string;
|
|
7797
8034
|
source_component_id: string;
|
|
7798
8035
|
ftype: "simple_chip";
|
|
8036
|
+
subcircuit_id?: string | undefined;
|
|
7799
8037
|
source_group_id?: string | undefined;
|
|
7800
8038
|
manufacturer_part_number?: string | undefined;
|
|
7801
8039
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7807,6 +8045,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7807
8045
|
name: string;
|
|
7808
8046
|
source_component_id: string;
|
|
7809
8047
|
ftype: "simple_chip";
|
|
8048
|
+
subcircuit_id?: string | undefined;
|
|
7810
8049
|
source_group_id?: string | undefined;
|
|
7811
8050
|
manufacturer_part_number?: string | undefined;
|
|
7812
8051
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7823,6 +8062,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7823
8062
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7824
8063
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7825
8064
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8065
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7826
8066
|
} & {
|
|
7827
8067
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
7828
8068
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7832,6 +8072,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7832
8072
|
source_component_id: string;
|
|
7833
8073
|
voltage: number;
|
|
7834
8074
|
ftype: "simple_power_source";
|
|
8075
|
+
subcircuit_id?: string | undefined;
|
|
7835
8076
|
source_group_id?: string | undefined;
|
|
7836
8077
|
manufacturer_part_number?: string | undefined;
|
|
7837
8078
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7844,6 +8085,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7844
8085
|
source_component_id: string;
|
|
7845
8086
|
voltage: string | number;
|
|
7846
8087
|
ftype: "simple_power_source";
|
|
8088
|
+
subcircuit_id?: string | undefined;
|
|
7847
8089
|
source_group_id?: string | undefined;
|
|
7848
8090
|
manufacturer_part_number?: string | undefined;
|
|
7849
8091
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7860,6 +8102,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7860
8102
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7861
8103
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7862
8104
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8105
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7863
8106
|
} & {
|
|
7864
8107
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
7865
8108
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -7869,6 +8112,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7869
8112
|
source_component_id: string;
|
|
7870
8113
|
ftype: "simple_battery";
|
|
7871
8114
|
capacity: number;
|
|
8115
|
+
subcircuit_id?: string | undefined;
|
|
7872
8116
|
source_group_id?: string | undefined;
|
|
7873
8117
|
manufacturer_part_number?: string | undefined;
|
|
7874
8118
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7881,6 +8125,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7881
8125
|
source_component_id: string;
|
|
7882
8126
|
ftype: "simple_battery";
|
|
7883
8127
|
capacity: string | number;
|
|
8128
|
+
subcircuit_id?: string | undefined;
|
|
7884
8129
|
source_group_id?: string | undefined;
|
|
7885
8130
|
manufacturer_part_number?: string | undefined;
|
|
7886
8131
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7897,33 +8142,39 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7897
8142
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7898
8143
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7899
8144
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8145
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7900
8146
|
} & {
|
|
7901
8147
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
7902
8148
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8149
|
+
max_current_rating: z.ZodOptional<z.ZodNumber>;
|
|
7903
8150
|
}, "strip", z.ZodTypeAny, {
|
|
7904
8151
|
type: "source_component";
|
|
7905
8152
|
name: string;
|
|
7906
8153
|
source_component_id: string;
|
|
7907
8154
|
ftype: "simple_inductor";
|
|
7908
8155
|
inductance: number;
|
|
8156
|
+
subcircuit_id?: string | undefined;
|
|
7909
8157
|
source_group_id?: string | undefined;
|
|
7910
8158
|
manufacturer_part_number?: string | undefined;
|
|
7911
8159
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7912
8160
|
display_value?: string | undefined;
|
|
7913
8161
|
are_pins_interchangeable?: boolean | undefined;
|
|
7914
8162
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8163
|
+
max_current_rating?: number | undefined;
|
|
7915
8164
|
}, {
|
|
7916
8165
|
type: "source_component";
|
|
7917
8166
|
name: string;
|
|
7918
8167
|
source_component_id: string;
|
|
7919
8168
|
ftype: "simple_inductor";
|
|
7920
8169
|
inductance: string | number;
|
|
8170
|
+
subcircuit_id?: string | undefined;
|
|
7921
8171
|
source_group_id?: string | undefined;
|
|
7922
8172
|
manufacturer_part_number?: string | undefined;
|
|
7923
8173
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7924
8174
|
display_value?: string | undefined;
|
|
7925
8175
|
are_pins_interchangeable?: boolean | undefined;
|
|
7926
8176
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8177
|
+
max_current_rating?: number | undefined;
|
|
7927
8178
|
}>, z.ZodObject<{
|
|
7928
8179
|
type: z.ZodLiteral<"source_component">;
|
|
7929
8180
|
source_component_id: z.ZodString;
|
|
@@ -7934,6 +8185,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7934
8185
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7935
8186
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7936
8187
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8188
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7937
8189
|
} & {
|
|
7938
8190
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7939
8191
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7941,6 +8193,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7941
8193
|
name: string;
|
|
7942
8194
|
source_component_id: string;
|
|
7943
8195
|
ftype: "simple_push_button";
|
|
8196
|
+
subcircuit_id?: string | undefined;
|
|
7944
8197
|
source_group_id?: string | undefined;
|
|
7945
8198
|
manufacturer_part_number?: string | undefined;
|
|
7946
8199
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7952,6 +8205,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7952
8205
|
name: string;
|
|
7953
8206
|
source_component_id: string;
|
|
7954
8207
|
ftype: "simple_push_button";
|
|
8208
|
+
subcircuit_id?: string | undefined;
|
|
7955
8209
|
source_group_id?: string | undefined;
|
|
7956
8210
|
manufacturer_part_number?: string | undefined;
|
|
7957
8211
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7968,6 +8222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7968
8222
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7969
8223
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7970
8224
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8225
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7971
8226
|
} & {
|
|
7972
8227
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
7973
8228
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7977,6 +8232,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7977
8232
|
source_component_id: string;
|
|
7978
8233
|
ftype: "simple_potentiometer";
|
|
7979
8234
|
max_resistance: number;
|
|
8235
|
+
subcircuit_id?: string | undefined;
|
|
7980
8236
|
source_group_id?: string | undefined;
|
|
7981
8237
|
manufacturer_part_number?: string | undefined;
|
|
7982
8238
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -7989,6 +8245,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7989
8245
|
source_component_id: string;
|
|
7990
8246
|
ftype: "simple_potentiometer";
|
|
7991
8247
|
max_resistance: string | number;
|
|
8248
|
+
subcircuit_id?: string | undefined;
|
|
7992
8249
|
source_group_id?: string | undefined;
|
|
7993
8250
|
manufacturer_part_number?: string | undefined;
|
|
7994
8251
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8005,6 +8262,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8005
8262
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8006
8263
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8007
8264
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8265
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8008
8266
|
} & {
|
|
8009
8267
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
8010
8268
|
frequency: z.ZodNumber;
|
|
@@ -8015,6 +8273,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8015
8273
|
source_component_id: string;
|
|
8016
8274
|
ftype: "simple_crystal";
|
|
8017
8275
|
frequency: number;
|
|
8276
|
+
subcircuit_id?: string | undefined;
|
|
8018
8277
|
source_group_id?: string | undefined;
|
|
8019
8278
|
manufacturer_part_number?: string | undefined;
|
|
8020
8279
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8028,6 +8287,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8028
8287
|
source_component_id: string;
|
|
8029
8288
|
ftype: "simple_crystal";
|
|
8030
8289
|
frequency: number;
|
|
8290
|
+
subcircuit_id?: string | undefined;
|
|
8031
8291
|
source_group_id?: string | undefined;
|
|
8032
8292
|
manufacturer_part_number?: string | undefined;
|
|
8033
8293
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8045,6 +8305,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8045
8305
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8046
8306
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8047
8307
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8308
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8048
8309
|
} & {
|
|
8049
8310
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
8050
8311
|
pin_count: z.ZodNumber;
|
|
@@ -8056,6 +8317,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8056
8317
|
ftype: "simple_pin_header";
|
|
8057
8318
|
pin_count: number;
|
|
8058
8319
|
gender: "male" | "female";
|
|
8320
|
+
subcircuit_id?: string | undefined;
|
|
8059
8321
|
source_group_id?: string | undefined;
|
|
8060
8322
|
manufacturer_part_number?: string | undefined;
|
|
8061
8323
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8068,6 +8330,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8068
8330
|
source_component_id: string;
|
|
8069
8331
|
ftype: "simple_pin_header";
|
|
8070
8332
|
pin_count: number;
|
|
8333
|
+
subcircuit_id?: string | undefined;
|
|
8071
8334
|
source_group_id?: string | undefined;
|
|
8072
8335
|
manufacturer_part_number?: string | undefined;
|
|
8073
8336
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8085,6 +8348,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8085
8348
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8086
8349
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8087
8350
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8351
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8088
8352
|
} & {
|
|
8089
8353
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8090
8354
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8097,6 +8361,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8097
8361
|
ftype: "simple_resonator";
|
|
8098
8362
|
frequency: number;
|
|
8099
8363
|
load_capacitance: number;
|
|
8364
|
+
subcircuit_id?: string | undefined;
|
|
8100
8365
|
source_group_id?: string | undefined;
|
|
8101
8366
|
manufacturer_part_number?: string | undefined;
|
|
8102
8367
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8111,6 +8376,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8111
8376
|
ftype: "simple_resonator";
|
|
8112
8377
|
frequency: string | number;
|
|
8113
8378
|
load_capacitance: string | number;
|
|
8379
|
+
subcircuit_id?: string | undefined;
|
|
8114
8380
|
source_group_id?: string | undefined;
|
|
8115
8381
|
manufacturer_part_number?: string | undefined;
|
|
8116
8382
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8128,6 +8394,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8128
8394
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8129
8395
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8130
8396
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8397
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8131
8398
|
} & {
|
|
8132
8399
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
8133
8400
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8135,6 +8402,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8135
8402
|
name: string;
|
|
8136
8403
|
source_component_id: string;
|
|
8137
8404
|
ftype: "simple_switch";
|
|
8405
|
+
subcircuit_id?: string | undefined;
|
|
8138
8406
|
source_group_id?: string | undefined;
|
|
8139
8407
|
manufacturer_part_number?: string | undefined;
|
|
8140
8408
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8146,6 +8414,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8146
8414
|
name: string;
|
|
8147
8415
|
source_component_id: string;
|
|
8148
8416
|
ftype: "simple_switch";
|
|
8417
|
+
subcircuit_id?: string | undefined;
|
|
8149
8418
|
source_group_id?: string | undefined;
|
|
8150
8419
|
manufacturer_part_number?: string | undefined;
|
|
8151
8420
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8162,6 +8431,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8162
8431
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8163
8432
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8164
8433
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8434
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8165
8435
|
} & {
|
|
8166
8436
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
8167
8437
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -8171,6 +8441,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8171
8441
|
source_component_id: string;
|
|
8172
8442
|
ftype: "simple_transistor";
|
|
8173
8443
|
transistor_type: "npn" | "pnp";
|
|
8444
|
+
subcircuit_id?: string | undefined;
|
|
8174
8445
|
source_group_id?: string | undefined;
|
|
8175
8446
|
manufacturer_part_number?: string | undefined;
|
|
8176
8447
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8183,6 +8454,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8183
8454
|
source_component_id: string;
|
|
8184
8455
|
ftype: "simple_transistor";
|
|
8185
8456
|
transistor_type: "npn" | "pnp";
|
|
8457
|
+
subcircuit_id?: string | undefined;
|
|
8186
8458
|
source_group_id?: string | undefined;
|
|
8187
8459
|
manufacturer_part_number?: string | undefined;
|
|
8188
8460
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8199,6 +8471,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8199
8471
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8200
8472
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8201
8473
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8474
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8202
8475
|
} & {
|
|
8203
8476
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8204
8477
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -8214,6 +8487,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8214
8487
|
ftype: "simple_test_point";
|
|
8215
8488
|
width?: string | number | undefined;
|
|
8216
8489
|
height?: string | number | undefined;
|
|
8490
|
+
subcircuit_id?: string | undefined;
|
|
8217
8491
|
hole_diameter?: string | number | undefined;
|
|
8218
8492
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8219
8493
|
source_group_id?: string | undefined;
|
|
@@ -8231,6 +8505,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8231
8505
|
ftype: "simple_test_point";
|
|
8232
8506
|
width?: string | number | undefined;
|
|
8233
8507
|
height?: string | number | undefined;
|
|
8508
|
+
subcircuit_id?: string | undefined;
|
|
8234
8509
|
hole_diameter?: string | number | undefined;
|
|
8235
8510
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8236
8511
|
source_group_id?: string | undefined;
|
|
@@ -8251,6 +8526,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8251
8526
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8252
8527
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8253
8528
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8529
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8254
8530
|
} & {
|
|
8255
8531
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
8256
8532
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -8262,6 +8538,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8262
8538
|
ftype: "simple_mosfet";
|
|
8263
8539
|
channel_type: "n" | "p";
|
|
8264
8540
|
mosfet_mode: "enhancement" | "depletion";
|
|
8541
|
+
subcircuit_id?: string | undefined;
|
|
8265
8542
|
source_group_id?: string | undefined;
|
|
8266
8543
|
manufacturer_part_number?: string | undefined;
|
|
8267
8544
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8275,6 +8552,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8275
8552
|
ftype: "simple_mosfet";
|
|
8276
8553
|
channel_type: "n" | "p";
|
|
8277
8554
|
mosfet_mode: "enhancement" | "depletion";
|
|
8555
|
+
subcircuit_id?: string | undefined;
|
|
8278
8556
|
source_group_id?: string | undefined;
|
|
8279
8557
|
manufacturer_part_number?: string | undefined;
|
|
8280
8558
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8291,6 +8569,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8291
8569
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8292
8570
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8293
8571
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8572
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8294
8573
|
} & {
|
|
8295
8574
|
ftype: z.ZodLiteral<"simple_fuse">;
|
|
8296
8575
|
current_rating_amps: z.ZodNumber;
|
|
@@ -8302,6 +8581,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8302
8581
|
ftype: "simple_fuse";
|
|
8303
8582
|
current_rating_amps: number;
|
|
8304
8583
|
voltage_rating_volts: number;
|
|
8584
|
+
subcircuit_id?: string | undefined;
|
|
8305
8585
|
source_group_id?: string | undefined;
|
|
8306
8586
|
manufacturer_part_number?: string | undefined;
|
|
8307
8587
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8315,6 +8595,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8315
8595
|
ftype: "simple_fuse";
|
|
8316
8596
|
current_rating_amps: number;
|
|
8317
8597
|
voltage_rating_volts: number;
|
|
8598
|
+
subcircuit_id?: string | undefined;
|
|
8318
8599
|
source_group_id?: string | undefined;
|
|
8319
8600
|
manufacturer_part_number?: string | undefined;
|
|
8320
8601
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8344,6 +8625,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8344
8625
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8345
8626
|
source_component_id: z.ZodString;
|
|
8346
8627
|
property_name: z.ZodString;
|
|
8628
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8347
8629
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
8348
8630
|
message: z.ZodString;
|
|
8349
8631
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8353,11 +8635,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8353
8635
|
error_type: "source_missing_property_error";
|
|
8354
8636
|
source_missing_property_error_id: string;
|
|
8355
8637
|
property_name: string;
|
|
8638
|
+
subcircuit_id?: string | undefined;
|
|
8356
8639
|
}, {
|
|
8357
8640
|
message: string;
|
|
8358
8641
|
type: "source_missing_property_error";
|
|
8359
8642
|
source_component_id: string;
|
|
8360
8643
|
property_name: string;
|
|
8644
|
+
subcircuit_id?: string | undefined;
|
|
8361
8645
|
error_type?: "source_missing_property_error" | undefined;
|
|
8362
8646
|
source_missing_property_error_id?: string | undefined;
|
|
8363
8647
|
}>, z.ZodObject<{
|
|
@@ -8487,6 +8771,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8487
8771
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8488
8772
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8489
8773
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8774
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8490
8775
|
} & {
|
|
8491
8776
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
8492
8777
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8494,6 +8779,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8494
8779
|
name: string;
|
|
8495
8780
|
source_component_id: string;
|
|
8496
8781
|
ftype: "simple_chip";
|
|
8782
|
+
subcircuit_id?: string | undefined;
|
|
8497
8783
|
source_group_id?: string | undefined;
|
|
8498
8784
|
manufacturer_part_number?: string | undefined;
|
|
8499
8785
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8505,6 +8791,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8505
8791
|
name: string;
|
|
8506
8792
|
source_component_id: string;
|
|
8507
8793
|
ftype: "simple_chip";
|
|
8794
|
+
subcircuit_id?: string | undefined;
|
|
8508
8795
|
source_group_id?: string | undefined;
|
|
8509
8796
|
manufacturer_part_number?: string | undefined;
|
|
8510
8797
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8521,6 +8808,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8521
8808
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8522
8809
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8523
8810
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8811
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8524
8812
|
} & {
|
|
8525
8813
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
8526
8814
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8533,6 +8821,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8533
8821
|
source_component_id: string;
|
|
8534
8822
|
ftype: "simple_capacitor";
|
|
8535
8823
|
capacitance: number;
|
|
8824
|
+
subcircuit_id?: string | undefined;
|
|
8536
8825
|
source_group_id?: string | undefined;
|
|
8537
8826
|
manufacturer_part_number?: string | undefined;
|
|
8538
8827
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8548,6 +8837,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8548
8837
|
source_component_id: string;
|
|
8549
8838
|
ftype: "simple_capacitor";
|
|
8550
8839
|
capacitance: string | number;
|
|
8840
|
+
subcircuit_id?: string | undefined;
|
|
8551
8841
|
source_group_id?: string | undefined;
|
|
8552
8842
|
manufacturer_part_number?: string | undefined;
|
|
8553
8843
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8567,6 +8857,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8567
8857
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8568
8858
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8569
8859
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8860
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8570
8861
|
} & {
|
|
8571
8862
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
8572
8863
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8574,6 +8865,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8574
8865
|
name: string;
|
|
8575
8866
|
source_component_id: string;
|
|
8576
8867
|
ftype: "simple_diode";
|
|
8868
|
+
subcircuit_id?: string | undefined;
|
|
8577
8869
|
source_group_id?: string | undefined;
|
|
8578
8870
|
manufacturer_part_number?: string | undefined;
|
|
8579
8871
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8585,6 +8877,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8585
8877
|
name: string;
|
|
8586
8878
|
source_component_id: string;
|
|
8587
8879
|
ftype: "simple_diode";
|
|
8880
|
+
subcircuit_id?: string | undefined;
|
|
8588
8881
|
source_group_id?: string | undefined;
|
|
8589
8882
|
manufacturer_part_number?: string | undefined;
|
|
8590
8883
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8601,6 +8894,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8601
8894
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8602
8895
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8603
8896
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8897
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8604
8898
|
} & {
|
|
8605
8899
|
ftype: z.ZodLiteral<"simple_led">;
|
|
8606
8900
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -8610,6 +8904,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8610
8904
|
name: string;
|
|
8611
8905
|
source_component_id: string;
|
|
8612
8906
|
ftype: "simple_led";
|
|
8907
|
+
subcircuit_id?: string | undefined;
|
|
8613
8908
|
color?: string | undefined;
|
|
8614
8909
|
source_group_id?: string | undefined;
|
|
8615
8910
|
manufacturer_part_number?: string | undefined;
|
|
@@ -8623,6 +8918,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8623
8918
|
name: string;
|
|
8624
8919
|
source_component_id: string;
|
|
8625
8920
|
ftype: "simple_led";
|
|
8921
|
+
subcircuit_id?: string | undefined;
|
|
8626
8922
|
color?: string | undefined;
|
|
8627
8923
|
source_group_id?: string | undefined;
|
|
8628
8924
|
manufacturer_part_number?: string | undefined;
|
|
@@ -8641,6 +8937,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8641
8937
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8642
8938
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8643
8939
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8940
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8644
8941
|
} & {
|
|
8645
8942
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
8646
8943
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8651,6 +8948,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8651
8948
|
source_component_id: string;
|
|
8652
8949
|
ftype: "simple_resistor";
|
|
8653
8950
|
resistance: number;
|
|
8951
|
+
subcircuit_id?: string | undefined;
|
|
8654
8952
|
source_group_id?: string | undefined;
|
|
8655
8953
|
manufacturer_part_number?: string | undefined;
|
|
8656
8954
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8664,6 +8962,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8664
8962
|
source_component_id: string;
|
|
8665
8963
|
ftype: "simple_resistor";
|
|
8666
8964
|
resistance: string | number;
|
|
8965
|
+
subcircuit_id?: string | undefined;
|
|
8667
8966
|
source_group_id?: string | undefined;
|
|
8668
8967
|
manufacturer_part_number?: string | undefined;
|
|
8669
8968
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8681,6 +8980,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8681
8980
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8682
8981
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8683
8982
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8983
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8684
8984
|
} & {
|
|
8685
8985
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
8686
8986
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8690,6 +8990,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8690
8990
|
source_component_id: string;
|
|
8691
8991
|
voltage: number;
|
|
8692
8992
|
ftype: "simple_power_source";
|
|
8993
|
+
subcircuit_id?: string | undefined;
|
|
8693
8994
|
source_group_id?: string | undefined;
|
|
8694
8995
|
manufacturer_part_number?: string | undefined;
|
|
8695
8996
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8702,6 +9003,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8702
9003
|
source_component_id: string;
|
|
8703
9004
|
voltage: string | number;
|
|
8704
9005
|
ftype: "simple_power_source";
|
|
9006
|
+
subcircuit_id?: string | undefined;
|
|
8705
9007
|
source_group_id?: string | undefined;
|
|
8706
9008
|
manufacturer_part_number?: string | undefined;
|
|
8707
9009
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8718,6 +9020,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8718
9020
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8719
9021
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8720
9022
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9023
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8721
9024
|
} & {
|
|
8722
9025
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
8723
9026
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -8727,6 +9030,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8727
9030
|
source_component_id: string;
|
|
8728
9031
|
ftype: "simple_battery";
|
|
8729
9032
|
capacity: number;
|
|
9033
|
+
subcircuit_id?: string | undefined;
|
|
8730
9034
|
source_group_id?: string | undefined;
|
|
8731
9035
|
manufacturer_part_number?: string | undefined;
|
|
8732
9036
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8739,6 +9043,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8739
9043
|
source_component_id: string;
|
|
8740
9044
|
ftype: "simple_battery";
|
|
8741
9045
|
capacity: string | number;
|
|
9046
|
+
subcircuit_id?: string | undefined;
|
|
8742
9047
|
source_group_id?: string | undefined;
|
|
8743
9048
|
manufacturer_part_number?: string | undefined;
|
|
8744
9049
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8755,33 +9060,39 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8755
9060
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8756
9061
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8757
9062
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9063
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8758
9064
|
} & {
|
|
8759
9065
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
8760
9066
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9067
|
+
max_current_rating: z.ZodOptional<z.ZodNumber>;
|
|
8761
9068
|
}, "strip", z.ZodTypeAny, {
|
|
8762
9069
|
type: "source_component";
|
|
8763
9070
|
name: string;
|
|
8764
9071
|
source_component_id: string;
|
|
8765
9072
|
ftype: "simple_inductor";
|
|
8766
9073
|
inductance: number;
|
|
9074
|
+
subcircuit_id?: string | undefined;
|
|
8767
9075
|
source_group_id?: string | undefined;
|
|
8768
9076
|
manufacturer_part_number?: string | undefined;
|
|
8769
9077
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8770
9078
|
display_value?: string | undefined;
|
|
8771
9079
|
are_pins_interchangeable?: boolean | undefined;
|
|
8772
9080
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
9081
|
+
max_current_rating?: number | undefined;
|
|
8773
9082
|
}, {
|
|
8774
9083
|
type: "source_component";
|
|
8775
9084
|
name: string;
|
|
8776
9085
|
source_component_id: string;
|
|
8777
9086
|
ftype: "simple_inductor";
|
|
8778
9087
|
inductance: string | number;
|
|
9088
|
+
subcircuit_id?: string | undefined;
|
|
8779
9089
|
source_group_id?: string | undefined;
|
|
8780
9090
|
manufacturer_part_number?: string | undefined;
|
|
8781
9091
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8782
9092
|
display_value?: string | undefined;
|
|
8783
9093
|
are_pins_interchangeable?: boolean | undefined;
|
|
8784
9094
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
9095
|
+
max_current_rating?: number | undefined;
|
|
8785
9096
|
}>, z.ZodObject<{
|
|
8786
9097
|
type: z.ZodLiteral<"source_component">;
|
|
8787
9098
|
source_component_id: z.ZodString;
|
|
@@ -8792,6 +9103,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8792
9103
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8793
9104
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8794
9105
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9106
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8795
9107
|
} & {
|
|
8796
9108
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
8797
9109
|
pin_count: z.ZodNumber;
|
|
@@ -8803,6 +9115,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8803
9115
|
ftype: "simple_pin_header";
|
|
8804
9116
|
pin_count: number;
|
|
8805
9117
|
gender: "male" | "female";
|
|
9118
|
+
subcircuit_id?: string | undefined;
|
|
8806
9119
|
source_group_id?: string | undefined;
|
|
8807
9120
|
manufacturer_part_number?: string | undefined;
|
|
8808
9121
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8815,6 +9128,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8815
9128
|
source_component_id: string;
|
|
8816
9129
|
ftype: "simple_pin_header";
|
|
8817
9130
|
pin_count: number;
|
|
9131
|
+
subcircuit_id?: string | undefined;
|
|
8818
9132
|
source_group_id?: string | undefined;
|
|
8819
9133
|
manufacturer_part_number?: string | undefined;
|
|
8820
9134
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8832,6 +9146,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8832
9146
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8833
9147
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8834
9148
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9149
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8835
9150
|
} & {
|
|
8836
9151
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8837
9152
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8844,6 +9159,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8844
9159
|
ftype: "simple_resonator";
|
|
8845
9160
|
frequency: number;
|
|
8846
9161
|
load_capacitance: number;
|
|
9162
|
+
subcircuit_id?: string | undefined;
|
|
8847
9163
|
source_group_id?: string | undefined;
|
|
8848
9164
|
manufacturer_part_number?: string | undefined;
|
|
8849
9165
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8858,6 +9174,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8858
9174
|
ftype: "simple_resonator";
|
|
8859
9175
|
frequency: string | number;
|
|
8860
9176
|
load_capacitance: string | number;
|
|
9177
|
+
subcircuit_id?: string | undefined;
|
|
8861
9178
|
source_group_id?: string | undefined;
|
|
8862
9179
|
manufacturer_part_number?: string | undefined;
|
|
8863
9180
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8875,6 +9192,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8875
9192
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8876
9193
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8877
9194
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9195
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8878
9196
|
} & {
|
|
8879
9197
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
8880
9198
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8882,6 +9200,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8882
9200
|
name: string;
|
|
8883
9201
|
source_component_id: string;
|
|
8884
9202
|
ftype: "simple_switch";
|
|
9203
|
+
subcircuit_id?: string | undefined;
|
|
8885
9204
|
source_group_id?: string | undefined;
|
|
8886
9205
|
manufacturer_part_number?: string | undefined;
|
|
8887
9206
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8893,6 +9212,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8893
9212
|
name: string;
|
|
8894
9213
|
source_component_id: string;
|
|
8895
9214
|
ftype: "simple_switch";
|
|
9215
|
+
subcircuit_id?: string | undefined;
|
|
8896
9216
|
source_group_id?: string | undefined;
|
|
8897
9217
|
manufacturer_part_number?: string | undefined;
|
|
8898
9218
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8909,6 +9229,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8909
9229
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8910
9230
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8911
9231
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9232
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8912
9233
|
} & {
|
|
8913
9234
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
8914
9235
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -8918,6 +9239,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8918
9239
|
source_component_id: string;
|
|
8919
9240
|
ftype: "simple_transistor";
|
|
8920
9241
|
transistor_type: "npn" | "pnp";
|
|
9242
|
+
subcircuit_id?: string | undefined;
|
|
8921
9243
|
source_group_id?: string | undefined;
|
|
8922
9244
|
manufacturer_part_number?: string | undefined;
|
|
8923
9245
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8930,6 +9252,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8930
9252
|
source_component_id: string;
|
|
8931
9253
|
ftype: "simple_transistor";
|
|
8932
9254
|
transistor_type: "npn" | "pnp";
|
|
9255
|
+
subcircuit_id?: string | undefined;
|
|
8933
9256
|
source_group_id?: string | undefined;
|
|
8934
9257
|
manufacturer_part_number?: string | undefined;
|
|
8935
9258
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -8946,6 +9269,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8946
9269
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8947
9270
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8948
9271
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9272
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8949
9273
|
} & {
|
|
8950
9274
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8951
9275
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -8961,6 +9285,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8961
9285
|
ftype: "simple_test_point";
|
|
8962
9286
|
width?: string | number | undefined;
|
|
8963
9287
|
height?: string | number | undefined;
|
|
9288
|
+
subcircuit_id?: string | undefined;
|
|
8964
9289
|
hole_diameter?: string | number | undefined;
|
|
8965
9290
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8966
9291
|
source_group_id?: string | undefined;
|
|
@@ -8978,6 +9303,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8978
9303
|
ftype: "simple_test_point";
|
|
8979
9304
|
width?: string | number | undefined;
|
|
8980
9305
|
height?: string | number | undefined;
|
|
9306
|
+
subcircuit_id?: string | undefined;
|
|
8981
9307
|
hole_diameter?: string | number | undefined;
|
|
8982
9308
|
pad_shape?: "circle" | "rect" | undefined;
|
|
8983
9309
|
source_group_id?: string | undefined;
|
|
@@ -8998,6 +9324,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8998
9324
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8999
9325
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9000
9326
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9327
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9001
9328
|
} & {
|
|
9002
9329
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
9003
9330
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -9009,6 +9336,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9009
9336
|
ftype: "simple_mosfet";
|
|
9010
9337
|
channel_type: "n" | "p";
|
|
9011
9338
|
mosfet_mode: "enhancement" | "depletion";
|
|
9339
|
+
subcircuit_id?: string | undefined;
|
|
9012
9340
|
source_group_id?: string | undefined;
|
|
9013
9341
|
manufacturer_part_number?: string | undefined;
|
|
9014
9342
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9022,6 +9350,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9022
9350
|
ftype: "simple_mosfet";
|
|
9023
9351
|
channel_type: "n" | "p";
|
|
9024
9352
|
mosfet_mode: "enhancement" | "depletion";
|
|
9353
|
+
subcircuit_id?: string | undefined;
|
|
9025
9354
|
source_group_id?: string | undefined;
|
|
9026
9355
|
manufacturer_part_number?: string | undefined;
|
|
9027
9356
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9038,6 +9367,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9038
9367
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
9039
9368
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9040
9369
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9370
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9041
9371
|
} & {
|
|
9042
9372
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
9043
9373
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9047,6 +9377,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9047
9377
|
source_component_id: string;
|
|
9048
9378
|
ftype: "simple_potentiometer";
|
|
9049
9379
|
max_resistance: number;
|
|
9380
|
+
subcircuit_id?: string | undefined;
|
|
9050
9381
|
source_group_id?: string | undefined;
|
|
9051
9382
|
manufacturer_part_number?: string | undefined;
|
|
9052
9383
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9059,6 +9390,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9059
9390
|
source_component_id: string;
|
|
9060
9391
|
ftype: "simple_potentiometer";
|
|
9061
9392
|
max_resistance: string | number;
|
|
9393
|
+
subcircuit_id?: string | undefined;
|
|
9062
9394
|
source_group_id?: string | undefined;
|
|
9063
9395
|
manufacturer_part_number?: string | undefined;
|
|
9064
9396
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9075,6 +9407,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9075
9407
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
9076
9408
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9077
9409
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9410
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9078
9411
|
} & {
|
|
9079
9412
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
9080
9413
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9082,6 +9415,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9082
9415
|
name: string;
|
|
9083
9416
|
source_component_id: string;
|
|
9084
9417
|
ftype: "simple_push_button";
|
|
9418
|
+
subcircuit_id?: string | undefined;
|
|
9085
9419
|
source_group_id?: string | undefined;
|
|
9086
9420
|
manufacturer_part_number?: string | undefined;
|
|
9087
9421
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -9093,6 +9427,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9093
9427
|
name: string;
|
|
9094
9428
|
source_component_id: string;
|
|
9095
9429
|
ftype: "simple_push_button";
|
|
9430
|
+
subcircuit_id?: string | undefined;
|
|
9096
9431
|
source_group_id?: string | undefined;
|
|
9097
9432
|
manufacturer_part_number?: string | undefined;
|
|
9098
9433
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -10595,6 +10930,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10595
10930
|
} | undefined;
|
|
10596
10931
|
trace_width?: string | number | undefined;
|
|
10597
10932
|
}>, "many">;
|
|
10933
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10598
10934
|
}, "strip", z.ZodTypeAny, {
|
|
10599
10935
|
type: "pcb_trace_hint";
|
|
10600
10936
|
pcb_component_id: string;
|
|
@@ -10607,6 +10943,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10607
10943
|
trace_width?: number | undefined;
|
|
10608
10944
|
}[];
|
|
10609
10945
|
pcb_trace_hint_id: string;
|
|
10946
|
+
subcircuit_id?: string | undefined;
|
|
10610
10947
|
}, {
|
|
10611
10948
|
type: "pcb_trace_hint";
|
|
10612
10949
|
pcb_component_id: string;
|
|
@@ -10620,6 +10957,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10620
10957
|
} | undefined;
|
|
10621
10958
|
trace_width?: string | number | undefined;
|
|
10622
10959
|
}[];
|
|
10960
|
+
subcircuit_id?: string | undefined;
|
|
10623
10961
|
pcb_trace_hint_id?: string | undefined;
|
|
10624
10962
|
}>, z.ZodObject<{
|
|
10625
10963
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
@@ -10942,6 +11280,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10942
11280
|
source_trace_id: z.ZodString;
|
|
10943
11281
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
10944
11282
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
11283
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10945
11284
|
}, "strip", z.ZodTypeAny, {
|
|
10946
11285
|
message: string;
|
|
10947
11286
|
type: "pcb_trace_error";
|
|
@@ -10955,6 +11294,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10955
11294
|
x: number;
|
|
10956
11295
|
y: number;
|
|
10957
11296
|
} | undefined;
|
|
11297
|
+
subcircuit_id?: string | undefined;
|
|
10958
11298
|
}, {
|
|
10959
11299
|
message: string;
|
|
10960
11300
|
type: "pcb_trace_error";
|
|
@@ -10966,6 +11306,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10966
11306
|
x: string | number;
|
|
10967
11307
|
y: string | number;
|
|
10968
11308
|
} | undefined;
|
|
11309
|
+
subcircuit_id?: string | undefined;
|
|
10969
11310
|
pcb_trace_error_id?: string | undefined;
|
|
10970
11311
|
error_type?: "pcb_trace_error" | undefined;
|
|
10971
11312
|
}>, z.ZodObject<{
|
|
@@ -10973,14 +11314,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10973
11314
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10974
11315
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
10975
11316
|
message: z.ZodString;
|
|
11317
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10976
11318
|
}, "strip", z.ZodTypeAny, {
|
|
10977
11319
|
message: string;
|
|
10978
11320
|
type: "pcb_placement_error";
|
|
10979
11321
|
error_type: "pcb_placement_error";
|
|
10980
11322
|
pcb_placement_error_id: string;
|
|
11323
|
+
subcircuit_id?: string | undefined;
|
|
10981
11324
|
}, {
|
|
10982
11325
|
message: string;
|
|
10983
11326
|
type: "pcb_placement_error";
|
|
11327
|
+
subcircuit_id?: string | undefined;
|
|
10984
11328
|
error_type?: "pcb_placement_error" | undefined;
|
|
10985
11329
|
pcb_placement_error_id?: string | undefined;
|
|
10986
11330
|
}>, z.ZodObject<{
|
|
@@ -10989,16 +11333,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10989
11333
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
10990
11334
|
message: z.ZodString;
|
|
10991
11335
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
11336
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10992
11337
|
}, "strip", z.ZodTypeAny, {
|
|
10993
11338
|
message: string;
|
|
10994
11339
|
type: "pcb_port_not_matched_error";
|
|
10995
11340
|
error_type: "pcb_port_not_matched_error";
|
|
10996
11341
|
pcb_component_ids: string[];
|
|
10997
11342
|
pcb_error_id: string;
|
|
11343
|
+
subcircuit_id?: string | undefined;
|
|
10998
11344
|
}, {
|
|
10999
11345
|
message: string;
|
|
11000
11346
|
type: "pcb_port_not_matched_error";
|
|
11001
11347
|
pcb_component_ids: string[];
|
|
11348
|
+
subcircuit_id?: string | undefined;
|
|
11002
11349
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
11003
11350
|
pcb_error_id?: string | undefined;
|
|
11004
11351
|
}>, z.ZodObject<{
|
|
@@ -11112,14 +11459,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11112
11459
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11113
11460
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
11114
11461
|
message: z.ZodString;
|
|
11462
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11115
11463
|
}, "strip", z.ZodTypeAny, {
|
|
11116
11464
|
message: string;
|
|
11117
11465
|
type: "pcb_autorouting_error";
|
|
11118
11466
|
error_type: "pcb_autorouting_error";
|
|
11119
11467
|
pcb_error_id: string;
|
|
11468
|
+
subcircuit_id?: string | undefined;
|
|
11120
11469
|
}, {
|
|
11121
11470
|
message: string;
|
|
11122
11471
|
type: "pcb_autorouting_error";
|
|
11472
|
+
subcircuit_id?: string | undefined;
|
|
11123
11473
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
11124
11474
|
pcb_error_id?: string | undefined;
|
|
11125
11475
|
}>, z.ZodObject<{
|
|
@@ -11355,6 +11705,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11355
11705
|
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11356
11706
|
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11357
11707
|
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
11708
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11358
11709
|
}, "strip", z.ZodTypeAny, {
|
|
11359
11710
|
type: "pcb_thermal_spoke";
|
|
11360
11711
|
shape: string;
|
|
@@ -11364,6 +11715,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11364
11715
|
spoke_thickness: number;
|
|
11365
11716
|
spoke_inner_diameter: number;
|
|
11366
11717
|
spoke_outer_diameter: number;
|
|
11718
|
+
subcircuit_id?: string | undefined;
|
|
11367
11719
|
pcb_plated_hole_id?: string | undefined;
|
|
11368
11720
|
}, {
|
|
11369
11721
|
type: "pcb_thermal_spoke";
|
|
@@ -11373,6 +11725,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11373
11725
|
spoke_thickness: string | number;
|
|
11374
11726
|
spoke_inner_diameter: string | number;
|
|
11375
11727
|
spoke_outer_diameter: string | number;
|
|
11728
|
+
subcircuit_id?: string | undefined;
|
|
11376
11729
|
pcb_plated_hole_id?: string | undefined;
|
|
11377
11730
|
pcb_thermal_spoke_id?: string | undefined;
|
|
11378
11731
|
}>, z.ZodObject<{
|
|
@@ -11383,6 +11736,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11383
11736
|
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
11384
11737
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11385
11738
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11739
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11386
11740
|
}, "strip", z.ZodTypeAny, {
|
|
11387
11741
|
x: number;
|
|
11388
11742
|
y: number;
|
|
@@ -11390,6 +11744,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11390
11744
|
width: number;
|
|
11391
11745
|
height: number;
|
|
11392
11746
|
is_dashed: boolean;
|
|
11747
|
+
subcircuit_id?: string | undefined;
|
|
11393
11748
|
schematic_component_id?: string | undefined;
|
|
11394
11749
|
}, {
|
|
11395
11750
|
x: string | number;
|
|
@@ -11397,6 +11752,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11397
11752
|
type: "schematic_box";
|
|
11398
11753
|
width: string | number;
|
|
11399
11754
|
height: string | number;
|
|
11755
|
+
subcircuit_id?: string | undefined;
|
|
11400
11756
|
schematic_component_id?: string | undefined;
|
|
11401
11757
|
is_dashed?: boolean | undefined;
|
|
11402
11758
|
}>, z.ZodObject<{
|
|
@@ -11418,6 +11774,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11418
11774
|
rotation: z.ZodDefault<z.ZodNumber>;
|
|
11419
11775
|
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"]>]>>;
|
|
11420
11776
|
color: z.ZodDefault<z.ZodString>;
|
|
11777
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11421
11778
|
}, "strip", z.ZodTypeAny, {
|
|
11422
11779
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
11423
11780
|
type: "schematic_text";
|
|
@@ -11430,6 +11787,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11430
11787
|
x: number;
|
|
11431
11788
|
y: number;
|
|
11432
11789
|
};
|
|
11790
|
+
subcircuit_id?: string | undefined;
|
|
11433
11791
|
schematic_component_id?: string | undefined;
|
|
11434
11792
|
}, {
|
|
11435
11793
|
type: "schematic_text";
|
|
@@ -11441,6 +11799,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11441
11799
|
};
|
|
11442
11800
|
anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
11443
11801
|
rotation?: number | undefined;
|
|
11802
|
+
subcircuit_id?: string | undefined;
|
|
11444
11803
|
font_size?: number | undefined;
|
|
11445
11804
|
color?: string | undefined;
|
|
11446
11805
|
schematic_component_id?: string | undefined;
|
|
@@ -11451,6 +11810,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11451
11810
|
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11452
11811
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11453
11812
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11813
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11454
11814
|
}, "strip", z.ZodTypeAny, {
|
|
11455
11815
|
type: "schematic_line";
|
|
11456
11816
|
x1: number;
|
|
@@ -11458,6 +11818,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11458
11818
|
x2: number;
|
|
11459
11819
|
y2: number;
|
|
11460
11820
|
schematic_component_id: string;
|
|
11821
|
+
subcircuit_id?: string | undefined;
|
|
11461
11822
|
}, {
|
|
11462
11823
|
type: "schematic_line";
|
|
11463
11824
|
x1: string | number;
|
|
@@ -11465,6 +11826,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11465
11826
|
x2: string | number;
|
|
11466
11827
|
y2: string | number;
|
|
11467
11828
|
schematic_component_id: string;
|
|
11829
|
+
subcircuit_id?: string | undefined;
|
|
11468
11830
|
}>, z.ZodObject<{
|
|
11469
11831
|
type: z.ZodLiteral<"schematic_component">;
|
|
11470
11832
|
size: z.ZodObject<{
|
|
@@ -11720,6 +12082,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11720
12082
|
true_ccw_index: z.ZodOptional<z.ZodNumber>;
|
|
11721
12083
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
11722
12084
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
12085
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11723
12086
|
}, "strip", z.ZodTypeAny, {
|
|
11724
12087
|
type: "schematic_port";
|
|
11725
12088
|
center: {
|
|
@@ -11728,6 +12091,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11728
12091
|
};
|
|
11729
12092
|
source_port_id: string;
|
|
11730
12093
|
schematic_port_id: string;
|
|
12094
|
+
subcircuit_id?: string | undefined;
|
|
11731
12095
|
schematic_component_id?: string | undefined;
|
|
11732
12096
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
11733
12097
|
distance_from_component_edge?: number | undefined;
|
|
@@ -11743,6 +12107,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11743
12107
|
};
|
|
11744
12108
|
source_port_id: string;
|
|
11745
12109
|
schematic_port_id: string;
|
|
12110
|
+
subcircuit_id?: string | undefined;
|
|
11746
12111
|
schematic_component_id?: string | undefined;
|
|
11747
12112
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
11748
12113
|
distance_from_component_edge?: number | undefined;
|
|
@@ -11813,6 +12178,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11813
12178
|
from_schematic_port_id?: string | undefined;
|
|
11814
12179
|
to_schematic_port_id?: string | undefined;
|
|
11815
12180
|
}>, "many">;
|
|
12181
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11816
12182
|
}, "strip", z.ZodTypeAny, {
|
|
11817
12183
|
type: "schematic_trace";
|
|
11818
12184
|
source_trace_id: string;
|
|
@@ -11834,6 +12200,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11834
12200
|
from_schematic_port_id?: string | undefined;
|
|
11835
12201
|
to_schematic_port_id?: string | undefined;
|
|
11836
12202
|
}[];
|
|
12203
|
+
subcircuit_id?: string | undefined;
|
|
11837
12204
|
}, {
|
|
11838
12205
|
type: "schematic_trace";
|
|
11839
12206
|
source_trace_id: string;
|
|
@@ -11855,6 +12222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11855
12222
|
from_schematic_port_id?: string | undefined;
|
|
11856
12223
|
to_schematic_port_id?: string | undefined;
|
|
11857
12224
|
}[];
|
|
12225
|
+
subcircuit_id?: string | undefined;
|
|
11858
12226
|
}>, z.ZodObject<{
|
|
11859
12227
|
type: z.ZodLiteral<"schematic_path">;
|
|
11860
12228
|
schematic_component_id: z.ZodString;
|
|
@@ -11870,6 +12238,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11870
12238
|
x: string | number;
|
|
11871
12239
|
y: string | number;
|
|
11872
12240
|
}>, "many">;
|
|
12241
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11873
12242
|
}, "strip", z.ZodTypeAny, {
|
|
11874
12243
|
type: "schematic_path";
|
|
11875
12244
|
points: {
|
|
@@ -11877,6 +12246,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11877
12246
|
y: number;
|
|
11878
12247
|
}[];
|
|
11879
12248
|
schematic_component_id: string;
|
|
12249
|
+
subcircuit_id?: string | undefined;
|
|
11880
12250
|
is_filled?: boolean | undefined;
|
|
11881
12251
|
fill_color?: "red" | "blue" | undefined;
|
|
11882
12252
|
}, {
|
|
@@ -11886,6 +12256,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11886
12256
|
y: string | number;
|
|
11887
12257
|
}[];
|
|
11888
12258
|
schematic_component_id: string;
|
|
12259
|
+
subcircuit_id?: string | undefined;
|
|
11889
12260
|
is_filled?: boolean | undefined;
|
|
11890
12261
|
fill_color?: "red" | "blue" | undefined;
|
|
11891
12262
|
}>, z.ZodObject<{
|
|
@@ -11893,15 +12264,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11893
12264
|
schematic_error_id: z.ZodString;
|
|
11894
12265
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
11895
12266
|
message: z.ZodString;
|
|
12267
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11896
12268
|
}, "strip", z.ZodTypeAny, {
|
|
11897
12269
|
message: string;
|
|
11898
12270
|
type: "schematic_error";
|
|
11899
12271
|
error_type: "schematic_port_not_found";
|
|
11900
12272
|
schematic_error_id: string;
|
|
12273
|
+
subcircuit_id?: string | undefined;
|
|
11901
12274
|
}, {
|
|
11902
12275
|
message: string;
|
|
11903
12276
|
type: "schematic_error";
|
|
11904
12277
|
schematic_error_id: string;
|
|
12278
|
+
subcircuit_id?: string | undefined;
|
|
11905
12279
|
error_type?: "schematic_port_not_found" | undefined;
|
|
11906
12280
|
}>, z.ZodObject<{
|
|
11907
12281
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
@@ -11910,6 +12284,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11910
12284
|
message: z.ZodString;
|
|
11911
12285
|
source_group_id: z.ZodString;
|
|
11912
12286
|
schematic_group_id: z.ZodString;
|
|
12287
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11913
12288
|
}, "strip", z.ZodTypeAny, {
|
|
11914
12289
|
message: string;
|
|
11915
12290
|
type: "schematic_layout_error";
|
|
@@ -11917,11 +12292,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11917
12292
|
source_group_id: string;
|
|
11918
12293
|
schematic_group_id: string;
|
|
11919
12294
|
schematic_layout_error_id: string;
|
|
12295
|
+
subcircuit_id?: string | undefined;
|
|
11920
12296
|
}, {
|
|
11921
12297
|
message: string;
|
|
11922
12298
|
type: "schematic_layout_error";
|
|
11923
12299
|
source_group_id: string;
|
|
11924
12300
|
schematic_group_id: string;
|
|
12301
|
+
subcircuit_id?: string | undefined;
|
|
11925
12302
|
error_type?: "schematic_layout_error" | undefined;
|
|
11926
12303
|
schematic_layout_error_id?: string | undefined;
|
|
11927
12304
|
}>, z.ZodObject<{
|
|
@@ -11953,6 +12330,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11953
12330
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
11954
12331
|
text: z.ZodString;
|
|
11955
12332
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
12333
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11956
12334
|
}, "strip", z.ZodTypeAny, {
|
|
11957
12335
|
type: "schematic_net_label";
|
|
11958
12336
|
center: {
|
|
@@ -11963,6 +12341,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11963
12341
|
source_net_id: string;
|
|
11964
12342
|
schematic_net_label_id: string;
|
|
11965
12343
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
12344
|
+
subcircuit_id?: string | undefined;
|
|
11966
12345
|
source_trace_id?: string | undefined;
|
|
11967
12346
|
anchor_position?: {
|
|
11968
12347
|
x: number;
|
|
@@ -11979,6 +12358,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11979
12358
|
text: string;
|
|
11980
12359
|
source_net_id: string;
|
|
11981
12360
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
12361
|
+
subcircuit_id?: string | undefined;
|
|
11982
12362
|
source_trace_id?: string | undefined;
|
|
11983
12363
|
anchor_position?: {
|
|
11984
12364
|
x: string | number;
|
|
@@ -11990,6 +12370,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11990
12370
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
11991
12371
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
11992
12372
|
label: z.ZodOptional<z.ZodString>;
|
|
12373
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11993
12374
|
} & {
|
|
11994
12375
|
shape: z.ZodLiteral<"rect">;
|
|
11995
12376
|
center: z.ZodObject<{
|
|
@@ -12023,6 +12404,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12023
12404
|
width: number;
|
|
12024
12405
|
height: number;
|
|
12025
12406
|
};
|
|
12407
|
+
subcircuit_id?: string | undefined;
|
|
12026
12408
|
label?: string | undefined;
|
|
12027
12409
|
}, {
|
|
12028
12410
|
type: "schematic_debug_object";
|
|
@@ -12035,10 +12417,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12035
12417
|
width: number;
|
|
12036
12418
|
height: number;
|
|
12037
12419
|
};
|
|
12420
|
+
subcircuit_id?: string | undefined;
|
|
12038
12421
|
label?: string | undefined;
|
|
12039
12422
|
}>, z.ZodObject<{
|
|
12040
12423
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
12041
12424
|
label: z.ZodOptional<z.ZodString>;
|
|
12425
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12042
12426
|
} & {
|
|
12043
12427
|
shape: z.ZodLiteral<"line">;
|
|
12044
12428
|
start: z.ZodObject<{
|
|
@@ -12072,6 +12456,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12072
12456
|
x: number;
|
|
12073
12457
|
y: number;
|
|
12074
12458
|
};
|
|
12459
|
+
subcircuit_id?: string | undefined;
|
|
12075
12460
|
label?: string | undefined;
|
|
12076
12461
|
}, {
|
|
12077
12462
|
type: "schematic_debug_object";
|
|
@@ -12084,10 +12469,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12084
12469
|
x: string | number;
|
|
12085
12470
|
y: string | number;
|
|
12086
12471
|
};
|
|
12472
|
+
subcircuit_id?: string | undefined;
|
|
12087
12473
|
label?: string | undefined;
|
|
12088
12474
|
}>, z.ZodObject<{
|
|
12089
12475
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
12090
12476
|
label: z.ZodOptional<z.ZodString>;
|
|
12477
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12091
12478
|
} & {
|
|
12092
12479
|
shape: z.ZodLiteral<"point">;
|
|
12093
12480
|
center: z.ZodObject<{
|
|
@@ -12107,6 +12494,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12107
12494
|
y: number;
|
|
12108
12495
|
};
|
|
12109
12496
|
shape: "point";
|
|
12497
|
+
subcircuit_id?: string | undefined;
|
|
12110
12498
|
label?: string | undefined;
|
|
12111
12499
|
}, {
|
|
12112
12500
|
type: "schematic_debug_object";
|
|
@@ -12115,6 +12503,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12115
12503
|
y: string | number;
|
|
12116
12504
|
};
|
|
12117
12505
|
shape: "point";
|
|
12506
|
+
subcircuit_id?: string | undefined;
|
|
12118
12507
|
label?: string | undefined;
|
|
12119
12508
|
}>]>, z.ZodObject<{
|
|
12120
12509
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -12131,6 +12520,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12131
12520
|
}>;
|
|
12132
12521
|
schematic_trace_id: z.ZodString;
|
|
12133
12522
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12523
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12134
12524
|
}, "strip", z.ZodTypeAny, {
|
|
12135
12525
|
type: "schematic_voltage_probe";
|
|
12136
12526
|
schematic_trace_id: string;
|
|
@@ -12139,6 +12529,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12139
12529
|
y: number;
|
|
12140
12530
|
};
|
|
12141
12531
|
schematic_voltage_probe_id: string;
|
|
12532
|
+
subcircuit_id?: string | undefined;
|
|
12142
12533
|
voltage?: number | undefined;
|
|
12143
12534
|
}, {
|
|
12144
12535
|
type: "schematic_voltage_probe";
|
|
@@ -12148,6 +12539,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12148
12539
|
y: string | number;
|
|
12149
12540
|
};
|
|
12150
12541
|
schematic_voltage_probe_id: string;
|
|
12542
|
+
subcircuit_id?: string | undefined;
|
|
12151
12543
|
voltage?: string | number | undefined;
|
|
12152
12544
|
}>, z.ZodObject<{
|
|
12153
12545
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
@@ -12280,6 +12672,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12280
12672
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12281
12673
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12282
12674
|
}>>;
|
|
12675
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12283
12676
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
12284
12677
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
12285
12678
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
@@ -12301,6 +12694,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12301
12694
|
y: number;
|
|
12302
12695
|
z: number;
|
|
12303
12696
|
} | undefined;
|
|
12697
|
+
subcircuit_id?: string | undefined;
|
|
12304
12698
|
size?: {
|
|
12305
12699
|
x: number;
|
|
12306
12700
|
y: number;
|
|
@@ -12329,6 +12723,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12329
12723
|
y: string | number;
|
|
12330
12724
|
z: string | number;
|
|
12331
12725
|
} | undefined;
|
|
12726
|
+
subcircuit_id?: string | undefined;
|
|
12332
12727
|
size?: {
|
|
12333
12728
|
x: string | number;
|
|
12334
12729
|
y: string | number;
|
|
@@ -12410,6 +12805,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12410
12805
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12411
12806
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12412
12807
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12808
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12413
12809
|
} & {
|
|
12414
12810
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
12415
12811
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12420,6 +12816,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12420
12816
|
source_component_id: string;
|
|
12421
12817
|
ftype: "simple_resistor";
|
|
12422
12818
|
resistance: number;
|
|
12819
|
+
subcircuit_id?: string | undefined;
|
|
12423
12820
|
source_group_id?: string | undefined;
|
|
12424
12821
|
manufacturer_part_number?: string | undefined;
|
|
12425
12822
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12433,6 +12830,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12433
12830
|
source_component_id: string;
|
|
12434
12831
|
ftype: "simple_resistor";
|
|
12435
12832
|
resistance: string | number;
|
|
12833
|
+
subcircuit_id?: string | undefined;
|
|
12436
12834
|
source_group_id?: string | undefined;
|
|
12437
12835
|
manufacturer_part_number?: string | undefined;
|
|
12438
12836
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12450,6 +12848,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12450
12848
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12451
12849
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12452
12850
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12851
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12453
12852
|
} & {
|
|
12454
12853
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
12455
12854
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -12462,6 +12861,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12462
12861
|
source_component_id: string;
|
|
12463
12862
|
ftype: "simple_capacitor";
|
|
12464
12863
|
capacitance: number;
|
|
12864
|
+
subcircuit_id?: string | undefined;
|
|
12465
12865
|
source_group_id?: string | undefined;
|
|
12466
12866
|
manufacturer_part_number?: string | undefined;
|
|
12467
12867
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12477,6 +12877,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12477
12877
|
source_component_id: string;
|
|
12478
12878
|
ftype: "simple_capacitor";
|
|
12479
12879
|
capacitance: string | number;
|
|
12880
|
+
subcircuit_id?: string | undefined;
|
|
12480
12881
|
source_group_id?: string | undefined;
|
|
12481
12882
|
manufacturer_part_number?: string | undefined;
|
|
12482
12883
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12496,6 +12897,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12496
12897
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12497
12898
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12498
12899
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12900
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12499
12901
|
} & {
|
|
12500
12902
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
12501
12903
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12503,6 +12905,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12503
12905
|
name: string;
|
|
12504
12906
|
source_component_id: string;
|
|
12505
12907
|
ftype: "simple_diode";
|
|
12908
|
+
subcircuit_id?: string | undefined;
|
|
12506
12909
|
source_group_id?: string | undefined;
|
|
12507
12910
|
manufacturer_part_number?: string | undefined;
|
|
12508
12911
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12514,6 +12917,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12514
12917
|
name: string;
|
|
12515
12918
|
source_component_id: string;
|
|
12516
12919
|
ftype: "simple_diode";
|
|
12920
|
+
subcircuit_id?: string | undefined;
|
|
12517
12921
|
source_group_id?: string | undefined;
|
|
12518
12922
|
manufacturer_part_number?: string | undefined;
|
|
12519
12923
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12530,6 +12934,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12530
12934
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12531
12935
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12532
12936
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12937
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12533
12938
|
} & {
|
|
12534
12939
|
ftype: z.ZodLiteral<"simple_led">;
|
|
12535
12940
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -12539,6 +12944,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12539
12944
|
name: string;
|
|
12540
12945
|
source_component_id: string;
|
|
12541
12946
|
ftype: "simple_led";
|
|
12947
|
+
subcircuit_id?: string | undefined;
|
|
12542
12948
|
color?: string | undefined;
|
|
12543
12949
|
source_group_id?: string | undefined;
|
|
12544
12950
|
manufacturer_part_number?: string | undefined;
|
|
@@ -12552,6 +12958,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12552
12958
|
name: string;
|
|
12553
12959
|
source_component_id: string;
|
|
12554
12960
|
ftype: "simple_led";
|
|
12961
|
+
subcircuit_id?: string | undefined;
|
|
12555
12962
|
color?: string | undefined;
|
|
12556
12963
|
source_group_id?: string | undefined;
|
|
12557
12964
|
manufacturer_part_number?: string | undefined;
|
|
@@ -12570,6 +12977,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12570
12977
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12571
12978
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12572
12979
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12980
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12573
12981
|
} & {
|
|
12574
12982
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
12575
12983
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12577,6 +12985,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12577
12985
|
name: string;
|
|
12578
12986
|
source_component_id: string;
|
|
12579
12987
|
ftype: "simple_ground";
|
|
12988
|
+
subcircuit_id?: string | undefined;
|
|
12580
12989
|
source_group_id?: string | undefined;
|
|
12581
12990
|
manufacturer_part_number?: string | undefined;
|
|
12582
12991
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12588,6 +12997,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12588
12997
|
name: string;
|
|
12589
12998
|
source_component_id: string;
|
|
12590
12999
|
ftype: "simple_ground";
|
|
13000
|
+
subcircuit_id?: string | undefined;
|
|
12591
13001
|
source_group_id?: string | undefined;
|
|
12592
13002
|
manufacturer_part_number?: string | undefined;
|
|
12593
13003
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12604,6 +13014,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12604
13014
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12605
13015
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12606
13016
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13017
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12607
13018
|
} & {
|
|
12608
13019
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
12609
13020
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12611,6 +13022,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12611
13022
|
name: string;
|
|
12612
13023
|
source_component_id: string;
|
|
12613
13024
|
ftype: "simple_chip";
|
|
13025
|
+
subcircuit_id?: string | undefined;
|
|
12614
13026
|
source_group_id?: string | undefined;
|
|
12615
13027
|
manufacturer_part_number?: string | undefined;
|
|
12616
13028
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12622,6 +13034,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12622
13034
|
name: string;
|
|
12623
13035
|
source_component_id: string;
|
|
12624
13036
|
ftype: "simple_chip";
|
|
13037
|
+
subcircuit_id?: string | undefined;
|
|
12625
13038
|
source_group_id?: string | undefined;
|
|
12626
13039
|
manufacturer_part_number?: string | undefined;
|
|
12627
13040
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12638,6 +13051,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12638
13051
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12639
13052
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12640
13053
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13054
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12641
13055
|
} & {
|
|
12642
13056
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
12643
13057
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12647,6 +13061,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12647
13061
|
source_component_id: string;
|
|
12648
13062
|
voltage: number;
|
|
12649
13063
|
ftype: "simple_power_source";
|
|
13064
|
+
subcircuit_id?: string | undefined;
|
|
12650
13065
|
source_group_id?: string | undefined;
|
|
12651
13066
|
manufacturer_part_number?: string | undefined;
|
|
12652
13067
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12659,6 +13074,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12659
13074
|
source_component_id: string;
|
|
12660
13075
|
voltage: string | number;
|
|
12661
13076
|
ftype: "simple_power_source";
|
|
13077
|
+
subcircuit_id?: string | undefined;
|
|
12662
13078
|
source_group_id?: string | undefined;
|
|
12663
13079
|
manufacturer_part_number?: string | undefined;
|
|
12664
13080
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12675,6 +13091,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12675
13091
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12676
13092
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12677
13093
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13094
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12678
13095
|
} & {
|
|
12679
13096
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
12680
13097
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -12684,6 +13101,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12684
13101
|
source_component_id: string;
|
|
12685
13102
|
ftype: "simple_battery";
|
|
12686
13103
|
capacity: number;
|
|
13104
|
+
subcircuit_id?: string | undefined;
|
|
12687
13105
|
source_group_id?: string | undefined;
|
|
12688
13106
|
manufacturer_part_number?: string | undefined;
|
|
12689
13107
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12696,6 +13114,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12696
13114
|
source_component_id: string;
|
|
12697
13115
|
ftype: "simple_battery";
|
|
12698
13116
|
capacity: string | number;
|
|
13117
|
+
subcircuit_id?: string | undefined;
|
|
12699
13118
|
source_group_id?: string | undefined;
|
|
12700
13119
|
manufacturer_part_number?: string | undefined;
|
|
12701
13120
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12712,33 +13131,39 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12712
13131
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12713
13132
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12714
13133
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13134
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12715
13135
|
} & {
|
|
12716
13136
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
12717
13137
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13138
|
+
max_current_rating: z.ZodOptional<z.ZodNumber>;
|
|
12718
13139
|
}, "strip", z.ZodTypeAny, {
|
|
12719
13140
|
type: "source_component";
|
|
12720
13141
|
name: string;
|
|
12721
13142
|
source_component_id: string;
|
|
12722
13143
|
ftype: "simple_inductor";
|
|
12723
13144
|
inductance: number;
|
|
13145
|
+
subcircuit_id?: string | undefined;
|
|
12724
13146
|
source_group_id?: string | undefined;
|
|
12725
13147
|
manufacturer_part_number?: string | undefined;
|
|
12726
13148
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12727
13149
|
display_value?: string | undefined;
|
|
12728
13150
|
are_pins_interchangeable?: boolean | undefined;
|
|
12729
13151
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13152
|
+
max_current_rating?: number | undefined;
|
|
12730
13153
|
}, {
|
|
12731
13154
|
type: "source_component";
|
|
12732
13155
|
name: string;
|
|
12733
13156
|
source_component_id: string;
|
|
12734
13157
|
ftype: "simple_inductor";
|
|
12735
13158
|
inductance: string | number;
|
|
13159
|
+
subcircuit_id?: string | undefined;
|
|
12736
13160
|
source_group_id?: string | undefined;
|
|
12737
13161
|
manufacturer_part_number?: string | undefined;
|
|
12738
13162
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12739
13163
|
display_value?: string | undefined;
|
|
12740
13164
|
are_pins_interchangeable?: boolean | undefined;
|
|
12741
13165
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13166
|
+
max_current_rating?: number | undefined;
|
|
12742
13167
|
}>, z.ZodObject<{
|
|
12743
13168
|
type: z.ZodLiteral<"source_component">;
|
|
12744
13169
|
source_component_id: z.ZodString;
|
|
@@ -12749,6 +13174,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12749
13174
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12750
13175
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12751
13176
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13177
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12752
13178
|
} & {
|
|
12753
13179
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
12754
13180
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12756,6 +13182,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12756
13182
|
name: string;
|
|
12757
13183
|
source_component_id: string;
|
|
12758
13184
|
ftype: "simple_push_button";
|
|
13185
|
+
subcircuit_id?: string | undefined;
|
|
12759
13186
|
source_group_id?: string | undefined;
|
|
12760
13187
|
manufacturer_part_number?: string | undefined;
|
|
12761
13188
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12767,6 +13194,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12767
13194
|
name: string;
|
|
12768
13195
|
source_component_id: string;
|
|
12769
13196
|
ftype: "simple_push_button";
|
|
13197
|
+
subcircuit_id?: string | undefined;
|
|
12770
13198
|
source_group_id?: string | undefined;
|
|
12771
13199
|
manufacturer_part_number?: string | undefined;
|
|
12772
13200
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12783,6 +13211,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12783
13211
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12784
13212
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12785
13213
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13214
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12786
13215
|
} & {
|
|
12787
13216
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
12788
13217
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12792,6 +13221,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12792
13221
|
source_component_id: string;
|
|
12793
13222
|
ftype: "simple_potentiometer";
|
|
12794
13223
|
max_resistance: number;
|
|
13224
|
+
subcircuit_id?: string | undefined;
|
|
12795
13225
|
source_group_id?: string | undefined;
|
|
12796
13226
|
manufacturer_part_number?: string | undefined;
|
|
12797
13227
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12804,6 +13234,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12804
13234
|
source_component_id: string;
|
|
12805
13235
|
ftype: "simple_potentiometer";
|
|
12806
13236
|
max_resistance: string | number;
|
|
13237
|
+
subcircuit_id?: string | undefined;
|
|
12807
13238
|
source_group_id?: string | undefined;
|
|
12808
13239
|
manufacturer_part_number?: string | undefined;
|
|
12809
13240
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12820,6 +13251,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12820
13251
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12821
13252
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12822
13253
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13254
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12823
13255
|
} & {
|
|
12824
13256
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
12825
13257
|
frequency: z.ZodNumber;
|
|
@@ -12830,6 +13262,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12830
13262
|
source_component_id: string;
|
|
12831
13263
|
ftype: "simple_crystal";
|
|
12832
13264
|
frequency: number;
|
|
13265
|
+
subcircuit_id?: string | undefined;
|
|
12833
13266
|
source_group_id?: string | undefined;
|
|
12834
13267
|
manufacturer_part_number?: string | undefined;
|
|
12835
13268
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12843,6 +13276,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12843
13276
|
source_component_id: string;
|
|
12844
13277
|
ftype: "simple_crystal";
|
|
12845
13278
|
frequency: number;
|
|
13279
|
+
subcircuit_id?: string | undefined;
|
|
12846
13280
|
source_group_id?: string | undefined;
|
|
12847
13281
|
manufacturer_part_number?: string | undefined;
|
|
12848
13282
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12860,6 +13294,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12860
13294
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12861
13295
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12862
13296
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13297
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12863
13298
|
} & {
|
|
12864
13299
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
12865
13300
|
pin_count: z.ZodNumber;
|
|
@@ -12871,6 +13306,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12871
13306
|
ftype: "simple_pin_header";
|
|
12872
13307
|
pin_count: number;
|
|
12873
13308
|
gender: "male" | "female";
|
|
13309
|
+
subcircuit_id?: string | undefined;
|
|
12874
13310
|
source_group_id?: string | undefined;
|
|
12875
13311
|
manufacturer_part_number?: string | undefined;
|
|
12876
13312
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12883,6 +13319,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12883
13319
|
source_component_id: string;
|
|
12884
13320
|
ftype: "simple_pin_header";
|
|
12885
13321
|
pin_count: number;
|
|
13322
|
+
subcircuit_id?: string | undefined;
|
|
12886
13323
|
source_group_id?: string | undefined;
|
|
12887
13324
|
manufacturer_part_number?: string | undefined;
|
|
12888
13325
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12900,6 +13337,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12900
13337
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12901
13338
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12902
13339
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13340
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12903
13341
|
} & {
|
|
12904
13342
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
12905
13343
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -12912,6 +13350,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12912
13350
|
ftype: "simple_resonator";
|
|
12913
13351
|
frequency: number;
|
|
12914
13352
|
load_capacitance: number;
|
|
13353
|
+
subcircuit_id?: string | undefined;
|
|
12915
13354
|
source_group_id?: string | undefined;
|
|
12916
13355
|
manufacturer_part_number?: string | undefined;
|
|
12917
13356
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12926,6 +13365,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12926
13365
|
ftype: "simple_resonator";
|
|
12927
13366
|
frequency: string | number;
|
|
12928
13367
|
load_capacitance: string | number;
|
|
13368
|
+
subcircuit_id?: string | undefined;
|
|
12929
13369
|
source_group_id?: string | undefined;
|
|
12930
13370
|
manufacturer_part_number?: string | undefined;
|
|
12931
13371
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12943,6 +13383,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12943
13383
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12944
13384
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12945
13385
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13386
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12946
13387
|
} & {
|
|
12947
13388
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
12948
13389
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12950,6 +13391,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12950
13391
|
name: string;
|
|
12951
13392
|
source_component_id: string;
|
|
12952
13393
|
ftype: "simple_switch";
|
|
13394
|
+
subcircuit_id?: string | undefined;
|
|
12953
13395
|
source_group_id?: string | undefined;
|
|
12954
13396
|
manufacturer_part_number?: string | undefined;
|
|
12955
13397
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12961,6 +13403,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12961
13403
|
name: string;
|
|
12962
13404
|
source_component_id: string;
|
|
12963
13405
|
ftype: "simple_switch";
|
|
13406
|
+
subcircuit_id?: string | undefined;
|
|
12964
13407
|
source_group_id?: string | undefined;
|
|
12965
13408
|
manufacturer_part_number?: string | undefined;
|
|
12966
13409
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12977,6 +13420,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12977
13420
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12978
13421
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12979
13422
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13423
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12980
13424
|
} & {
|
|
12981
13425
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
12982
13426
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -12986,6 +13430,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12986
13430
|
source_component_id: string;
|
|
12987
13431
|
ftype: "simple_transistor";
|
|
12988
13432
|
transistor_type: "npn" | "pnp";
|
|
13433
|
+
subcircuit_id?: string | undefined;
|
|
12989
13434
|
source_group_id?: string | undefined;
|
|
12990
13435
|
manufacturer_part_number?: string | undefined;
|
|
12991
13436
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -12998,6 +13443,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12998
13443
|
source_component_id: string;
|
|
12999
13444
|
ftype: "simple_transistor";
|
|
13000
13445
|
transistor_type: "npn" | "pnp";
|
|
13446
|
+
subcircuit_id?: string | undefined;
|
|
13001
13447
|
source_group_id?: string | undefined;
|
|
13002
13448
|
manufacturer_part_number?: string | undefined;
|
|
13003
13449
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13014,6 +13460,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13014
13460
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13015
13461
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13016
13462
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13463
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13017
13464
|
} & {
|
|
13018
13465
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
13019
13466
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -13029,6 +13476,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13029
13476
|
ftype: "simple_test_point";
|
|
13030
13477
|
width?: string | number | undefined;
|
|
13031
13478
|
height?: string | number | undefined;
|
|
13479
|
+
subcircuit_id?: string | undefined;
|
|
13032
13480
|
hole_diameter?: string | number | undefined;
|
|
13033
13481
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13034
13482
|
source_group_id?: string | undefined;
|
|
@@ -13046,6 +13494,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13046
13494
|
ftype: "simple_test_point";
|
|
13047
13495
|
width?: string | number | undefined;
|
|
13048
13496
|
height?: string | number | undefined;
|
|
13497
|
+
subcircuit_id?: string | undefined;
|
|
13049
13498
|
hole_diameter?: string | number | undefined;
|
|
13050
13499
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13051
13500
|
source_group_id?: string | undefined;
|
|
@@ -13066,6 +13515,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13066
13515
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13067
13516
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13068
13517
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13518
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13069
13519
|
} & {
|
|
13070
13520
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13071
13521
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -13077,6 +13527,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13077
13527
|
ftype: "simple_mosfet";
|
|
13078
13528
|
channel_type: "n" | "p";
|
|
13079
13529
|
mosfet_mode: "enhancement" | "depletion";
|
|
13530
|
+
subcircuit_id?: string | undefined;
|
|
13080
13531
|
source_group_id?: string | undefined;
|
|
13081
13532
|
manufacturer_part_number?: string | undefined;
|
|
13082
13533
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13090,6 +13541,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13090
13541
|
ftype: "simple_mosfet";
|
|
13091
13542
|
channel_type: "n" | "p";
|
|
13092
13543
|
mosfet_mode: "enhancement" | "depletion";
|
|
13544
|
+
subcircuit_id?: string | undefined;
|
|
13093
13545
|
source_group_id?: string | undefined;
|
|
13094
13546
|
manufacturer_part_number?: string | undefined;
|
|
13095
13547
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13106,6 +13558,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13106
13558
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13107
13559
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13108
13560
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13561
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13109
13562
|
} & {
|
|
13110
13563
|
ftype: z.ZodLiteral<"simple_fuse">;
|
|
13111
13564
|
current_rating_amps: z.ZodNumber;
|
|
@@ -13117,6 +13570,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13117
13570
|
ftype: "simple_fuse";
|
|
13118
13571
|
current_rating_amps: number;
|
|
13119
13572
|
voltage_rating_volts: number;
|
|
13573
|
+
subcircuit_id?: string | undefined;
|
|
13120
13574
|
source_group_id?: string | undefined;
|
|
13121
13575
|
manufacturer_part_number?: string | undefined;
|
|
13122
13576
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13130,6 +13584,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13130
13584
|
ftype: "simple_fuse";
|
|
13131
13585
|
current_rating_amps: number;
|
|
13132
13586
|
voltage_rating_volts: number;
|
|
13587
|
+
subcircuit_id?: string | undefined;
|
|
13133
13588
|
source_group_id?: string | undefined;
|
|
13134
13589
|
manufacturer_part_number?: string | undefined;
|
|
13135
13590
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13159,6 +13614,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13159
13614
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13160
13615
|
source_component_id: z.ZodString;
|
|
13161
13616
|
property_name: z.ZodString;
|
|
13617
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13162
13618
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
13163
13619
|
message: z.ZodString;
|
|
13164
13620
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13168,11 +13624,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13168
13624
|
error_type: "source_missing_property_error";
|
|
13169
13625
|
source_missing_property_error_id: string;
|
|
13170
13626
|
property_name: string;
|
|
13627
|
+
subcircuit_id?: string | undefined;
|
|
13171
13628
|
}, {
|
|
13172
13629
|
message: string;
|
|
13173
13630
|
type: "source_missing_property_error";
|
|
13174
13631
|
source_component_id: string;
|
|
13175
13632
|
property_name: string;
|
|
13633
|
+
subcircuit_id?: string | undefined;
|
|
13176
13634
|
error_type?: "source_missing_property_error" | undefined;
|
|
13177
13635
|
source_missing_property_error_id?: string | undefined;
|
|
13178
13636
|
}>, z.ZodObject<{
|
|
@@ -13302,6 +13760,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13302
13760
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13303
13761
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13304
13762
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13763
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13305
13764
|
} & {
|
|
13306
13765
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
13307
13766
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13309,6 +13768,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13309
13768
|
name: string;
|
|
13310
13769
|
source_component_id: string;
|
|
13311
13770
|
ftype: "simple_chip";
|
|
13771
|
+
subcircuit_id?: string | undefined;
|
|
13312
13772
|
source_group_id?: string | undefined;
|
|
13313
13773
|
manufacturer_part_number?: string | undefined;
|
|
13314
13774
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13320,6 +13780,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13320
13780
|
name: string;
|
|
13321
13781
|
source_component_id: string;
|
|
13322
13782
|
ftype: "simple_chip";
|
|
13783
|
+
subcircuit_id?: string | undefined;
|
|
13323
13784
|
source_group_id?: string | undefined;
|
|
13324
13785
|
manufacturer_part_number?: string | undefined;
|
|
13325
13786
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13336,6 +13797,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13336
13797
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13337
13798
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13338
13799
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13800
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13339
13801
|
} & {
|
|
13340
13802
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
13341
13803
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -13348,6 +13810,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13348
13810
|
source_component_id: string;
|
|
13349
13811
|
ftype: "simple_capacitor";
|
|
13350
13812
|
capacitance: number;
|
|
13813
|
+
subcircuit_id?: string | undefined;
|
|
13351
13814
|
source_group_id?: string | undefined;
|
|
13352
13815
|
manufacturer_part_number?: string | undefined;
|
|
13353
13816
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13363,6 +13826,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13363
13826
|
source_component_id: string;
|
|
13364
13827
|
ftype: "simple_capacitor";
|
|
13365
13828
|
capacitance: string | number;
|
|
13829
|
+
subcircuit_id?: string | undefined;
|
|
13366
13830
|
source_group_id?: string | undefined;
|
|
13367
13831
|
manufacturer_part_number?: string | undefined;
|
|
13368
13832
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13382,6 +13846,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13382
13846
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13383
13847
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13384
13848
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13849
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13385
13850
|
} & {
|
|
13386
13851
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
13387
13852
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13389,6 +13854,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13389
13854
|
name: string;
|
|
13390
13855
|
source_component_id: string;
|
|
13391
13856
|
ftype: "simple_diode";
|
|
13857
|
+
subcircuit_id?: string | undefined;
|
|
13392
13858
|
source_group_id?: string | undefined;
|
|
13393
13859
|
manufacturer_part_number?: string | undefined;
|
|
13394
13860
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13400,6 +13866,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13400
13866
|
name: string;
|
|
13401
13867
|
source_component_id: string;
|
|
13402
13868
|
ftype: "simple_diode";
|
|
13869
|
+
subcircuit_id?: string | undefined;
|
|
13403
13870
|
source_group_id?: string | undefined;
|
|
13404
13871
|
manufacturer_part_number?: string | undefined;
|
|
13405
13872
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13416,6 +13883,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13416
13883
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13417
13884
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13418
13885
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13886
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13419
13887
|
} & {
|
|
13420
13888
|
ftype: z.ZodLiteral<"simple_led">;
|
|
13421
13889
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -13425,6 +13893,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13425
13893
|
name: string;
|
|
13426
13894
|
source_component_id: string;
|
|
13427
13895
|
ftype: "simple_led";
|
|
13896
|
+
subcircuit_id?: string | undefined;
|
|
13428
13897
|
color?: string | undefined;
|
|
13429
13898
|
source_group_id?: string | undefined;
|
|
13430
13899
|
manufacturer_part_number?: string | undefined;
|
|
@@ -13438,6 +13907,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13438
13907
|
name: string;
|
|
13439
13908
|
source_component_id: string;
|
|
13440
13909
|
ftype: "simple_led";
|
|
13910
|
+
subcircuit_id?: string | undefined;
|
|
13441
13911
|
color?: string | undefined;
|
|
13442
13912
|
source_group_id?: string | undefined;
|
|
13443
13913
|
manufacturer_part_number?: string | undefined;
|
|
@@ -13456,6 +13926,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13456
13926
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13457
13927
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13458
13928
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13929
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13459
13930
|
} & {
|
|
13460
13931
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
13461
13932
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13466,6 +13937,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13466
13937
|
source_component_id: string;
|
|
13467
13938
|
ftype: "simple_resistor";
|
|
13468
13939
|
resistance: number;
|
|
13940
|
+
subcircuit_id?: string | undefined;
|
|
13469
13941
|
source_group_id?: string | undefined;
|
|
13470
13942
|
manufacturer_part_number?: string | undefined;
|
|
13471
13943
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13479,6 +13951,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13479
13951
|
source_component_id: string;
|
|
13480
13952
|
ftype: "simple_resistor";
|
|
13481
13953
|
resistance: string | number;
|
|
13954
|
+
subcircuit_id?: string | undefined;
|
|
13482
13955
|
source_group_id?: string | undefined;
|
|
13483
13956
|
manufacturer_part_number?: string | undefined;
|
|
13484
13957
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13496,6 +13969,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13496
13969
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13497
13970
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13498
13971
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13972
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13499
13973
|
} & {
|
|
13500
13974
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
13501
13975
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13505,6 +13979,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13505
13979
|
source_component_id: string;
|
|
13506
13980
|
voltage: number;
|
|
13507
13981
|
ftype: "simple_power_source";
|
|
13982
|
+
subcircuit_id?: string | undefined;
|
|
13508
13983
|
source_group_id?: string | undefined;
|
|
13509
13984
|
manufacturer_part_number?: string | undefined;
|
|
13510
13985
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13517,6 +13992,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13517
13992
|
source_component_id: string;
|
|
13518
13993
|
voltage: string | number;
|
|
13519
13994
|
ftype: "simple_power_source";
|
|
13995
|
+
subcircuit_id?: string | undefined;
|
|
13520
13996
|
source_group_id?: string | undefined;
|
|
13521
13997
|
manufacturer_part_number?: string | undefined;
|
|
13522
13998
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13533,6 +14009,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13533
14009
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13534
14010
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13535
14011
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14012
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13536
14013
|
} & {
|
|
13537
14014
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
13538
14015
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
@@ -13542,6 +14019,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13542
14019
|
source_component_id: string;
|
|
13543
14020
|
ftype: "simple_battery";
|
|
13544
14021
|
capacity: number;
|
|
14022
|
+
subcircuit_id?: string | undefined;
|
|
13545
14023
|
source_group_id?: string | undefined;
|
|
13546
14024
|
manufacturer_part_number?: string | undefined;
|
|
13547
14025
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13554,6 +14032,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13554
14032
|
source_component_id: string;
|
|
13555
14033
|
ftype: "simple_battery";
|
|
13556
14034
|
capacity: string | number;
|
|
14035
|
+
subcircuit_id?: string | undefined;
|
|
13557
14036
|
source_group_id?: string | undefined;
|
|
13558
14037
|
manufacturer_part_number?: string | undefined;
|
|
13559
14038
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13570,33 +14049,39 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13570
14049
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13571
14050
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13572
14051
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14052
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13573
14053
|
} & {
|
|
13574
14054
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
13575
14055
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14056
|
+
max_current_rating: z.ZodOptional<z.ZodNumber>;
|
|
13576
14057
|
}, "strip", z.ZodTypeAny, {
|
|
13577
14058
|
type: "source_component";
|
|
13578
14059
|
name: string;
|
|
13579
14060
|
source_component_id: string;
|
|
13580
14061
|
ftype: "simple_inductor";
|
|
13581
14062
|
inductance: number;
|
|
14063
|
+
subcircuit_id?: string | undefined;
|
|
13582
14064
|
source_group_id?: string | undefined;
|
|
13583
14065
|
manufacturer_part_number?: string | undefined;
|
|
13584
14066
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13585
14067
|
display_value?: string | undefined;
|
|
13586
14068
|
are_pins_interchangeable?: boolean | undefined;
|
|
13587
14069
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
14070
|
+
max_current_rating?: number | undefined;
|
|
13588
14071
|
}, {
|
|
13589
14072
|
type: "source_component";
|
|
13590
14073
|
name: string;
|
|
13591
14074
|
source_component_id: string;
|
|
13592
14075
|
ftype: "simple_inductor";
|
|
13593
14076
|
inductance: string | number;
|
|
14077
|
+
subcircuit_id?: string | undefined;
|
|
13594
14078
|
source_group_id?: string | undefined;
|
|
13595
14079
|
manufacturer_part_number?: string | undefined;
|
|
13596
14080
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13597
14081
|
display_value?: string | undefined;
|
|
13598
14082
|
are_pins_interchangeable?: boolean | undefined;
|
|
13599
14083
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
14084
|
+
max_current_rating?: number | undefined;
|
|
13600
14085
|
}>, z.ZodObject<{
|
|
13601
14086
|
type: z.ZodLiteral<"source_component">;
|
|
13602
14087
|
source_component_id: z.ZodString;
|
|
@@ -13607,6 +14092,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13607
14092
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13608
14093
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13609
14094
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14095
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13610
14096
|
} & {
|
|
13611
14097
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
13612
14098
|
pin_count: z.ZodNumber;
|
|
@@ -13618,6 +14104,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13618
14104
|
ftype: "simple_pin_header";
|
|
13619
14105
|
pin_count: number;
|
|
13620
14106
|
gender: "male" | "female";
|
|
14107
|
+
subcircuit_id?: string | undefined;
|
|
13621
14108
|
source_group_id?: string | undefined;
|
|
13622
14109
|
manufacturer_part_number?: string | undefined;
|
|
13623
14110
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13630,6 +14117,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13630
14117
|
source_component_id: string;
|
|
13631
14118
|
ftype: "simple_pin_header";
|
|
13632
14119
|
pin_count: number;
|
|
14120
|
+
subcircuit_id?: string | undefined;
|
|
13633
14121
|
source_group_id?: string | undefined;
|
|
13634
14122
|
manufacturer_part_number?: string | undefined;
|
|
13635
14123
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13647,6 +14135,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13647
14135
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13648
14136
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13649
14137
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14138
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13650
14139
|
} & {
|
|
13651
14140
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
13652
14141
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -13659,6 +14148,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13659
14148
|
ftype: "simple_resonator";
|
|
13660
14149
|
frequency: number;
|
|
13661
14150
|
load_capacitance: number;
|
|
14151
|
+
subcircuit_id?: string | undefined;
|
|
13662
14152
|
source_group_id?: string | undefined;
|
|
13663
14153
|
manufacturer_part_number?: string | undefined;
|
|
13664
14154
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13673,6 +14163,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13673
14163
|
ftype: "simple_resonator";
|
|
13674
14164
|
frequency: string | number;
|
|
13675
14165
|
load_capacitance: string | number;
|
|
14166
|
+
subcircuit_id?: string | undefined;
|
|
13676
14167
|
source_group_id?: string | undefined;
|
|
13677
14168
|
manufacturer_part_number?: string | undefined;
|
|
13678
14169
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13690,6 +14181,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13690
14181
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13691
14182
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13692
14183
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14184
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13693
14185
|
} & {
|
|
13694
14186
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
13695
14187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13697,6 +14189,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13697
14189
|
name: string;
|
|
13698
14190
|
source_component_id: string;
|
|
13699
14191
|
ftype: "simple_switch";
|
|
14192
|
+
subcircuit_id?: string | undefined;
|
|
13700
14193
|
source_group_id?: string | undefined;
|
|
13701
14194
|
manufacturer_part_number?: string | undefined;
|
|
13702
14195
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13708,6 +14201,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13708
14201
|
name: string;
|
|
13709
14202
|
source_component_id: string;
|
|
13710
14203
|
ftype: "simple_switch";
|
|
14204
|
+
subcircuit_id?: string | undefined;
|
|
13711
14205
|
source_group_id?: string | undefined;
|
|
13712
14206
|
manufacturer_part_number?: string | undefined;
|
|
13713
14207
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13724,6 +14218,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13724
14218
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13725
14219
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13726
14220
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14221
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13727
14222
|
} & {
|
|
13728
14223
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
13729
14224
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
@@ -13733,6 +14228,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13733
14228
|
source_component_id: string;
|
|
13734
14229
|
ftype: "simple_transistor";
|
|
13735
14230
|
transistor_type: "npn" | "pnp";
|
|
14231
|
+
subcircuit_id?: string | undefined;
|
|
13736
14232
|
source_group_id?: string | undefined;
|
|
13737
14233
|
manufacturer_part_number?: string | undefined;
|
|
13738
14234
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13745,6 +14241,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13745
14241
|
source_component_id: string;
|
|
13746
14242
|
ftype: "simple_transistor";
|
|
13747
14243
|
transistor_type: "npn" | "pnp";
|
|
14244
|
+
subcircuit_id?: string | undefined;
|
|
13748
14245
|
source_group_id?: string | undefined;
|
|
13749
14246
|
manufacturer_part_number?: string | undefined;
|
|
13750
14247
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13761,6 +14258,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13761
14258
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13762
14259
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13763
14260
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14261
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13764
14262
|
} & {
|
|
13765
14263
|
ftype: z.ZodLiteral<"simple_test_point">;
|
|
13766
14264
|
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
@@ -13776,6 +14274,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13776
14274
|
ftype: "simple_test_point";
|
|
13777
14275
|
width?: string | number | undefined;
|
|
13778
14276
|
height?: string | number | undefined;
|
|
14277
|
+
subcircuit_id?: string | undefined;
|
|
13779
14278
|
hole_diameter?: string | number | undefined;
|
|
13780
14279
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13781
14280
|
source_group_id?: string | undefined;
|
|
@@ -13793,6 +14292,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13793
14292
|
ftype: "simple_test_point";
|
|
13794
14293
|
width?: string | number | undefined;
|
|
13795
14294
|
height?: string | number | undefined;
|
|
14295
|
+
subcircuit_id?: string | undefined;
|
|
13796
14296
|
hole_diameter?: string | number | undefined;
|
|
13797
14297
|
pad_shape?: "circle" | "rect" | undefined;
|
|
13798
14298
|
source_group_id?: string | undefined;
|
|
@@ -13813,6 +14313,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13813
14313
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13814
14314
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13815
14315
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14316
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13816
14317
|
} & {
|
|
13817
14318
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13818
14319
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -13824,6 +14325,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13824
14325
|
ftype: "simple_mosfet";
|
|
13825
14326
|
channel_type: "n" | "p";
|
|
13826
14327
|
mosfet_mode: "enhancement" | "depletion";
|
|
14328
|
+
subcircuit_id?: string | undefined;
|
|
13827
14329
|
source_group_id?: string | undefined;
|
|
13828
14330
|
manufacturer_part_number?: string | undefined;
|
|
13829
14331
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13837,6 +14339,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13837
14339
|
ftype: "simple_mosfet";
|
|
13838
14340
|
channel_type: "n" | "p";
|
|
13839
14341
|
mosfet_mode: "enhancement" | "depletion";
|
|
14342
|
+
subcircuit_id?: string | undefined;
|
|
13840
14343
|
source_group_id?: string | undefined;
|
|
13841
14344
|
manufacturer_part_number?: string | undefined;
|
|
13842
14345
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13853,6 +14356,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13853
14356
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13854
14357
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13855
14358
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14359
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13856
14360
|
} & {
|
|
13857
14361
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
13858
14362
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13862,6 +14366,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13862
14366
|
source_component_id: string;
|
|
13863
14367
|
ftype: "simple_potentiometer";
|
|
13864
14368
|
max_resistance: number;
|
|
14369
|
+
subcircuit_id?: string | undefined;
|
|
13865
14370
|
source_group_id?: string | undefined;
|
|
13866
14371
|
manufacturer_part_number?: string | undefined;
|
|
13867
14372
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13874,6 +14379,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13874
14379
|
source_component_id: string;
|
|
13875
14380
|
ftype: "simple_potentiometer";
|
|
13876
14381
|
max_resistance: string | number;
|
|
14382
|
+
subcircuit_id?: string | undefined;
|
|
13877
14383
|
source_group_id?: string | undefined;
|
|
13878
14384
|
manufacturer_part_number?: string | undefined;
|
|
13879
14385
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13890,6 +14396,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13890
14396
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13891
14397
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13892
14398
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14399
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13893
14400
|
} & {
|
|
13894
14401
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
13895
14402
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13897,6 +14404,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13897
14404
|
name: string;
|
|
13898
14405
|
source_component_id: string;
|
|
13899
14406
|
ftype: "simple_push_button";
|
|
14407
|
+
subcircuit_id?: string | undefined;
|
|
13900
14408
|
source_group_id?: string | undefined;
|
|
13901
14409
|
manufacturer_part_number?: string | undefined;
|
|
13902
14410
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -13908,6 +14416,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13908
14416
|
name: string;
|
|
13909
14417
|
source_component_id: string;
|
|
13910
14418
|
ftype: "simple_push_button";
|
|
14419
|
+
subcircuit_id?: string | undefined;
|
|
13911
14420
|
source_group_id?: string | undefined;
|
|
13912
14421
|
manufacturer_part_number?: string | undefined;
|
|
13913
14422
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
@@ -15410,6 +15919,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15410
15919
|
} | undefined;
|
|
15411
15920
|
trace_width?: string | number | undefined;
|
|
15412
15921
|
}>, "many">;
|
|
15922
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15413
15923
|
}, "strip", z.ZodTypeAny, {
|
|
15414
15924
|
type: "pcb_trace_hint";
|
|
15415
15925
|
pcb_component_id: string;
|
|
@@ -15422,6 +15932,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15422
15932
|
trace_width?: number | undefined;
|
|
15423
15933
|
}[];
|
|
15424
15934
|
pcb_trace_hint_id: string;
|
|
15935
|
+
subcircuit_id?: string | undefined;
|
|
15425
15936
|
}, {
|
|
15426
15937
|
type: "pcb_trace_hint";
|
|
15427
15938
|
pcb_component_id: string;
|
|
@@ -15435,6 +15946,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15435
15946
|
} | undefined;
|
|
15436
15947
|
trace_width?: string | number | undefined;
|
|
15437
15948
|
}[];
|
|
15949
|
+
subcircuit_id?: string | undefined;
|
|
15438
15950
|
pcb_trace_hint_id?: string | undefined;
|
|
15439
15951
|
}>, z.ZodObject<{
|
|
15440
15952
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
@@ -15757,6 +16269,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15757
16269
|
source_trace_id: z.ZodString;
|
|
15758
16270
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
15759
16271
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
16272
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15760
16273
|
}, "strip", z.ZodTypeAny, {
|
|
15761
16274
|
message: string;
|
|
15762
16275
|
type: "pcb_trace_error";
|
|
@@ -15770,6 +16283,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15770
16283
|
x: number;
|
|
15771
16284
|
y: number;
|
|
15772
16285
|
} | undefined;
|
|
16286
|
+
subcircuit_id?: string | undefined;
|
|
15773
16287
|
}, {
|
|
15774
16288
|
message: string;
|
|
15775
16289
|
type: "pcb_trace_error";
|
|
@@ -15781,6 +16295,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15781
16295
|
x: string | number;
|
|
15782
16296
|
y: string | number;
|
|
15783
16297
|
} | undefined;
|
|
16298
|
+
subcircuit_id?: string | undefined;
|
|
15784
16299
|
pcb_trace_error_id?: string | undefined;
|
|
15785
16300
|
error_type?: "pcb_trace_error" | undefined;
|
|
15786
16301
|
}>, z.ZodObject<{
|
|
@@ -15788,14 +16303,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15788
16303
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15789
16304
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
15790
16305
|
message: z.ZodString;
|
|
16306
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15791
16307
|
}, "strip", z.ZodTypeAny, {
|
|
15792
16308
|
message: string;
|
|
15793
16309
|
type: "pcb_placement_error";
|
|
15794
16310
|
error_type: "pcb_placement_error";
|
|
15795
16311
|
pcb_placement_error_id: string;
|
|
16312
|
+
subcircuit_id?: string | undefined;
|
|
15796
16313
|
}, {
|
|
15797
16314
|
message: string;
|
|
15798
16315
|
type: "pcb_placement_error";
|
|
16316
|
+
subcircuit_id?: string | undefined;
|
|
15799
16317
|
error_type?: "pcb_placement_error" | undefined;
|
|
15800
16318
|
pcb_placement_error_id?: string | undefined;
|
|
15801
16319
|
}>, z.ZodObject<{
|
|
@@ -15804,16 +16322,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15804
16322
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
15805
16323
|
message: z.ZodString;
|
|
15806
16324
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
16325
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15807
16326
|
}, "strip", z.ZodTypeAny, {
|
|
15808
16327
|
message: string;
|
|
15809
16328
|
type: "pcb_port_not_matched_error";
|
|
15810
16329
|
error_type: "pcb_port_not_matched_error";
|
|
15811
16330
|
pcb_component_ids: string[];
|
|
15812
16331
|
pcb_error_id: string;
|
|
16332
|
+
subcircuit_id?: string | undefined;
|
|
15813
16333
|
}, {
|
|
15814
16334
|
message: string;
|
|
15815
16335
|
type: "pcb_port_not_matched_error";
|
|
15816
16336
|
pcb_component_ids: string[];
|
|
16337
|
+
subcircuit_id?: string | undefined;
|
|
15817
16338
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
15818
16339
|
pcb_error_id?: string | undefined;
|
|
15819
16340
|
}>, z.ZodObject<{
|
|
@@ -15927,14 +16448,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15927
16448
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15928
16449
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
15929
16450
|
message: z.ZodString;
|
|
16451
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15930
16452
|
}, "strip", z.ZodTypeAny, {
|
|
15931
16453
|
message: string;
|
|
15932
16454
|
type: "pcb_autorouting_error";
|
|
15933
16455
|
error_type: "pcb_autorouting_error";
|
|
15934
16456
|
pcb_error_id: string;
|
|
16457
|
+
subcircuit_id?: string | undefined;
|
|
15935
16458
|
}, {
|
|
15936
16459
|
message: string;
|
|
15937
16460
|
type: "pcb_autorouting_error";
|
|
16461
|
+
subcircuit_id?: string | undefined;
|
|
15938
16462
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
15939
16463
|
pcb_error_id?: string | undefined;
|
|
15940
16464
|
}>, z.ZodObject<{
|
|
@@ -16170,6 +16694,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16170
16694
|
spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16171
16695
|
spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16172
16696
|
pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
|
|
16697
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16173
16698
|
}, "strip", z.ZodTypeAny, {
|
|
16174
16699
|
type: "pcb_thermal_spoke";
|
|
16175
16700
|
shape: string;
|
|
@@ -16179,6 +16704,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16179
16704
|
spoke_thickness: number;
|
|
16180
16705
|
spoke_inner_diameter: number;
|
|
16181
16706
|
spoke_outer_diameter: number;
|
|
16707
|
+
subcircuit_id?: string | undefined;
|
|
16182
16708
|
pcb_plated_hole_id?: string | undefined;
|
|
16183
16709
|
}, {
|
|
16184
16710
|
type: "pcb_thermal_spoke";
|
|
@@ -16188,6 +16714,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16188
16714
|
spoke_thickness: string | number;
|
|
16189
16715
|
spoke_inner_diameter: string | number;
|
|
16190
16716
|
spoke_outer_diameter: string | number;
|
|
16717
|
+
subcircuit_id?: string | undefined;
|
|
16191
16718
|
pcb_plated_hole_id?: string | undefined;
|
|
16192
16719
|
pcb_thermal_spoke_id?: string | undefined;
|
|
16193
16720
|
}>, z.ZodObject<{
|
|
@@ -16198,6 +16725,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16198
16725
|
is_dashed: z.ZodDefault<z.ZodBoolean>;
|
|
16199
16726
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16200
16727
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16728
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16201
16729
|
}, "strip", z.ZodTypeAny, {
|
|
16202
16730
|
x: number;
|
|
16203
16731
|
y: number;
|
|
@@ -16205,6 +16733,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16205
16733
|
width: number;
|
|
16206
16734
|
height: number;
|
|
16207
16735
|
is_dashed: boolean;
|
|
16736
|
+
subcircuit_id?: string | undefined;
|
|
16208
16737
|
schematic_component_id?: string | undefined;
|
|
16209
16738
|
}, {
|
|
16210
16739
|
x: string | number;
|
|
@@ -16212,6 +16741,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16212
16741
|
type: "schematic_box";
|
|
16213
16742
|
width: string | number;
|
|
16214
16743
|
height: string | number;
|
|
16744
|
+
subcircuit_id?: string | undefined;
|
|
16215
16745
|
schematic_component_id?: string | undefined;
|
|
16216
16746
|
is_dashed?: boolean | undefined;
|
|
16217
16747
|
}>, z.ZodObject<{
|
|
@@ -16233,6 +16763,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16233
16763
|
rotation: z.ZodDefault<z.ZodNumber>;
|
|
16234
16764
|
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"]>]>>;
|
|
16235
16765
|
color: z.ZodDefault<z.ZodString>;
|
|
16766
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16236
16767
|
}, "strip", z.ZodTypeAny, {
|
|
16237
16768
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
16238
16769
|
type: "schematic_text";
|
|
@@ -16245,6 +16776,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16245
16776
|
x: number;
|
|
16246
16777
|
y: number;
|
|
16247
16778
|
};
|
|
16779
|
+
subcircuit_id?: string | undefined;
|
|
16248
16780
|
schematic_component_id?: string | undefined;
|
|
16249
16781
|
}, {
|
|
16250
16782
|
type: "schematic_text";
|
|
@@ -16256,6 +16788,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16256
16788
|
};
|
|
16257
16789
|
anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
16258
16790
|
rotation?: number | undefined;
|
|
16791
|
+
subcircuit_id?: string | undefined;
|
|
16259
16792
|
font_size?: number | undefined;
|
|
16260
16793
|
color?: string | undefined;
|
|
16261
16794
|
schematic_component_id?: string | undefined;
|
|
@@ -16266,6 +16799,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16266
16799
|
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16267
16800
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16268
16801
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16802
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16269
16803
|
}, "strip", z.ZodTypeAny, {
|
|
16270
16804
|
type: "schematic_line";
|
|
16271
16805
|
x1: number;
|
|
@@ -16273,6 +16807,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16273
16807
|
x2: number;
|
|
16274
16808
|
y2: number;
|
|
16275
16809
|
schematic_component_id: string;
|
|
16810
|
+
subcircuit_id?: string | undefined;
|
|
16276
16811
|
}, {
|
|
16277
16812
|
type: "schematic_line";
|
|
16278
16813
|
x1: string | number;
|
|
@@ -16280,6 +16815,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16280
16815
|
x2: string | number;
|
|
16281
16816
|
y2: string | number;
|
|
16282
16817
|
schematic_component_id: string;
|
|
16818
|
+
subcircuit_id?: string | undefined;
|
|
16283
16819
|
}>, z.ZodObject<{
|
|
16284
16820
|
type: z.ZodLiteral<"schematic_component">;
|
|
16285
16821
|
size: z.ZodObject<{
|
|
@@ -16535,6 +17071,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16535
17071
|
true_ccw_index: z.ZodOptional<z.ZodNumber>;
|
|
16536
17072
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
16537
17073
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
17074
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16538
17075
|
}, "strip", z.ZodTypeAny, {
|
|
16539
17076
|
type: "schematic_port";
|
|
16540
17077
|
center: {
|
|
@@ -16543,6 +17080,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16543
17080
|
};
|
|
16544
17081
|
source_port_id: string;
|
|
16545
17082
|
schematic_port_id: string;
|
|
17083
|
+
subcircuit_id?: string | undefined;
|
|
16546
17084
|
schematic_component_id?: string | undefined;
|
|
16547
17085
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
16548
17086
|
distance_from_component_edge?: number | undefined;
|
|
@@ -16558,6 +17096,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16558
17096
|
};
|
|
16559
17097
|
source_port_id: string;
|
|
16560
17098
|
schematic_port_id: string;
|
|
17099
|
+
subcircuit_id?: string | undefined;
|
|
16561
17100
|
schematic_component_id?: string | undefined;
|
|
16562
17101
|
facing_direction?: "left" | "right" | "up" | "down" | undefined;
|
|
16563
17102
|
distance_from_component_edge?: number | undefined;
|
|
@@ -16628,6 +17167,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16628
17167
|
from_schematic_port_id?: string | undefined;
|
|
16629
17168
|
to_schematic_port_id?: string | undefined;
|
|
16630
17169
|
}>, "many">;
|
|
17170
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16631
17171
|
}, "strip", z.ZodTypeAny, {
|
|
16632
17172
|
type: "schematic_trace";
|
|
16633
17173
|
source_trace_id: string;
|
|
@@ -16649,6 +17189,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16649
17189
|
from_schematic_port_id?: string | undefined;
|
|
16650
17190
|
to_schematic_port_id?: string | undefined;
|
|
16651
17191
|
}[];
|
|
17192
|
+
subcircuit_id?: string | undefined;
|
|
16652
17193
|
}, {
|
|
16653
17194
|
type: "schematic_trace";
|
|
16654
17195
|
source_trace_id: string;
|
|
@@ -16670,6 +17211,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16670
17211
|
from_schematic_port_id?: string | undefined;
|
|
16671
17212
|
to_schematic_port_id?: string | undefined;
|
|
16672
17213
|
}[];
|
|
17214
|
+
subcircuit_id?: string | undefined;
|
|
16673
17215
|
}>, z.ZodObject<{
|
|
16674
17216
|
type: z.ZodLiteral<"schematic_path">;
|
|
16675
17217
|
schematic_component_id: z.ZodString;
|
|
@@ -16685,6 +17227,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16685
17227
|
x: string | number;
|
|
16686
17228
|
y: string | number;
|
|
16687
17229
|
}>, "many">;
|
|
17230
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16688
17231
|
}, "strip", z.ZodTypeAny, {
|
|
16689
17232
|
type: "schematic_path";
|
|
16690
17233
|
points: {
|
|
@@ -16692,6 +17235,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16692
17235
|
y: number;
|
|
16693
17236
|
}[];
|
|
16694
17237
|
schematic_component_id: string;
|
|
17238
|
+
subcircuit_id?: string | undefined;
|
|
16695
17239
|
is_filled?: boolean | undefined;
|
|
16696
17240
|
fill_color?: "red" | "blue" | undefined;
|
|
16697
17241
|
}, {
|
|
@@ -16701,6 +17245,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16701
17245
|
y: string | number;
|
|
16702
17246
|
}[];
|
|
16703
17247
|
schematic_component_id: string;
|
|
17248
|
+
subcircuit_id?: string | undefined;
|
|
16704
17249
|
is_filled?: boolean | undefined;
|
|
16705
17250
|
fill_color?: "red" | "blue" | undefined;
|
|
16706
17251
|
}>, z.ZodObject<{
|
|
@@ -16708,15 +17253,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16708
17253
|
schematic_error_id: z.ZodString;
|
|
16709
17254
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
16710
17255
|
message: z.ZodString;
|
|
17256
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16711
17257
|
}, "strip", z.ZodTypeAny, {
|
|
16712
17258
|
message: string;
|
|
16713
17259
|
type: "schematic_error";
|
|
16714
17260
|
error_type: "schematic_port_not_found";
|
|
16715
17261
|
schematic_error_id: string;
|
|
17262
|
+
subcircuit_id?: string | undefined;
|
|
16716
17263
|
}, {
|
|
16717
17264
|
message: string;
|
|
16718
17265
|
type: "schematic_error";
|
|
16719
17266
|
schematic_error_id: string;
|
|
17267
|
+
subcircuit_id?: string | undefined;
|
|
16720
17268
|
error_type?: "schematic_port_not_found" | undefined;
|
|
16721
17269
|
}>, z.ZodObject<{
|
|
16722
17270
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
@@ -16725,6 +17273,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16725
17273
|
message: z.ZodString;
|
|
16726
17274
|
source_group_id: z.ZodString;
|
|
16727
17275
|
schematic_group_id: z.ZodString;
|
|
17276
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16728
17277
|
}, "strip", z.ZodTypeAny, {
|
|
16729
17278
|
message: string;
|
|
16730
17279
|
type: "schematic_layout_error";
|
|
@@ -16732,11 +17281,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16732
17281
|
source_group_id: string;
|
|
16733
17282
|
schematic_group_id: string;
|
|
16734
17283
|
schematic_layout_error_id: string;
|
|
17284
|
+
subcircuit_id?: string | undefined;
|
|
16735
17285
|
}, {
|
|
16736
17286
|
message: string;
|
|
16737
17287
|
type: "schematic_layout_error";
|
|
16738
17288
|
source_group_id: string;
|
|
16739
17289
|
schematic_group_id: string;
|
|
17290
|
+
subcircuit_id?: string | undefined;
|
|
16740
17291
|
error_type?: "schematic_layout_error" | undefined;
|
|
16741
17292
|
schematic_layout_error_id?: string | undefined;
|
|
16742
17293
|
}>, z.ZodObject<{
|
|
@@ -16768,6 +17319,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16768
17319
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
16769
17320
|
text: z.ZodString;
|
|
16770
17321
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
17322
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16771
17323
|
}, "strip", z.ZodTypeAny, {
|
|
16772
17324
|
type: "schematic_net_label";
|
|
16773
17325
|
center: {
|
|
@@ -16778,6 +17330,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16778
17330
|
source_net_id: string;
|
|
16779
17331
|
schematic_net_label_id: string;
|
|
16780
17332
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
17333
|
+
subcircuit_id?: string | undefined;
|
|
16781
17334
|
source_trace_id?: string | undefined;
|
|
16782
17335
|
anchor_position?: {
|
|
16783
17336
|
x: number;
|
|
@@ -16794,6 +17347,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16794
17347
|
text: string;
|
|
16795
17348
|
source_net_id: string;
|
|
16796
17349
|
anchor_side: "top" | "bottom" | "left" | "right";
|
|
17350
|
+
subcircuit_id?: string | undefined;
|
|
16797
17351
|
source_trace_id?: string | undefined;
|
|
16798
17352
|
anchor_position?: {
|
|
16799
17353
|
x: string | number;
|
|
@@ -16805,6 +17359,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16805
17359
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
16806
17360
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16807
17361
|
label: z.ZodOptional<z.ZodString>;
|
|
17362
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16808
17363
|
} & {
|
|
16809
17364
|
shape: z.ZodLiteral<"rect">;
|
|
16810
17365
|
center: z.ZodObject<{
|
|
@@ -16838,6 +17393,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16838
17393
|
width: number;
|
|
16839
17394
|
height: number;
|
|
16840
17395
|
};
|
|
17396
|
+
subcircuit_id?: string | undefined;
|
|
16841
17397
|
label?: string | undefined;
|
|
16842
17398
|
}, {
|
|
16843
17399
|
type: "schematic_debug_object";
|
|
@@ -16850,10 +17406,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16850
17406
|
width: number;
|
|
16851
17407
|
height: number;
|
|
16852
17408
|
};
|
|
17409
|
+
subcircuit_id?: string | undefined;
|
|
16853
17410
|
label?: string | undefined;
|
|
16854
17411
|
}>, z.ZodObject<{
|
|
16855
17412
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16856
17413
|
label: z.ZodOptional<z.ZodString>;
|
|
17414
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16857
17415
|
} & {
|
|
16858
17416
|
shape: z.ZodLiteral<"line">;
|
|
16859
17417
|
start: z.ZodObject<{
|
|
@@ -16887,6 +17445,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16887
17445
|
x: number;
|
|
16888
17446
|
y: number;
|
|
16889
17447
|
};
|
|
17448
|
+
subcircuit_id?: string | undefined;
|
|
16890
17449
|
label?: string | undefined;
|
|
16891
17450
|
}, {
|
|
16892
17451
|
type: "schematic_debug_object";
|
|
@@ -16899,10 +17458,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16899
17458
|
x: string | number;
|
|
16900
17459
|
y: string | number;
|
|
16901
17460
|
};
|
|
17461
|
+
subcircuit_id?: string | undefined;
|
|
16902
17462
|
label?: string | undefined;
|
|
16903
17463
|
}>, z.ZodObject<{
|
|
16904
17464
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16905
17465
|
label: z.ZodOptional<z.ZodString>;
|
|
17466
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16906
17467
|
} & {
|
|
16907
17468
|
shape: z.ZodLiteral<"point">;
|
|
16908
17469
|
center: z.ZodObject<{
|
|
@@ -16922,6 +17483,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16922
17483
|
y: number;
|
|
16923
17484
|
};
|
|
16924
17485
|
shape: "point";
|
|
17486
|
+
subcircuit_id?: string | undefined;
|
|
16925
17487
|
label?: string | undefined;
|
|
16926
17488
|
}, {
|
|
16927
17489
|
type: "schematic_debug_object";
|
|
@@ -16930,6 +17492,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16930
17492
|
y: string | number;
|
|
16931
17493
|
};
|
|
16932
17494
|
shape: "point";
|
|
17495
|
+
subcircuit_id?: string | undefined;
|
|
16933
17496
|
label?: string | undefined;
|
|
16934
17497
|
}>]>, z.ZodObject<{
|
|
16935
17498
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -16946,6 +17509,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16946
17509
|
}>;
|
|
16947
17510
|
schematic_trace_id: z.ZodString;
|
|
16948
17511
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
17512
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16949
17513
|
}, "strip", z.ZodTypeAny, {
|
|
16950
17514
|
type: "schematic_voltage_probe";
|
|
16951
17515
|
schematic_trace_id: string;
|
|
@@ -16954,6 +17518,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16954
17518
|
y: number;
|
|
16955
17519
|
};
|
|
16956
17520
|
schematic_voltage_probe_id: string;
|
|
17521
|
+
subcircuit_id?: string | undefined;
|
|
16957
17522
|
voltage?: number | undefined;
|
|
16958
17523
|
}, {
|
|
16959
17524
|
type: "schematic_voltage_probe";
|
|
@@ -16963,6 +17528,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16963
17528
|
y: string | number;
|
|
16964
17529
|
};
|
|
16965
17530
|
schematic_voltage_probe_id: string;
|
|
17531
|
+
subcircuit_id?: string | undefined;
|
|
16966
17532
|
voltage?: string | number | undefined;
|
|
16967
17533
|
}>, z.ZodObject<{
|
|
16968
17534
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
@@ -17095,6 +17661,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17095
17661
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
17096
17662
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17097
17663
|
}>>;
|
|
17664
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
17098
17665
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
17099
17666
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
17100
17667
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
@@ -17116,6 +17683,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17116
17683
|
y: number;
|
|
17117
17684
|
z: number;
|
|
17118
17685
|
} | undefined;
|
|
17686
|
+
subcircuit_id?: string | undefined;
|
|
17119
17687
|
size?: {
|
|
17120
17688
|
x: number;
|
|
17121
17689
|
y: number;
|
|
@@ -17144,6 +17712,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17144
17712
|
y: string | number;
|
|
17145
17713
|
z: string | number;
|
|
17146
17714
|
} | undefined;
|
|
17715
|
+
subcircuit_id?: string | undefined;
|
|
17147
17716
|
size?: {
|
|
17148
17717
|
x: string | number;
|
|
17149
17718
|
y: string | number;
|