circuit-json 0.0.211 → 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/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,6 +5832,7 @@ 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>;
@@ -5726,6 +5843,7 @@ declare const source_simple_inductor: z.ZodObject<{
5726
5843
  source_component_id: string;
5727
5844
  ftype: "simple_inductor";
5728
5845
  inductance: number;
5846
+ subcircuit_id?: string | undefined;
5729
5847
  source_group_id?: string | undefined;
5730
5848
  manufacturer_part_number?: string | undefined;
5731
5849
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5739,6 +5857,7 @@ declare const source_simple_inductor: z.ZodObject<{
5739
5857
  source_component_id: string;
5740
5858
  ftype: "simple_inductor";
5741
5859
  inductance: string | number;
5860
+ subcircuit_id?: string | undefined;
5742
5861
  source_group_id?: string | undefined;
5743
5862
  manufacturer_part_number?: string | undefined;
5744
5863
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5767,6 +5886,7 @@ declare const source_simple_push_button: z.ZodObject<{
5767
5886
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5768
5887
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5769
5888
  source_group_id: z.ZodOptional<z.ZodString>;
5889
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5770
5890
  } & {
5771
5891
  ftype: z.ZodLiteral<"simple_push_button">;
5772
5892
  }, "strip", z.ZodTypeAny, {
@@ -5774,6 +5894,7 @@ declare const source_simple_push_button: z.ZodObject<{
5774
5894
  name: string;
5775
5895
  source_component_id: string;
5776
5896
  ftype: "simple_push_button";
5897
+ subcircuit_id?: string | undefined;
5777
5898
  source_group_id?: string | undefined;
5778
5899
  manufacturer_part_number?: string | undefined;
5779
5900
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5785,6 +5906,7 @@ declare const source_simple_push_button: z.ZodObject<{
5785
5906
  name: string;
5786
5907
  source_component_id: string;
5787
5908
  ftype: "simple_push_button";
5909
+ subcircuit_id?: string | undefined;
5788
5910
  source_group_id?: string | undefined;
5789
5911
  manufacturer_part_number?: string | undefined;
5790
5912
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5810,6 +5932,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
5810
5932
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5811
5933
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5812
5934
  source_group_id: z.ZodOptional<z.ZodString>;
5935
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5813
5936
  } & {
5814
5937
  ftype: z.ZodLiteral<"simple_potentiometer">;
5815
5938
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -5819,6 +5942,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
5819
5942
  source_component_id: string;
5820
5943
  ftype: "simple_potentiometer";
5821
5944
  max_resistance: number;
5945
+ subcircuit_id?: string | undefined;
5822
5946
  source_group_id?: string | undefined;
5823
5947
  manufacturer_part_number?: string | undefined;
5824
5948
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5831,6 +5955,7 @@ declare const source_simple_potentiometer: z.ZodObject<{
5831
5955
  source_component_id: string;
5832
5956
  ftype: "simple_potentiometer";
5833
5957
  max_resistance: string | number;
5958
+ subcircuit_id?: string | undefined;
5834
5959
  source_group_id?: string | undefined;
5835
5960
  manufacturer_part_number?: string | undefined;
5836
5961
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5854,6 +5979,7 @@ declare const source_simple_crystal: z.ZodObject<{
5854
5979
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5855
5980
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5856
5981
  source_group_id: z.ZodOptional<z.ZodString>;
5982
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5857
5983
  } & {
5858
5984
  ftype: z.ZodLiteral<"simple_crystal">;
5859
5985
  frequency: z.ZodNumber;
@@ -5864,6 +5990,7 @@ declare const source_simple_crystal: z.ZodObject<{
5864
5990
  source_component_id: string;
5865
5991
  ftype: "simple_crystal";
5866
5992
  frequency: number;
5993
+ subcircuit_id?: string | undefined;
5867
5994
  source_group_id?: string | undefined;
5868
5995
  manufacturer_part_number?: string | undefined;
5869
5996
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5877,6 +6004,7 @@ declare const source_simple_crystal: z.ZodObject<{
5877
6004
  source_component_id: string;
5878
6005
  ftype: "simple_crystal";
5879
6006
  frequency: number;
6007
+ subcircuit_id?: string | undefined;
5880
6008
  source_group_id?: string | undefined;
5881
6009
  manufacturer_part_number?: string | undefined;
5882
6010
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5905,6 +6033,7 @@ declare const source_simple_pin_header: z.ZodObject<{
5905
6033
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5906
6034
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5907
6035
  source_group_id: z.ZodOptional<z.ZodString>;
6036
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5908
6037
  } & {
5909
6038
  ftype: z.ZodLiteral<"simple_pin_header">;
5910
6039
  pin_count: z.ZodNumber;
@@ -5916,6 +6045,7 @@ declare const source_simple_pin_header: z.ZodObject<{
5916
6045
  ftype: "simple_pin_header";
5917
6046
  pin_count: number;
5918
6047
  gender: "male" | "female";
6048
+ subcircuit_id?: string | undefined;
5919
6049
  source_group_id?: string | undefined;
5920
6050
  manufacturer_part_number?: string | undefined;
5921
6051
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5928,6 +6058,7 @@ declare const source_simple_pin_header: z.ZodObject<{
5928
6058
  source_component_id: string;
5929
6059
  ftype: "simple_pin_header";
5930
6060
  pin_count: number;
6061
+ subcircuit_id?: string | undefined;
5931
6062
  source_group_id?: string | undefined;
5932
6063
  manufacturer_part_number?: string | undefined;
5933
6064
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5953,6 +6084,7 @@ declare const source_simple_resonator: z.ZodObject<{
5953
6084
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5954
6085
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5955
6086
  source_group_id: z.ZodOptional<z.ZodString>;
6087
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5956
6088
  } & {
5957
6089
  ftype: z.ZodLiteral<"simple_resonator">;
5958
6090
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -5965,6 +6097,7 @@ declare const source_simple_resonator: z.ZodObject<{
5965
6097
  ftype: "simple_resonator";
5966
6098
  frequency: number;
5967
6099
  load_capacitance: number;
6100
+ subcircuit_id?: string | undefined;
5968
6101
  source_group_id?: string | undefined;
5969
6102
  manufacturer_part_number?: string | undefined;
5970
6103
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -5979,6 +6112,7 @@ declare const source_simple_resonator: z.ZodObject<{
5979
6112
  ftype: "simple_resonator";
5980
6113
  frequency: string | number;
5981
6114
  load_capacitance: string | number;
6115
+ subcircuit_id?: string | undefined;
5982
6116
  source_group_id?: string | undefined;
5983
6117
  manufacturer_part_number?: string | undefined;
5984
6118
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6008,6 +6142,7 @@ declare const source_simple_transistor: z.ZodObject<{
6008
6142
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6009
6143
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6010
6144
  source_group_id: z.ZodOptional<z.ZodString>;
6145
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6011
6146
  } & {
6012
6147
  ftype: z.ZodLiteral<"simple_transistor">;
6013
6148
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
@@ -6017,6 +6152,7 @@ declare const source_simple_transistor: z.ZodObject<{
6017
6152
  source_component_id: string;
6018
6153
  ftype: "simple_transistor";
6019
6154
  transistor_type: "npn" | "pnp";
6155
+ subcircuit_id?: string | undefined;
6020
6156
  source_group_id?: string | undefined;
6021
6157
  manufacturer_part_number?: string | undefined;
6022
6158
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6029,6 +6165,7 @@ declare const source_simple_transistor: z.ZodObject<{
6029
6165
  source_component_id: string;
6030
6166
  ftype: "simple_transistor";
6031
6167
  transistor_type: "npn" | "pnp";
6168
+ subcircuit_id?: string | undefined;
6032
6169
  source_group_id?: string | undefined;
6033
6170
  manufacturer_part_number?: string | undefined;
6034
6171
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6057,6 +6194,7 @@ declare const source_simple_test_point: z.ZodObject<{
6057
6194
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6058
6195
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6059
6196
  source_group_id: z.ZodOptional<z.ZodString>;
6197
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6060
6198
  } & {
6061
6199
  ftype: z.ZodLiteral<"simple_test_point">;
6062
6200
  footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
@@ -6072,6 +6210,7 @@ declare const source_simple_test_point: z.ZodObject<{
6072
6210
  ftype: "simple_test_point";
6073
6211
  width?: string | number | undefined;
6074
6212
  height?: string | number | undefined;
6213
+ subcircuit_id?: string | undefined;
6075
6214
  hole_diameter?: string | number | undefined;
6076
6215
  pad_shape?: "circle" | "rect" | undefined;
6077
6216
  source_group_id?: string | undefined;
@@ -6089,6 +6228,7 @@ declare const source_simple_test_point: z.ZodObject<{
6089
6228
  ftype: "simple_test_point";
6090
6229
  width?: string | number | undefined;
6091
6230
  height?: string | number | undefined;
6231
+ subcircuit_id?: string | undefined;
6092
6232
  hole_diameter?: string | number | undefined;
6093
6233
  pad_shape?: "circle" | "rect" | undefined;
6094
6234
  source_group_id?: string | undefined;
@@ -6126,6 +6266,7 @@ declare const source_simple_mosfet: z.ZodObject<{
6126
6266
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6127
6267
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6128
6268
  source_group_id: z.ZodOptional<z.ZodString>;
6269
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6129
6270
  } & {
6130
6271
  ftype: z.ZodLiteral<"simple_mosfet">;
6131
6272
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -6137,6 +6278,7 @@ declare const source_simple_mosfet: z.ZodObject<{
6137
6278
  ftype: "simple_mosfet";
6138
6279
  channel_type: "n" | "p";
6139
6280
  mosfet_mode: "enhancement" | "depletion";
6281
+ subcircuit_id?: string | undefined;
6140
6282
  source_group_id?: string | undefined;
6141
6283
  manufacturer_part_number?: string | undefined;
6142
6284
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6150,6 +6292,7 @@ declare const source_simple_mosfet: z.ZodObject<{
6150
6292
  ftype: "simple_mosfet";
6151
6293
  channel_type: "n" | "p";
6152
6294
  mosfet_mode: "enhancement" | "depletion";
6295
+ subcircuit_id?: string | undefined;
6153
6296
  source_group_id?: string | undefined;
6154
6297
  manufacturer_part_number?: string | undefined;
6155
6298
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6179,6 +6322,7 @@ declare const source_simple_switch: z.ZodObject<{
6179
6322
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6180
6323
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6181
6324
  source_group_id: z.ZodOptional<z.ZodString>;
6325
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6182
6326
  } & {
6183
6327
  ftype: z.ZodLiteral<"simple_switch">;
6184
6328
  }, "strip", z.ZodTypeAny, {
@@ -6186,6 +6330,7 @@ declare const source_simple_switch: z.ZodObject<{
6186
6330
  name: string;
6187
6331
  source_component_id: string;
6188
6332
  ftype: "simple_switch";
6333
+ subcircuit_id?: string | undefined;
6189
6334
  source_group_id?: string | undefined;
6190
6335
  manufacturer_part_number?: string | undefined;
6191
6336
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6197,6 +6342,7 @@ declare const source_simple_switch: z.ZodObject<{
6197
6342
  name: string;
6198
6343
  source_component_id: string;
6199
6344
  ftype: "simple_switch";
6345
+ subcircuit_id?: string | undefined;
6200
6346
  source_group_id?: string | undefined;
6201
6347
  manufacturer_part_number?: string | undefined;
6202
6348
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6245,6 +6391,7 @@ declare const source_missing_property_error: z.ZodObject<{
6245
6391
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6246
6392
  source_component_id: z.ZodString;
6247
6393
  property_name: z.ZodString;
6394
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6248
6395
  error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
6249
6396
  message: z.ZodString;
6250
6397
  }, "strip", z.ZodTypeAny, {
@@ -6254,11 +6401,13 @@ declare const source_missing_property_error: z.ZodObject<{
6254
6401
  error_type: "source_missing_property_error";
6255
6402
  source_missing_property_error_id: string;
6256
6403
  property_name: string;
6404
+ subcircuit_id?: string | undefined;
6257
6405
  }, {
6258
6406
  message: string;
6259
6407
  type: "source_missing_property_error";
6260
6408
  source_component_id: string;
6261
6409
  property_name: string;
6410
+ subcircuit_id?: string | undefined;
6262
6411
  error_type?: "source_missing_property_error" | undefined;
6263
6412
  source_missing_property_error_id?: string | undefined;
6264
6413
  }>;
@@ -6271,6 +6420,7 @@ interface SourceMissingPropertyError {
6271
6420
  source_missing_property_error_id: string;
6272
6421
  source_component_id: string;
6273
6422
  property_name: string;
6423
+ subcircuit_id?: string;
6274
6424
  error_type: "source_missing_property_error";
6275
6425
  message: string;
6276
6426
  }
@@ -6369,6 +6519,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6369
6519
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6370
6520
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6371
6521
  source_group_id: z.ZodOptional<z.ZodString>;
6522
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6372
6523
  } & {
6373
6524
  ftype: z.ZodLiteral<"simple_resistor">;
6374
6525
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6379,6 +6530,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6379
6530
  source_component_id: string;
6380
6531
  ftype: "simple_resistor";
6381
6532
  resistance: number;
6533
+ subcircuit_id?: string | undefined;
6382
6534
  source_group_id?: string | undefined;
6383
6535
  manufacturer_part_number?: string | undefined;
6384
6536
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6392,6 +6544,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6392
6544
  source_component_id: string;
6393
6545
  ftype: "simple_resistor";
6394
6546
  resistance: string | number;
6547
+ subcircuit_id?: string | undefined;
6395
6548
  source_group_id?: string | undefined;
6396
6549
  manufacturer_part_number?: string | undefined;
6397
6550
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6409,6 +6562,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6409
6562
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6410
6563
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6411
6564
  source_group_id: z.ZodOptional<z.ZodString>;
6565
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6412
6566
  } & {
6413
6567
  ftype: z.ZodLiteral<"simple_capacitor">;
6414
6568
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -6421,6 +6575,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6421
6575
  source_component_id: string;
6422
6576
  ftype: "simple_capacitor";
6423
6577
  capacitance: number;
6578
+ subcircuit_id?: string | undefined;
6424
6579
  source_group_id?: string | undefined;
6425
6580
  manufacturer_part_number?: string | undefined;
6426
6581
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6436,6 +6591,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6436
6591
  source_component_id: string;
6437
6592
  ftype: "simple_capacitor";
6438
6593
  capacitance: string | number;
6594
+ subcircuit_id?: string | undefined;
6439
6595
  source_group_id?: string | undefined;
6440
6596
  manufacturer_part_number?: string | undefined;
6441
6597
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6455,6 +6611,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6455
6611
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6456
6612
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6457
6613
  source_group_id: z.ZodOptional<z.ZodString>;
6614
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6458
6615
  } & {
6459
6616
  ftype: z.ZodLiteral<"simple_diode">;
6460
6617
  }, "strip", z.ZodTypeAny, {
@@ -6462,6 +6619,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6462
6619
  name: string;
6463
6620
  source_component_id: string;
6464
6621
  ftype: "simple_diode";
6622
+ subcircuit_id?: string | undefined;
6465
6623
  source_group_id?: string | undefined;
6466
6624
  manufacturer_part_number?: string | undefined;
6467
6625
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6473,6 +6631,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6473
6631
  name: string;
6474
6632
  source_component_id: string;
6475
6633
  ftype: "simple_diode";
6634
+ subcircuit_id?: string | undefined;
6476
6635
  source_group_id?: string | undefined;
6477
6636
  manufacturer_part_number?: string | undefined;
6478
6637
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6489,6 +6648,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6489
6648
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6490
6649
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6491
6650
  source_group_id: z.ZodOptional<z.ZodString>;
6651
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6492
6652
  } & {
6493
6653
  ftype: z.ZodLiteral<"simple_led">;
6494
6654
  color: z.ZodOptional<z.ZodString>;
@@ -6498,6 +6658,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6498
6658
  name: string;
6499
6659
  source_component_id: string;
6500
6660
  ftype: "simple_led";
6661
+ subcircuit_id?: string | undefined;
6501
6662
  color?: string | undefined;
6502
6663
  source_group_id?: string | undefined;
6503
6664
  manufacturer_part_number?: string | undefined;
@@ -6511,6 +6672,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6511
6672
  name: string;
6512
6673
  source_component_id: string;
6513
6674
  ftype: "simple_led";
6675
+ subcircuit_id?: string | undefined;
6514
6676
  color?: string | undefined;
6515
6677
  source_group_id?: string | undefined;
6516
6678
  manufacturer_part_number?: string | undefined;
@@ -6529,6 +6691,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6529
6691
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6530
6692
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6531
6693
  source_group_id: z.ZodOptional<z.ZodString>;
6694
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6532
6695
  } & {
6533
6696
  ftype: z.ZodLiteral<"simple_ground">;
6534
6697
  }, "strip", z.ZodTypeAny, {
@@ -6536,6 +6699,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6536
6699
  name: string;
6537
6700
  source_component_id: string;
6538
6701
  ftype: "simple_ground";
6702
+ subcircuit_id?: string | undefined;
6539
6703
  source_group_id?: string | undefined;
6540
6704
  manufacturer_part_number?: string | undefined;
6541
6705
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6547,6 +6711,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6547
6711
  name: string;
6548
6712
  source_component_id: string;
6549
6713
  ftype: "simple_ground";
6714
+ subcircuit_id?: string | undefined;
6550
6715
  source_group_id?: string | undefined;
6551
6716
  manufacturer_part_number?: string | undefined;
6552
6717
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6563,6 +6728,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6563
6728
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6564
6729
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6565
6730
  source_group_id: z.ZodOptional<z.ZodString>;
6731
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6566
6732
  } & {
6567
6733
  ftype: z.ZodLiteral<"simple_chip">;
6568
6734
  }, "strip", z.ZodTypeAny, {
@@ -6570,6 +6736,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6570
6736
  name: string;
6571
6737
  source_component_id: string;
6572
6738
  ftype: "simple_chip";
6739
+ subcircuit_id?: string | undefined;
6573
6740
  source_group_id?: string | undefined;
6574
6741
  manufacturer_part_number?: string | undefined;
6575
6742
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6581,6 +6748,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6581
6748
  name: string;
6582
6749
  source_component_id: string;
6583
6750
  ftype: "simple_chip";
6751
+ subcircuit_id?: string | undefined;
6584
6752
  source_group_id?: string | undefined;
6585
6753
  manufacturer_part_number?: string | undefined;
6586
6754
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6597,6 +6765,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6597
6765
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6598
6766
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6599
6767
  source_group_id: z.ZodOptional<z.ZodString>;
6768
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6600
6769
  } & {
6601
6770
  ftype: z.ZodLiteral<"simple_power_source">;
6602
6771
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6606,6 +6775,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6606
6775
  source_component_id: string;
6607
6776
  voltage: number;
6608
6777
  ftype: "simple_power_source";
6778
+ subcircuit_id?: string | undefined;
6609
6779
  source_group_id?: string | undefined;
6610
6780
  manufacturer_part_number?: string | undefined;
6611
6781
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6618,6 +6788,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6618
6788
  source_component_id: string;
6619
6789
  voltage: string | number;
6620
6790
  ftype: "simple_power_source";
6791
+ subcircuit_id?: string | undefined;
6621
6792
  source_group_id?: string | undefined;
6622
6793
  manufacturer_part_number?: string | undefined;
6623
6794
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6634,6 +6805,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6634
6805
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6635
6806
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6636
6807
  source_group_id: z.ZodOptional<z.ZodString>;
6808
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6637
6809
  } & {
6638
6810
  ftype: z.ZodLiteral<"simple_battery">;
6639
6811
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
@@ -6643,6 +6815,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6643
6815
  source_component_id: string;
6644
6816
  ftype: "simple_battery";
6645
6817
  capacity: number;
6818
+ subcircuit_id?: string | undefined;
6646
6819
  source_group_id?: string | undefined;
6647
6820
  manufacturer_part_number?: string | undefined;
6648
6821
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6655,6 +6828,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6655
6828
  source_component_id: string;
6656
6829
  ftype: "simple_battery";
6657
6830
  capacity: string | number;
6831
+ subcircuit_id?: string | undefined;
6658
6832
  source_group_id?: string | undefined;
6659
6833
  manufacturer_part_number?: string | undefined;
6660
6834
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6671,6 +6845,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6671
6845
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6672
6846
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6673
6847
  source_group_id: z.ZodOptional<z.ZodString>;
6848
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6674
6849
  } & {
6675
6850
  ftype: z.ZodLiteral<"simple_inductor">;
6676
6851
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6681,6 +6856,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6681
6856
  source_component_id: string;
6682
6857
  ftype: "simple_inductor";
6683
6858
  inductance: number;
6859
+ subcircuit_id?: string | undefined;
6684
6860
  source_group_id?: string | undefined;
6685
6861
  manufacturer_part_number?: string | undefined;
6686
6862
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6694,6 +6870,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6694
6870
  source_component_id: string;
6695
6871
  ftype: "simple_inductor";
6696
6872
  inductance: string | number;
6873
+ subcircuit_id?: string | undefined;
6697
6874
  source_group_id?: string | undefined;
6698
6875
  manufacturer_part_number?: string | undefined;
6699
6876
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6711,6 +6888,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6711
6888
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6712
6889
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6713
6890
  source_group_id: z.ZodOptional<z.ZodString>;
6891
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6714
6892
  } & {
6715
6893
  ftype: z.ZodLiteral<"simple_push_button">;
6716
6894
  }, "strip", z.ZodTypeAny, {
@@ -6718,6 +6896,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6718
6896
  name: string;
6719
6897
  source_component_id: string;
6720
6898
  ftype: "simple_push_button";
6899
+ subcircuit_id?: string | undefined;
6721
6900
  source_group_id?: string | undefined;
6722
6901
  manufacturer_part_number?: string | undefined;
6723
6902
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6729,6 +6908,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6729
6908
  name: string;
6730
6909
  source_component_id: string;
6731
6910
  ftype: "simple_push_button";
6911
+ subcircuit_id?: string | undefined;
6732
6912
  source_group_id?: string | undefined;
6733
6913
  manufacturer_part_number?: string | undefined;
6734
6914
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6745,6 +6925,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6745
6925
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6746
6926
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6747
6927
  source_group_id: z.ZodOptional<z.ZodString>;
6928
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6748
6929
  } & {
6749
6930
  ftype: z.ZodLiteral<"simple_potentiometer">;
6750
6931
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6754,6 +6935,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6754
6935
  source_component_id: string;
6755
6936
  ftype: "simple_potentiometer";
6756
6937
  max_resistance: number;
6938
+ subcircuit_id?: string | undefined;
6757
6939
  source_group_id?: string | undefined;
6758
6940
  manufacturer_part_number?: string | undefined;
6759
6941
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6766,6 +6948,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6766
6948
  source_component_id: string;
6767
6949
  ftype: "simple_potentiometer";
6768
6950
  max_resistance: string | number;
6951
+ subcircuit_id?: string | undefined;
6769
6952
  source_group_id?: string | undefined;
6770
6953
  manufacturer_part_number?: string | undefined;
6771
6954
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6782,6 +6965,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6782
6965
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6783
6966
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6784
6967
  source_group_id: z.ZodOptional<z.ZodString>;
6968
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6785
6969
  } & {
6786
6970
  ftype: z.ZodLiteral<"simple_crystal">;
6787
6971
  frequency: z.ZodNumber;
@@ -6792,6 +6976,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6792
6976
  source_component_id: string;
6793
6977
  ftype: "simple_crystal";
6794
6978
  frequency: number;
6979
+ subcircuit_id?: string | undefined;
6795
6980
  source_group_id?: string | undefined;
6796
6981
  manufacturer_part_number?: string | undefined;
6797
6982
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6805,6 +6990,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6805
6990
  source_component_id: string;
6806
6991
  ftype: "simple_crystal";
6807
6992
  frequency: number;
6993
+ subcircuit_id?: string | undefined;
6808
6994
  source_group_id?: string | undefined;
6809
6995
  manufacturer_part_number?: string | undefined;
6810
6996
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6822,6 +7008,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6822
7008
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6823
7009
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6824
7010
  source_group_id: z.ZodOptional<z.ZodString>;
7011
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6825
7012
  } & {
6826
7013
  ftype: z.ZodLiteral<"simple_pin_header">;
6827
7014
  pin_count: z.ZodNumber;
@@ -6833,6 +7020,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6833
7020
  ftype: "simple_pin_header";
6834
7021
  pin_count: number;
6835
7022
  gender: "male" | "female";
7023
+ subcircuit_id?: string | undefined;
6836
7024
  source_group_id?: string | undefined;
6837
7025
  manufacturer_part_number?: string | undefined;
6838
7026
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6845,6 +7033,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6845
7033
  source_component_id: string;
6846
7034
  ftype: "simple_pin_header";
6847
7035
  pin_count: number;
7036
+ subcircuit_id?: string | undefined;
6848
7037
  source_group_id?: string | undefined;
6849
7038
  manufacturer_part_number?: string | undefined;
6850
7039
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6862,6 +7051,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6862
7051
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6863
7052
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6864
7053
  source_group_id: z.ZodOptional<z.ZodString>;
7054
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6865
7055
  } & {
6866
7056
  ftype: z.ZodLiteral<"simple_resonator">;
6867
7057
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -6874,6 +7064,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6874
7064
  ftype: "simple_resonator";
6875
7065
  frequency: number;
6876
7066
  load_capacitance: number;
7067
+ subcircuit_id?: string | undefined;
6877
7068
  source_group_id?: string | undefined;
6878
7069
  manufacturer_part_number?: string | undefined;
6879
7070
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6888,6 +7079,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6888
7079
  ftype: "simple_resonator";
6889
7080
  frequency: string | number;
6890
7081
  load_capacitance: string | number;
7082
+ subcircuit_id?: string | undefined;
6891
7083
  source_group_id?: string | undefined;
6892
7084
  manufacturer_part_number?: string | undefined;
6893
7085
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6905,6 +7097,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6905
7097
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6906
7098
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6907
7099
  source_group_id: z.ZodOptional<z.ZodString>;
7100
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6908
7101
  } & {
6909
7102
  ftype: z.ZodLiteral<"simple_switch">;
6910
7103
  }, "strip", z.ZodTypeAny, {
@@ -6912,6 +7105,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6912
7105
  name: string;
6913
7106
  source_component_id: string;
6914
7107
  ftype: "simple_switch";
7108
+ subcircuit_id?: string | undefined;
6915
7109
  source_group_id?: string | undefined;
6916
7110
  manufacturer_part_number?: string | undefined;
6917
7111
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6923,6 +7117,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6923
7117
  name: string;
6924
7118
  source_component_id: string;
6925
7119
  ftype: "simple_switch";
7120
+ subcircuit_id?: string | undefined;
6926
7121
  source_group_id?: string | undefined;
6927
7122
  manufacturer_part_number?: string | undefined;
6928
7123
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6939,6 +7134,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6939
7134
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6940
7135
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6941
7136
  source_group_id: z.ZodOptional<z.ZodString>;
7137
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6942
7138
  } & {
6943
7139
  ftype: z.ZodLiteral<"simple_transistor">;
6944
7140
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
@@ -6948,6 +7144,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6948
7144
  source_component_id: string;
6949
7145
  ftype: "simple_transistor";
6950
7146
  transistor_type: "npn" | "pnp";
7147
+ subcircuit_id?: string | undefined;
6951
7148
  source_group_id?: string | undefined;
6952
7149
  manufacturer_part_number?: string | undefined;
6953
7150
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6960,6 +7157,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6960
7157
  source_component_id: string;
6961
7158
  ftype: "simple_transistor";
6962
7159
  transistor_type: "npn" | "pnp";
7160
+ subcircuit_id?: string | undefined;
6963
7161
  source_group_id?: string | undefined;
6964
7162
  manufacturer_part_number?: string | undefined;
6965
7163
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -6976,6 +7174,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6976
7174
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6977
7175
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6978
7176
  source_group_id: z.ZodOptional<z.ZodString>;
7177
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6979
7178
  } & {
6980
7179
  ftype: z.ZodLiteral<"simple_test_point">;
6981
7180
  footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
@@ -6991,6 +7190,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6991
7190
  ftype: "simple_test_point";
6992
7191
  width?: string | number | undefined;
6993
7192
  height?: string | number | undefined;
7193
+ subcircuit_id?: string | undefined;
6994
7194
  hole_diameter?: string | number | undefined;
6995
7195
  pad_shape?: "circle" | "rect" | undefined;
6996
7196
  source_group_id?: string | undefined;
@@ -7008,6 +7208,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7008
7208
  ftype: "simple_test_point";
7009
7209
  width?: string | number | undefined;
7010
7210
  height?: string | number | undefined;
7211
+ subcircuit_id?: string | undefined;
7011
7212
  hole_diameter?: string | number | undefined;
7012
7213
  pad_shape?: "circle" | "rect" | undefined;
7013
7214
  source_group_id?: string | undefined;
@@ -7028,6 +7229,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7028
7229
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7029
7230
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7030
7231
  source_group_id: z.ZodOptional<z.ZodString>;
7232
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7031
7233
  } & {
7032
7234
  ftype: z.ZodLiteral<"simple_mosfet">;
7033
7235
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -7039,6 +7241,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7039
7241
  ftype: "simple_mosfet";
7040
7242
  channel_type: "n" | "p";
7041
7243
  mosfet_mode: "enhancement" | "depletion";
7244
+ subcircuit_id?: string | undefined;
7042
7245
  source_group_id?: string | undefined;
7043
7246
  manufacturer_part_number?: string | undefined;
7044
7247
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7052,6 +7255,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7052
7255
  ftype: "simple_mosfet";
7053
7256
  channel_type: "n" | "p";
7054
7257
  mosfet_mode: "enhancement" | "depletion";
7258
+ subcircuit_id?: string | undefined;
7055
7259
  source_group_id?: string | undefined;
7056
7260
  manufacturer_part_number?: string | undefined;
7057
7261
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7068,6 +7272,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7068
7272
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7069
7273
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7070
7274
  source_group_id: z.ZodOptional<z.ZodString>;
7275
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7071
7276
  } & {
7072
7277
  ftype: z.ZodLiteral<"simple_fuse">;
7073
7278
  current_rating_amps: z.ZodNumber;
@@ -7079,6 +7284,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7079
7284
  ftype: "simple_fuse";
7080
7285
  current_rating_amps: number;
7081
7286
  voltage_rating_volts: number;
7287
+ subcircuit_id?: string | undefined;
7082
7288
  source_group_id?: string | undefined;
7083
7289
  manufacturer_part_number?: string | undefined;
7084
7290
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7092,6 +7298,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7092
7298
  ftype: "simple_fuse";
7093
7299
  current_rating_amps: number;
7094
7300
  voltage_rating_volts: number;
7301
+ subcircuit_id?: string | undefined;
7095
7302
  source_group_id?: string | undefined;
7096
7303
  manufacturer_part_number?: string | undefined;
7097
7304
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7121,6 +7328,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7121
7328
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7122
7329
  source_component_id: z.ZodString;
7123
7330
  property_name: z.ZodString;
7331
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7124
7332
  error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
7125
7333
  message: z.ZodString;
7126
7334
  }, "strip", z.ZodTypeAny, {
@@ -7130,11 +7338,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7130
7338
  error_type: "source_missing_property_error";
7131
7339
  source_missing_property_error_id: string;
7132
7340
  property_name: string;
7341
+ subcircuit_id?: string | undefined;
7133
7342
  }, {
7134
7343
  message: string;
7135
7344
  type: "source_missing_property_error";
7136
7345
  source_component_id: string;
7137
7346
  property_name: string;
7347
+ subcircuit_id?: string | undefined;
7138
7348
  error_type?: "source_missing_property_error" | undefined;
7139
7349
  source_missing_property_error_id?: string | undefined;
7140
7350
  }>, z.ZodObject<{
@@ -7458,6 +7668,7 @@ declare const cad_component: z.ZodObject<{
7458
7668
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7459
7669
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7460
7670
  }>>;
7671
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7461
7672
  footprinter_string: z.ZodOptional<z.ZodString>;
7462
7673
  model_obj_url: z.ZodOptional<z.ZodString>;
7463
7674
  model_stl_url: z.ZodOptional<z.ZodString>;
@@ -7479,6 +7690,7 @@ declare const cad_component: z.ZodObject<{
7479
7690
  y: number;
7480
7691
  z: number;
7481
7692
  } | undefined;
7693
+ subcircuit_id?: string | undefined;
7482
7694
  size?: {
7483
7695
  x: number;
7484
7696
  y: number;
@@ -7507,6 +7719,7 @@ declare const cad_component: z.ZodObject<{
7507
7719
  y: string | number;
7508
7720
  z: string | number;
7509
7721
  } | undefined;
7722
+ subcircuit_id?: string | undefined;
7510
7723
  size?: {
7511
7724
  x: string | number;
7512
7725
  y: string | number;
@@ -7528,6 +7741,7 @@ interface CadComponent {
7528
7741
  rotation?: Point3;
7529
7742
  size?: Point3;
7530
7743
  layer?: LayerRef;
7744
+ subcircuit_id?: string;
7531
7745
  footprinter_string?: string;
7532
7746
  model_obj_url?: string;
7533
7747
  model_stl_url?: string;
@@ -7602,6 +7816,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7602
7816
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7603
7817
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7604
7818
  source_group_id: z.ZodOptional<z.ZodString>;
7819
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7605
7820
  } & {
7606
7821
  ftype: z.ZodLiteral<"simple_resistor">;
7607
7822
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7612,6 +7827,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7612
7827
  source_component_id: string;
7613
7828
  ftype: "simple_resistor";
7614
7829
  resistance: number;
7830
+ subcircuit_id?: string | undefined;
7615
7831
  source_group_id?: string | undefined;
7616
7832
  manufacturer_part_number?: string | undefined;
7617
7833
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7625,6 +7841,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7625
7841
  source_component_id: string;
7626
7842
  ftype: "simple_resistor";
7627
7843
  resistance: string | number;
7844
+ subcircuit_id?: string | undefined;
7628
7845
  source_group_id?: string | undefined;
7629
7846
  manufacturer_part_number?: string | undefined;
7630
7847
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7642,6 +7859,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7642
7859
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7643
7860
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7644
7861
  source_group_id: z.ZodOptional<z.ZodString>;
7862
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7645
7863
  } & {
7646
7864
  ftype: z.ZodLiteral<"simple_capacitor">;
7647
7865
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -7654,6 +7872,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7654
7872
  source_component_id: string;
7655
7873
  ftype: "simple_capacitor";
7656
7874
  capacitance: number;
7875
+ subcircuit_id?: string | undefined;
7657
7876
  source_group_id?: string | undefined;
7658
7877
  manufacturer_part_number?: string | undefined;
7659
7878
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7669,6 +7888,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7669
7888
  source_component_id: string;
7670
7889
  ftype: "simple_capacitor";
7671
7890
  capacitance: string | number;
7891
+ subcircuit_id?: string | undefined;
7672
7892
  source_group_id?: string | undefined;
7673
7893
  manufacturer_part_number?: string | undefined;
7674
7894
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7688,6 +7908,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7688
7908
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7689
7909
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7690
7910
  source_group_id: z.ZodOptional<z.ZodString>;
7911
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7691
7912
  } & {
7692
7913
  ftype: z.ZodLiteral<"simple_diode">;
7693
7914
  }, "strip", z.ZodTypeAny, {
@@ -7695,6 +7916,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7695
7916
  name: string;
7696
7917
  source_component_id: string;
7697
7918
  ftype: "simple_diode";
7919
+ subcircuit_id?: string | undefined;
7698
7920
  source_group_id?: string | undefined;
7699
7921
  manufacturer_part_number?: string | undefined;
7700
7922
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7706,6 +7928,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7706
7928
  name: string;
7707
7929
  source_component_id: string;
7708
7930
  ftype: "simple_diode";
7931
+ subcircuit_id?: string | undefined;
7709
7932
  source_group_id?: string | undefined;
7710
7933
  manufacturer_part_number?: string | undefined;
7711
7934
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7722,6 +7945,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7722
7945
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7723
7946
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7724
7947
  source_group_id: z.ZodOptional<z.ZodString>;
7948
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7725
7949
  } & {
7726
7950
  ftype: z.ZodLiteral<"simple_led">;
7727
7951
  color: z.ZodOptional<z.ZodString>;
@@ -7731,6 +7955,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7731
7955
  name: string;
7732
7956
  source_component_id: string;
7733
7957
  ftype: "simple_led";
7958
+ subcircuit_id?: string | undefined;
7734
7959
  color?: string | undefined;
7735
7960
  source_group_id?: string | undefined;
7736
7961
  manufacturer_part_number?: string | undefined;
@@ -7744,6 +7969,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7744
7969
  name: string;
7745
7970
  source_component_id: string;
7746
7971
  ftype: "simple_led";
7972
+ subcircuit_id?: string | undefined;
7747
7973
  color?: string | undefined;
7748
7974
  source_group_id?: string | undefined;
7749
7975
  manufacturer_part_number?: string | undefined;
@@ -7762,6 +7988,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7762
7988
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7763
7989
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7764
7990
  source_group_id: z.ZodOptional<z.ZodString>;
7991
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7765
7992
  } & {
7766
7993
  ftype: z.ZodLiteral<"simple_ground">;
7767
7994
  }, "strip", z.ZodTypeAny, {
@@ -7769,6 +7996,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7769
7996
  name: string;
7770
7997
  source_component_id: string;
7771
7998
  ftype: "simple_ground";
7999
+ subcircuit_id?: string | undefined;
7772
8000
  source_group_id?: string | undefined;
7773
8001
  manufacturer_part_number?: string | undefined;
7774
8002
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7780,6 +8008,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7780
8008
  name: string;
7781
8009
  source_component_id: string;
7782
8010
  ftype: "simple_ground";
8011
+ subcircuit_id?: string | undefined;
7783
8012
  source_group_id?: string | undefined;
7784
8013
  manufacturer_part_number?: string | undefined;
7785
8014
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7796,6 +8025,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7796
8025
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7797
8026
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7798
8027
  source_group_id: z.ZodOptional<z.ZodString>;
8028
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7799
8029
  } & {
7800
8030
  ftype: z.ZodLiteral<"simple_chip">;
7801
8031
  }, "strip", z.ZodTypeAny, {
@@ -7803,6 +8033,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7803
8033
  name: string;
7804
8034
  source_component_id: string;
7805
8035
  ftype: "simple_chip";
8036
+ subcircuit_id?: string | undefined;
7806
8037
  source_group_id?: string | undefined;
7807
8038
  manufacturer_part_number?: string | undefined;
7808
8039
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7814,6 +8045,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7814
8045
  name: string;
7815
8046
  source_component_id: string;
7816
8047
  ftype: "simple_chip";
8048
+ subcircuit_id?: string | undefined;
7817
8049
  source_group_id?: string | undefined;
7818
8050
  manufacturer_part_number?: string | undefined;
7819
8051
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7830,6 +8062,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7830
8062
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7831
8063
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7832
8064
  source_group_id: z.ZodOptional<z.ZodString>;
8065
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7833
8066
  } & {
7834
8067
  ftype: z.ZodLiteral<"simple_power_source">;
7835
8068
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7839,6 +8072,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7839
8072
  source_component_id: string;
7840
8073
  voltage: number;
7841
8074
  ftype: "simple_power_source";
8075
+ subcircuit_id?: string | undefined;
7842
8076
  source_group_id?: string | undefined;
7843
8077
  manufacturer_part_number?: string | undefined;
7844
8078
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7851,6 +8085,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7851
8085
  source_component_id: string;
7852
8086
  voltage: string | number;
7853
8087
  ftype: "simple_power_source";
8088
+ subcircuit_id?: string | undefined;
7854
8089
  source_group_id?: string | undefined;
7855
8090
  manufacturer_part_number?: string | undefined;
7856
8091
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7867,6 +8102,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7867
8102
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7868
8103
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7869
8104
  source_group_id: z.ZodOptional<z.ZodString>;
8105
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7870
8106
  } & {
7871
8107
  ftype: z.ZodLiteral<"simple_battery">;
7872
8108
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
@@ -7876,6 +8112,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7876
8112
  source_component_id: string;
7877
8113
  ftype: "simple_battery";
7878
8114
  capacity: number;
8115
+ subcircuit_id?: string | undefined;
7879
8116
  source_group_id?: string | undefined;
7880
8117
  manufacturer_part_number?: string | undefined;
7881
8118
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7888,6 +8125,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7888
8125
  source_component_id: string;
7889
8126
  ftype: "simple_battery";
7890
8127
  capacity: string | number;
8128
+ subcircuit_id?: string | undefined;
7891
8129
  source_group_id?: string | undefined;
7892
8130
  manufacturer_part_number?: string | undefined;
7893
8131
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7904,6 +8142,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7904
8142
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7905
8143
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7906
8144
  source_group_id: z.ZodOptional<z.ZodString>;
8145
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7907
8146
  } & {
7908
8147
  ftype: z.ZodLiteral<"simple_inductor">;
7909
8148
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7914,6 +8153,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7914
8153
  source_component_id: string;
7915
8154
  ftype: "simple_inductor";
7916
8155
  inductance: number;
8156
+ subcircuit_id?: string | undefined;
7917
8157
  source_group_id?: string | undefined;
7918
8158
  manufacturer_part_number?: string | undefined;
7919
8159
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7927,6 +8167,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7927
8167
  source_component_id: string;
7928
8168
  ftype: "simple_inductor";
7929
8169
  inductance: string | number;
8170
+ subcircuit_id?: string | undefined;
7930
8171
  source_group_id?: string | undefined;
7931
8172
  manufacturer_part_number?: string | undefined;
7932
8173
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7944,6 +8185,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7944
8185
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7945
8186
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7946
8187
  source_group_id: z.ZodOptional<z.ZodString>;
8188
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7947
8189
  } & {
7948
8190
  ftype: z.ZodLiteral<"simple_push_button">;
7949
8191
  }, "strip", z.ZodTypeAny, {
@@ -7951,6 +8193,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7951
8193
  name: string;
7952
8194
  source_component_id: string;
7953
8195
  ftype: "simple_push_button";
8196
+ subcircuit_id?: string | undefined;
7954
8197
  source_group_id?: string | undefined;
7955
8198
  manufacturer_part_number?: string | undefined;
7956
8199
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7962,6 +8205,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7962
8205
  name: string;
7963
8206
  source_component_id: string;
7964
8207
  ftype: "simple_push_button";
8208
+ subcircuit_id?: string | undefined;
7965
8209
  source_group_id?: string | undefined;
7966
8210
  manufacturer_part_number?: string | undefined;
7967
8211
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7978,6 +8222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7978
8222
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7979
8223
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7980
8224
  source_group_id: z.ZodOptional<z.ZodString>;
8225
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7981
8226
  } & {
7982
8227
  ftype: z.ZodLiteral<"simple_potentiometer">;
7983
8228
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7987,6 +8232,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7987
8232
  source_component_id: string;
7988
8233
  ftype: "simple_potentiometer";
7989
8234
  max_resistance: number;
8235
+ subcircuit_id?: string | undefined;
7990
8236
  source_group_id?: string | undefined;
7991
8237
  manufacturer_part_number?: string | undefined;
7992
8238
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -7999,6 +8245,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7999
8245
  source_component_id: string;
8000
8246
  ftype: "simple_potentiometer";
8001
8247
  max_resistance: string | number;
8248
+ subcircuit_id?: string | undefined;
8002
8249
  source_group_id?: string | undefined;
8003
8250
  manufacturer_part_number?: string | undefined;
8004
8251
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8015,6 +8262,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8015
8262
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8016
8263
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8017
8264
  source_group_id: z.ZodOptional<z.ZodString>;
8265
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8018
8266
  } & {
8019
8267
  ftype: z.ZodLiteral<"simple_crystal">;
8020
8268
  frequency: z.ZodNumber;
@@ -8025,6 +8273,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8025
8273
  source_component_id: string;
8026
8274
  ftype: "simple_crystal";
8027
8275
  frequency: number;
8276
+ subcircuit_id?: string | undefined;
8028
8277
  source_group_id?: string | undefined;
8029
8278
  manufacturer_part_number?: string | undefined;
8030
8279
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8038,6 +8287,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8038
8287
  source_component_id: string;
8039
8288
  ftype: "simple_crystal";
8040
8289
  frequency: number;
8290
+ subcircuit_id?: string | undefined;
8041
8291
  source_group_id?: string | undefined;
8042
8292
  manufacturer_part_number?: string | undefined;
8043
8293
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8055,6 +8305,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8055
8305
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8056
8306
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8057
8307
  source_group_id: z.ZodOptional<z.ZodString>;
8308
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8058
8309
  } & {
8059
8310
  ftype: z.ZodLiteral<"simple_pin_header">;
8060
8311
  pin_count: z.ZodNumber;
@@ -8066,6 +8317,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8066
8317
  ftype: "simple_pin_header";
8067
8318
  pin_count: number;
8068
8319
  gender: "male" | "female";
8320
+ subcircuit_id?: string | undefined;
8069
8321
  source_group_id?: string | undefined;
8070
8322
  manufacturer_part_number?: string | undefined;
8071
8323
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8078,6 +8330,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8078
8330
  source_component_id: string;
8079
8331
  ftype: "simple_pin_header";
8080
8332
  pin_count: number;
8333
+ subcircuit_id?: string | undefined;
8081
8334
  source_group_id?: string | undefined;
8082
8335
  manufacturer_part_number?: string | undefined;
8083
8336
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8095,6 +8348,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8095
8348
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8096
8349
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8097
8350
  source_group_id: z.ZodOptional<z.ZodString>;
8351
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8098
8352
  } & {
8099
8353
  ftype: z.ZodLiteral<"simple_resonator">;
8100
8354
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -8107,6 +8361,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8107
8361
  ftype: "simple_resonator";
8108
8362
  frequency: number;
8109
8363
  load_capacitance: number;
8364
+ subcircuit_id?: string | undefined;
8110
8365
  source_group_id?: string | undefined;
8111
8366
  manufacturer_part_number?: string | undefined;
8112
8367
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8121,6 +8376,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8121
8376
  ftype: "simple_resonator";
8122
8377
  frequency: string | number;
8123
8378
  load_capacitance: string | number;
8379
+ subcircuit_id?: string | undefined;
8124
8380
  source_group_id?: string | undefined;
8125
8381
  manufacturer_part_number?: string | undefined;
8126
8382
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8138,6 +8394,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8138
8394
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8139
8395
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8140
8396
  source_group_id: z.ZodOptional<z.ZodString>;
8397
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8141
8398
  } & {
8142
8399
  ftype: z.ZodLiteral<"simple_switch">;
8143
8400
  }, "strip", z.ZodTypeAny, {
@@ -8145,6 +8402,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8145
8402
  name: string;
8146
8403
  source_component_id: string;
8147
8404
  ftype: "simple_switch";
8405
+ subcircuit_id?: string | undefined;
8148
8406
  source_group_id?: string | undefined;
8149
8407
  manufacturer_part_number?: string | undefined;
8150
8408
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8156,6 +8414,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8156
8414
  name: string;
8157
8415
  source_component_id: string;
8158
8416
  ftype: "simple_switch";
8417
+ subcircuit_id?: string | undefined;
8159
8418
  source_group_id?: string | undefined;
8160
8419
  manufacturer_part_number?: string | undefined;
8161
8420
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8172,6 +8431,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8172
8431
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8173
8432
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8174
8433
  source_group_id: z.ZodOptional<z.ZodString>;
8434
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8175
8435
  } & {
8176
8436
  ftype: z.ZodLiteral<"simple_transistor">;
8177
8437
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
@@ -8181,6 +8441,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8181
8441
  source_component_id: string;
8182
8442
  ftype: "simple_transistor";
8183
8443
  transistor_type: "npn" | "pnp";
8444
+ subcircuit_id?: string | undefined;
8184
8445
  source_group_id?: string | undefined;
8185
8446
  manufacturer_part_number?: string | undefined;
8186
8447
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8193,6 +8454,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8193
8454
  source_component_id: string;
8194
8455
  ftype: "simple_transistor";
8195
8456
  transistor_type: "npn" | "pnp";
8457
+ subcircuit_id?: string | undefined;
8196
8458
  source_group_id?: string | undefined;
8197
8459
  manufacturer_part_number?: string | undefined;
8198
8460
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8209,6 +8471,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8209
8471
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8210
8472
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8211
8473
  source_group_id: z.ZodOptional<z.ZodString>;
8474
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8212
8475
  } & {
8213
8476
  ftype: z.ZodLiteral<"simple_test_point">;
8214
8477
  footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
@@ -8224,6 +8487,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8224
8487
  ftype: "simple_test_point";
8225
8488
  width?: string | number | undefined;
8226
8489
  height?: string | number | undefined;
8490
+ subcircuit_id?: string | undefined;
8227
8491
  hole_diameter?: string | number | undefined;
8228
8492
  pad_shape?: "circle" | "rect" | undefined;
8229
8493
  source_group_id?: string | undefined;
@@ -8241,6 +8505,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8241
8505
  ftype: "simple_test_point";
8242
8506
  width?: string | number | undefined;
8243
8507
  height?: string | number | undefined;
8508
+ subcircuit_id?: string | undefined;
8244
8509
  hole_diameter?: string | number | undefined;
8245
8510
  pad_shape?: "circle" | "rect" | undefined;
8246
8511
  source_group_id?: string | undefined;
@@ -8261,6 +8526,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8261
8526
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8262
8527
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8263
8528
  source_group_id: z.ZodOptional<z.ZodString>;
8529
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8264
8530
  } & {
8265
8531
  ftype: z.ZodLiteral<"simple_mosfet">;
8266
8532
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -8272,6 +8538,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8272
8538
  ftype: "simple_mosfet";
8273
8539
  channel_type: "n" | "p";
8274
8540
  mosfet_mode: "enhancement" | "depletion";
8541
+ subcircuit_id?: string | undefined;
8275
8542
  source_group_id?: string | undefined;
8276
8543
  manufacturer_part_number?: string | undefined;
8277
8544
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8285,6 +8552,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8285
8552
  ftype: "simple_mosfet";
8286
8553
  channel_type: "n" | "p";
8287
8554
  mosfet_mode: "enhancement" | "depletion";
8555
+ subcircuit_id?: string | undefined;
8288
8556
  source_group_id?: string | undefined;
8289
8557
  manufacturer_part_number?: string | undefined;
8290
8558
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8301,6 +8569,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8301
8569
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8302
8570
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8303
8571
  source_group_id: z.ZodOptional<z.ZodString>;
8572
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8304
8573
  } & {
8305
8574
  ftype: z.ZodLiteral<"simple_fuse">;
8306
8575
  current_rating_amps: z.ZodNumber;
@@ -8312,6 +8581,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8312
8581
  ftype: "simple_fuse";
8313
8582
  current_rating_amps: number;
8314
8583
  voltage_rating_volts: number;
8584
+ subcircuit_id?: string | undefined;
8315
8585
  source_group_id?: string | undefined;
8316
8586
  manufacturer_part_number?: string | undefined;
8317
8587
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8325,6 +8595,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8325
8595
  ftype: "simple_fuse";
8326
8596
  current_rating_amps: number;
8327
8597
  voltage_rating_volts: number;
8598
+ subcircuit_id?: string | undefined;
8328
8599
  source_group_id?: string | undefined;
8329
8600
  manufacturer_part_number?: string | undefined;
8330
8601
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8354,6 +8625,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8354
8625
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8355
8626
  source_component_id: z.ZodString;
8356
8627
  property_name: z.ZodString;
8628
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8357
8629
  error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
8358
8630
  message: z.ZodString;
8359
8631
  }, "strip", z.ZodTypeAny, {
@@ -8363,11 +8635,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8363
8635
  error_type: "source_missing_property_error";
8364
8636
  source_missing_property_error_id: string;
8365
8637
  property_name: string;
8638
+ subcircuit_id?: string | undefined;
8366
8639
  }, {
8367
8640
  message: string;
8368
8641
  type: "source_missing_property_error";
8369
8642
  source_component_id: string;
8370
8643
  property_name: string;
8644
+ subcircuit_id?: string | undefined;
8371
8645
  error_type?: "source_missing_property_error" | undefined;
8372
8646
  source_missing_property_error_id?: string | undefined;
8373
8647
  }>, z.ZodObject<{
@@ -8497,6 +8771,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8497
8771
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8498
8772
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8499
8773
  source_group_id: z.ZodOptional<z.ZodString>;
8774
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8500
8775
  } & {
8501
8776
  ftype: z.ZodLiteral<"simple_chip">;
8502
8777
  }, "strip", z.ZodTypeAny, {
@@ -8504,6 +8779,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8504
8779
  name: string;
8505
8780
  source_component_id: string;
8506
8781
  ftype: "simple_chip";
8782
+ subcircuit_id?: string | undefined;
8507
8783
  source_group_id?: string | undefined;
8508
8784
  manufacturer_part_number?: string | undefined;
8509
8785
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8515,6 +8791,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8515
8791
  name: string;
8516
8792
  source_component_id: string;
8517
8793
  ftype: "simple_chip";
8794
+ subcircuit_id?: string | undefined;
8518
8795
  source_group_id?: string | undefined;
8519
8796
  manufacturer_part_number?: string | undefined;
8520
8797
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8531,6 +8808,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8531
8808
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8532
8809
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8533
8810
  source_group_id: z.ZodOptional<z.ZodString>;
8811
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8534
8812
  } & {
8535
8813
  ftype: z.ZodLiteral<"simple_capacitor">;
8536
8814
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -8543,6 +8821,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8543
8821
  source_component_id: string;
8544
8822
  ftype: "simple_capacitor";
8545
8823
  capacitance: number;
8824
+ subcircuit_id?: string | undefined;
8546
8825
  source_group_id?: string | undefined;
8547
8826
  manufacturer_part_number?: string | undefined;
8548
8827
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8558,6 +8837,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8558
8837
  source_component_id: string;
8559
8838
  ftype: "simple_capacitor";
8560
8839
  capacitance: string | number;
8840
+ subcircuit_id?: string | undefined;
8561
8841
  source_group_id?: string | undefined;
8562
8842
  manufacturer_part_number?: string | undefined;
8563
8843
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8577,6 +8857,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8577
8857
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8578
8858
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8579
8859
  source_group_id: z.ZodOptional<z.ZodString>;
8860
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8580
8861
  } & {
8581
8862
  ftype: z.ZodLiteral<"simple_diode">;
8582
8863
  }, "strip", z.ZodTypeAny, {
@@ -8584,6 +8865,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8584
8865
  name: string;
8585
8866
  source_component_id: string;
8586
8867
  ftype: "simple_diode";
8868
+ subcircuit_id?: string | undefined;
8587
8869
  source_group_id?: string | undefined;
8588
8870
  manufacturer_part_number?: string | undefined;
8589
8871
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8595,6 +8877,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8595
8877
  name: string;
8596
8878
  source_component_id: string;
8597
8879
  ftype: "simple_diode";
8880
+ subcircuit_id?: string | undefined;
8598
8881
  source_group_id?: string | undefined;
8599
8882
  manufacturer_part_number?: string | undefined;
8600
8883
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8611,6 +8894,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8611
8894
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8612
8895
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8613
8896
  source_group_id: z.ZodOptional<z.ZodString>;
8897
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8614
8898
  } & {
8615
8899
  ftype: z.ZodLiteral<"simple_led">;
8616
8900
  color: z.ZodOptional<z.ZodString>;
@@ -8620,6 +8904,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8620
8904
  name: string;
8621
8905
  source_component_id: string;
8622
8906
  ftype: "simple_led";
8907
+ subcircuit_id?: string | undefined;
8623
8908
  color?: string | undefined;
8624
8909
  source_group_id?: string | undefined;
8625
8910
  manufacturer_part_number?: string | undefined;
@@ -8633,6 +8918,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8633
8918
  name: string;
8634
8919
  source_component_id: string;
8635
8920
  ftype: "simple_led";
8921
+ subcircuit_id?: string | undefined;
8636
8922
  color?: string | undefined;
8637
8923
  source_group_id?: string | undefined;
8638
8924
  manufacturer_part_number?: string | undefined;
@@ -8651,6 +8937,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8651
8937
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8652
8938
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8653
8939
  source_group_id: z.ZodOptional<z.ZodString>;
8940
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8654
8941
  } & {
8655
8942
  ftype: z.ZodLiteral<"simple_resistor">;
8656
8943
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -8661,6 +8948,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8661
8948
  source_component_id: string;
8662
8949
  ftype: "simple_resistor";
8663
8950
  resistance: number;
8951
+ subcircuit_id?: string | undefined;
8664
8952
  source_group_id?: string | undefined;
8665
8953
  manufacturer_part_number?: string | undefined;
8666
8954
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8674,6 +8962,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8674
8962
  source_component_id: string;
8675
8963
  ftype: "simple_resistor";
8676
8964
  resistance: string | number;
8965
+ subcircuit_id?: string | undefined;
8677
8966
  source_group_id?: string | undefined;
8678
8967
  manufacturer_part_number?: string | undefined;
8679
8968
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8691,6 +8980,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8691
8980
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8692
8981
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8693
8982
  source_group_id: z.ZodOptional<z.ZodString>;
8983
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8694
8984
  } & {
8695
8985
  ftype: z.ZodLiteral<"simple_power_source">;
8696
8986
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -8700,6 +8990,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8700
8990
  source_component_id: string;
8701
8991
  voltage: number;
8702
8992
  ftype: "simple_power_source";
8993
+ subcircuit_id?: string | undefined;
8703
8994
  source_group_id?: string | undefined;
8704
8995
  manufacturer_part_number?: string | undefined;
8705
8996
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8712,6 +9003,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8712
9003
  source_component_id: string;
8713
9004
  voltage: string | number;
8714
9005
  ftype: "simple_power_source";
9006
+ subcircuit_id?: string | undefined;
8715
9007
  source_group_id?: string | undefined;
8716
9008
  manufacturer_part_number?: string | undefined;
8717
9009
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8728,6 +9020,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8728
9020
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8729
9021
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8730
9022
  source_group_id: z.ZodOptional<z.ZodString>;
9023
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8731
9024
  } & {
8732
9025
  ftype: z.ZodLiteral<"simple_battery">;
8733
9026
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
@@ -8737,6 +9030,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8737
9030
  source_component_id: string;
8738
9031
  ftype: "simple_battery";
8739
9032
  capacity: number;
9033
+ subcircuit_id?: string | undefined;
8740
9034
  source_group_id?: string | undefined;
8741
9035
  manufacturer_part_number?: string | undefined;
8742
9036
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8749,6 +9043,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8749
9043
  source_component_id: string;
8750
9044
  ftype: "simple_battery";
8751
9045
  capacity: string | number;
9046
+ subcircuit_id?: string | undefined;
8752
9047
  source_group_id?: string | undefined;
8753
9048
  manufacturer_part_number?: string | undefined;
8754
9049
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8765,6 +9060,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8765
9060
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8766
9061
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8767
9062
  source_group_id: z.ZodOptional<z.ZodString>;
9063
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8768
9064
  } & {
8769
9065
  ftype: z.ZodLiteral<"simple_inductor">;
8770
9066
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -8775,6 +9071,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8775
9071
  source_component_id: string;
8776
9072
  ftype: "simple_inductor";
8777
9073
  inductance: number;
9074
+ subcircuit_id?: string | undefined;
8778
9075
  source_group_id?: string | undefined;
8779
9076
  manufacturer_part_number?: string | undefined;
8780
9077
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8788,6 +9085,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8788
9085
  source_component_id: string;
8789
9086
  ftype: "simple_inductor";
8790
9087
  inductance: string | number;
9088
+ subcircuit_id?: string | undefined;
8791
9089
  source_group_id?: string | undefined;
8792
9090
  manufacturer_part_number?: string | undefined;
8793
9091
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8805,6 +9103,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8805
9103
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8806
9104
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8807
9105
  source_group_id: z.ZodOptional<z.ZodString>;
9106
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8808
9107
  } & {
8809
9108
  ftype: z.ZodLiteral<"simple_pin_header">;
8810
9109
  pin_count: z.ZodNumber;
@@ -8816,6 +9115,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8816
9115
  ftype: "simple_pin_header";
8817
9116
  pin_count: number;
8818
9117
  gender: "male" | "female";
9118
+ subcircuit_id?: string | undefined;
8819
9119
  source_group_id?: string | undefined;
8820
9120
  manufacturer_part_number?: string | undefined;
8821
9121
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8828,6 +9128,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8828
9128
  source_component_id: string;
8829
9129
  ftype: "simple_pin_header";
8830
9130
  pin_count: number;
9131
+ subcircuit_id?: string | undefined;
8831
9132
  source_group_id?: string | undefined;
8832
9133
  manufacturer_part_number?: string | undefined;
8833
9134
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8845,6 +9146,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8845
9146
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8846
9147
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8847
9148
  source_group_id: z.ZodOptional<z.ZodString>;
9149
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8848
9150
  } & {
8849
9151
  ftype: z.ZodLiteral<"simple_resonator">;
8850
9152
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -8857,6 +9159,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8857
9159
  ftype: "simple_resonator";
8858
9160
  frequency: number;
8859
9161
  load_capacitance: number;
9162
+ subcircuit_id?: string | undefined;
8860
9163
  source_group_id?: string | undefined;
8861
9164
  manufacturer_part_number?: string | undefined;
8862
9165
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8871,6 +9174,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8871
9174
  ftype: "simple_resonator";
8872
9175
  frequency: string | number;
8873
9176
  load_capacitance: string | number;
9177
+ subcircuit_id?: string | undefined;
8874
9178
  source_group_id?: string | undefined;
8875
9179
  manufacturer_part_number?: string | undefined;
8876
9180
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8888,6 +9192,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8888
9192
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8889
9193
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8890
9194
  source_group_id: z.ZodOptional<z.ZodString>;
9195
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8891
9196
  } & {
8892
9197
  ftype: z.ZodLiteral<"simple_switch">;
8893
9198
  }, "strip", z.ZodTypeAny, {
@@ -8895,6 +9200,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8895
9200
  name: string;
8896
9201
  source_component_id: string;
8897
9202
  ftype: "simple_switch";
9203
+ subcircuit_id?: string | undefined;
8898
9204
  source_group_id?: string | undefined;
8899
9205
  manufacturer_part_number?: string | undefined;
8900
9206
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8906,6 +9212,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8906
9212
  name: string;
8907
9213
  source_component_id: string;
8908
9214
  ftype: "simple_switch";
9215
+ subcircuit_id?: string | undefined;
8909
9216
  source_group_id?: string | undefined;
8910
9217
  manufacturer_part_number?: string | undefined;
8911
9218
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8922,6 +9229,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8922
9229
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8923
9230
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8924
9231
  source_group_id: z.ZodOptional<z.ZodString>;
9232
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8925
9233
  } & {
8926
9234
  ftype: z.ZodLiteral<"simple_transistor">;
8927
9235
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
@@ -8931,6 +9239,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8931
9239
  source_component_id: string;
8932
9240
  ftype: "simple_transistor";
8933
9241
  transistor_type: "npn" | "pnp";
9242
+ subcircuit_id?: string | undefined;
8934
9243
  source_group_id?: string | undefined;
8935
9244
  manufacturer_part_number?: string | undefined;
8936
9245
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8943,6 +9252,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8943
9252
  source_component_id: string;
8944
9253
  ftype: "simple_transistor";
8945
9254
  transistor_type: "npn" | "pnp";
9255
+ subcircuit_id?: string | undefined;
8946
9256
  source_group_id?: string | undefined;
8947
9257
  manufacturer_part_number?: string | undefined;
8948
9258
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -8959,6 +9269,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8959
9269
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8960
9270
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8961
9271
  source_group_id: z.ZodOptional<z.ZodString>;
9272
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8962
9273
  } & {
8963
9274
  ftype: z.ZodLiteral<"simple_test_point">;
8964
9275
  footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
@@ -8974,6 +9285,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8974
9285
  ftype: "simple_test_point";
8975
9286
  width?: string | number | undefined;
8976
9287
  height?: string | number | undefined;
9288
+ subcircuit_id?: string | undefined;
8977
9289
  hole_diameter?: string | number | undefined;
8978
9290
  pad_shape?: "circle" | "rect" | undefined;
8979
9291
  source_group_id?: string | undefined;
@@ -8991,6 +9303,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8991
9303
  ftype: "simple_test_point";
8992
9304
  width?: string | number | undefined;
8993
9305
  height?: string | number | undefined;
9306
+ subcircuit_id?: string | undefined;
8994
9307
  hole_diameter?: string | number | undefined;
8995
9308
  pad_shape?: "circle" | "rect" | undefined;
8996
9309
  source_group_id?: string | undefined;
@@ -9011,6 +9324,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9011
9324
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
9012
9325
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9013
9326
  source_group_id: z.ZodOptional<z.ZodString>;
9327
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9014
9328
  } & {
9015
9329
  ftype: z.ZodLiteral<"simple_mosfet">;
9016
9330
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -9022,6 +9336,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9022
9336
  ftype: "simple_mosfet";
9023
9337
  channel_type: "n" | "p";
9024
9338
  mosfet_mode: "enhancement" | "depletion";
9339
+ subcircuit_id?: string | undefined;
9025
9340
  source_group_id?: string | undefined;
9026
9341
  manufacturer_part_number?: string | undefined;
9027
9342
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -9035,6 +9350,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9035
9350
  ftype: "simple_mosfet";
9036
9351
  channel_type: "n" | "p";
9037
9352
  mosfet_mode: "enhancement" | "depletion";
9353
+ subcircuit_id?: string | undefined;
9038
9354
  source_group_id?: string | undefined;
9039
9355
  manufacturer_part_number?: string | undefined;
9040
9356
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -9051,6 +9367,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9051
9367
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
9052
9368
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9053
9369
  source_group_id: z.ZodOptional<z.ZodString>;
9370
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9054
9371
  } & {
9055
9372
  ftype: z.ZodLiteral<"simple_potentiometer">;
9056
9373
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9060,6 +9377,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9060
9377
  source_component_id: string;
9061
9378
  ftype: "simple_potentiometer";
9062
9379
  max_resistance: number;
9380
+ subcircuit_id?: string | undefined;
9063
9381
  source_group_id?: string | undefined;
9064
9382
  manufacturer_part_number?: string | undefined;
9065
9383
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -9072,6 +9390,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9072
9390
  source_component_id: string;
9073
9391
  ftype: "simple_potentiometer";
9074
9392
  max_resistance: string | number;
9393
+ subcircuit_id?: string | undefined;
9075
9394
  source_group_id?: string | undefined;
9076
9395
  manufacturer_part_number?: string | undefined;
9077
9396
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -9088,6 +9407,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9088
9407
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
9089
9408
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9090
9409
  source_group_id: z.ZodOptional<z.ZodString>;
9410
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9091
9411
  } & {
9092
9412
  ftype: z.ZodLiteral<"simple_push_button">;
9093
9413
  }, "strip", z.ZodTypeAny, {
@@ -9095,6 +9415,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9095
9415
  name: string;
9096
9416
  source_component_id: string;
9097
9417
  ftype: "simple_push_button";
9418
+ subcircuit_id?: string | undefined;
9098
9419
  source_group_id?: string | undefined;
9099
9420
  manufacturer_part_number?: string | undefined;
9100
9421
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -9106,6 +9427,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9106
9427
  name: string;
9107
9428
  source_component_id: string;
9108
9429
  ftype: "simple_push_button";
9430
+ subcircuit_id?: string | undefined;
9109
9431
  source_group_id?: string | undefined;
9110
9432
  manufacturer_part_number?: string | undefined;
9111
9433
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -10608,6 +10930,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10608
10930
  } | undefined;
10609
10931
  trace_width?: string | number | undefined;
10610
10932
  }>, "many">;
10933
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10611
10934
  }, "strip", z.ZodTypeAny, {
10612
10935
  type: "pcb_trace_hint";
10613
10936
  pcb_component_id: string;
@@ -10620,6 +10943,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10620
10943
  trace_width?: number | undefined;
10621
10944
  }[];
10622
10945
  pcb_trace_hint_id: string;
10946
+ subcircuit_id?: string | undefined;
10623
10947
  }, {
10624
10948
  type: "pcb_trace_hint";
10625
10949
  pcb_component_id: string;
@@ -10633,6 +10957,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10633
10957
  } | undefined;
10634
10958
  trace_width?: string | number | undefined;
10635
10959
  }[];
10960
+ subcircuit_id?: string | undefined;
10636
10961
  pcb_trace_hint_id?: string | undefined;
10637
10962
  }>, z.ZodObject<{
10638
10963
  type: z.ZodLiteral<"pcb_silkscreen_line">;
@@ -10955,6 +11280,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10955
11280
  source_trace_id: z.ZodString;
10956
11281
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
10957
11282
  pcb_port_ids: z.ZodArray<z.ZodString, "many">;
11283
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10958
11284
  }, "strip", z.ZodTypeAny, {
10959
11285
  message: string;
10960
11286
  type: "pcb_trace_error";
@@ -10968,6 +11294,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10968
11294
  x: number;
10969
11295
  y: number;
10970
11296
  } | undefined;
11297
+ subcircuit_id?: string | undefined;
10971
11298
  }, {
10972
11299
  message: string;
10973
11300
  type: "pcb_trace_error";
@@ -10979,6 +11306,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10979
11306
  x: string | number;
10980
11307
  y: string | number;
10981
11308
  } | undefined;
11309
+ subcircuit_id?: string | undefined;
10982
11310
  pcb_trace_error_id?: string | undefined;
10983
11311
  error_type?: "pcb_trace_error" | undefined;
10984
11312
  }>, z.ZodObject<{
@@ -10986,14 +11314,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10986
11314
  pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10987
11315
  error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
10988
11316
  message: z.ZodString;
11317
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10989
11318
  }, "strip", z.ZodTypeAny, {
10990
11319
  message: string;
10991
11320
  type: "pcb_placement_error";
10992
11321
  error_type: "pcb_placement_error";
10993
11322
  pcb_placement_error_id: string;
11323
+ subcircuit_id?: string | undefined;
10994
11324
  }, {
10995
11325
  message: string;
10996
11326
  type: "pcb_placement_error";
11327
+ subcircuit_id?: string | undefined;
10997
11328
  error_type?: "pcb_placement_error" | undefined;
10998
11329
  pcb_placement_error_id?: string | undefined;
10999
11330
  }>, z.ZodObject<{
@@ -11002,16 +11333,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11002
11333
  error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
11003
11334
  message: z.ZodString;
11004
11335
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
11336
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11005
11337
  }, "strip", z.ZodTypeAny, {
11006
11338
  message: string;
11007
11339
  type: "pcb_port_not_matched_error";
11008
11340
  error_type: "pcb_port_not_matched_error";
11009
11341
  pcb_component_ids: string[];
11010
11342
  pcb_error_id: string;
11343
+ subcircuit_id?: string | undefined;
11011
11344
  }, {
11012
11345
  message: string;
11013
11346
  type: "pcb_port_not_matched_error";
11014
11347
  pcb_component_ids: string[];
11348
+ subcircuit_id?: string | undefined;
11015
11349
  error_type?: "pcb_port_not_matched_error" | undefined;
11016
11350
  pcb_error_id?: string | undefined;
11017
11351
  }>, z.ZodObject<{
@@ -11125,14 +11459,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11125
11459
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11126
11460
  error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
11127
11461
  message: z.ZodString;
11462
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11128
11463
  }, "strip", z.ZodTypeAny, {
11129
11464
  message: string;
11130
11465
  type: "pcb_autorouting_error";
11131
11466
  error_type: "pcb_autorouting_error";
11132
11467
  pcb_error_id: string;
11468
+ subcircuit_id?: string | undefined;
11133
11469
  }, {
11134
11470
  message: string;
11135
11471
  type: "pcb_autorouting_error";
11472
+ subcircuit_id?: string | undefined;
11136
11473
  error_type?: "pcb_autorouting_error" | undefined;
11137
11474
  pcb_error_id?: string | undefined;
11138
11475
  }>, z.ZodObject<{
@@ -11368,6 +11705,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11368
11705
  spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11369
11706
  spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11370
11707
  pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
11708
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11371
11709
  }, "strip", z.ZodTypeAny, {
11372
11710
  type: "pcb_thermal_spoke";
11373
11711
  shape: string;
@@ -11377,6 +11715,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11377
11715
  spoke_thickness: number;
11378
11716
  spoke_inner_diameter: number;
11379
11717
  spoke_outer_diameter: number;
11718
+ subcircuit_id?: string | undefined;
11380
11719
  pcb_plated_hole_id?: string | undefined;
11381
11720
  }, {
11382
11721
  type: "pcb_thermal_spoke";
@@ -11386,6 +11725,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11386
11725
  spoke_thickness: string | number;
11387
11726
  spoke_inner_diameter: string | number;
11388
11727
  spoke_outer_diameter: string | number;
11728
+ subcircuit_id?: string | undefined;
11389
11729
  pcb_plated_hole_id?: string | undefined;
11390
11730
  pcb_thermal_spoke_id?: string | undefined;
11391
11731
  }>, z.ZodObject<{
@@ -11396,6 +11736,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11396
11736
  is_dashed: z.ZodDefault<z.ZodBoolean>;
11397
11737
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11398
11738
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11739
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11399
11740
  }, "strip", z.ZodTypeAny, {
11400
11741
  x: number;
11401
11742
  y: number;
@@ -11403,6 +11744,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11403
11744
  width: number;
11404
11745
  height: number;
11405
11746
  is_dashed: boolean;
11747
+ subcircuit_id?: string | undefined;
11406
11748
  schematic_component_id?: string | undefined;
11407
11749
  }, {
11408
11750
  x: string | number;
@@ -11410,6 +11752,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11410
11752
  type: "schematic_box";
11411
11753
  width: string | number;
11412
11754
  height: string | number;
11755
+ subcircuit_id?: string | undefined;
11413
11756
  schematic_component_id?: string | undefined;
11414
11757
  is_dashed?: boolean | undefined;
11415
11758
  }>, z.ZodObject<{
@@ -11431,6 +11774,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11431
11774
  rotation: z.ZodDefault<z.ZodNumber>;
11432
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"]>]>>;
11433
11776
  color: z.ZodDefault<z.ZodString>;
11777
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11434
11778
  }, "strip", z.ZodTypeAny, {
11435
11779
  anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
11436
11780
  type: "schematic_text";
@@ -11443,6 +11787,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11443
11787
  x: number;
11444
11788
  y: number;
11445
11789
  };
11790
+ subcircuit_id?: string | undefined;
11446
11791
  schematic_component_id?: string | undefined;
11447
11792
  }, {
11448
11793
  type: "schematic_text";
@@ -11454,6 +11799,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11454
11799
  };
11455
11800
  anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
11456
11801
  rotation?: number | undefined;
11802
+ subcircuit_id?: string | undefined;
11457
11803
  font_size?: number | undefined;
11458
11804
  color?: string | undefined;
11459
11805
  schematic_component_id?: string | undefined;
@@ -11464,6 +11810,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11464
11810
  x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11465
11811
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11466
11812
  y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11813
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11467
11814
  }, "strip", z.ZodTypeAny, {
11468
11815
  type: "schematic_line";
11469
11816
  x1: number;
@@ -11471,6 +11818,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11471
11818
  x2: number;
11472
11819
  y2: number;
11473
11820
  schematic_component_id: string;
11821
+ subcircuit_id?: string | undefined;
11474
11822
  }, {
11475
11823
  type: "schematic_line";
11476
11824
  x1: string | number;
@@ -11478,6 +11826,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11478
11826
  x2: string | number;
11479
11827
  y2: string | number;
11480
11828
  schematic_component_id: string;
11829
+ subcircuit_id?: string | undefined;
11481
11830
  }>, z.ZodObject<{
11482
11831
  type: z.ZodLiteral<"schematic_component">;
11483
11832
  size: z.ZodObject<{
@@ -11733,6 +12082,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11733
12082
  true_ccw_index: z.ZodOptional<z.ZodNumber>;
11734
12083
  pin_number: z.ZodOptional<z.ZodNumber>;
11735
12084
  display_pin_label: z.ZodOptional<z.ZodString>;
12085
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11736
12086
  }, "strip", z.ZodTypeAny, {
11737
12087
  type: "schematic_port";
11738
12088
  center: {
@@ -11741,6 +12091,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11741
12091
  };
11742
12092
  source_port_id: string;
11743
12093
  schematic_port_id: string;
12094
+ subcircuit_id?: string | undefined;
11744
12095
  schematic_component_id?: string | undefined;
11745
12096
  facing_direction?: "left" | "right" | "up" | "down" | undefined;
11746
12097
  distance_from_component_edge?: number | undefined;
@@ -11756,6 +12107,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11756
12107
  };
11757
12108
  source_port_id: string;
11758
12109
  schematic_port_id: string;
12110
+ subcircuit_id?: string | undefined;
11759
12111
  schematic_component_id?: string | undefined;
11760
12112
  facing_direction?: "left" | "right" | "up" | "down" | undefined;
11761
12113
  distance_from_component_edge?: number | undefined;
@@ -11826,6 +12178,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11826
12178
  from_schematic_port_id?: string | undefined;
11827
12179
  to_schematic_port_id?: string | undefined;
11828
12180
  }>, "many">;
12181
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11829
12182
  }, "strip", z.ZodTypeAny, {
11830
12183
  type: "schematic_trace";
11831
12184
  source_trace_id: string;
@@ -11847,6 +12200,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11847
12200
  from_schematic_port_id?: string | undefined;
11848
12201
  to_schematic_port_id?: string | undefined;
11849
12202
  }[];
12203
+ subcircuit_id?: string | undefined;
11850
12204
  }, {
11851
12205
  type: "schematic_trace";
11852
12206
  source_trace_id: string;
@@ -11868,6 +12222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11868
12222
  from_schematic_port_id?: string | undefined;
11869
12223
  to_schematic_port_id?: string | undefined;
11870
12224
  }[];
12225
+ subcircuit_id?: string | undefined;
11871
12226
  }>, z.ZodObject<{
11872
12227
  type: z.ZodLiteral<"schematic_path">;
11873
12228
  schematic_component_id: z.ZodString;
@@ -11883,6 +12238,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11883
12238
  x: string | number;
11884
12239
  y: string | number;
11885
12240
  }>, "many">;
12241
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11886
12242
  }, "strip", z.ZodTypeAny, {
11887
12243
  type: "schematic_path";
11888
12244
  points: {
@@ -11890,6 +12246,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11890
12246
  y: number;
11891
12247
  }[];
11892
12248
  schematic_component_id: string;
12249
+ subcircuit_id?: string | undefined;
11893
12250
  is_filled?: boolean | undefined;
11894
12251
  fill_color?: "red" | "blue" | undefined;
11895
12252
  }, {
@@ -11899,6 +12256,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11899
12256
  y: string | number;
11900
12257
  }[];
11901
12258
  schematic_component_id: string;
12259
+ subcircuit_id?: string | undefined;
11902
12260
  is_filled?: boolean | undefined;
11903
12261
  fill_color?: "red" | "blue" | undefined;
11904
12262
  }>, z.ZodObject<{
@@ -11906,15 +12264,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11906
12264
  schematic_error_id: z.ZodString;
11907
12265
  error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
11908
12266
  message: z.ZodString;
12267
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11909
12268
  }, "strip", z.ZodTypeAny, {
11910
12269
  message: string;
11911
12270
  type: "schematic_error";
11912
12271
  error_type: "schematic_port_not_found";
11913
12272
  schematic_error_id: string;
12273
+ subcircuit_id?: string | undefined;
11914
12274
  }, {
11915
12275
  message: string;
11916
12276
  type: "schematic_error";
11917
12277
  schematic_error_id: string;
12278
+ subcircuit_id?: string | undefined;
11918
12279
  error_type?: "schematic_port_not_found" | undefined;
11919
12280
  }>, z.ZodObject<{
11920
12281
  type: z.ZodLiteral<"schematic_layout_error">;
@@ -11923,6 +12284,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11923
12284
  message: z.ZodString;
11924
12285
  source_group_id: z.ZodString;
11925
12286
  schematic_group_id: z.ZodString;
12287
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11926
12288
  }, "strip", z.ZodTypeAny, {
11927
12289
  message: string;
11928
12290
  type: "schematic_layout_error";
@@ -11930,11 +12292,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11930
12292
  source_group_id: string;
11931
12293
  schematic_group_id: string;
11932
12294
  schematic_layout_error_id: string;
12295
+ subcircuit_id?: string | undefined;
11933
12296
  }, {
11934
12297
  message: string;
11935
12298
  type: "schematic_layout_error";
11936
12299
  source_group_id: string;
11937
12300
  schematic_group_id: string;
12301
+ subcircuit_id?: string | undefined;
11938
12302
  error_type?: "schematic_layout_error" | undefined;
11939
12303
  schematic_layout_error_id?: string | undefined;
11940
12304
  }>, z.ZodObject<{
@@ -11966,6 +12330,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11966
12330
  anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
11967
12331
  text: z.ZodString;
11968
12332
  symbol_name: z.ZodOptional<z.ZodString>;
12333
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11969
12334
  }, "strip", z.ZodTypeAny, {
11970
12335
  type: "schematic_net_label";
11971
12336
  center: {
@@ -11976,6 +12341,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11976
12341
  source_net_id: string;
11977
12342
  schematic_net_label_id: string;
11978
12343
  anchor_side: "top" | "bottom" | "left" | "right";
12344
+ subcircuit_id?: string | undefined;
11979
12345
  source_trace_id?: string | undefined;
11980
12346
  anchor_position?: {
11981
12347
  x: number;
@@ -11992,6 +12358,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11992
12358
  text: string;
11993
12359
  source_net_id: string;
11994
12360
  anchor_side: "top" | "bottom" | "left" | "right";
12361
+ subcircuit_id?: string | undefined;
11995
12362
  source_trace_id?: string | undefined;
11996
12363
  anchor_position?: {
11997
12364
  x: string | number;
@@ -12003,6 +12370,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12003
12370
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
12004
12371
  type: z.ZodLiteral<"schematic_debug_object">;
12005
12372
  label: z.ZodOptional<z.ZodString>;
12373
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12006
12374
  } & {
12007
12375
  shape: z.ZodLiteral<"rect">;
12008
12376
  center: z.ZodObject<{
@@ -12036,6 +12404,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12036
12404
  width: number;
12037
12405
  height: number;
12038
12406
  };
12407
+ subcircuit_id?: string | undefined;
12039
12408
  label?: string | undefined;
12040
12409
  }, {
12041
12410
  type: "schematic_debug_object";
@@ -12048,10 +12417,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12048
12417
  width: number;
12049
12418
  height: number;
12050
12419
  };
12420
+ subcircuit_id?: string | undefined;
12051
12421
  label?: string | undefined;
12052
12422
  }>, z.ZodObject<{
12053
12423
  type: z.ZodLiteral<"schematic_debug_object">;
12054
12424
  label: z.ZodOptional<z.ZodString>;
12425
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12055
12426
  } & {
12056
12427
  shape: z.ZodLiteral<"line">;
12057
12428
  start: z.ZodObject<{
@@ -12085,6 +12456,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12085
12456
  x: number;
12086
12457
  y: number;
12087
12458
  };
12459
+ subcircuit_id?: string | undefined;
12088
12460
  label?: string | undefined;
12089
12461
  }, {
12090
12462
  type: "schematic_debug_object";
@@ -12097,10 +12469,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12097
12469
  x: string | number;
12098
12470
  y: string | number;
12099
12471
  };
12472
+ subcircuit_id?: string | undefined;
12100
12473
  label?: string | undefined;
12101
12474
  }>, z.ZodObject<{
12102
12475
  type: z.ZodLiteral<"schematic_debug_object">;
12103
12476
  label: z.ZodOptional<z.ZodString>;
12477
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12104
12478
  } & {
12105
12479
  shape: z.ZodLiteral<"point">;
12106
12480
  center: z.ZodObject<{
@@ -12120,6 +12494,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12120
12494
  y: number;
12121
12495
  };
12122
12496
  shape: "point";
12497
+ subcircuit_id?: string | undefined;
12123
12498
  label?: string | undefined;
12124
12499
  }, {
12125
12500
  type: "schematic_debug_object";
@@ -12128,6 +12503,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12128
12503
  y: string | number;
12129
12504
  };
12130
12505
  shape: "point";
12506
+ subcircuit_id?: string | undefined;
12131
12507
  label?: string | undefined;
12132
12508
  }>]>, z.ZodObject<{
12133
12509
  type: z.ZodLiteral<"schematic_voltage_probe">;
@@ -12144,6 +12520,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12144
12520
  }>;
12145
12521
  schematic_trace_id: z.ZodString;
12146
12522
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12523
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12147
12524
  }, "strip", z.ZodTypeAny, {
12148
12525
  type: "schematic_voltage_probe";
12149
12526
  schematic_trace_id: string;
@@ -12152,6 +12529,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12152
12529
  y: number;
12153
12530
  };
12154
12531
  schematic_voltage_probe_id: string;
12532
+ subcircuit_id?: string | undefined;
12155
12533
  voltage?: number | undefined;
12156
12534
  }, {
12157
12535
  type: "schematic_voltage_probe";
@@ -12161,6 +12539,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12161
12539
  y: string | number;
12162
12540
  };
12163
12541
  schematic_voltage_probe_id: string;
12542
+ subcircuit_id?: string | undefined;
12164
12543
  voltage?: string | number | undefined;
12165
12544
  }>, z.ZodObject<{
12166
12545
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
@@ -12293,6 +12672,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12293
12672
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
12294
12673
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
12295
12674
  }>>;
12675
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12296
12676
  footprinter_string: z.ZodOptional<z.ZodString>;
12297
12677
  model_obj_url: z.ZodOptional<z.ZodString>;
12298
12678
  model_stl_url: z.ZodOptional<z.ZodString>;
@@ -12314,6 +12694,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12314
12694
  y: number;
12315
12695
  z: number;
12316
12696
  } | undefined;
12697
+ subcircuit_id?: string | undefined;
12317
12698
  size?: {
12318
12699
  x: number;
12319
12700
  y: number;
@@ -12342,6 +12723,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12342
12723
  y: string | number;
12343
12724
  z: string | number;
12344
12725
  } | undefined;
12726
+ subcircuit_id?: string | undefined;
12345
12727
  size?: {
12346
12728
  x: string | number;
12347
12729
  y: string | number;
@@ -12423,6 +12805,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12423
12805
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12424
12806
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12425
12807
  source_group_id: z.ZodOptional<z.ZodString>;
12808
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12426
12809
  } & {
12427
12810
  ftype: z.ZodLiteral<"simple_resistor">;
12428
12811
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -12433,6 +12816,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12433
12816
  source_component_id: string;
12434
12817
  ftype: "simple_resistor";
12435
12818
  resistance: number;
12819
+ subcircuit_id?: string | undefined;
12436
12820
  source_group_id?: string | undefined;
12437
12821
  manufacturer_part_number?: string | undefined;
12438
12822
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12446,6 +12830,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12446
12830
  source_component_id: string;
12447
12831
  ftype: "simple_resistor";
12448
12832
  resistance: string | number;
12833
+ subcircuit_id?: string | undefined;
12449
12834
  source_group_id?: string | undefined;
12450
12835
  manufacturer_part_number?: string | undefined;
12451
12836
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12463,6 +12848,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12463
12848
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12464
12849
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12465
12850
  source_group_id: z.ZodOptional<z.ZodString>;
12851
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12466
12852
  } & {
12467
12853
  ftype: z.ZodLiteral<"simple_capacitor">;
12468
12854
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -12475,6 +12861,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12475
12861
  source_component_id: string;
12476
12862
  ftype: "simple_capacitor";
12477
12863
  capacitance: number;
12864
+ subcircuit_id?: string | undefined;
12478
12865
  source_group_id?: string | undefined;
12479
12866
  manufacturer_part_number?: string | undefined;
12480
12867
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12490,6 +12877,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12490
12877
  source_component_id: string;
12491
12878
  ftype: "simple_capacitor";
12492
12879
  capacitance: string | number;
12880
+ subcircuit_id?: string | undefined;
12493
12881
  source_group_id?: string | undefined;
12494
12882
  manufacturer_part_number?: string | undefined;
12495
12883
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12509,6 +12897,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12509
12897
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12510
12898
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12511
12899
  source_group_id: z.ZodOptional<z.ZodString>;
12900
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12512
12901
  } & {
12513
12902
  ftype: z.ZodLiteral<"simple_diode">;
12514
12903
  }, "strip", z.ZodTypeAny, {
@@ -12516,6 +12905,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12516
12905
  name: string;
12517
12906
  source_component_id: string;
12518
12907
  ftype: "simple_diode";
12908
+ subcircuit_id?: string | undefined;
12519
12909
  source_group_id?: string | undefined;
12520
12910
  manufacturer_part_number?: string | undefined;
12521
12911
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12527,6 +12917,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12527
12917
  name: string;
12528
12918
  source_component_id: string;
12529
12919
  ftype: "simple_diode";
12920
+ subcircuit_id?: string | undefined;
12530
12921
  source_group_id?: string | undefined;
12531
12922
  manufacturer_part_number?: string | undefined;
12532
12923
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12543,6 +12934,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12543
12934
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12544
12935
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12545
12936
  source_group_id: z.ZodOptional<z.ZodString>;
12937
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12546
12938
  } & {
12547
12939
  ftype: z.ZodLiteral<"simple_led">;
12548
12940
  color: z.ZodOptional<z.ZodString>;
@@ -12552,6 +12944,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12552
12944
  name: string;
12553
12945
  source_component_id: string;
12554
12946
  ftype: "simple_led";
12947
+ subcircuit_id?: string | undefined;
12555
12948
  color?: string | undefined;
12556
12949
  source_group_id?: string | undefined;
12557
12950
  manufacturer_part_number?: string | undefined;
@@ -12565,6 +12958,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12565
12958
  name: string;
12566
12959
  source_component_id: string;
12567
12960
  ftype: "simple_led";
12961
+ subcircuit_id?: string | undefined;
12568
12962
  color?: string | undefined;
12569
12963
  source_group_id?: string | undefined;
12570
12964
  manufacturer_part_number?: string | undefined;
@@ -12583,6 +12977,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12583
12977
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12584
12978
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12585
12979
  source_group_id: z.ZodOptional<z.ZodString>;
12980
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12586
12981
  } & {
12587
12982
  ftype: z.ZodLiteral<"simple_ground">;
12588
12983
  }, "strip", z.ZodTypeAny, {
@@ -12590,6 +12985,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12590
12985
  name: string;
12591
12986
  source_component_id: string;
12592
12987
  ftype: "simple_ground";
12988
+ subcircuit_id?: string | undefined;
12593
12989
  source_group_id?: string | undefined;
12594
12990
  manufacturer_part_number?: string | undefined;
12595
12991
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12601,6 +12997,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12601
12997
  name: string;
12602
12998
  source_component_id: string;
12603
12999
  ftype: "simple_ground";
13000
+ subcircuit_id?: string | undefined;
12604
13001
  source_group_id?: string | undefined;
12605
13002
  manufacturer_part_number?: string | undefined;
12606
13003
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12617,6 +13014,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12617
13014
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12618
13015
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12619
13016
  source_group_id: z.ZodOptional<z.ZodString>;
13017
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12620
13018
  } & {
12621
13019
  ftype: z.ZodLiteral<"simple_chip">;
12622
13020
  }, "strip", z.ZodTypeAny, {
@@ -12624,6 +13022,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12624
13022
  name: string;
12625
13023
  source_component_id: string;
12626
13024
  ftype: "simple_chip";
13025
+ subcircuit_id?: string | undefined;
12627
13026
  source_group_id?: string | undefined;
12628
13027
  manufacturer_part_number?: string | undefined;
12629
13028
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12635,6 +13034,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12635
13034
  name: string;
12636
13035
  source_component_id: string;
12637
13036
  ftype: "simple_chip";
13037
+ subcircuit_id?: string | undefined;
12638
13038
  source_group_id?: string | undefined;
12639
13039
  manufacturer_part_number?: string | undefined;
12640
13040
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12651,6 +13051,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12651
13051
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12652
13052
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12653
13053
  source_group_id: z.ZodOptional<z.ZodString>;
13054
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12654
13055
  } & {
12655
13056
  ftype: z.ZodLiteral<"simple_power_source">;
12656
13057
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -12660,6 +13061,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12660
13061
  source_component_id: string;
12661
13062
  voltage: number;
12662
13063
  ftype: "simple_power_source";
13064
+ subcircuit_id?: string | undefined;
12663
13065
  source_group_id?: string | undefined;
12664
13066
  manufacturer_part_number?: string | undefined;
12665
13067
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12672,6 +13074,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12672
13074
  source_component_id: string;
12673
13075
  voltage: string | number;
12674
13076
  ftype: "simple_power_source";
13077
+ subcircuit_id?: string | undefined;
12675
13078
  source_group_id?: string | undefined;
12676
13079
  manufacturer_part_number?: string | undefined;
12677
13080
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12688,6 +13091,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12688
13091
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12689
13092
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12690
13093
  source_group_id: z.ZodOptional<z.ZodString>;
13094
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12691
13095
  } & {
12692
13096
  ftype: z.ZodLiteral<"simple_battery">;
12693
13097
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
@@ -12697,6 +13101,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12697
13101
  source_component_id: string;
12698
13102
  ftype: "simple_battery";
12699
13103
  capacity: number;
13104
+ subcircuit_id?: string | undefined;
12700
13105
  source_group_id?: string | undefined;
12701
13106
  manufacturer_part_number?: string | undefined;
12702
13107
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12709,6 +13114,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12709
13114
  source_component_id: string;
12710
13115
  ftype: "simple_battery";
12711
13116
  capacity: string | number;
13117
+ subcircuit_id?: string | undefined;
12712
13118
  source_group_id?: string | undefined;
12713
13119
  manufacturer_part_number?: string | undefined;
12714
13120
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12725,6 +13131,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12725
13131
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12726
13132
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12727
13133
  source_group_id: z.ZodOptional<z.ZodString>;
13134
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12728
13135
  } & {
12729
13136
  ftype: z.ZodLiteral<"simple_inductor">;
12730
13137
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -12735,6 +13142,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12735
13142
  source_component_id: string;
12736
13143
  ftype: "simple_inductor";
12737
13144
  inductance: number;
13145
+ subcircuit_id?: string | undefined;
12738
13146
  source_group_id?: string | undefined;
12739
13147
  manufacturer_part_number?: string | undefined;
12740
13148
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12748,6 +13156,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12748
13156
  source_component_id: string;
12749
13157
  ftype: "simple_inductor";
12750
13158
  inductance: string | number;
13159
+ subcircuit_id?: string | undefined;
12751
13160
  source_group_id?: string | undefined;
12752
13161
  manufacturer_part_number?: string | undefined;
12753
13162
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12765,6 +13174,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12765
13174
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12766
13175
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12767
13176
  source_group_id: z.ZodOptional<z.ZodString>;
13177
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12768
13178
  } & {
12769
13179
  ftype: z.ZodLiteral<"simple_push_button">;
12770
13180
  }, "strip", z.ZodTypeAny, {
@@ -12772,6 +13182,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12772
13182
  name: string;
12773
13183
  source_component_id: string;
12774
13184
  ftype: "simple_push_button";
13185
+ subcircuit_id?: string | undefined;
12775
13186
  source_group_id?: string | undefined;
12776
13187
  manufacturer_part_number?: string | undefined;
12777
13188
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12783,6 +13194,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12783
13194
  name: string;
12784
13195
  source_component_id: string;
12785
13196
  ftype: "simple_push_button";
13197
+ subcircuit_id?: string | undefined;
12786
13198
  source_group_id?: string | undefined;
12787
13199
  manufacturer_part_number?: string | undefined;
12788
13200
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12799,6 +13211,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12799
13211
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12800
13212
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12801
13213
  source_group_id: z.ZodOptional<z.ZodString>;
13214
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12802
13215
  } & {
12803
13216
  ftype: z.ZodLiteral<"simple_potentiometer">;
12804
13217
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -12808,6 +13221,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12808
13221
  source_component_id: string;
12809
13222
  ftype: "simple_potentiometer";
12810
13223
  max_resistance: number;
13224
+ subcircuit_id?: string | undefined;
12811
13225
  source_group_id?: string | undefined;
12812
13226
  manufacturer_part_number?: string | undefined;
12813
13227
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12820,6 +13234,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12820
13234
  source_component_id: string;
12821
13235
  ftype: "simple_potentiometer";
12822
13236
  max_resistance: string | number;
13237
+ subcircuit_id?: string | undefined;
12823
13238
  source_group_id?: string | undefined;
12824
13239
  manufacturer_part_number?: string | undefined;
12825
13240
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12836,6 +13251,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12836
13251
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12837
13252
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12838
13253
  source_group_id: z.ZodOptional<z.ZodString>;
13254
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12839
13255
  } & {
12840
13256
  ftype: z.ZodLiteral<"simple_crystal">;
12841
13257
  frequency: z.ZodNumber;
@@ -12846,6 +13262,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12846
13262
  source_component_id: string;
12847
13263
  ftype: "simple_crystal";
12848
13264
  frequency: number;
13265
+ subcircuit_id?: string | undefined;
12849
13266
  source_group_id?: string | undefined;
12850
13267
  manufacturer_part_number?: string | undefined;
12851
13268
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12859,6 +13276,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12859
13276
  source_component_id: string;
12860
13277
  ftype: "simple_crystal";
12861
13278
  frequency: number;
13279
+ subcircuit_id?: string | undefined;
12862
13280
  source_group_id?: string | undefined;
12863
13281
  manufacturer_part_number?: string | undefined;
12864
13282
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12876,6 +13294,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12876
13294
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12877
13295
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12878
13296
  source_group_id: z.ZodOptional<z.ZodString>;
13297
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12879
13298
  } & {
12880
13299
  ftype: z.ZodLiteral<"simple_pin_header">;
12881
13300
  pin_count: z.ZodNumber;
@@ -12887,6 +13306,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12887
13306
  ftype: "simple_pin_header";
12888
13307
  pin_count: number;
12889
13308
  gender: "male" | "female";
13309
+ subcircuit_id?: string | undefined;
12890
13310
  source_group_id?: string | undefined;
12891
13311
  manufacturer_part_number?: string | undefined;
12892
13312
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12899,6 +13319,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12899
13319
  source_component_id: string;
12900
13320
  ftype: "simple_pin_header";
12901
13321
  pin_count: number;
13322
+ subcircuit_id?: string | undefined;
12902
13323
  source_group_id?: string | undefined;
12903
13324
  manufacturer_part_number?: string | undefined;
12904
13325
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12916,6 +13337,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12916
13337
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12917
13338
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12918
13339
  source_group_id: z.ZodOptional<z.ZodString>;
13340
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12919
13341
  } & {
12920
13342
  ftype: z.ZodLiteral<"simple_resonator">;
12921
13343
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -12928,6 +13350,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12928
13350
  ftype: "simple_resonator";
12929
13351
  frequency: number;
12930
13352
  load_capacitance: number;
13353
+ subcircuit_id?: string | undefined;
12931
13354
  source_group_id?: string | undefined;
12932
13355
  manufacturer_part_number?: string | undefined;
12933
13356
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12942,6 +13365,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12942
13365
  ftype: "simple_resonator";
12943
13366
  frequency: string | number;
12944
13367
  load_capacitance: string | number;
13368
+ subcircuit_id?: string | undefined;
12945
13369
  source_group_id?: string | undefined;
12946
13370
  manufacturer_part_number?: string | undefined;
12947
13371
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12959,6 +13383,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12959
13383
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12960
13384
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12961
13385
  source_group_id: z.ZodOptional<z.ZodString>;
13386
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12962
13387
  } & {
12963
13388
  ftype: z.ZodLiteral<"simple_switch">;
12964
13389
  }, "strip", z.ZodTypeAny, {
@@ -12966,6 +13391,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12966
13391
  name: string;
12967
13392
  source_component_id: string;
12968
13393
  ftype: "simple_switch";
13394
+ subcircuit_id?: string | undefined;
12969
13395
  source_group_id?: string | undefined;
12970
13396
  manufacturer_part_number?: string | undefined;
12971
13397
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12977,6 +13403,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12977
13403
  name: string;
12978
13404
  source_component_id: string;
12979
13405
  ftype: "simple_switch";
13406
+ subcircuit_id?: string | undefined;
12980
13407
  source_group_id?: string | undefined;
12981
13408
  manufacturer_part_number?: string | undefined;
12982
13409
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -12993,6 +13420,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12993
13420
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12994
13421
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12995
13422
  source_group_id: z.ZodOptional<z.ZodString>;
13423
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12996
13424
  } & {
12997
13425
  ftype: z.ZodLiteral<"simple_transistor">;
12998
13426
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
@@ -13002,6 +13430,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13002
13430
  source_component_id: string;
13003
13431
  ftype: "simple_transistor";
13004
13432
  transistor_type: "npn" | "pnp";
13433
+ subcircuit_id?: string | undefined;
13005
13434
  source_group_id?: string | undefined;
13006
13435
  manufacturer_part_number?: string | undefined;
13007
13436
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13014,6 +13443,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13014
13443
  source_component_id: string;
13015
13444
  ftype: "simple_transistor";
13016
13445
  transistor_type: "npn" | "pnp";
13446
+ subcircuit_id?: string | undefined;
13017
13447
  source_group_id?: string | undefined;
13018
13448
  manufacturer_part_number?: string | undefined;
13019
13449
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13030,6 +13460,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13030
13460
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13031
13461
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13032
13462
  source_group_id: z.ZodOptional<z.ZodString>;
13463
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13033
13464
  } & {
13034
13465
  ftype: z.ZodLiteral<"simple_test_point">;
13035
13466
  footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
@@ -13045,6 +13476,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13045
13476
  ftype: "simple_test_point";
13046
13477
  width?: string | number | undefined;
13047
13478
  height?: string | number | undefined;
13479
+ subcircuit_id?: string | undefined;
13048
13480
  hole_diameter?: string | number | undefined;
13049
13481
  pad_shape?: "circle" | "rect" | undefined;
13050
13482
  source_group_id?: string | undefined;
@@ -13062,6 +13494,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13062
13494
  ftype: "simple_test_point";
13063
13495
  width?: string | number | undefined;
13064
13496
  height?: string | number | undefined;
13497
+ subcircuit_id?: string | undefined;
13065
13498
  hole_diameter?: string | number | undefined;
13066
13499
  pad_shape?: "circle" | "rect" | undefined;
13067
13500
  source_group_id?: string | undefined;
@@ -13082,6 +13515,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13082
13515
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13083
13516
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13084
13517
  source_group_id: z.ZodOptional<z.ZodString>;
13518
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13085
13519
  } & {
13086
13520
  ftype: z.ZodLiteral<"simple_mosfet">;
13087
13521
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -13093,6 +13527,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13093
13527
  ftype: "simple_mosfet";
13094
13528
  channel_type: "n" | "p";
13095
13529
  mosfet_mode: "enhancement" | "depletion";
13530
+ subcircuit_id?: string | undefined;
13096
13531
  source_group_id?: string | undefined;
13097
13532
  manufacturer_part_number?: string | undefined;
13098
13533
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13106,6 +13541,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13106
13541
  ftype: "simple_mosfet";
13107
13542
  channel_type: "n" | "p";
13108
13543
  mosfet_mode: "enhancement" | "depletion";
13544
+ subcircuit_id?: string | undefined;
13109
13545
  source_group_id?: string | undefined;
13110
13546
  manufacturer_part_number?: string | undefined;
13111
13547
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13122,6 +13558,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13122
13558
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13123
13559
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13124
13560
  source_group_id: z.ZodOptional<z.ZodString>;
13561
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13125
13562
  } & {
13126
13563
  ftype: z.ZodLiteral<"simple_fuse">;
13127
13564
  current_rating_amps: z.ZodNumber;
@@ -13133,6 +13570,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13133
13570
  ftype: "simple_fuse";
13134
13571
  current_rating_amps: number;
13135
13572
  voltage_rating_volts: number;
13573
+ subcircuit_id?: string | undefined;
13136
13574
  source_group_id?: string | undefined;
13137
13575
  manufacturer_part_number?: string | undefined;
13138
13576
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13146,6 +13584,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13146
13584
  ftype: "simple_fuse";
13147
13585
  current_rating_amps: number;
13148
13586
  voltage_rating_volts: number;
13587
+ subcircuit_id?: string | undefined;
13149
13588
  source_group_id?: string | undefined;
13150
13589
  manufacturer_part_number?: string | undefined;
13151
13590
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13175,6 +13614,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13175
13614
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13176
13615
  source_component_id: z.ZodString;
13177
13616
  property_name: z.ZodString;
13617
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13178
13618
  error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
13179
13619
  message: z.ZodString;
13180
13620
  }, "strip", z.ZodTypeAny, {
@@ -13184,11 +13624,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13184
13624
  error_type: "source_missing_property_error";
13185
13625
  source_missing_property_error_id: string;
13186
13626
  property_name: string;
13627
+ subcircuit_id?: string | undefined;
13187
13628
  }, {
13188
13629
  message: string;
13189
13630
  type: "source_missing_property_error";
13190
13631
  source_component_id: string;
13191
13632
  property_name: string;
13633
+ subcircuit_id?: string | undefined;
13192
13634
  error_type?: "source_missing_property_error" | undefined;
13193
13635
  source_missing_property_error_id?: string | undefined;
13194
13636
  }>, z.ZodObject<{
@@ -13318,6 +13760,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13318
13760
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13319
13761
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13320
13762
  source_group_id: z.ZodOptional<z.ZodString>;
13763
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13321
13764
  } & {
13322
13765
  ftype: z.ZodLiteral<"simple_chip">;
13323
13766
  }, "strip", z.ZodTypeAny, {
@@ -13325,6 +13768,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13325
13768
  name: string;
13326
13769
  source_component_id: string;
13327
13770
  ftype: "simple_chip";
13771
+ subcircuit_id?: string | undefined;
13328
13772
  source_group_id?: string | undefined;
13329
13773
  manufacturer_part_number?: string | undefined;
13330
13774
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13336,6 +13780,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13336
13780
  name: string;
13337
13781
  source_component_id: string;
13338
13782
  ftype: "simple_chip";
13783
+ subcircuit_id?: string | undefined;
13339
13784
  source_group_id?: string | undefined;
13340
13785
  manufacturer_part_number?: string | undefined;
13341
13786
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13352,6 +13797,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13352
13797
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13353
13798
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13354
13799
  source_group_id: z.ZodOptional<z.ZodString>;
13800
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13355
13801
  } & {
13356
13802
  ftype: z.ZodLiteral<"simple_capacitor">;
13357
13803
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -13364,6 +13810,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13364
13810
  source_component_id: string;
13365
13811
  ftype: "simple_capacitor";
13366
13812
  capacitance: number;
13813
+ subcircuit_id?: string | undefined;
13367
13814
  source_group_id?: string | undefined;
13368
13815
  manufacturer_part_number?: string | undefined;
13369
13816
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13379,6 +13826,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13379
13826
  source_component_id: string;
13380
13827
  ftype: "simple_capacitor";
13381
13828
  capacitance: string | number;
13829
+ subcircuit_id?: string | undefined;
13382
13830
  source_group_id?: string | undefined;
13383
13831
  manufacturer_part_number?: string | undefined;
13384
13832
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13398,6 +13846,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13398
13846
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13399
13847
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13400
13848
  source_group_id: z.ZodOptional<z.ZodString>;
13849
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13401
13850
  } & {
13402
13851
  ftype: z.ZodLiteral<"simple_diode">;
13403
13852
  }, "strip", z.ZodTypeAny, {
@@ -13405,6 +13854,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13405
13854
  name: string;
13406
13855
  source_component_id: string;
13407
13856
  ftype: "simple_diode";
13857
+ subcircuit_id?: string | undefined;
13408
13858
  source_group_id?: string | undefined;
13409
13859
  manufacturer_part_number?: string | undefined;
13410
13860
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13416,6 +13866,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13416
13866
  name: string;
13417
13867
  source_component_id: string;
13418
13868
  ftype: "simple_diode";
13869
+ subcircuit_id?: string | undefined;
13419
13870
  source_group_id?: string | undefined;
13420
13871
  manufacturer_part_number?: string | undefined;
13421
13872
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13432,6 +13883,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13432
13883
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13433
13884
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13434
13885
  source_group_id: z.ZodOptional<z.ZodString>;
13886
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13435
13887
  } & {
13436
13888
  ftype: z.ZodLiteral<"simple_led">;
13437
13889
  color: z.ZodOptional<z.ZodString>;
@@ -13441,6 +13893,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13441
13893
  name: string;
13442
13894
  source_component_id: string;
13443
13895
  ftype: "simple_led";
13896
+ subcircuit_id?: string | undefined;
13444
13897
  color?: string | undefined;
13445
13898
  source_group_id?: string | undefined;
13446
13899
  manufacturer_part_number?: string | undefined;
@@ -13454,6 +13907,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13454
13907
  name: string;
13455
13908
  source_component_id: string;
13456
13909
  ftype: "simple_led";
13910
+ subcircuit_id?: string | undefined;
13457
13911
  color?: string | undefined;
13458
13912
  source_group_id?: string | undefined;
13459
13913
  manufacturer_part_number?: string | undefined;
@@ -13472,6 +13926,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13472
13926
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13473
13927
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13474
13928
  source_group_id: z.ZodOptional<z.ZodString>;
13929
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13475
13930
  } & {
13476
13931
  ftype: z.ZodLiteral<"simple_resistor">;
13477
13932
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13482,6 +13937,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13482
13937
  source_component_id: string;
13483
13938
  ftype: "simple_resistor";
13484
13939
  resistance: number;
13940
+ subcircuit_id?: string | undefined;
13485
13941
  source_group_id?: string | undefined;
13486
13942
  manufacturer_part_number?: string | undefined;
13487
13943
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13495,6 +13951,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13495
13951
  source_component_id: string;
13496
13952
  ftype: "simple_resistor";
13497
13953
  resistance: string | number;
13954
+ subcircuit_id?: string | undefined;
13498
13955
  source_group_id?: string | undefined;
13499
13956
  manufacturer_part_number?: string | undefined;
13500
13957
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13512,6 +13969,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13512
13969
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13513
13970
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13514
13971
  source_group_id: z.ZodOptional<z.ZodString>;
13972
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13515
13973
  } & {
13516
13974
  ftype: z.ZodLiteral<"simple_power_source">;
13517
13975
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13521,6 +13979,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13521
13979
  source_component_id: string;
13522
13980
  voltage: number;
13523
13981
  ftype: "simple_power_source";
13982
+ subcircuit_id?: string | undefined;
13524
13983
  source_group_id?: string | undefined;
13525
13984
  manufacturer_part_number?: string | undefined;
13526
13985
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13533,6 +13992,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13533
13992
  source_component_id: string;
13534
13993
  voltage: string | number;
13535
13994
  ftype: "simple_power_source";
13995
+ subcircuit_id?: string | undefined;
13536
13996
  source_group_id?: string | undefined;
13537
13997
  manufacturer_part_number?: string | undefined;
13538
13998
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13549,6 +14009,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13549
14009
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13550
14010
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13551
14011
  source_group_id: z.ZodOptional<z.ZodString>;
14012
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13552
14013
  } & {
13553
14014
  ftype: z.ZodLiteral<"simple_battery">;
13554
14015
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
@@ -13558,6 +14019,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13558
14019
  source_component_id: string;
13559
14020
  ftype: "simple_battery";
13560
14021
  capacity: number;
14022
+ subcircuit_id?: string | undefined;
13561
14023
  source_group_id?: string | undefined;
13562
14024
  manufacturer_part_number?: string | undefined;
13563
14025
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13570,6 +14032,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13570
14032
  source_component_id: string;
13571
14033
  ftype: "simple_battery";
13572
14034
  capacity: string | number;
14035
+ subcircuit_id?: string | undefined;
13573
14036
  source_group_id?: string | undefined;
13574
14037
  manufacturer_part_number?: string | undefined;
13575
14038
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13586,6 +14049,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13586
14049
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13587
14050
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13588
14051
  source_group_id: z.ZodOptional<z.ZodString>;
14052
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13589
14053
  } & {
13590
14054
  ftype: z.ZodLiteral<"simple_inductor">;
13591
14055
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13596,6 +14060,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13596
14060
  source_component_id: string;
13597
14061
  ftype: "simple_inductor";
13598
14062
  inductance: number;
14063
+ subcircuit_id?: string | undefined;
13599
14064
  source_group_id?: string | undefined;
13600
14065
  manufacturer_part_number?: string | undefined;
13601
14066
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13609,6 +14074,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13609
14074
  source_component_id: string;
13610
14075
  ftype: "simple_inductor";
13611
14076
  inductance: string | number;
14077
+ subcircuit_id?: string | undefined;
13612
14078
  source_group_id?: string | undefined;
13613
14079
  manufacturer_part_number?: string | undefined;
13614
14080
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13626,6 +14092,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13626
14092
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13627
14093
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13628
14094
  source_group_id: z.ZodOptional<z.ZodString>;
14095
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13629
14096
  } & {
13630
14097
  ftype: z.ZodLiteral<"simple_pin_header">;
13631
14098
  pin_count: z.ZodNumber;
@@ -13637,6 +14104,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13637
14104
  ftype: "simple_pin_header";
13638
14105
  pin_count: number;
13639
14106
  gender: "male" | "female";
14107
+ subcircuit_id?: string | undefined;
13640
14108
  source_group_id?: string | undefined;
13641
14109
  manufacturer_part_number?: string | undefined;
13642
14110
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13649,6 +14117,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13649
14117
  source_component_id: string;
13650
14118
  ftype: "simple_pin_header";
13651
14119
  pin_count: number;
14120
+ subcircuit_id?: string | undefined;
13652
14121
  source_group_id?: string | undefined;
13653
14122
  manufacturer_part_number?: string | undefined;
13654
14123
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13666,6 +14135,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13666
14135
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13667
14136
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13668
14137
  source_group_id: z.ZodOptional<z.ZodString>;
14138
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13669
14139
  } & {
13670
14140
  ftype: z.ZodLiteral<"simple_resonator">;
13671
14141
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -13678,6 +14148,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13678
14148
  ftype: "simple_resonator";
13679
14149
  frequency: number;
13680
14150
  load_capacitance: number;
14151
+ subcircuit_id?: string | undefined;
13681
14152
  source_group_id?: string | undefined;
13682
14153
  manufacturer_part_number?: string | undefined;
13683
14154
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13692,6 +14163,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13692
14163
  ftype: "simple_resonator";
13693
14164
  frequency: string | number;
13694
14165
  load_capacitance: string | number;
14166
+ subcircuit_id?: string | undefined;
13695
14167
  source_group_id?: string | undefined;
13696
14168
  manufacturer_part_number?: string | undefined;
13697
14169
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13709,6 +14181,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13709
14181
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13710
14182
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13711
14183
  source_group_id: z.ZodOptional<z.ZodString>;
14184
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13712
14185
  } & {
13713
14186
  ftype: z.ZodLiteral<"simple_switch">;
13714
14187
  }, "strip", z.ZodTypeAny, {
@@ -13716,6 +14189,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13716
14189
  name: string;
13717
14190
  source_component_id: string;
13718
14191
  ftype: "simple_switch";
14192
+ subcircuit_id?: string | undefined;
13719
14193
  source_group_id?: string | undefined;
13720
14194
  manufacturer_part_number?: string | undefined;
13721
14195
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13727,6 +14201,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13727
14201
  name: string;
13728
14202
  source_component_id: string;
13729
14203
  ftype: "simple_switch";
14204
+ subcircuit_id?: string | undefined;
13730
14205
  source_group_id?: string | undefined;
13731
14206
  manufacturer_part_number?: string | undefined;
13732
14207
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13743,6 +14218,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13743
14218
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13744
14219
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13745
14220
  source_group_id: z.ZodOptional<z.ZodString>;
14221
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13746
14222
  } & {
13747
14223
  ftype: z.ZodLiteral<"simple_transistor">;
13748
14224
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
@@ -13752,6 +14228,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13752
14228
  source_component_id: string;
13753
14229
  ftype: "simple_transistor";
13754
14230
  transistor_type: "npn" | "pnp";
14231
+ subcircuit_id?: string | undefined;
13755
14232
  source_group_id?: string | undefined;
13756
14233
  manufacturer_part_number?: string | undefined;
13757
14234
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13764,6 +14241,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13764
14241
  source_component_id: string;
13765
14242
  ftype: "simple_transistor";
13766
14243
  transistor_type: "npn" | "pnp";
14244
+ subcircuit_id?: string | undefined;
13767
14245
  source_group_id?: string | undefined;
13768
14246
  manufacturer_part_number?: string | undefined;
13769
14247
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13780,6 +14258,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13780
14258
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13781
14259
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13782
14260
  source_group_id: z.ZodOptional<z.ZodString>;
14261
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13783
14262
  } & {
13784
14263
  ftype: z.ZodLiteral<"simple_test_point">;
13785
14264
  footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
@@ -13795,6 +14274,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13795
14274
  ftype: "simple_test_point";
13796
14275
  width?: string | number | undefined;
13797
14276
  height?: string | number | undefined;
14277
+ subcircuit_id?: string | undefined;
13798
14278
  hole_diameter?: string | number | undefined;
13799
14279
  pad_shape?: "circle" | "rect" | undefined;
13800
14280
  source_group_id?: string | undefined;
@@ -13812,6 +14292,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13812
14292
  ftype: "simple_test_point";
13813
14293
  width?: string | number | undefined;
13814
14294
  height?: string | number | undefined;
14295
+ subcircuit_id?: string | undefined;
13815
14296
  hole_diameter?: string | number | undefined;
13816
14297
  pad_shape?: "circle" | "rect" | undefined;
13817
14298
  source_group_id?: string | undefined;
@@ -13832,6 +14313,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13832
14313
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13833
14314
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13834
14315
  source_group_id: z.ZodOptional<z.ZodString>;
14316
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13835
14317
  } & {
13836
14318
  ftype: z.ZodLiteral<"simple_mosfet">;
13837
14319
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -13843,6 +14325,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13843
14325
  ftype: "simple_mosfet";
13844
14326
  channel_type: "n" | "p";
13845
14327
  mosfet_mode: "enhancement" | "depletion";
14328
+ subcircuit_id?: string | undefined;
13846
14329
  source_group_id?: string | undefined;
13847
14330
  manufacturer_part_number?: string | undefined;
13848
14331
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13856,6 +14339,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13856
14339
  ftype: "simple_mosfet";
13857
14340
  channel_type: "n" | "p";
13858
14341
  mosfet_mode: "enhancement" | "depletion";
14342
+ subcircuit_id?: string | undefined;
13859
14343
  source_group_id?: string | undefined;
13860
14344
  manufacturer_part_number?: string | undefined;
13861
14345
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13872,6 +14356,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13872
14356
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13873
14357
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13874
14358
  source_group_id: z.ZodOptional<z.ZodString>;
14359
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13875
14360
  } & {
13876
14361
  ftype: z.ZodLiteral<"simple_potentiometer">;
13877
14362
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13881,6 +14366,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13881
14366
  source_component_id: string;
13882
14367
  ftype: "simple_potentiometer";
13883
14368
  max_resistance: number;
14369
+ subcircuit_id?: string | undefined;
13884
14370
  source_group_id?: string | undefined;
13885
14371
  manufacturer_part_number?: string | undefined;
13886
14372
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13893,6 +14379,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13893
14379
  source_component_id: string;
13894
14380
  ftype: "simple_potentiometer";
13895
14381
  max_resistance: string | number;
14382
+ subcircuit_id?: string | undefined;
13896
14383
  source_group_id?: string | undefined;
13897
14384
  manufacturer_part_number?: string | undefined;
13898
14385
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13909,6 +14396,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13909
14396
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13910
14397
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13911
14398
  source_group_id: z.ZodOptional<z.ZodString>;
14399
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13912
14400
  } & {
13913
14401
  ftype: z.ZodLiteral<"simple_push_button">;
13914
14402
  }, "strip", z.ZodTypeAny, {
@@ -13916,6 +14404,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13916
14404
  name: string;
13917
14405
  source_component_id: string;
13918
14406
  ftype: "simple_push_button";
14407
+ subcircuit_id?: string | undefined;
13919
14408
  source_group_id?: string | undefined;
13920
14409
  manufacturer_part_number?: string | undefined;
13921
14410
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -13927,6 +14416,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13927
14416
  name: string;
13928
14417
  source_component_id: string;
13929
14418
  ftype: "simple_push_button";
14419
+ subcircuit_id?: string | undefined;
13930
14420
  source_group_id?: string | undefined;
13931
14421
  manufacturer_part_number?: string | undefined;
13932
14422
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -15429,6 +15919,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15429
15919
  } | undefined;
15430
15920
  trace_width?: string | number | undefined;
15431
15921
  }>, "many">;
15922
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15432
15923
  }, "strip", z.ZodTypeAny, {
15433
15924
  type: "pcb_trace_hint";
15434
15925
  pcb_component_id: string;
@@ -15441,6 +15932,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15441
15932
  trace_width?: number | undefined;
15442
15933
  }[];
15443
15934
  pcb_trace_hint_id: string;
15935
+ subcircuit_id?: string | undefined;
15444
15936
  }, {
15445
15937
  type: "pcb_trace_hint";
15446
15938
  pcb_component_id: string;
@@ -15454,6 +15946,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15454
15946
  } | undefined;
15455
15947
  trace_width?: string | number | undefined;
15456
15948
  }[];
15949
+ subcircuit_id?: string | undefined;
15457
15950
  pcb_trace_hint_id?: string | undefined;
15458
15951
  }>, z.ZodObject<{
15459
15952
  type: z.ZodLiteral<"pcb_silkscreen_line">;
@@ -15776,6 +16269,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15776
16269
  source_trace_id: z.ZodString;
15777
16270
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
15778
16271
  pcb_port_ids: z.ZodArray<z.ZodString, "many">;
16272
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15779
16273
  }, "strip", z.ZodTypeAny, {
15780
16274
  message: string;
15781
16275
  type: "pcb_trace_error";
@@ -15789,6 +16283,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15789
16283
  x: number;
15790
16284
  y: number;
15791
16285
  } | undefined;
16286
+ subcircuit_id?: string | undefined;
15792
16287
  }, {
15793
16288
  message: string;
15794
16289
  type: "pcb_trace_error";
@@ -15800,6 +16295,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15800
16295
  x: string | number;
15801
16296
  y: string | number;
15802
16297
  } | undefined;
16298
+ subcircuit_id?: string | undefined;
15803
16299
  pcb_trace_error_id?: string | undefined;
15804
16300
  error_type?: "pcb_trace_error" | undefined;
15805
16301
  }>, z.ZodObject<{
@@ -15807,14 +16303,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15807
16303
  pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15808
16304
  error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
15809
16305
  message: z.ZodString;
16306
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15810
16307
  }, "strip", z.ZodTypeAny, {
15811
16308
  message: string;
15812
16309
  type: "pcb_placement_error";
15813
16310
  error_type: "pcb_placement_error";
15814
16311
  pcb_placement_error_id: string;
16312
+ subcircuit_id?: string | undefined;
15815
16313
  }, {
15816
16314
  message: string;
15817
16315
  type: "pcb_placement_error";
16316
+ subcircuit_id?: string | undefined;
15818
16317
  error_type?: "pcb_placement_error" | undefined;
15819
16318
  pcb_placement_error_id?: string | undefined;
15820
16319
  }>, z.ZodObject<{
@@ -15823,16 +16322,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15823
16322
  error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
15824
16323
  message: z.ZodString;
15825
16324
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
16325
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15826
16326
  }, "strip", z.ZodTypeAny, {
15827
16327
  message: string;
15828
16328
  type: "pcb_port_not_matched_error";
15829
16329
  error_type: "pcb_port_not_matched_error";
15830
16330
  pcb_component_ids: string[];
15831
16331
  pcb_error_id: string;
16332
+ subcircuit_id?: string | undefined;
15832
16333
  }, {
15833
16334
  message: string;
15834
16335
  type: "pcb_port_not_matched_error";
15835
16336
  pcb_component_ids: string[];
16337
+ subcircuit_id?: string | undefined;
15836
16338
  error_type?: "pcb_port_not_matched_error" | undefined;
15837
16339
  pcb_error_id?: string | undefined;
15838
16340
  }>, z.ZodObject<{
@@ -15946,14 +16448,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15946
16448
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15947
16449
  error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
15948
16450
  message: z.ZodString;
16451
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15949
16452
  }, "strip", z.ZodTypeAny, {
15950
16453
  message: string;
15951
16454
  type: "pcb_autorouting_error";
15952
16455
  error_type: "pcb_autorouting_error";
15953
16456
  pcb_error_id: string;
16457
+ subcircuit_id?: string | undefined;
15954
16458
  }, {
15955
16459
  message: string;
15956
16460
  type: "pcb_autorouting_error";
16461
+ subcircuit_id?: string | undefined;
15957
16462
  error_type?: "pcb_autorouting_error" | undefined;
15958
16463
  pcb_error_id?: string | undefined;
15959
16464
  }>, z.ZodObject<{
@@ -16189,6 +16694,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16189
16694
  spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16190
16695
  spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16191
16696
  pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
16697
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16192
16698
  }, "strip", z.ZodTypeAny, {
16193
16699
  type: "pcb_thermal_spoke";
16194
16700
  shape: string;
@@ -16198,6 +16704,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16198
16704
  spoke_thickness: number;
16199
16705
  spoke_inner_diameter: number;
16200
16706
  spoke_outer_diameter: number;
16707
+ subcircuit_id?: string | undefined;
16201
16708
  pcb_plated_hole_id?: string | undefined;
16202
16709
  }, {
16203
16710
  type: "pcb_thermal_spoke";
@@ -16207,6 +16714,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16207
16714
  spoke_thickness: string | number;
16208
16715
  spoke_inner_diameter: string | number;
16209
16716
  spoke_outer_diameter: string | number;
16717
+ subcircuit_id?: string | undefined;
16210
16718
  pcb_plated_hole_id?: string | undefined;
16211
16719
  pcb_thermal_spoke_id?: string | undefined;
16212
16720
  }>, z.ZodObject<{
@@ -16217,6 +16725,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16217
16725
  is_dashed: z.ZodDefault<z.ZodBoolean>;
16218
16726
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16219
16727
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16728
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16220
16729
  }, "strip", z.ZodTypeAny, {
16221
16730
  x: number;
16222
16731
  y: number;
@@ -16224,6 +16733,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16224
16733
  width: number;
16225
16734
  height: number;
16226
16735
  is_dashed: boolean;
16736
+ subcircuit_id?: string | undefined;
16227
16737
  schematic_component_id?: string | undefined;
16228
16738
  }, {
16229
16739
  x: string | number;
@@ -16231,6 +16741,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16231
16741
  type: "schematic_box";
16232
16742
  width: string | number;
16233
16743
  height: string | number;
16744
+ subcircuit_id?: string | undefined;
16234
16745
  schematic_component_id?: string | undefined;
16235
16746
  is_dashed?: boolean | undefined;
16236
16747
  }>, z.ZodObject<{
@@ -16252,6 +16763,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16252
16763
  rotation: z.ZodDefault<z.ZodNumber>;
16253
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"]>]>>;
16254
16765
  color: z.ZodDefault<z.ZodString>;
16766
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16255
16767
  }, "strip", z.ZodTypeAny, {
16256
16768
  anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
16257
16769
  type: "schematic_text";
@@ -16264,6 +16776,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16264
16776
  x: number;
16265
16777
  y: number;
16266
16778
  };
16779
+ subcircuit_id?: string | undefined;
16267
16780
  schematic_component_id?: string | undefined;
16268
16781
  }, {
16269
16782
  type: "schematic_text";
@@ -16275,6 +16788,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16275
16788
  };
16276
16789
  anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
16277
16790
  rotation?: number | undefined;
16791
+ subcircuit_id?: string | undefined;
16278
16792
  font_size?: number | undefined;
16279
16793
  color?: string | undefined;
16280
16794
  schematic_component_id?: string | undefined;
@@ -16285,6 +16799,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16285
16799
  x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16286
16800
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16287
16801
  y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16802
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16288
16803
  }, "strip", z.ZodTypeAny, {
16289
16804
  type: "schematic_line";
16290
16805
  x1: number;
@@ -16292,6 +16807,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16292
16807
  x2: number;
16293
16808
  y2: number;
16294
16809
  schematic_component_id: string;
16810
+ subcircuit_id?: string | undefined;
16295
16811
  }, {
16296
16812
  type: "schematic_line";
16297
16813
  x1: string | number;
@@ -16299,6 +16815,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16299
16815
  x2: string | number;
16300
16816
  y2: string | number;
16301
16817
  schematic_component_id: string;
16818
+ subcircuit_id?: string | undefined;
16302
16819
  }>, z.ZodObject<{
16303
16820
  type: z.ZodLiteral<"schematic_component">;
16304
16821
  size: z.ZodObject<{
@@ -16554,6 +17071,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16554
17071
  true_ccw_index: z.ZodOptional<z.ZodNumber>;
16555
17072
  pin_number: z.ZodOptional<z.ZodNumber>;
16556
17073
  display_pin_label: z.ZodOptional<z.ZodString>;
17074
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16557
17075
  }, "strip", z.ZodTypeAny, {
16558
17076
  type: "schematic_port";
16559
17077
  center: {
@@ -16562,6 +17080,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16562
17080
  };
16563
17081
  source_port_id: string;
16564
17082
  schematic_port_id: string;
17083
+ subcircuit_id?: string | undefined;
16565
17084
  schematic_component_id?: string | undefined;
16566
17085
  facing_direction?: "left" | "right" | "up" | "down" | undefined;
16567
17086
  distance_from_component_edge?: number | undefined;
@@ -16577,6 +17096,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16577
17096
  };
16578
17097
  source_port_id: string;
16579
17098
  schematic_port_id: string;
17099
+ subcircuit_id?: string | undefined;
16580
17100
  schematic_component_id?: string | undefined;
16581
17101
  facing_direction?: "left" | "right" | "up" | "down" | undefined;
16582
17102
  distance_from_component_edge?: number | undefined;
@@ -16647,6 +17167,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16647
17167
  from_schematic_port_id?: string | undefined;
16648
17168
  to_schematic_port_id?: string | undefined;
16649
17169
  }>, "many">;
17170
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16650
17171
  }, "strip", z.ZodTypeAny, {
16651
17172
  type: "schematic_trace";
16652
17173
  source_trace_id: string;
@@ -16668,6 +17189,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16668
17189
  from_schematic_port_id?: string | undefined;
16669
17190
  to_schematic_port_id?: string | undefined;
16670
17191
  }[];
17192
+ subcircuit_id?: string | undefined;
16671
17193
  }, {
16672
17194
  type: "schematic_trace";
16673
17195
  source_trace_id: string;
@@ -16689,6 +17211,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16689
17211
  from_schematic_port_id?: string | undefined;
16690
17212
  to_schematic_port_id?: string | undefined;
16691
17213
  }[];
17214
+ subcircuit_id?: string | undefined;
16692
17215
  }>, z.ZodObject<{
16693
17216
  type: z.ZodLiteral<"schematic_path">;
16694
17217
  schematic_component_id: z.ZodString;
@@ -16704,6 +17227,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16704
17227
  x: string | number;
16705
17228
  y: string | number;
16706
17229
  }>, "many">;
17230
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16707
17231
  }, "strip", z.ZodTypeAny, {
16708
17232
  type: "schematic_path";
16709
17233
  points: {
@@ -16711,6 +17235,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16711
17235
  y: number;
16712
17236
  }[];
16713
17237
  schematic_component_id: string;
17238
+ subcircuit_id?: string | undefined;
16714
17239
  is_filled?: boolean | undefined;
16715
17240
  fill_color?: "red" | "blue" | undefined;
16716
17241
  }, {
@@ -16720,6 +17245,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16720
17245
  y: string | number;
16721
17246
  }[];
16722
17247
  schematic_component_id: string;
17248
+ subcircuit_id?: string | undefined;
16723
17249
  is_filled?: boolean | undefined;
16724
17250
  fill_color?: "red" | "blue" | undefined;
16725
17251
  }>, z.ZodObject<{
@@ -16727,15 +17253,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16727
17253
  schematic_error_id: z.ZodString;
16728
17254
  error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
16729
17255
  message: z.ZodString;
17256
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16730
17257
  }, "strip", z.ZodTypeAny, {
16731
17258
  message: string;
16732
17259
  type: "schematic_error";
16733
17260
  error_type: "schematic_port_not_found";
16734
17261
  schematic_error_id: string;
17262
+ subcircuit_id?: string | undefined;
16735
17263
  }, {
16736
17264
  message: string;
16737
17265
  type: "schematic_error";
16738
17266
  schematic_error_id: string;
17267
+ subcircuit_id?: string | undefined;
16739
17268
  error_type?: "schematic_port_not_found" | undefined;
16740
17269
  }>, z.ZodObject<{
16741
17270
  type: z.ZodLiteral<"schematic_layout_error">;
@@ -16744,6 +17273,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16744
17273
  message: z.ZodString;
16745
17274
  source_group_id: z.ZodString;
16746
17275
  schematic_group_id: z.ZodString;
17276
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16747
17277
  }, "strip", z.ZodTypeAny, {
16748
17278
  message: string;
16749
17279
  type: "schematic_layout_error";
@@ -16751,11 +17281,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16751
17281
  source_group_id: string;
16752
17282
  schematic_group_id: string;
16753
17283
  schematic_layout_error_id: string;
17284
+ subcircuit_id?: string | undefined;
16754
17285
  }, {
16755
17286
  message: string;
16756
17287
  type: "schematic_layout_error";
16757
17288
  source_group_id: string;
16758
17289
  schematic_group_id: string;
17290
+ subcircuit_id?: string | undefined;
16759
17291
  error_type?: "schematic_layout_error" | undefined;
16760
17292
  schematic_layout_error_id?: string | undefined;
16761
17293
  }>, z.ZodObject<{
@@ -16787,6 +17319,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16787
17319
  anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
16788
17320
  text: z.ZodString;
16789
17321
  symbol_name: z.ZodOptional<z.ZodString>;
17322
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16790
17323
  }, "strip", z.ZodTypeAny, {
16791
17324
  type: "schematic_net_label";
16792
17325
  center: {
@@ -16797,6 +17330,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16797
17330
  source_net_id: string;
16798
17331
  schematic_net_label_id: string;
16799
17332
  anchor_side: "top" | "bottom" | "left" | "right";
17333
+ subcircuit_id?: string | undefined;
16800
17334
  source_trace_id?: string | undefined;
16801
17335
  anchor_position?: {
16802
17336
  x: number;
@@ -16813,6 +17347,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16813
17347
  text: string;
16814
17348
  source_net_id: string;
16815
17349
  anchor_side: "top" | "bottom" | "left" | "right";
17350
+ subcircuit_id?: string | undefined;
16816
17351
  source_trace_id?: string | undefined;
16817
17352
  anchor_position?: {
16818
17353
  x: string | number;
@@ -16824,6 +17359,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16824
17359
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
16825
17360
  type: z.ZodLiteral<"schematic_debug_object">;
16826
17361
  label: z.ZodOptional<z.ZodString>;
17362
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16827
17363
  } & {
16828
17364
  shape: z.ZodLiteral<"rect">;
16829
17365
  center: z.ZodObject<{
@@ -16857,6 +17393,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16857
17393
  width: number;
16858
17394
  height: number;
16859
17395
  };
17396
+ subcircuit_id?: string | undefined;
16860
17397
  label?: string | undefined;
16861
17398
  }, {
16862
17399
  type: "schematic_debug_object";
@@ -16869,10 +17406,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16869
17406
  width: number;
16870
17407
  height: number;
16871
17408
  };
17409
+ subcircuit_id?: string | undefined;
16872
17410
  label?: string | undefined;
16873
17411
  }>, z.ZodObject<{
16874
17412
  type: z.ZodLiteral<"schematic_debug_object">;
16875
17413
  label: z.ZodOptional<z.ZodString>;
17414
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16876
17415
  } & {
16877
17416
  shape: z.ZodLiteral<"line">;
16878
17417
  start: z.ZodObject<{
@@ -16906,6 +17445,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16906
17445
  x: number;
16907
17446
  y: number;
16908
17447
  };
17448
+ subcircuit_id?: string | undefined;
16909
17449
  label?: string | undefined;
16910
17450
  }, {
16911
17451
  type: "schematic_debug_object";
@@ -16918,10 +17458,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16918
17458
  x: string | number;
16919
17459
  y: string | number;
16920
17460
  };
17461
+ subcircuit_id?: string | undefined;
16921
17462
  label?: string | undefined;
16922
17463
  }>, z.ZodObject<{
16923
17464
  type: z.ZodLiteral<"schematic_debug_object">;
16924
17465
  label: z.ZodOptional<z.ZodString>;
17466
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16925
17467
  } & {
16926
17468
  shape: z.ZodLiteral<"point">;
16927
17469
  center: z.ZodObject<{
@@ -16941,6 +17483,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16941
17483
  y: number;
16942
17484
  };
16943
17485
  shape: "point";
17486
+ subcircuit_id?: string | undefined;
16944
17487
  label?: string | undefined;
16945
17488
  }, {
16946
17489
  type: "schematic_debug_object";
@@ -16949,6 +17492,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16949
17492
  y: string | number;
16950
17493
  };
16951
17494
  shape: "point";
17495
+ subcircuit_id?: string | undefined;
16952
17496
  label?: string | undefined;
16953
17497
  }>]>, z.ZodObject<{
16954
17498
  type: z.ZodLiteral<"schematic_voltage_probe">;
@@ -16965,6 +17509,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16965
17509
  }>;
16966
17510
  schematic_trace_id: z.ZodString;
16967
17511
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
17512
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16968
17513
  }, "strip", z.ZodTypeAny, {
16969
17514
  type: "schematic_voltage_probe";
16970
17515
  schematic_trace_id: string;
@@ -16973,6 +17518,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16973
17518
  y: number;
16974
17519
  };
16975
17520
  schematic_voltage_probe_id: string;
17521
+ subcircuit_id?: string | undefined;
16976
17522
  voltage?: number | undefined;
16977
17523
  }, {
16978
17524
  type: "schematic_voltage_probe";
@@ -16982,6 +17528,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16982
17528
  y: string | number;
16983
17529
  };
16984
17530
  schematic_voltage_probe_id: string;
17531
+ subcircuit_id?: string | undefined;
16985
17532
  voltage?: string | number | undefined;
16986
17533
  }>, z.ZodObject<{
16987
17534
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
@@ -17114,6 +17661,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17114
17661
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
17115
17662
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17116
17663
  }>>;
17664
+ subcircuit_id: z.ZodOptional<z.ZodString>;
17117
17665
  footprinter_string: z.ZodOptional<z.ZodString>;
17118
17666
  model_obj_url: z.ZodOptional<z.ZodString>;
17119
17667
  model_stl_url: z.ZodOptional<z.ZodString>;
@@ -17135,6 +17683,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17135
17683
  y: number;
17136
17684
  z: number;
17137
17685
  } | undefined;
17686
+ subcircuit_id?: string | undefined;
17138
17687
  size?: {
17139
17688
  x: number;
17140
17689
  y: number;
@@ -17163,6 +17712,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17163
17712
  y: string | number;
17164
17713
  z: string | number;
17165
17714
  } | undefined;
17715
+ subcircuit_id?: string | undefined;
17166
17716
  size?: {
17167
17717
  x: string | number;
17168
17718
  y: string | number;