circuit-json 0.0.187 → 0.0.188

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
@@ -3009,12 +3009,12 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
3009
3009
  type PCBKeepoutInput = z.input<typeof pcb_keepout>;
3010
3010
  type PCBKeepout = z.infer<typeof pcb_keepout>;
3011
3011
 
3012
- declare const pcb_cutout_rect: z.ZodObject<{
3012
+ declare const pcb_cutout_rect: z.ZodObject<z.objectUtil.extendShape<{
3013
3013
  type: z.ZodLiteral<"pcb_cutout">;
3014
3014
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3015
3015
  pcb_group_id: z.ZodOptional<z.ZodString>;
3016
3016
  subcircuit_id: z.ZodOptional<z.ZodString>;
3017
- } & {
3017
+ }, {
3018
3018
  shape: z.ZodLiteral<"rect">;
3019
3019
  center: z.ZodObject<{
3020
3020
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3029,7 +3029,7 @@ declare const pcb_cutout_rect: z.ZodObject<{
3029
3029
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3030
3030
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3031
3031
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3032
- }, "strip", z.ZodTypeAny, {
3032
+ }>, "strip", z.ZodTypeAny, {
3033
3033
  type: "pcb_cutout";
3034
3034
  width: number;
3035
3035
  height: number;
@@ -3071,12 +3071,12 @@ interface PcbCutoutRect {
3071
3071
  height: Length;
3072
3072
  rotation?: Rotation;
3073
3073
  }
3074
- declare const pcb_cutout_circle: z.ZodObject<{
3074
+ declare const pcb_cutout_circle: z.ZodObject<z.objectUtil.extendShape<{
3075
3075
  type: z.ZodLiteral<"pcb_cutout">;
3076
3076
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3077
3077
  pcb_group_id: z.ZodOptional<z.ZodString>;
3078
3078
  subcircuit_id: z.ZodOptional<z.ZodString>;
3079
- } & {
3079
+ }, {
3080
3080
  shape: z.ZodLiteral<"circle">;
3081
3081
  center: z.ZodObject<{
3082
3082
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3089,7 +3089,7 @@ declare const pcb_cutout_circle: z.ZodObject<{
3089
3089
  y: string | number;
3090
3090
  }>;
3091
3091
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3092
- }, "strip", z.ZodTypeAny, {
3092
+ }>, "strip", z.ZodTypeAny, {
3093
3093
  type: "pcb_cutout";
3094
3094
  center: {
3095
3095
  x: number;
@@ -3125,12 +3125,12 @@ interface PcbCutoutCircle {
3125
3125
  center: Point;
3126
3126
  radius: Length;
3127
3127
  }
3128
- declare const pcb_cutout_polygon: z.ZodObject<{
3128
+ declare const pcb_cutout_polygon: z.ZodObject<z.objectUtil.extendShape<{
3129
3129
  type: z.ZodLiteral<"pcb_cutout">;
3130
3130
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3131
3131
  pcb_group_id: z.ZodOptional<z.ZodString>;
3132
3132
  subcircuit_id: z.ZodOptional<z.ZodString>;
3133
- } & {
3133
+ }, {
3134
3134
  shape: z.ZodLiteral<"polygon">;
3135
3135
  points: z.ZodArray<z.ZodObject<{
3136
3136
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3142,7 +3142,7 @@ declare const pcb_cutout_polygon: z.ZodObject<{
3142
3142
  x: string | number;
3143
3143
  y: string | number;
3144
3144
  }>, "many">;
3145
- }, "strip", z.ZodTypeAny, {
3145
+ }>, "strip", z.ZodTypeAny, {
3146
3146
  type: "pcb_cutout";
3147
3147
  shape: "polygon";
3148
3148
  pcb_cutout_id: string;
@@ -3176,12 +3176,12 @@ interface PcbCutoutPolygon {
3176
3176
  shape: "polygon";
3177
3177
  points: Point[];
3178
3178
  }
3179
- declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
3179
+ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
3180
3180
  type: z.ZodLiteral<"pcb_cutout">;
3181
3181
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3182
3182
  pcb_group_id: z.ZodOptional<z.ZodString>;
3183
3183
  subcircuit_id: z.ZodOptional<z.ZodString>;
3184
- } & {
3184
+ }, {
3185
3185
  shape: z.ZodLiteral<"rect">;
3186
3186
  center: z.ZodObject<{
3187
3187
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3196,7 +3196,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
3196
3196
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3197
3197
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3198
3198
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3199
- }, "strip", z.ZodTypeAny, {
3199
+ }>, "strip", z.ZodTypeAny, {
3200
3200
  type: "pcb_cutout";
3201
3201
  width: number;
3202
3202
  height: number;
@@ -3222,12 +3222,12 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
3222
3222
  subcircuit_id?: string | undefined;
3223
3223
  pcb_group_id?: string | undefined;
3224
3224
  pcb_cutout_id?: string | undefined;
3225
- }>, z.ZodObject<{
3225
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3226
3226
  type: z.ZodLiteral<"pcb_cutout">;
3227
3227
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3228
3228
  pcb_group_id: z.ZodOptional<z.ZodString>;
3229
3229
  subcircuit_id: z.ZodOptional<z.ZodString>;
3230
- } & {
3230
+ }, {
3231
3231
  shape: z.ZodLiteral<"circle">;
3232
3232
  center: z.ZodObject<{
3233
3233
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3240,7 +3240,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
3240
3240
  y: string | number;
3241
3241
  }>;
3242
3242
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3243
- }, "strip", z.ZodTypeAny, {
3243
+ }>, "strip", z.ZodTypeAny, {
3244
3244
  type: "pcb_cutout";
3245
3245
  center: {
3246
3246
  x: number;
@@ -3262,12 +3262,12 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
3262
3262
  subcircuit_id?: string | undefined;
3263
3263
  pcb_group_id?: string | undefined;
3264
3264
  pcb_cutout_id?: string | undefined;
3265
- }>, z.ZodObject<{
3265
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3266
3266
  type: z.ZodLiteral<"pcb_cutout">;
3267
3267
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3268
3268
  pcb_group_id: z.ZodOptional<z.ZodString>;
3269
3269
  subcircuit_id: z.ZodOptional<z.ZodString>;
3270
- } & {
3270
+ }, {
3271
3271
  shape: z.ZodLiteral<"polygon">;
3272
3272
  points: z.ZodArray<z.ZodObject<{
3273
3273
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3279,7 +3279,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
3279
3279
  x: string | number;
3280
3280
  y: string | number;
3281
3281
  }>, "many">;
3282
- }, "strip", z.ZodTypeAny, {
3282
+ }>, "strip", z.ZodTypeAny, {
3283
3283
  type: "pcb_cutout";
3284
3284
  shape: "polygon";
3285
3285
  pcb_cutout_id: string;
@@ -4451,10 +4451,10 @@ declare const schematic_debug_object_base: z.ZodObject<{
4451
4451
  type: "schematic_debug_object";
4452
4452
  label?: string | undefined;
4453
4453
  }>;
4454
- declare const schematic_debug_rect: z.ZodObject<{
4454
+ declare const schematic_debug_rect: z.ZodObject<z.objectUtil.extendShape<{
4455
4455
  type: z.ZodLiteral<"schematic_debug_object">;
4456
4456
  label: z.ZodOptional<z.ZodString>;
4457
- } & {
4457
+ }, {
4458
4458
  shape: z.ZodLiteral<"rect">;
4459
4459
  center: z.ZodObject<{
4460
4460
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4476,7 +4476,7 @@ declare const schematic_debug_rect: z.ZodObject<{
4476
4476
  width: number;
4477
4477
  height: number;
4478
4478
  }>;
4479
- }, "strip", z.ZodTypeAny, {
4479
+ }>, "strip", z.ZodTypeAny, {
4480
4480
  type: "schematic_debug_object";
4481
4481
  center: {
4482
4482
  x: number;
@@ -4501,10 +4501,10 @@ declare const schematic_debug_rect: z.ZodObject<{
4501
4501
  };
4502
4502
  label?: string | undefined;
4503
4503
  }>;
4504
- declare const schematic_debug_line: z.ZodObject<{
4504
+ declare const schematic_debug_line: z.ZodObject<z.objectUtil.extendShape<{
4505
4505
  type: z.ZodLiteral<"schematic_debug_object">;
4506
4506
  label: z.ZodOptional<z.ZodString>;
4507
- } & {
4507
+ }, {
4508
4508
  shape: z.ZodLiteral<"line">;
4509
4509
  start: z.ZodObject<{
4510
4510
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4526,7 +4526,7 @@ declare const schematic_debug_line: z.ZodObject<{
4526
4526
  x: string | number;
4527
4527
  y: string | number;
4528
4528
  }>;
4529
- }, "strip", z.ZodTypeAny, {
4529
+ }>, "strip", z.ZodTypeAny, {
4530
4530
  type: "schematic_debug_object";
4531
4531
  shape: "line";
4532
4532
  start: {
@@ -4551,10 +4551,10 @@ declare const schematic_debug_line: z.ZodObject<{
4551
4551
  };
4552
4552
  label?: string | undefined;
4553
4553
  }>;
4554
- declare const schematic_debug_point: z.ZodObject<{
4554
+ declare const schematic_debug_point: z.ZodObject<z.objectUtil.extendShape<{
4555
4555
  type: z.ZodLiteral<"schematic_debug_object">;
4556
4556
  label: z.ZodOptional<z.ZodString>;
4557
- } & {
4557
+ }, {
4558
4558
  shape: z.ZodLiteral<"point">;
4559
4559
  center: z.ZodObject<{
4560
4560
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4566,7 +4566,7 @@ declare const schematic_debug_point: z.ZodObject<{
4566
4566
  x: string | number;
4567
4567
  y: string | number;
4568
4568
  }>;
4569
- }, "strip", z.ZodTypeAny, {
4569
+ }>, "strip", z.ZodTypeAny, {
4570
4570
  type: "schematic_debug_object";
4571
4571
  center: {
4572
4572
  x: number;
@@ -4583,10 +4583,10 @@ declare const schematic_debug_point: z.ZodObject<{
4583
4583
  shape: "point";
4584
4584
  label?: string | undefined;
4585
4585
  }>;
4586
- declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
4586
+ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
4587
4587
  type: z.ZodLiteral<"schematic_debug_object">;
4588
4588
  label: z.ZodOptional<z.ZodString>;
4589
- } & {
4589
+ }, {
4590
4590
  shape: z.ZodLiteral<"rect">;
4591
4591
  center: z.ZodObject<{
4592
4592
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4608,7 +4608,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
4608
4608
  width: number;
4609
4609
  height: number;
4610
4610
  }>;
4611
- }, "strip", z.ZodTypeAny, {
4611
+ }>, "strip", z.ZodTypeAny, {
4612
4612
  type: "schematic_debug_object";
4613
4613
  center: {
4614
4614
  x: number;
@@ -4632,10 +4632,10 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
4632
4632
  height: number;
4633
4633
  };
4634
4634
  label?: string | undefined;
4635
- }>, z.ZodObject<{
4635
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4636
4636
  type: z.ZodLiteral<"schematic_debug_object">;
4637
4637
  label: z.ZodOptional<z.ZodString>;
4638
- } & {
4638
+ }, {
4639
4639
  shape: z.ZodLiteral<"line">;
4640
4640
  start: z.ZodObject<{
4641
4641
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4657,7 +4657,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
4657
4657
  x: string | number;
4658
4658
  y: string | number;
4659
4659
  }>;
4660
- }, "strip", z.ZodTypeAny, {
4660
+ }>, "strip", z.ZodTypeAny, {
4661
4661
  type: "schematic_debug_object";
4662
4662
  shape: "line";
4663
4663
  start: {
@@ -4681,10 +4681,10 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
4681
4681
  y: string | number;
4682
4682
  };
4683
4683
  label?: string | undefined;
4684
- }>, z.ZodObject<{
4684
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4685
4685
  type: z.ZodLiteral<"schematic_debug_object">;
4686
4686
  label: z.ZodOptional<z.ZodString>;
4687
- } & {
4687
+ }, {
4688
4688
  shape: z.ZodLiteral<"point">;
4689
4689
  center: z.ZodObject<{
4690
4690
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4696,7 +4696,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
4696
4696
  x: string | number;
4697
4697
  y: string | number;
4698
4698
  }>;
4699
- }, "strip", z.ZodTypeAny, {
4699
+ }>, "strip", z.ZodTypeAny, {
4700
4700
  type: "schematic_debug_object";
4701
4701
  center: {
4702
4702
  x: number;
@@ -4937,8 +4937,9 @@ declare const source_component_base: z.ZodObject<{
4937
4937
  internally_connected_source_port_ids?: string[][] | undefined;
4938
4938
  }>;
4939
4939
 
4940
- declare const source_simple_capacitor: z.ZodObject<{
4940
+ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
4941
4941
  type: z.ZodLiteral<"source_component">;
4942
+ ftype: z.ZodOptional<z.ZodString>;
4942
4943
  source_component_id: z.ZodString;
4943
4944
  name: z.ZodString;
4944
4945
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -4947,13 +4948,13 @@ declare const source_simple_capacitor: z.ZodObject<{
4947
4948
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
4948
4949
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
4949
4950
  source_group_id: z.ZodOptional<z.ZodString>;
4950
- } & {
4951
+ }, {
4951
4952
  ftype: z.ZodLiteral<"simple_capacitor">;
4952
4953
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
4953
4954
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4954
4955
  display_capacitance: z.ZodOptional<z.ZodString>;
4955
4956
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4956
- }, "strip", z.ZodTypeAny, {
4957
+ }>, "strip", z.ZodTypeAny, {
4957
4958
  type: "source_component";
4958
4959
  name: string;
4959
4960
  source_component_id: string;
@@ -4996,8 +4997,9 @@ interface SourceSimpleCapacitor extends SourceComponentBase {
4996
4997
  max_decoupling_trace_length?: number;
4997
4998
  }
4998
4999
 
4999
- declare const source_simple_resistor: z.ZodObject<{
5000
+ declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
5000
5001
  type: z.ZodLiteral<"source_component">;
5002
+ ftype: z.ZodOptional<z.ZodString>;
5001
5003
  source_component_id: z.ZodString;
5002
5004
  name: z.ZodString;
5003
5005
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5006,11 +5008,11 @@ declare const source_simple_resistor: z.ZodObject<{
5006
5008
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5007
5009
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5008
5010
  source_group_id: z.ZodOptional<z.ZodString>;
5009
- } & {
5011
+ }, {
5010
5012
  ftype: z.ZodLiteral<"simple_resistor">;
5011
5013
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5012
5014
  display_resistance: z.ZodOptional<z.ZodString>;
5013
- }, "strip", z.ZodTypeAny, {
5015
+ }>, "strip", z.ZodTypeAny, {
5014
5016
  type: "source_component";
5015
5017
  name: string;
5016
5018
  source_component_id: string;
@@ -5047,8 +5049,9 @@ interface SourceSimpleResistor extends SourceComponentBase {
5047
5049
  display_resistance?: string;
5048
5050
  }
5049
5051
 
5050
- declare const source_simple_diode: z.ZodObject<{
5052
+ declare const source_simple_diode: z.ZodObject<z.objectUtil.extendShape<{
5051
5053
  type: z.ZodLiteral<"source_component">;
5054
+ ftype: z.ZodOptional<z.ZodString>;
5052
5055
  source_component_id: z.ZodString;
5053
5056
  name: z.ZodString;
5054
5057
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5057,9 +5060,9 @@ declare const source_simple_diode: z.ZodObject<{
5057
5060
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5058
5061
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5059
5062
  source_group_id: z.ZodOptional<z.ZodString>;
5060
- } & {
5063
+ }, {
5061
5064
  ftype: z.ZodLiteral<"simple_diode">;
5062
- }, "strip", z.ZodTypeAny, {
5065
+ }>, "strip", z.ZodTypeAny, {
5063
5066
  type: "source_component";
5064
5067
  name: string;
5065
5068
  source_component_id: string;
@@ -5090,8 +5093,9 @@ interface SourceSimpleDiode extends SourceComponentBase {
5090
5093
  ftype: "simple_diode";
5091
5094
  }
5092
5095
 
5093
- declare const source_simple_led: z.ZodObject<{
5096
+ declare const source_simple_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5094
5097
  type: z.ZodLiteral<"source_component">;
5098
+ ftype: z.ZodOptional<z.ZodString>;
5095
5099
  source_component_id: z.ZodString;
5096
5100
  name: z.ZodString;
5097
5101
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5100,11 +5104,13 @@ declare const source_simple_led: z.ZodObject<{
5100
5104
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5101
5105
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5102
5106
  source_group_id: z.ZodOptional<z.ZodString>;
5103
- } & {
5107
+ }, {
5108
+ ftype: z.ZodLiteral<"simple_diode">;
5109
+ }>, {
5104
5110
  ftype: z.ZodLiteral<"simple_led">;
5105
5111
  color: z.ZodOptional<z.ZodString>;
5106
5112
  wavelength: z.ZodOptional<z.ZodString>;
5107
- }, "strip", z.ZodTypeAny, {
5113
+ }>, "strip", z.ZodTypeAny, {
5108
5114
  type: "source_component";
5109
5115
  name: string;
5110
5116
  source_component_id: string;
@@ -5141,8 +5147,9 @@ interface SourceSimpleLed extends Omit<SourceSimpleDiode, "ftype"> {
5141
5147
  wavelength?: string;
5142
5148
  }
5143
5149
 
5144
- declare const source_simple_ground: z.ZodObject<{
5150
+ declare const source_simple_ground: z.ZodObject<z.objectUtil.extendShape<{
5145
5151
  type: z.ZodLiteral<"source_component">;
5152
+ ftype: z.ZodOptional<z.ZodString>;
5146
5153
  source_component_id: z.ZodString;
5147
5154
  name: z.ZodString;
5148
5155
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5151,9 +5158,9 @@ declare const source_simple_ground: z.ZodObject<{
5151
5158
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5152
5159
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5153
5160
  source_group_id: z.ZodOptional<z.ZodString>;
5154
- } & {
5161
+ }, {
5155
5162
  ftype: z.ZodLiteral<"simple_ground">;
5156
- }, "strip", z.ZodTypeAny, {
5163
+ }>, "strip", z.ZodTypeAny, {
5157
5164
  type: "source_component";
5158
5165
  name: string;
5159
5166
  source_component_id: string;
@@ -5187,8 +5194,9 @@ interface SourceSimpleGround extends SourceComponentBase {
5187
5194
  /**
5188
5195
  * @deprecated Use source_simple_chip instead. This will be removed in a future version.
5189
5196
  */
5190
- declare const source_simple_bug: z.ZodObject<{
5197
+ declare const source_simple_bug: z.ZodObject<z.objectUtil.extendShape<{
5191
5198
  type: z.ZodLiteral<"source_component">;
5199
+ ftype: z.ZodOptional<z.ZodString>;
5192
5200
  source_component_id: z.ZodString;
5193
5201
  name: z.ZodString;
5194
5202
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5197,9 +5205,9 @@ declare const source_simple_bug: z.ZodObject<{
5197
5205
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5198
5206
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5199
5207
  source_group_id: z.ZodOptional<z.ZodString>;
5200
- } & {
5208
+ }, {
5201
5209
  ftype: z.ZodLiteral<"simple_bug">;
5202
- }, "strip", z.ZodTypeAny, {
5210
+ }>, "strip", z.ZodTypeAny, {
5203
5211
  type: "source_component";
5204
5212
  name: string;
5205
5213
  source_component_id: string;
@@ -5225,8 +5233,9 @@ declare const source_simple_bug: z.ZodObject<{
5225
5233
  type source_simple_bug = z.infer<typeof source_simple_bug>;
5226
5234
  type SourceSimpleBugInput = z.input<typeof source_simple_bug>;
5227
5235
 
5228
- declare const source_simple_chip: z.ZodObject<{
5236
+ declare const source_simple_chip: z.ZodObject<z.objectUtil.extendShape<{
5229
5237
  type: z.ZodLiteral<"source_component">;
5238
+ ftype: z.ZodOptional<z.ZodString>;
5230
5239
  source_component_id: z.ZodString;
5231
5240
  name: z.ZodString;
5232
5241
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5235,9 +5244,9 @@ declare const source_simple_chip: z.ZodObject<{
5235
5244
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5236
5245
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5237
5246
  source_group_id: z.ZodOptional<z.ZodString>;
5238
- } & {
5247
+ }, {
5239
5248
  ftype: z.ZodLiteral<"simple_chip">;
5240
- }, "strip", z.ZodTypeAny, {
5249
+ }>, "strip", z.ZodTypeAny, {
5241
5250
  type: "source_component";
5242
5251
  name: string;
5243
5252
  source_component_id: string;
@@ -5268,8 +5277,9 @@ interface SourceSimpleChip extends SourceComponentBase {
5268
5277
  ftype: "simple_chip";
5269
5278
  }
5270
5279
 
5271
- declare const source_led: z.ZodObject<{
5280
+ declare const source_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5272
5281
  type: z.ZodLiteral<"source_component">;
5282
+ ftype: z.ZodOptional<z.ZodString>;
5273
5283
  source_component_id: z.ZodString;
5274
5284
  name: z.ZodString;
5275
5285
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5278,9 +5288,11 @@ declare const source_led: z.ZodObject<{
5278
5288
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5279
5289
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5280
5290
  source_group_id: z.ZodOptional<z.ZodString>;
5281
- } & {
5291
+ }, {
5292
+ ftype: z.ZodLiteral<"simple_diode">;
5293
+ }>, {
5282
5294
  ftype: z.ZodLiteral<"led">;
5283
- }, "strip", z.ZodTypeAny, {
5295
+ }>, "strip", z.ZodTypeAny, {
5284
5296
  type: "source_component";
5285
5297
  name: string;
5286
5298
  source_component_id: string;
@@ -5311,8 +5323,9 @@ interface SourceLed extends SourceComponentBase {
5311
5323
  ftype: "led";
5312
5324
  }
5313
5325
 
5314
- declare const source_simple_power_source: z.ZodObject<{
5326
+ declare const source_simple_power_source: z.ZodObject<z.objectUtil.extendShape<{
5315
5327
  type: z.ZodLiteral<"source_component">;
5328
+ ftype: z.ZodOptional<z.ZodString>;
5316
5329
  source_component_id: z.ZodString;
5317
5330
  name: z.ZodString;
5318
5331
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5321,10 +5334,10 @@ declare const source_simple_power_source: z.ZodObject<{
5321
5334
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5322
5335
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5323
5336
  source_group_id: z.ZodOptional<z.ZodString>;
5324
- } & {
5337
+ }, {
5325
5338
  ftype: z.ZodLiteral<"simple_power_source">;
5326
5339
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5327
- }, "strip", z.ZodTypeAny, {
5340
+ }>, "strip", z.ZodTypeAny, {
5328
5341
  type: "source_component";
5329
5342
  name: string;
5330
5343
  source_component_id: string;
@@ -5358,8 +5371,9 @@ interface SourceSimplePowerSource extends SourceComponentBase {
5358
5371
  voltage: number;
5359
5372
  }
5360
5373
 
5361
- declare const source_simple_battery: z.ZodObject<{
5374
+ declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
5362
5375
  type: z.ZodLiteral<"source_component">;
5376
+ ftype: z.ZodOptional<z.ZodString>;
5363
5377
  source_component_id: z.ZodString;
5364
5378
  name: z.ZodString;
5365
5379
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5368,10 +5382,10 @@ declare const source_simple_battery: z.ZodObject<{
5368
5382
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5369
5383
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5370
5384
  source_group_id: z.ZodOptional<z.ZodString>;
5371
- } & {
5385
+ }, {
5372
5386
  ftype: z.ZodLiteral<"simple_battery">;
5373
5387
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
5374
- }, "strip", z.ZodTypeAny, {
5388
+ }>, "strip", z.ZodTypeAny, {
5375
5389
  type: "source_component";
5376
5390
  name: string;
5377
5391
  source_component_id: string;
@@ -5405,8 +5419,9 @@ interface SourceSimpleBattery extends SourceComponentBase {
5405
5419
  capacity: number;
5406
5420
  }
5407
5421
 
5408
- declare const source_simple_inductor: z.ZodObject<{
5422
+ declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
5409
5423
  type: z.ZodLiteral<"source_component">;
5424
+ ftype: z.ZodOptional<z.ZodString>;
5410
5425
  source_component_id: z.ZodString;
5411
5426
  name: z.ZodString;
5412
5427
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5415,10 +5430,10 @@ declare const source_simple_inductor: z.ZodObject<{
5415
5430
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5416
5431
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5417
5432
  source_group_id: z.ZodOptional<z.ZodString>;
5418
- } & {
5433
+ }, {
5419
5434
  ftype: z.ZodLiteral<"simple_inductor">;
5420
5435
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5421
- }, "strip", z.ZodTypeAny, {
5436
+ }>, "strip", z.ZodTypeAny, {
5422
5437
  type: "source_component";
5423
5438
  name: string;
5424
5439
  source_component_id: string;
@@ -5452,8 +5467,9 @@ interface SourceSimpleInductor extends SourceComponentBase {
5452
5467
  inductance: number;
5453
5468
  }
5454
5469
 
5455
- declare const source_simple_push_button: z.ZodObject<{
5470
+ declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
5456
5471
  type: z.ZodLiteral<"source_component">;
5472
+ ftype: z.ZodOptional<z.ZodString>;
5457
5473
  source_component_id: z.ZodString;
5458
5474
  name: z.ZodString;
5459
5475
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5462,9 +5478,9 @@ declare const source_simple_push_button: z.ZodObject<{
5462
5478
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5463
5479
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5464
5480
  source_group_id: z.ZodOptional<z.ZodString>;
5465
- } & {
5481
+ }, {
5466
5482
  ftype: z.ZodLiteral<"simple_push_button">;
5467
- }, "strip", z.ZodTypeAny, {
5483
+ }>, "strip", z.ZodTypeAny, {
5468
5484
  type: "source_component";
5469
5485
  name: string;
5470
5486
  source_component_id: string;
@@ -5495,8 +5511,9 @@ interface SourceSimplePushButton extends SourceComponentBase {
5495
5511
  ftype: "simple_push_button";
5496
5512
  }
5497
5513
 
5498
- declare const source_simple_potentiometer: z.ZodObject<{
5514
+ declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<{
5499
5515
  type: z.ZodLiteral<"source_component">;
5516
+ ftype: z.ZodOptional<z.ZodString>;
5500
5517
  source_component_id: z.ZodString;
5501
5518
  name: z.ZodString;
5502
5519
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5505,10 +5522,10 @@ declare const source_simple_potentiometer: z.ZodObject<{
5505
5522
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5506
5523
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5507
5524
  source_group_id: z.ZodOptional<z.ZodString>;
5508
- } & {
5525
+ }, {
5509
5526
  ftype: z.ZodLiteral<"simple_potentiometer">;
5510
5527
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5511
- }, "strip", z.ZodTypeAny, {
5528
+ }>, "strip", z.ZodTypeAny, {
5512
5529
  type: "source_component";
5513
5530
  name: string;
5514
5531
  source_component_id: string;
@@ -5536,8 +5553,9 @@ declare const source_simple_potentiometer: z.ZodObject<{
5536
5553
  type SourceSimplePotentiometer = z.infer<typeof source_simple_potentiometer>;
5537
5554
  type SourceSimplePotentiometerInput = z.input<typeof source_simple_potentiometer>;
5538
5555
 
5539
- declare const source_simple_crystal: z.ZodObject<{
5556
+ declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
5540
5557
  type: z.ZodLiteral<"source_component">;
5558
+ ftype: z.ZodOptional<z.ZodString>;
5541
5559
  source_component_id: z.ZodString;
5542
5560
  name: z.ZodString;
5543
5561
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5546,11 +5564,11 @@ declare const source_simple_crystal: z.ZodObject<{
5546
5564
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5547
5565
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5548
5566
  source_group_id: z.ZodOptional<z.ZodString>;
5549
- } & {
5567
+ }, {
5550
5568
  ftype: z.ZodLiteral<"simple_crystal">;
5551
5569
  frequency: z.ZodNumber;
5552
5570
  load_capacitance: z.ZodOptional<z.ZodNumber>;
5553
- }, "strip", z.ZodTypeAny, {
5571
+ }>, "strip", z.ZodTypeAny, {
5554
5572
  type: "source_component";
5555
5573
  name: string;
5556
5574
  source_component_id: string;
@@ -5587,8 +5605,9 @@ interface SourceSimpleCrystal extends SourceComponentBase {
5587
5605
  load_capacitance?: number;
5588
5606
  }
5589
5607
 
5590
- declare const source_simple_pin_header: z.ZodObject<{
5608
+ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
5591
5609
  type: z.ZodLiteral<"source_component">;
5610
+ ftype: z.ZodOptional<z.ZodString>;
5592
5611
  source_component_id: z.ZodString;
5593
5612
  name: z.ZodString;
5594
5613
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5597,11 +5616,11 @@ declare const source_simple_pin_header: z.ZodObject<{
5597
5616
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5598
5617
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5599
5618
  source_group_id: z.ZodOptional<z.ZodString>;
5600
- } & {
5619
+ }, {
5601
5620
  ftype: z.ZodLiteral<"simple_pin_header">;
5602
5621
  pin_count: z.ZodNumber;
5603
5622
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
5604
- }, "strip", z.ZodTypeAny, {
5623
+ }>, "strip", z.ZodTypeAny, {
5605
5624
  type: "source_component";
5606
5625
  name: string;
5607
5626
  source_component_id: string;
@@ -5631,8 +5650,9 @@ declare const source_simple_pin_header: z.ZodObject<{
5631
5650
  type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
5632
5651
  type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
5633
5652
 
5634
- declare const source_simple_resonator: z.ZodObject<{
5653
+ declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
5635
5654
  type: z.ZodLiteral<"source_component">;
5655
+ ftype: z.ZodOptional<z.ZodString>;
5636
5656
  source_component_id: z.ZodString;
5637
5657
  name: z.ZodString;
5638
5658
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5641,12 +5661,12 @@ declare const source_simple_resonator: z.ZodObject<{
5641
5661
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5642
5662
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5643
5663
  source_group_id: z.ZodOptional<z.ZodString>;
5644
- } & {
5664
+ }, {
5645
5665
  ftype: z.ZodLiteral<"simple_resonator">;
5646
5666
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5647
5667
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5648
5668
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5649
- }, "strip", z.ZodTypeAny, {
5669
+ }>, "strip", z.ZodTypeAny, {
5650
5670
  type: "source_component";
5651
5671
  name: string;
5652
5672
  source_component_id: string;
@@ -5686,8 +5706,9 @@ interface SourceSimpleResonator extends SourceComponentBase {
5686
5706
  frequency: number;
5687
5707
  }
5688
5708
 
5689
- declare const source_simple_transistor: z.ZodObject<{
5709
+ declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
5690
5710
  type: z.ZodLiteral<"source_component">;
5711
+ ftype: z.ZodOptional<z.ZodString>;
5691
5712
  source_component_id: z.ZodString;
5692
5713
  name: z.ZodString;
5693
5714
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5696,10 +5717,10 @@ declare const source_simple_transistor: z.ZodObject<{
5696
5717
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5697
5718
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5698
5719
  source_group_id: z.ZodOptional<z.ZodString>;
5699
- } & {
5720
+ }, {
5700
5721
  ftype: z.ZodLiteral<"simple_transistor">;
5701
5722
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
5702
- }, "strip", z.ZodTypeAny, {
5723
+ }>, "strip", z.ZodTypeAny, {
5703
5724
  type: "source_component";
5704
5725
  name: string;
5705
5726
  source_component_id: string;
@@ -5735,8 +5756,9 @@ interface SourceSimpleTransistor extends SourceComponentBase {
5735
5756
  transistor_type: "npn" | "pnp";
5736
5757
  }
5737
5758
 
5738
- declare const source_simple_mosfet: z.ZodObject<{
5759
+ declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
5739
5760
  type: z.ZodLiteral<"source_component">;
5761
+ ftype: z.ZodOptional<z.ZodString>;
5740
5762
  source_component_id: z.ZodString;
5741
5763
  name: z.ZodString;
5742
5764
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5745,11 +5767,11 @@ declare const source_simple_mosfet: z.ZodObject<{
5745
5767
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5746
5768
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5747
5769
  source_group_id: z.ZodOptional<z.ZodString>;
5748
- } & {
5770
+ }, {
5749
5771
  ftype: z.ZodLiteral<"simple_mosfet">;
5750
5772
  channel_type: z.ZodEnum<["n", "p"]>;
5751
5773
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
5752
- }, "strip", z.ZodTypeAny, {
5774
+ }>, "strip", z.ZodTypeAny, {
5753
5775
  type: "source_component";
5754
5776
  name: string;
5755
5777
  source_component_id: string;
@@ -5788,8 +5810,9 @@ interface SourceSimpleMosfet extends SourceComponentBase {
5788
5810
  mosfet_mode: "enhancement" | "depletion";
5789
5811
  }
5790
5812
 
5791
- declare const source_simple_switch: z.ZodObject<{
5813
+ declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
5792
5814
  type: z.ZodLiteral<"source_component">;
5815
+ ftype: z.ZodOptional<z.ZodString>;
5793
5816
  source_component_id: z.ZodString;
5794
5817
  name: z.ZodString;
5795
5818
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5798,9 +5821,9 @@ declare const source_simple_switch: z.ZodObject<{
5798
5821
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5799
5822
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5800
5823
  source_group_id: z.ZodOptional<z.ZodString>;
5801
- } & {
5824
+ }, {
5802
5825
  ftype: z.ZodLiteral<"simple_switch">;
5803
- }, "strip", z.ZodTypeAny, {
5826
+ }>, "strip", z.ZodTypeAny, {
5804
5827
  type: "source_component";
5805
5828
  name: string;
5806
5829
  source_component_id: string;
@@ -5970,8 +5993,9 @@ interface SourceFailedToCreateComponentError {
5970
5993
  };
5971
5994
  }
5972
5995
 
5973
- declare const any_source_component: z.ZodUnion<[z.ZodObject<{
5996
+ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5974
5997
  type: z.ZodLiteral<"source_component">;
5998
+ ftype: z.ZodOptional<z.ZodString>;
5975
5999
  source_component_id: z.ZodString;
5976
6000
  name: z.ZodString;
5977
6001
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5980,11 +6004,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
5980
6004
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5981
6005
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5982
6006
  source_group_id: z.ZodOptional<z.ZodString>;
5983
- } & {
6007
+ }, {
5984
6008
  ftype: z.ZodLiteral<"simple_resistor">;
5985
6009
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5986
6010
  display_resistance: z.ZodOptional<z.ZodString>;
5987
- }, "strip", z.ZodTypeAny, {
6011
+ }>, "strip", z.ZodTypeAny, {
5988
6012
  type: "source_component";
5989
6013
  name: string;
5990
6014
  source_component_id: string;
@@ -6010,8 +6034,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6010
6034
  are_pins_interchangeable?: boolean | undefined;
6011
6035
  internally_connected_source_port_ids?: string[][] | undefined;
6012
6036
  display_resistance?: string | undefined;
6013
- }>, z.ZodObject<{
6037
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6014
6038
  type: z.ZodLiteral<"source_component">;
6039
+ ftype: z.ZodOptional<z.ZodString>;
6015
6040
  source_component_id: z.ZodString;
6016
6041
  name: z.ZodString;
6017
6042
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6020,13 +6045,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6020
6045
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6021
6046
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6022
6047
  source_group_id: z.ZodOptional<z.ZodString>;
6023
- } & {
6048
+ }, {
6024
6049
  ftype: z.ZodLiteral<"simple_capacitor">;
6025
6050
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
6026
6051
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6027
6052
  display_capacitance: z.ZodOptional<z.ZodString>;
6028
6053
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6029
- }, "strip", z.ZodTypeAny, {
6054
+ }>, "strip", z.ZodTypeAny, {
6030
6055
  type: "source_component";
6031
6056
  name: string;
6032
6057
  source_component_id: string;
@@ -6056,8 +6081,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6056
6081
  max_voltage_rating?: string | number | undefined;
6057
6082
  display_capacitance?: string | undefined;
6058
6083
  max_decoupling_trace_length?: string | number | undefined;
6059
- }>, z.ZodObject<{
6084
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6060
6085
  type: z.ZodLiteral<"source_component">;
6086
+ ftype: z.ZodOptional<z.ZodString>;
6061
6087
  source_component_id: z.ZodString;
6062
6088
  name: z.ZodString;
6063
6089
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6066,9 +6092,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6066
6092
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6067
6093
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6068
6094
  source_group_id: z.ZodOptional<z.ZodString>;
6069
- } & {
6095
+ }, {
6070
6096
  ftype: z.ZodLiteral<"simple_diode">;
6071
- }, "strip", z.ZodTypeAny, {
6097
+ }>, "strip", z.ZodTypeAny, {
6072
6098
  type: "source_component";
6073
6099
  name: string;
6074
6100
  source_component_id: string;
@@ -6090,8 +6116,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6090
6116
  display_value?: string | undefined;
6091
6117
  are_pins_interchangeable?: boolean | undefined;
6092
6118
  internally_connected_source_port_ids?: string[][] | undefined;
6093
- }>, z.ZodObject<{
6119
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6094
6120
  type: z.ZodLiteral<"source_component">;
6121
+ ftype: z.ZodOptional<z.ZodString>;
6095
6122
  source_component_id: z.ZodString;
6096
6123
  name: z.ZodString;
6097
6124
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6100,11 +6127,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6100
6127
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6101
6128
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6102
6129
  source_group_id: z.ZodOptional<z.ZodString>;
6103
- } & {
6130
+ }, {
6131
+ ftype: z.ZodLiteral<"simple_diode">;
6132
+ }>, {
6104
6133
  ftype: z.ZodLiteral<"simple_led">;
6105
6134
  color: z.ZodOptional<z.ZodString>;
6106
6135
  wavelength: z.ZodOptional<z.ZodString>;
6107
- }, "strip", z.ZodTypeAny, {
6136
+ }>, "strip", z.ZodTypeAny, {
6108
6137
  type: "source_component";
6109
6138
  name: string;
6110
6139
  source_component_id: string;
@@ -6130,8 +6159,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6130
6159
  are_pins_interchangeable?: boolean | undefined;
6131
6160
  internally_connected_source_port_ids?: string[][] | undefined;
6132
6161
  wavelength?: string | undefined;
6133
- }>, z.ZodObject<{
6162
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6134
6163
  type: z.ZodLiteral<"source_component">;
6164
+ ftype: z.ZodOptional<z.ZodString>;
6135
6165
  source_component_id: z.ZodString;
6136
6166
  name: z.ZodString;
6137
6167
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6140,9 +6170,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6140
6170
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6141
6171
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6142
6172
  source_group_id: z.ZodOptional<z.ZodString>;
6143
- } & {
6173
+ }, {
6144
6174
  ftype: z.ZodLiteral<"simple_ground">;
6145
- }, "strip", z.ZodTypeAny, {
6175
+ }>, "strip", z.ZodTypeAny, {
6146
6176
  type: "source_component";
6147
6177
  name: string;
6148
6178
  source_component_id: string;
@@ -6164,8 +6194,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6164
6194
  display_value?: string | undefined;
6165
6195
  are_pins_interchangeable?: boolean | undefined;
6166
6196
  internally_connected_source_port_ids?: string[][] | undefined;
6167
- }>, z.ZodObject<{
6197
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6168
6198
  type: z.ZodLiteral<"source_component">;
6199
+ ftype: z.ZodOptional<z.ZodString>;
6169
6200
  source_component_id: z.ZodString;
6170
6201
  name: z.ZodString;
6171
6202
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6174,9 +6205,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6174
6205
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6175
6206
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6176
6207
  source_group_id: z.ZodOptional<z.ZodString>;
6177
- } & {
6208
+ }, {
6178
6209
  ftype: z.ZodLiteral<"simple_chip">;
6179
- }, "strip", z.ZodTypeAny, {
6210
+ }>, "strip", z.ZodTypeAny, {
6180
6211
  type: "source_component";
6181
6212
  name: string;
6182
6213
  source_component_id: string;
@@ -6198,8 +6229,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6198
6229
  display_value?: string | undefined;
6199
6230
  are_pins_interchangeable?: boolean | undefined;
6200
6231
  internally_connected_source_port_ids?: string[][] | undefined;
6201
- }>, z.ZodObject<{
6232
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6202
6233
  type: z.ZodLiteral<"source_component">;
6234
+ ftype: z.ZodOptional<z.ZodString>;
6203
6235
  source_component_id: z.ZodString;
6204
6236
  name: z.ZodString;
6205
6237
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6208,9 +6240,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6208
6240
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6209
6241
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6210
6242
  source_group_id: z.ZodOptional<z.ZodString>;
6211
- } & {
6243
+ }, {
6212
6244
  ftype: z.ZodLiteral<"simple_bug">;
6213
- }, "strip", z.ZodTypeAny, {
6245
+ }>, "strip", z.ZodTypeAny, {
6214
6246
  type: "source_component";
6215
6247
  name: string;
6216
6248
  source_component_id: string;
@@ -6232,8 +6264,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6232
6264
  display_value?: string | undefined;
6233
6265
  are_pins_interchangeable?: boolean | undefined;
6234
6266
  internally_connected_source_port_ids?: string[][] | undefined;
6235
- }>, z.ZodObject<{
6267
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6236
6268
  type: z.ZodLiteral<"source_component">;
6269
+ ftype: z.ZodOptional<z.ZodString>;
6237
6270
  source_component_id: z.ZodString;
6238
6271
  name: z.ZodString;
6239
6272
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6242,9 +6275,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6242
6275
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6243
6276
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6244
6277
  source_group_id: z.ZodOptional<z.ZodString>;
6245
- } & {
6278
+ }, {
6279
+ ftype: z.ZodLiteral<"simple_diode">;
6280
+ }>, {
6246
6281
  ftype: z.ZodLiteral<"led">;
6247
- }, "strip", z.ZodTypeAny, {
6282
+ }>, "strip", z.ZodTypeAny, {
6248
6283
  type: "source_component";
6249
6284
  name: string;
6250
6285
  source_component_id: string;
@@ -6266,8 +6301,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6266
6301
  display_value?: string | undefined;
6267
6302
  are_pins_interchangeable?: boolean | undefined;
6268
6303
  internally_connected_source_port_ids?: string[][] | undefined;
6269
- }>, z.ZodObject<{
6304
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6270
6305
  type: z.ZodLiteral<"source_component">;
6306
+ ftype: z.ZodOptional<z.ZodString>;
6271
6307
  source_component_id: z.ZodString;
6272
6308
  name: z.ZodString;
6273
6309
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6276,10 +6312,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6276
6312
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6277
6313
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6278
6314
  source_group_id: z.ZodOptional<z.ZodString>;
6279
- } & {
6315
+ }, {
6280
6316
  ftype: z.ZodLiteral<"simple_power_source">;
6281
6317
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6282
- }, "strip", z.ZodTypeAny, {
6318
+ }>, "strip", z.ZodTypeAny, {
6283
6319
  type: "source_component";
6284
6320
  name: string;
6285
6321
  source_component_id: string;
@@ -6303,8 +6339,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6303
6339
  display_value?: string | undefined;
6304
6340
  are_pins_interchangeable?: boolean | undefined;
6305
6341
  internally_connected_source_port_ids?: string[][] | undefined;
6306
- }>, z.ZodObject<{
6342
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6307
6343
  type: z.ZodLiteral<"source_component">;
6344
+ ftype: z.ZodOptional<z.ZodString>;
6308
6345
  source_component_id: z.ZodString;
6309
6346
  name: z.ZodString;
6310
6347
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6313,10 +6350,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6313
6350
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6314
6351
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6315
6352
  source_group_id: z.ZodOptional<z.ZodString>;
6316
- } & {
6353
+ }, {
6317
6354
  ftype: z.ZodLiteral<"simple_battery">;
6318
6355
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
6319
- }, "strip", z.ZodTypeAny, {
6356
+ }>, "strip", z.ZodTypeAny, {
6320
6357
  type: "source_component";
6321
6358
  name: string;
6322
6359
  source_component_id: string;
@@ -6340,8 +6377,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6340
6377
  display_value?: string | undefined;
6341
6378
  are_pins_interchangeable?: boolean | undefined;
6342
6379
  internally_connected_source_port_ids?: string[][] | undefined;
6343
- }>, z.ZodObject<{
6380
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6344
6381
  type: z.ZodLiteral<"source_component">;
6382
+ ftype: z.ZodOptional<z.ZodString>;
6345
6383
  source_component_id: z.ZodString;
6346
6384
  name: z.ZodString;
6347
6385
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6350,10 +6388,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6350
6388
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6351
6389
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6352
6390
  source_group_id: z.ZodOptional<z.ZodString>;
6353
- } & {
6391
+ }, {
6354
6392
  ftype: z.ZodLiteral<"simple_inductor">;
6355
6393
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6356
- }, "strip", z.ZodTypeAny, {
6394
+ }>, "strip", z.ZodTypeAny, {
6357
6395
  type: "source_component";
6358
6396
  name: string;
6359
6397
  source_component_id: string;
@@ -6377,8 +6415,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6377
6415
  display_value?: string | undefined;
6378
6416
  are_pins_interchangeable?: boolean | undefined;
6379
6417
  internally_connected_source_port_ids?: string[][] | undefined;
6380
- }>, z.ZodObject<{
6418
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6381
6419
  type: z.ZodLiteral<"source_component">;
6420
+ ftype: z.ZodOptional<z.ZodString>;
6382
6421
  source_component_id: z.ZodString;
6383
6422
  name: z.ZodString;
6384
6423
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6387,9 +6426,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6387
6426
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6388
6427
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6389
6428
  source_group_id: z.ZodOptional<z.ZodString>;
6390
- } & {
6429
+ }, {
6391
6430
  ftype: z.ZodLiteral<"simple_push_button">;
6392
- }, "strip", z.ZodTypeAny, {
6431
+ }>, "strip", z.ZodTypeAny, {
6393
6432
  type: "source_component";
6394
6433
  name: string;
6395
6434
  source_component_id: string;
@@ -6411,8 +6450,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6411
6450
  display_value?: string | undefined;
6412
6451
  are_pins_interchangeable?: boolean | undefined;
6413
6452
  internally_connected_source_port_ids?: string[][] | undefined;
6414
- }>, z.ZodObject<{
6453
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6415
6454
  type: z.ZodLiteral<"source_component">;
6455
+ ftype: z.ZodOptional<z.ZodString>;
6416
6456
  source_component_id: z.ZodString;
6417
6457
  name: z.ZodString;
6418
6458
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6421,10 +6461,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6421
6461
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6422
6462
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6423
6463
  source_group_id: z.ZodOptional<z.ZodString>;
6424
- } & {
6464
+ }, {
6425
6465
  ftype: z.ZodLiteral<"simple_potentiometer">;
6426
6466
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6427
- }, "strip", z.ZodTypeAny, {
6467
+ }>, "strip", z.ZodTypeAny, {
6428
6468
  type: "source_component";
6429
6469
  name: string;
6430
6470
  source_component_id: string;
@@ -6448,8 +6488,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6448
6488
  display_value?: string | undefined;
6449
6489
  are_pins_interchangeable?: boolean | undefined;
6450
6490
  internally_connected_source_port_ids?: string[][] | undefined;
6451
- }>, z.ZodObject<{
6491
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6452
6492
  type: z.ZodLiteral<"source_component">;
6493
+ ftype: z.ZodOptional<z.ZodString>;
6453
6494
  source_component_id: z.ZodString;
6454
6495
  name: z.ZodString;
6455
6496
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6458,11 +6499,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6458
6499
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6459
6500
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6460
6501
  source_group_id: z.ZodOptional<z.ZodString>;
6461
- } & {
6502
+ }, {
6462
6503
  ftype: z.ZodLiteral<"simple_crystal">;
6463
6504
  frequency: z.ZodNumber;
6464
6505
  load_capacitance: z.ZodOptional<z.ZodNumber>;
6465
- }, "strip", z.ZodTypeAny, {
6506
+ }>, "strip", z.ZodTypeAny, {
6466
6507
  type: "source_component";
6467
6508
  name: string;
6468
6509
  source_component_id: string;
@@ -6488,8 +6529,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6488
6529
  are_pins_interchangeable?: boolean | undefined;
6489
6530
  internally_connected_source_port_ids?: string[][] | undefined;
6490
6531
  load_capacitance?: number | undefined;
6491
- }>, z.ZodObject<{
6532
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6492
6533
  type: z.ZodLiteral<"source_component">;
6534
+ ftype: z.ZodOptional<z.ZodString>;
6493
6535
  source_component_id: z.ZodString;
6494
6536
  name: z.ZodString;
6495
6537
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6498,11 +6540,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6498
6540
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6499
6541
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6500
6542
  source_group_id: z.ZodOptional<z.ZodString>;
6501
- } & {
6543
+ }, {
6502
6544
  ftype: z.ZodLiteral<"simple_pin_header">;
6503
6545
  pin_count: z.ZodNumber;
6504
6546
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
6505
- }, "strip", z.ZodTypeAny, {
6547
+ }>, "strip", z.ZodTypeAny, {
6506
6548
  type: "source_component";
6507
6549
  name: string;
6508
6550
  source_component_id: string;
@@ -6528,8 +6570,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6528
6570
  are_pins_interchangeable?: boolean | undefined;
6529
6571
  internally_connected_source_port_ids?: string[][] | undefined;
6530
6572
  gender?: "male" | "female" | undefined;
6531
- }>, z.ZodObject<{
6573
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6532
6574
  type: z.ZodLiteral<"source_component">;
6575
+ ftype: z.ZodOptional<z.ZodString>;
6533
6576
  source_component_id: z.ZodString;
6534
6577
  name: z.ZodString;
6535
6578
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6538,12 +6581,12 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6538
6581
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6539
6582
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6540
6583
  source_group_id: z.ZodOptional<z.ZodString>;
6541
- } & {
6584
+ }, {
6542
6585
  ftype: z.ZodLiteral<"simple_resonator">;
6543
6586
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
6544
6587
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6545
6588
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6546
- }, "strip", z.ZodTypeAny, {
6589
+ }>, "strip", z.ZodTypeAny, {
6547
6590
  type: "source_component";
6548
6591
  name: string;
6549
6592
  source_component_id: string;
@@ -6571,8 +6614,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6571
6614
  are_pins_interchangeable?: boolean | undefined;
6572
6615
  internally_connected_source_port_ids?: string[][] | undefined;
6573
6616
  equivalent_series_resistance?: string | number | undefined;
6574
- }>, z.ZodObject<{
6617
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6575
6618
  type: z.ZodLiteral<"source_component">;
6619
+ ftype: z.ZodOptional<z.ZodString>;
6576
6620
  source_component_id: z.ZodString;
6577
6621
  name: z.ZodString;
6578
6622
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6581,9 +6625,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6581
6625
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6582
6626
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6583
6627
  source_group_id: z.ZodOptional<z.ZodString>;
6584
- } & {
6628
+ }, {
6585
6629
  ftype: z.ZodLiteral<"simple_switch">;
6586
- }, "strip", z.ZodTypeAny, {
6630
+ }>, "strip", z.ZodTypeAny, {
6587
6631
  type: "source_component";
6588
6632
  name: string;
6589
6633
  source_component_id: string;
@@ -6605,8 +6649,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6605
6649
  display_value?: string | undefined;
6606
6650
  are_pins_interchangeable?: boolean | undefined;
6607
6651
  internally_connected_source_port_ids?: string[][] | undefined;
6608
- }>, z.ZodObject<{
6652
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6609
6653
  type: z.ZodLiteral<"source_component">;
6654
+ ftype: z.ZodOptional<z.ZodString>;
6610
6655
  source_component_id: z.ZodString;
6611
6656
  name: z.ZodString;
6612
6657
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6615,10 +6660,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6615
6660
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6616
6661
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6617
6662
  source_group_id: z.ZodOptional<z.ZodString>;
6618
- } & {
6663
+ }, {
6619
6664
  ftype: z.ZodLiteral<"simple_transistor">;
6620
6665
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
6621
- }, "strip", z.ZodTypeAny, {
6666
+ }>, "strip", z.ZodTypeAny, {
6622
6667
  type: "source_component";
6623
6668
  name: string;
6624
6669
  source_component_id: string;
@@ -6642,8 +6687,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6642
6687
  display_value?: string | undefined;
6643
6688
  are_pins_interchangeable?: boolean | undefined;
6644
6689
  internally_connected_source_port_ids?: string[][] | undefined;
6645
- }>, z.ZodObject<{
6690
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6646
6691
  type: z.ZodLiteral<"source_component">;
6692
+ ftype: z.ZodOptional<z.ZodString>;
6647
6693
  source_component_id: z.ZodString;
6648
6694
  name: z.ZodString;
6649
6695
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6652,11 +6698,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6652
6698
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6653
6699
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6654
6700
  source_group_id: z.ZodOptional<z.ZodString>;
6655
- } & {
6701
+ }, {
6656
6702
  ftype: z.ZodLiteral<"simple_mosfet">;
6657
6703
  channel_type: z.ZodEnum<["n", "p"]>;
6658
6704
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
6659
- }, "strip", z.ZodTypeAny, {
6705
+ }>, "strip", z.ZodTypeAny, {
6660
6706
  type: "source_component";
6661
6707
  name: string;
6662
6708
  source_component_id: string;
@@ -7096,8 +7142,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7096
7142
  subcircuit_id?: string | undefined;
7097
7143
  port_hints?: string[] | undefined;
7098
7144
  pin_number?: number | undefined;
7099
- }>, z.ZodUnion<[z.ZodObject<{
7145
+ }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7100
7146
  type: z.ZodLiteral<"source_component">;
7147
+ ftype: z.ZodOptional<z.ZodString>;
7101
7148
  source_component_id: z.ZodString;
7102
7149
  name: z.ZodString;
7103
7150
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7106,11 +7153,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7106
7153
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7107
7154
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7108
7155
  source_group_id: z.ZodOptional<z.ZodString>;
7109
- } & {
7156
+ }, {
7110
7157
  ftype: z.ZodLiteral<"simple_resistor">;
7111
7158
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7112
7159
  display_resistance: z.ZodOptional<z.ZodString>;
7113
- }, "strip", z.ZodTypeAny, {
7160
+ }>, "strip", z.ZodTypeAny, {
7114
7161
  type: "source_component";
7115
7162
  name: string;
7116
7163
  source_component_id: string;
@@ -7136,8 +7183,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7136
7183
  are_pins_interchangeable?: boolean | undefined;
7137
7184
  internally_connected_source_port_ids?: string[][] | undefined;
7138
7185
  display_resistance?: string | undefined;
7139
- }>, z.ZodObject<{
7186
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7140
7187
  type: z.ZodLiteral<"source_component">;
7188
+ ftype: z.ZodOptional<z.ZodString>;
7141
7189
  source_component_id: z.ZodString;
7142
7190
  name: z.ZodString;
7143
7191
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7146,13 +7194,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7146
7194
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7147
7195
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7148
7196
  source_group_id: z.ZodOptional<z.ZodString>;
7149
- } & {
7197
+ }, {
7150
7198
  ftype: z.ZodLiteral<"simple_capacitor">;
7151
7199
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
7152
7200
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7153
7201
  display_capacitance: z.ZodOptional<z.ZodString>;
7154
7202
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7155
- }, "strip", z.ZodTypeAny, {
7203
+ }>, "strip", z.ZodTypeAny, {
7156
7204
  type: "source_component";
7157
7205
  name: string;
7158
7206
  source_component_id: string;
@@ -7182,8 +7230,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7182
7230
  max_voltage_rating?: string | number | undefined;
7183
7231
  display_capacitance?: string | undefined;
7184
7232
  max_decoupling_trace_length?: string | number | undefined;
7185
- }>, z.ZodObject<{
7233
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7186
7234
  type: z.ZodLiteral<"source_component">;
7235
+ ftype: z.ZodOptional<z.ZodString>;
7187
7236
  source_component_id: z.ZodString;
7188
7237
  name: z.ZodString;
7189
7238
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7192,9 +7241,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7192
7241
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7193
7242
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7194
7243
  source_group_id: z.ZodOptional<z.ZodString>;
7195
- } & {
7244
+ }, {
7196
7245
  ftype: z.ZodLiteral<"simple_diode">;
7197
- }, "strip", z.ZodTypeAny, {
7246
+ }>, "strip", z.ZodTypeAny, {
7198
7247
  type: "source_component";
7199
7248
  name: string;
7200
7249
  source_component_id: string;
@@ -7216,8 +7265,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7216
7265
  display_value?: string | undefined;
7217
7266
  are_pins_interchangeable?: boolean | undefined;
7218
7267
  internally_connected_source_port_ids?: string[][] | undefined;
7219
- }>, z.ZodObject<{
7268
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7220
7269
  type: z.ZodLiteral<"source_component">;
7270
+ ftype: z.ZodOptional<z.ZodString>;
7221
7271
  source_component_id: z.ZodString;
7222
7272
  name: z.ZodString;
7223
7273
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7226,11 +7276,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7226
7276
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7227
7277
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7228
7278
  source_group_id: z.ZodOptional<z.ZodString>;
7229
- } & {
7279
+ }, {
7280
+ ftype: z.ZodLiteral<"simple_diode">;
7281
+ }>, {
7230
7282
  ftype: z.ZodLiteral<"simple_led">;
7231
7283
  color: z.ZodOptional<z.ZodString>;
7232
7284
  wavelength: z.ZodOptional<z.ZodString>;
7233
- }, "strip", z.ZodTypeAny, {
7285
+ }>, "strip", z.ZodTypeAny, {
7234
7286
  type: "source_component";
7235
7287
  name: string;
7236
7288
  source_component_id: string;
@@ -7256,8 +7308,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7256
7308
  are_pins_interchangeable?: boolean | undefined;
7257
7309
  internally_connected_source_port_ids?: string[][] | undefined;
7258
7310
  wavelength?: string | undefined;
7259
- }>, z.ZodObject<{
7311
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7260
7312
  type: z.ZodLiteral<"source_component">;
7313
+ ftype: z.ZodOptional<z.ZodString>;
7261
7314
  source_component_id: z.ZodString;
7262
7315
  name: z.ZodString;
7263
7316
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7266,9 +7319,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7266
7319
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7267
7320
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7268
7321
  source_group_id: z.ZodOptional<z.ZodString>;
7269
- } & {
7322
+ }, {
7270
7323
  ftype: z.ZodLiteral<"simple_ground">;
7271
- }, "strip", z.ZodTypeAny, {
7324
+ }>, "strip", z.ZodTypeAny, {
7272
7325
  type: "source_component";
7273
7326
  name: string;
7274
7327
  source_component_id: string;
@@ -7290,8 +7343,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7290
7343
  display_value?: string | undefined;
7291
7344
  are_pins_interchangeable?: boolean | undefined;
7292
7345
  internally_connected_source_port_ids?: string[][] | undefined;
7293
- }>, z.ZodObject<{
7346
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7294
7347
  type: z.ZodLiteral<"source_component">;
7348
+ ftype: z.ZodOptional<z.ZodString>;
7295
7349
  source_component_id: z.ZodString;
7296
7350
  name: z.ZodString;
7297
7351
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7300,9 +7354,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7300
7354
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7301
7355
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7302
7356
  source_group_id: z.ZodOptional<z.ZodString>;
7303
- } & {
7357
+ }, {
7304
7358
  ftype: z.ZodLiteral<"simple_chip">;
7305
- }, "strip", z.ZodTypeAny, {
7359
+ }>, "strip", z.ZodTypeAny, {
7306
7360
  type: "source_component";
7307
7361
  name: string;
7308
7362
  source_component_id: string;
@@ -7324,8 +7378,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7324
7378
  display_value?: string | undefined;
7325
7379
  are_pins_interchangeable?: boolean | undefined;
7326
7380
  internally_connected_source_port_ids?: string[][] | undefined;
7327
- }>, z.ZodObject<{
7381
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7328
7382
  type: z.ZodLiteral<"source_component">;
7383
+ ftype: z.ZodOptional<z.ZodString>;
7329
7384
  source_component_id: z.ZodString;
7330
7385
  name: z.ZodString;
7331
7386
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7334,9 +7389,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7334
7389
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7335
7390
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7336
7391
  source_group_id: z.ZodOptional<z.ZodString>;
7337
- } & {
7392
+ }, {
7338
7393
  ftype: z.ZodLiteral<"simple_bug">;
7339
- }, "strip", z.ZodTypeAny, {
7394
+ }>, "strip", z.ZodTypeAny, {
7340
7395
  type: "source_component";
7341
7396
  name: string;
7342
7397
  source_component_id: string;
@@ -7358,8 +7413,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7358
7413
  display_value?: string | undefined;
7359
7414
  are_pins_interchangeable?: boolean | undefined;
7360
7415
  internally_connected_source_port_ids?: string[][] | undefined;
7361
- }>, z.ZodObject<{
7416
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7362
7417
  type: z.ZodLiteral<"source_component">;
7418
+ ftype: z.ZodOptional<z.ZodString>;
7363
7419
  source_component_id: z.ZodString;
7364
7420
  name: z.ZodString;
7365
7421
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7368,9 +7424,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7368
7424
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7369
7425
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7370
7426
  source_group_id: z.ZodOptional<z.ZodString>;
7371
- } & {
7427
+ }, {
7428
+ ftype: z.ZodLiteral<"simple_diode">;
7429
+ }>, {
7372
7430
  ftype: z.ZodLiteral<"led">;
7373
- }, "strip", z.ZodTypeAny, {
7431
+ }>, "strip", z.ZodTypeAny, {
7374
7432
  type: "source_component";
7375
7433
  name: string;
7376
7434
  source_component_id: string;
@@ -7392,8 +7450,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7392
7450
  display_value?: string | undefined;
7393
7451
  are_pins_interchangeable?: boolean | undefined;
7394
7452
  internally_connected_source_port_ids?: string[][] | undefined;
7395
- }>, z.ZodObject<{
7453
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7396
7454
  type: z.ZodLiteral<"source_component">;
7455
+ ftype: z.ZodOptional<z.ZodString>;
7397
7456
  source_component_id: z.ZodString;
7398
7457
  name: z.ZodString;
7399
7458
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7402,10 +7461,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7402
7461
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7403
7462
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7404
7463
  source_group_id: z.ZodOptional<z.ZodString>;
7405
- } & {
7464
+ }, {
7406
7465
  ftype: z.ZodLiteral<"simple_power_source">;
7407
7466
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7408
- }, "strip", z.ZodTypeAny, {
7467
+ }>, "strip", z.ZodTypeAny, {
7409
7468
  type: "source_component";
7410
7469
  name: string;
7411
7470
  source_component_id: string;
@@ -7429,8 +7488,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7429
7488
  display_value?: string | undefined;
7430
7489
  are_pins_interchangeable?: boolean | undefined;
7431
7490
  internally_connected_source_port_ids?: string[][] | undefined;
7432
- }>, z.ZodObject<{
7491
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7433
7492
  type: z.ZodLiteral<"source_component">;
7493
+ ftype: z.ZodOptional<z.ZodString>;
7434
7494
  source_component_id: z.ZodString;
7435
7495
  name: z.ZodString;
7436
7496
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7439,10 +7499,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7439
7499
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7440
7500
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7441
7501
  source_group_id: z.ZodOptional<z.ZodString>;
7442
- } & {
7502
+ }, {
7443
7503
  ftype: z.ZodLiteral<"simple_battery">;
7444
7504
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
7445
- }, "strip", z.ZodTypeAny, {
7505
+ }>, "strip", z.ZodTypeAny, {
7446
7506
  type: "source_component";
7447
7507
  name: string;
7448
7508
  source_component_id: string;
@@ -7466,8 +7526,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7466
7526
  display_value?: string | undefined;
7467
7527
  are_pins_interchangeable?: boolean | undefined;
7468
7528
  internally_connected_source_port_ids?: string[][] | undefined;
7469
- }>, z.ZodObject<{
7529
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7470
7530
  type: z.ZodLiteral<"source_component">;
7531
+ ftype: z.ZodOptional<z.ZodString>;
7471
7532
  source_component_id: z.ZodString;
7472
7533
  name: z.ZodString;
7473
7534
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7476,10 +7537,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7476
7537
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7477
7538
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7478
7539
  source_group_id: z.ZodOptional<z.ZodString>;
7479
- } & {
7540
+ }, {
7480
7541
  ftype: z.ZodLiteral<"simple_inductor">;
7481
7542
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7482
- }, "strip", z.ZodTypeAny, {
7543
+ }>, "strip", z.ZodTypeAny, {
7483
7544
  type: "source_component";
7484
7545
  name: string;
7485
7546
  source_component_id: string;
@@ -7503,8 +7564,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7503
7564
  display_value?: string | undefined;
7504
7565
  are_pins_interchangeable?: boolean | undefined;
7505
7566
  internally_connected_source_port_ids?: string[][] | undefined;
7506
- }>, z.ZodObject<{
7567
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7507
7568
  type: z.ZodLiteral<"source_component">;
7569
+ ftype: z.ZodOptional<z.ZodString>;
7508
7570
  source_component_id: z.ZodString;
7509
7571
  name: z.ZodString;
7510
7572
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7513,9 +7575,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7513
7575
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7514
7576
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7515
7577
  source_group_id: z.ZodOptional<z.ZodString>;
7516
- } & {
7578
+ }, {
7517
7579
  ftype: z.ZodLiteral<"simple_push_button">;
7518
- }, "strip", z.ZodTypeAny, {
7580
+ }>, "strip", z.ZodTypeAny, {
7519
7581
  type: "source_component";
7520
7582
  name: string;
7521
7583
  source_component_id: string;
@@ -7537,8 +7599,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7537
7599
  display_value?: string | undefined;
7538
7600
  are_pins_interchangeable?: boolean | undefined;
7539
7601
  internally_connected_source_port_ids?: string[][] | undefined;
7540
- }>, z.ZodObject<{
7602
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7541
7603
  type: z.ZodLiteral<"source_component">;
7604
+ ftype: z.ZodOptional<z.ZodString>;
7542
7605
  source_component_id: z.ZodString;
7543
7606
  name: z.ZodString;
7544
7607
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7547,10 +7610,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7547
7610
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7548
7611
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7549
7612
  source_group_id: z.ZodOptional<z.ZodString>;
7550
- } & {
7613
+ }, {
7551
7614
  ftype: z.ZodLiteral<"simple_potentiometer">;
7552
7615
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7553
- }, "strip", z.ZodTypeAny, {
7616
+ }>, "strip", z.ZodTypeAny, {
7554
7617
  type: "source_component";
7555
7618
  name: string;
7556
7619
  source_component_id: string;
@@ -7574,8 +7637,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7574
7637
  display_value?: string | undefined;
7575
7638
  are_pins_interchangeable?: boolean | undefined;
7576
7639
  internally_connected_source_port_ids?: string[][] | undefined;
7577
- }>, z.ZodObject<{
7640
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7578
7641
  type: z.ZodLiteral<"source_component">;
7642
+ ftype: z.ZodOptional<z.ZodString>;
7579
7643
  source_component_id: z.ZodString;
7580
7644
  name: z.ZodString;
7581
7645
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7584,11 +7648,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7584
7648
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7585
7649
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7586
7650
  source_group_id: z.ZodOptional<z.ZodString>;
7587
- } & {
7651
+ }, {
7588
7652
  ftype: z.ZodLiteral<"simple_crystal">;
7589
7653
  frequency: z.ZodNumber;
7590
7654
  load_capacitance: z.ZodOptional<z.ZodNumber>;
7591
- }, "strip", z.ZodTypeAny, {
7655
+ }>, "strip", z.ZodTypeAny, {
7592
7656
  type: "source_component";
7593
7657
  name: string;
7594
7658
  source_component_id: string;
@@ -7614,8 +7678,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7614
7678
  are_pins_interchangeable?: boolean | undefined;
7615
7679
  internally_connected_source_port_ids?: string[][] | undefined;
7616
7680
  load_capacitance?: number | undefined;
7617
- }>, z.ZodObject<{
7681
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7618
7682
  type: z.ZodLiteral<"source_component">;
7683
+ ftype: z.ZodOptional<z.ZodString>;
7619
7684
  source_component_id: z.ZodString;
7620
7685
  name: z.ZodString;
7621
7686
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7624,11 +7689,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7624
7689
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7625
7690
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7626
7691
  source_group_id: z.ZodOptional<z.ZodString>;
7627
- } & {
7692
+ }, {
7628
7693
  ftype: z.ZodLiteral<"simple_pin_header">;
7629
7694
  pin_count: z.ZodNumber;
7630
7695
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
7631
- }, "strip", z.ZodTypeAny, {
7696
+ }>, "strip", z.ZodTypeAny, {
7632
7697
  type: "source_component";
7633
7698
  name: string;
7634
7699
  source_component_id: string;
@@ -7654,8 +7719,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7654
7719
  are_pins_interchangeable?: boolean | undefined;
7655
7720
  internally_connected_source_port_ids?: string[][] | undefined;
7656
7721
  gender?: "male" | "female" | undefined;
7657
- }>, z.ZodObject<{
7722
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7658
7723
  type: z.ZodLiteral<"source_component">;
7724
+ ftype: z.ZodOptional<z.ZodString>;
7659
7725
  source_component_id: z.ZodString;
7660
7726
  name: z.ZodString;
7661
7727
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7664,12 +7730,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7664
7730
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7665
7731
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7666
7732
  source_group_id: z.ZodOptional<z.ZodString>;
7667
- } & {
7733
+ }, {
7668
7734
  ftype: z.ZodLiteral<"simple_resonator">;
7669
7735
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
7670
7736
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7671
7737
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7672
- }, "strip", z.ZodTypeAny, {
7738
+ }>, "strip", z.ZodTypeAny, {
7673
7739
  type: "source_component";
7674
7740
  name: string;
7675
7741
  source_component_id: string;
@@ -7697,8 +7763,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7697
7763
  are_pins_interchangeable?: boolean | undefined;
7698
7764
  internally_connected_source_port_ids?: string[][] | undefined;
7699
7765
  equivalent_series_resistance?: string | number | undefined;
7700
- }>, z.ZodObject<{
7766
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7701
7767
  type: z.ZodLiteral<"source_component">;
7768
+ ftype: z.ZodOptional<z.ZodString>;
7702
7769
  source_component_id: z.ZodString;
7703
7770
  name: z.ZodString;
7704
7771
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7707,9 +7774,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7707
7774
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7708
7775
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7709
7776
  source_group_id: z.ZodOptional<z.ZodString>;
7710
- } & {
7777
+ }, {
7711
7778
  ftype: z.ZodLiteral<"simple_switch">;
7712
- }, "strip", z.ZodTypeAny, {
7779
+ }>, "strip", z.ZodTypeAny, {
7713
7780
  type: "source_component";
7714
7781
  name: string;
7715
7782
  source_component_id: string;
@@ -7731,8 +7798,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7731
7798
  display_value?: string | undefined;
7732
7799
  are_pins_interchangeable?: boolean | undefined;
7733
7800
  internally_connected_source_port_ids?: string[][] | undefined;
7734
- }>, z.ZodObject<{
7801
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7735
7802
  type: z.ZodLiteral<"source_component">;
7803
+ ftype: z.ZodOptional<z.ZodString>;
7736
7804
  source_component_id: z.ZodString;
7737
7805
  name: z.ZodString;
7738
7806
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7741,10 +7809,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7741
7809
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7742
7810
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7743
7811
  source_group_id: z.ZodOptional<z.ZodString>;
7744
- } & {
7812
+ }, {
7745
7813
  ftype: z.ZodLiteral<"simple_transistor">;
7746
7814
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
7747
- }, "strip", z.ZodTypeAny, {
7815
+ }>, "strip", z.ZodTypeAny, {
7748
7816
  type: "source_component";
7749
7817
  name: string;
7750
7818
  source_component_id: string;
@@ -7768,8 +7836,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7768
7836
  display_value?: string | undefined;
7769
7837
  are_pins_interchangeable?: boolean | undefined;
7770
7838
  internally_connected_source_port_ids?: string[][] | undefined;
7771
- }>, z.ZodObject<{
7839
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7772
7840
  type: z.ZodLiteral<"source_component">;
7841
+ ftype: z.ZodOptional<z.ZodString>;
7773
7842
  source_component_id: z.ZodString;
7774
7843
  name: z.ZodString;
7775
7844
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7778,11 +7847,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7778
7847
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7779
7848
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7780
7849
  source_group_id: z.ZodOptional<z.ZodString>;
7781
- } & {
7850
+ }, {
7782
7851
  ftype: z.ZodLiteral<"simple_mosfet">;
7783
7852
  channel_type: z.ZodEnum<["n", "p"]>;
7784
7853
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
7785
- }, "strip", z.ZodTypeAny, {
7854
+ }>, "strip", z.ZodTypeAny, {
7786
7855
  type: "source_component";
7787
7856
  name: string;
7788
7857
  source_component_id: string;
@@ -7901,8 +7970,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7901
7970
  x?: number | undefined;
7902
7971
  y?: number | undefined;
7903
7972
  } | undefined;
7904
- }>]>, z.ZodObject<{
7973
+ }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7905
7974
  type: z.ZodLiteral<"source_component">;
7975
+ ftype: z.ZodOptional<z.ZodString>;
7906
7976
  source_component_id: z.ZodString;
7907
7977
  name: z.ZodString;
7908
7978
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7911,9 +7981,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7911
7981
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7912
7982
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7913
7983
  source_group_id: z.ZodOptional<z.ZodString>;
7914
- } & {
7984
+ }, {
7985
+ ftype: z.ZodLiteral<"simple_diode">;
7986
+ }>, {
7915
7987
  ftype: z.ZodLiteral<"led">;
7916
- }, "strip", z.ZodTypeAny, {
7988
+ }>, "strip", z.ZodTypeAny, {
7917
7989
  type: "source_component";
7918
7990
  name: string;
7919
7991
  source_component_id: string;
@@ -7989,8 +8061,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7989
8061
  subcircuit_id?: string | undefined;
7990
8062
  is_subcircuit?: boolean | undefined;
7991
8063
  parent_subcircuit_id?: string | undefined;
7992
- }>, z.ZodObject<{
8064
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7993
8065
  type: z.ZodLiteral<"source_component">;
8066
+ ftype: z.ZodOptional<z.ZodString>;
7994
8067
  source_component_id: z.ZodString;
7995
8068
  name: z.ZodString;
7996
8069
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7999,9 +8072,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7999
8072
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8000
8073
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8001
8074
  source_group_id: z.ZodOptional<z.ZodString>;
8002
- } & {
8075
+ }, {
8003
8076
  ftype: z.ZodLiteral<"simple_bug">;
8004
- }, "strip", z.ZodTypeAny, {
8077
+ }>, "strip", z.ZodTypeAny, {
8005
8078
  type: "source_component";
8006
8079
  name: string;
8007
8080
  source_component_id: string;
@@ -8023,8 +8096,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8023
8096
  display_value?: string | undefined;
8024
8097
  are_pins_interchangeable?: boolean | undefined;
8025
8098
  internally_connected_source_port_ids?: string[][] | undefined;
8026
- }>, z.ZodObject<{
8099
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8027
8100
  type: z.ZodLiteral<"source_component">;
8101
+ ftype: z.ZodOptional<z.ZodString>;
8028
8102
  source_component_id: z.ZodString;
8029
8103
  name: z.ZodString;
8030
8104
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8033,9 +8107,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8033
8107
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8034
8108
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8035
8109
  source_group_id: z.ZodOptional<z.ZodString>;
8036
- } & {
8110
+ }, {
8037
8111
  ftype: z.ZodLiteral<"simple_chip">;
8038
- }, "strip", z.ZodTypeAny, {
8112
+ }>, "strip", z.ZodTypeAny, {
8039
8113
  type: "source_component";
8040
8114
  name: string;
8041
8115
  source_component_id: string;
@@ -8057,8 +8131,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8057
8131
  display_value?: string | undefined;
8058
8132
  are_pins_interchangeable?: boolean | undefined;
8059
8133
  internally_connected_source_port_ids?: string[][] | undefined;
8060
- }>, z.ZodObject<{
8134
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8061
8135
  type: z.ZodLiteral<"source_component">;
8136
+ ftype: z.ZodOptional<z.ZodString>;
8062
8137
  source_component_id: z.ZodString;
8063
8138
  name: z.ZodString;
8064
8139
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8067,13 +8142,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8067
8142
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8068
8143
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8069
8144
  source_group_id: z.ZodOptional<z.ZodString>;
8070
- } & {
8145
+ }, {
8071
8146
  ftype: z.ZodLiteral<"simple_capacitor">;
8072
8147
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8073
8148
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8074
8149
  display_capacitance: z.ZodOptional<z.ZodString>;
8075
8150
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8076
- }, "strip", z.ZodTypeAny, {
8151
+ }>, "strip", z.ZodTypeAny, {
8077
8152
  type: "source_component";
8078
8153
  name: string;
8079
8154
  source_component_id: string;
@@ -8103,8 +8178,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8103
8178
  max_voltage_rating?: string | number | undefined;
8104
8179
  display_capacitance?: string | undefined;
8105
8180
  max_decoupling_trace_length?: string | number | undefined;
8106
- }>, z.ZodObject<{
8181
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8107
8182
  type: z.ZodLiteral<"source_component">;
8183
+ ftype: z.ZodOptional<z.ZodString>;
8108
8184
  source_component_id: z.ZodString;
8109
8185
  name: z.ZodString;
8110
8186
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8113,9 +8189,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8113
8189
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8114
8190
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8115
8191
  source_group_id: z.ZodOptional<z.ZodString>;
8116
- } & {
8192
+ }, {
8117
8193
  ftype: z.ZodLiteral<"simple_diode">;
8118
- }, "strip", z.ZodTypeAny, {
8194
+ }>, "strip", z.ZodTypeAny, {
8119
8195
  type: "source_component";
8120
8196
  name: string;
8121
8197
  source_component_id: string;
@@ -8137,8 +8213,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8137
8213
  display_value?: string | undefined;
8138
8214
  are_pins_interchangeable?: boolean | undefined;
8139
8215
  internally_connected_source_port_ids?: string[][] | undefined;
8140
- }>, z.ZodObject<{
8216
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8141
8217
  type: z.ZodLiteral<"source_component">;
8218
+ ftype: z.ZodOptional<z.ZodString>;
8142
8219
  source_component_id: z.ZodString;
8143
8220
  name: z.ZodString;
8144
8221
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8147,11 +8224,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8147
8224
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8148
8225
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8149
8226
  source_group_id: z.ZodOptional<z.ZodString>;
8150
- } & {
8227
+ }, {
8228
+ ftype: z.ZodLiteral<"simple_diode">;
8229
+ }>, {
8151
8230
  ftype: z.ZodLiteral<"simple_led">;
8152
8231
  color: z.ZodOptional<z.ZodString>;
8153
8232
  wavelength: z.ZodOptional<z.ZodString>;
8154
- }, "strip", z.ZodTypeAny, {
8233
+ }>, "strip", z.ZodTypeAny, {
8155
8234
  type: "source_component";
8156
8235
  name: string;
8157
8236
  source_component_id: string;
@@ -8177,8 +8256,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8177
8256
  are_pins_interchangeable?: boolean | undefined;
8178
8257
  internally_connected_source_port_ids?: string[][] | undefined;
8179
8258
  wavelength?: string | undefined;
8180
- }>, z.ZodObject<{
8259
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8181
8260
  type: z.ZodLiteral<"source_component">;
8261
+ ftype: z.ZodOptional<z.ZodString>;
8182
8262
  source_component_id: z.ZodString;
8183
8263
  name: z.ZodString;
8184
8264
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8187,11 +8267,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8187
8267
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8188
8268
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8189
8269
  source_group_id: z.ZodOptional<z.ZodString>;
8190
- } & {
8270
+ }, {
8191
8271
  ftype: z.ZodLiteral<"simple_resistor">;
8192
8272
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8193
8273
  display_resistance: z.ZodOptional<z.ZodString>;
8194
- }, "strip", z.ZodTypeAny, {
8274
+ }>, "strip", z.ZodTypeAny, {
8195
8275
  type: "source_component";
8196
8276
  name: string;
8197
8277
  source_component_id: string;
@@ -8217,8 +8297,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8217
8297
  are_pins_interchangeable?: boolean | undefined;
8218
8298
  internally_connected_source_port_ids?: string[][] | undefined;
8219
8299
  display_resistance?: string | undefined;
8220
- }>, z.ZodObject<{
8300
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8221
8301
  type: z.ZodLiteral<"source_component">;
8302
+ ftype: z.ZodOptional<z.ZodString>;
8222
8303
  source_component_id: z.ZodString;
8223
8304
  name: z.ZodString;
8224
8305
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8227,10 +8308,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8227
8308
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8228
8309
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8229
8310
  source_group_id: z.ZodOptional<z.ZodString>;
8230
- } & {
8311
+ }, {
8231
8312
  ftype: z.ZodLiteral<"simple_power_source">;
8232
8313
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8233
- }, "strip", z.ZodTypeAny, {
8314
+ }>, "strip", z.ZodTypeAny, {
8234
8315
  type: "source_component";
8235
8316
  name: string;
8236
8317
  source_component_id: string;
@@ -8254,8 +8335,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8254
8335
  display_value?: string | undefined;
8255
8336
  are_pins_interchangeable?: boolean | undefined;
8256
8337
  internally_connected_source_port_ids?: string[][] | undefined;
8257
- }>, z.ZodObject<{
8338
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8258
8339
  type: z.ZodLiteral<"source_component">;
8340
+ ftype: z.ZodOptional<z.ZodString>;
8259
8341
  source_component_id: z.ZodString;
8260
8342
  name: z.ZodString;
8261
8343
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8264,10 +8346,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8264
8346
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8265
8347
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8266
8348
  source_group_id: z.ZodOptional<z.ZodString>;
8267
- } & {
8349
+ }, {
8268
8350
  ftype: z.ZodLiteral<"simple_battery">;
8269
8351
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
8270
- }, "strip", z.ZodTypeAny, {
8352
+ }>, "strip", z.ZodTypeAny, {
8271
8353
  type: "source_component";
8272
8354
  name: string;
8273
8355
  source_component_id: string;
@@ -8291,8 +8373,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8291
8373
  display_value?: string | undefined;
8292
8374
  are_pins_interchangeable?: boolean | undefined;
8293
8375
  internally_connected_source_port_ids?: string[][] | undefined;
8294
- }>, z.ZodObject<{
8376
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8295
8377
  type: z.ZodLiteral<"source_component">;
8378
+ ftype: z.ZodOptional<z.ZodString>;
8296
8379
  source_component_id: z.ZodString;
8297
8380
  name: z.ZodString;
8298
8381
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8301,10 +8384,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8301
8384
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8302
8385
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8303
8386
  source_group_id: z.ZodOptional<z.ZodString>;
8304
- } & {
8387
+ }, {
8305
8388
  ftype: z.ZodLiteral<"simple_inductor">;
8306
8389
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8307
- }, "strip", z.ZodTypeAny, {
8390
+ }>, "strip", z.ZodTypeAny, {
8308
8391
  type: "source_component";
8309
8392
  name: string;
8310
8393
  source_component_id: string;
@@ -8328,8 +8411,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8328
8411
  display_value?: string | undefined;
8329
8412
  are_pins_interchangeable?: boolean | undefined;
8330
8413
  internally_connected_source_port_ids?: string[][] | undefined;
8331
- }>, z.ZodObject<{
8414
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8332
8415
  type: z.ZodLiteral<"source_component">;
8416
+ ftype: z.ZodOptional<z.ZodString>;
8333
8417
  source_component_id: z.ZodString;
8334
8418
  name: z.ZodString;
8335
8419
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8338,11 +8422,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8338
8422
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8339
8423
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8340
8424
  source_group_id: z.ZodOptional<z.ZodString>;
8341
- } & {
8425
+ }, {
8342
8426
  ftype: z.ZodLiteral<"simple_pin_header">;
8343
8427
  pin_count: z.ZodNumber;
8344
8428
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
8345
- }, "strip", z.ZodTypeAny, {
8429
+ }>, "strip", z.ZodTypeAny, {
8346
8430
  type: "source_component";
8347
8431
  name: string;
8348
8432
  source_component_id: string;
@@ -8368,8 +8452,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8368
8452
  are_pins_interchangeable?: boolean | undefined;
8369
8453
  internally_connected_source_port_ids?: string[][] | undefined;
8370
8454
  gender?: "male" | "female" | undefined;
8371
- }>, z.ZodObject<{
8455
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8372
8456
  type: z.ZodLiteral<"source_component">;
8457
+ ftype: z.ZodOptional<z.ZodString>;
8373
8458
  source_component_id: z.ZodString;
8374
8459
  name: z.ZodString;
8375
8460
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8378,12 +8463,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8378
8463
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8379
8464
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8380
8465
  source_group_id: z.ZodOptional<z.ZodString>;
8381
- } & {
8466
+ }, {
8382
8467
  ftype: z.ZodLiteral<"simple_resonator">;
8383
8468
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8384
8469
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8385
8470
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8386
- }, "strip", z.ZodTypeAny, {
8471
+ }>, "strip", z.ZodTypeAny, {
8387
8472
  type: "source_component";
8388
8473
  name: string;
8389
8474
  source_component_id: string;
@@ -8411,8 +8496,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8411
8496
  are_pins_interchangeable?: boolean | undefined;
8412
8497
  internally_connected_source_port_ids?: string[][] | undefined;
8413
8498
  equivalent_series_resistance?: string | number | undefined;
8414
- }>, z.ZodObject<{
8499
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8415
8500
  type: z.ZodLiteral<"source_component">;
8501
+ ftype: z.ZodOptional<z.ZodString>;
8416
8502
  source_component_id: z.ZodString;
8417
8503
  name: z.ZodString;
8418
8504
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8421,9 +8507,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8421
8507
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8422
8508
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8423
8509
  source_group_id: z.ZodOptional<z.ZodString>;
8424
- } & {
8510
+ }, {
8425
8511
  ftype: z.ZodLiteral<"simple_switch">;
8426
- }, "strip", z.ZodTypeAny, {
8512
+ }>, "strip", z.ZodTypeAny, {
8427
8513
  type: "source_component";
8428
8514
  name: string;
8429
8515
  source_component_id: string;
@@ -8445,8 +8531,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8445
8531
  display_value?: string | undefined;
8446
8532
  are_pins_interchangeable?: boolean | undefined;
8447
8533
  internally_connected_source_port_ids?: string[][] | undefined;
8448
- }>, z.ZodObject<{
8534
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8449
8535
  type: z.ZodLiteral<"source_component">;
8536
+ ftype: z.ZodOptional<z.ZodString>;
8450
8537
  source_component_id: z.ZodString;
8451
8538
  name: z.ZodString;
8452
8539
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8455,10 +8542,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8455
8542
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8456
8543
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8457
8544
  source_group_id: z.ZodOptional<z.ZodString>;
8458
- } & {
8545
+ }, {
8459
8546
  ftype: z.ZodLiteral<"simple_transistor">;
8460
8547
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
8461
- }, "strip", z.ZodTypeAny, {
8548
+ }>, "strip", z.ZodTypeAny, {
8462
8549
  type: "source_component";
8463
8550
  name: string;
8464
8551
  source_component_id: string;
@@ -8482,8 +8569,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8482
8569
  display_value?: string | undefined;
8483
8570
  are_pins_interchangeable?: boolean | undefined;
8484
8571
  internally_connected_source_port_ids?: string[][] | undefined;
8485
- }>, z.ZodObject<{
8572
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8486
8573
  type: z.ZodLiteral<"source_component">;
8574
+ ftype: z.ZodOptional<z.ZodString>;
8487
8575
  source_component_id: z.ZodString;
8488
8576
  name: z.ZodString;
8489
8577
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8492,11 +8580,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8492
8580
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8493
8581
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8494
8582
  source_group_id: z.ZodOptional<z.ZodString>;
8495
- } & {
8583
+ }, {
8496
8584
  ftype: z.ZodLiteral<"simple_mosfet">;
8497
8585
  channel_type: z.ZodEnum<["n", "p"]>;
8498
8586
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
8499
- }, "strip", z.ZodTypeAny, {
8587
+ }>, "strip", z.ZodTypeAny, {
8500
8588
  type: "source_component";
8501
8589
  name: string;
8502
8590
  source_component_id: string;
@@ -8522,8 +8610,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8522
8610
  display_value?: string | undefined;
8523
8611
  are_pins_interchangeable?: boolean | undefined;
8524
8612
  internally_connected_source_port_ids?: string[][] | undefined;
8525
- }>, z.ZodObject<{
8613
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8526
8614
  type: z.ZodLiteral<"source_component">;
8615
+ ftype: z.ZodOptional<z.ZodString>;
8527
8616
  source_component_id: z.ZodString;
8528
8617
  name: z.ZodString;
8529
8618
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8532,10 +8621,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8532
8621
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8533
8622
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8534
8623
  source_group_id: z.ZodOptional<z.ZodString>;
8535
- } & {
8624
+ }, {
8536
8625
  ftype: z.ZodLiteral<"simple_potentiometer">;
8537
8626
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8538
- }, "strip", z.ZodTypeAny, {
8627
+ }>, "strip", z.ZodTypeAny, {
8539
8628
  type: "source_component";
8540
8629
  name: string;
8541
8630
  source_component_id: string;
@@ -8559,8 +8648,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8559
8648
  display_value?: string | undefined;
8560
8649
  are_pins_interchangeable?: boolean | undefined;
8561
8650
  internally_connected_source_port_ids?: string[][] | undefined;
8562
- }>, z.ZodObject<{
8651
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8563
8652
  type: z.ZodLiteral<"source_component">;
8653
+ ftype: z.ZodOptional<z.ZodString>;
8564
8654
  source_component_id: z.ZodString;
8565
8655
  name: z.ZodString;
8566
8656
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8569,9 +8659,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8569
8659
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8570
8660
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8571
8661
  source_group_id: z.ZodOptional<z.ZodString>;
8572
- } & {
8662
+ }, {
8573
8663
  ftype: z.ZodLiteral<"simple_push_button">;
8574
- }, "strip", z.ZodTypeAny, {
8664
+ }>, "strip", z.ZodTypeAny, {
8575
8665
  type: "source_component";
8576
8666
  name: string;
8577
8667
  source_component_id: string;
@@ -10516,12 +10606,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10516
10606
  message: string;
10517
10607
  type: "pcb_autorouting_error";
10518
10608
  pcb_error_id?: string | undefined;
10519
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
10609
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
10520
10610
  type: z.ZodLiteral<"pcb_cutout">;
10521
10611
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10522
10612
  pcb_group_id: z.ZodOptional<z.ZodString>;
10523
10613
  subcircuit_id: z.ZodOptional<z.ZodString>;
10524
- } & {
10614
+ }, {
10525
10615
  shape: z.ZodLiteral<"rect">;
10526
10616
  center: z.ZodObject<{
10527
10617
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10536,7 +10626,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10536
10626
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10537
10627
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10538
10628
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10539
- }, "strip", z.ZodTypeAny, {
10629
+ }>, "strip", z.ZodTypeAny, {
10540
10630
  type: "pcb_cutout";
10541
10631
  width: number;
10542
10632
  height: number;
@@ -10562,12 +10652,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10562
10652
  subcircuit_id?: string | undefined;
10563
10653
  pcb_group_id?: string | undefined;
10564
10654
  pcb_cutout_id?: string | undefined;
10565
- }>, z.ZodObject<{
10655
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10566
10656
  type: z.ZodLiteral<"pcb_cutout">;
10567
10657
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10568
10658
  pcb_group_id: z.ZodOptional<z.ZodString>;
10569
10659
  subcircuit_id: z.ZodOptional<z.ZodString>;
10570
- } & {
10660
+ }, {
10571
10661
  shape: z.ZodLiteral<"circle">;
10572
10662
  center: z.ZodObject<{
10573
10663
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10580,7 +10670,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10580
10670
  y: string | number;
10581
10671
  }>;
10582
10672
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10583
- }, "strip", z.ZodTypeAny, {
10673
+ }>, "strip", z.ZodTypeAny, {
10584
10674
  type: "pcb_cutout";
10585
10675
  center: {
10586
10676
  x: number;
@@ -10602,12 +10692,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10602
10692
  subcircuit_id?: string | undefined;
10603
10693
  pcb_group_id?: string | undefined;
10604
10694
  pcb_cutout_id?: string | undefined;
10605
- }>, z.ZodObject<{
10695
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10606
10696
  type: z.ZodLiteral<"pcb_cutout">;
10607
10697
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10608
10698
  pcb_group_id: z.ZodOptional<z.ZodString>;
10609
10699
  subcircuit_id: z.ZodOptional<z.ZodString>;
10610
- } & {
10700
+ }, {
10611
10701
  shape: z.ZodLiteral<"polygon">;
10612
10702
  points: z.ZodArray<z.ZodObject<{
10613
10703
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10619,7 +10709,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10619
10709
  x: string | number;
10620
10710
  y: string | number;
10621
10711
  }>, "many">;
10622
- }, "strip", z.ZodTypeAny, {
10712
+ }>, "strip", z.ZodTypeAny, {
10623
10713
  type: "pcb_cutout";
10624
10714
  shape: "polygon";
10625
10715
  pcb_cutout_id: string;
@@ -11230,10 +11320,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11230
11320
  symbol_name?: string | undefined;
11231
11321
  schematic_trace_id?: string | undefined;
11232
11322
  schematic_net_label_id?: string | undefined;
11233
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
11323
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
11234
11324
  type: z.ZodLiteral<"schematic_debug_object">;
11235
11325
  label: z.ZodOptional<z.ZodString>;
11236
- } & {
11326
+ }, {
11237
11327
  shape: z.ZodLiteral<"rect">;
11238
11328
  center: z.ZodObject<{
11239
11329
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11255,7 +11345,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11255
11345
  width: number;
11256
11346
  height: number;
11257
11347
  }>;
11258
- }, "strip", z.ZodTypeAny, {
11348
+ }>, "strip", z.ZodTypeAny, {
11259
11349
  type: "schematic_debug_object";
11260
11350
  center: {
11261
11351
  x: number;
@@ -11279,10 +11369,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11279
11369
  height: number;
11280
11370
  };
11281
11371
  label?: string | undefined;
11282
- }>, z.ZodObject<{
11372
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11283
11373
  type: z.ZodLiteral<"schematic_debug_object">;
11284
11374
  label: z.ZodOptional<z.ZodString>;
11285
- } & {
11375
+ }, {
11286
11376
  shape: z.ZodLiteral<"line">;
11287
11377
  start: z.ZodObject<{
11288
11378
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11304,7 +11394,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11304
11394
  x: string | number;
11305
11395
  y: string | number;
11306
11396
  }>;
11307
- }, "strip", z.ZodTypeAny, {
11397
+ }>, "strip", z.ZodTypeAny, {
11308
11398
  type: "schematic_debug_object";
11309
11399
  shape: "line";
11310
11400
  start: {
@@ -11328,10 +11418,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11328
11418
  y: string | number;
11329
11419
  };
11330
11420
  label?: string | undefined;
11331
- }>, z.ZodObject<{
11421
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11332
11422
  type: z.ZodLiteral<"schematic_debug_object">;
11333
11423
  label: z.ZodOptional<z.ZodString>;
11334
- } & {
11424
+ }, {
11335
11425
  shape: z.ZodLiteral<"point">;
11336
11426
  center: z.ZodObject<{
11337
11427
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11343,7 +11433,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11343
11433
  x: string | number;
11344
11434
  y: string | number;
11345
11435
  }>;
11346
- }, "strip", z.ZodTypeAny, {
11436
+ }>, "strip", z.ZodTypeAny, {
11347
11437
  type: "schematic_debug_object";
11348
11438
  center: {
11349
11439
  x: number;
@@ -11637,8 +11727,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11637
11727
  subcircuit_id?: string | undefined;
11638
11728
  port_hints?: string[] | undefined;
11639
11729
  pin_number?: number | undefined;
11640
- }>, z.ZodUnion<[z.ZodObject<{
11730
+ }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
11641
11731
  type: z.ZodLiteral<"source_component">;
11732
+ ftype: z.ZodOptional<z.ZodString>;
11642
11733
  source_component_id: z.ZodString;
11643
11734
  name: z.ZodString;
11644
11735
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11647,11 +11738,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11647
11738
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11648
11739
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11649
11740
  source_group_id: z.ZodOptional<z.ZodString>;
11650
- } & {
11741
+ }, {
11651
11742
  ftype: z.ZodLiteral<"simple_resistor">;
11652
11743
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11653
11744
  display_resistance: z.ZodOptional<z.ZodString>;
11654
- }, "strip", z.ZodTypeAny, {
11745
+ }>, "strip", z.ZodTypeAny, {
11655
11746
  type: "source_component";
11656
11747
  name: string;
11657
11748
  source_component_id: string;
@@ -11677,8 +11768,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11677
11768
  are_pins_interchangeable?: boolean | undefined;
11678
11769
  internally_connected_source_port_ids?: string[][] | undefined;
11679
11770
  display_resistance?: string | undefined;
11680
- }>, z.ZodObject<{
11771
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11681
11772
  type: z.ZodLiteral<"source_component">;
11773
+ ftype: z.ZodOptional<z.ZodString>;
11682
11774
  source_component_id: z.ZodString;
11683
11775
  name: z.ZodString;
11684
11776
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11687,13 +11779,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11687
11779
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11688
11780
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11689
11781
  source_group_id: z.ZodOptional<z.ZodString>;
11690
- } & {
11782
+ }, {
11691
11783
  ftype: z.ZodLiteral<"simple_capacitor">;
11692
11784
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
11693
11785
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11694
11786
  display_capacitance: z.ZodOptional<z.ZodString>;
11695
11787
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11696
- }, "strip", z.ZodTypeAny, {
11788
+ }>, "strip", z.ZodTypeAny, {
11697
11789
  type: "source_component";
11698
11790
  name: string;
11699
11791
  source_component_id: string;
@@ -11723,8 +11815,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11723
11815
  max_voltage_rating?: string | number | undefined;
11724
11816
  display_capacitance?: string | undefined;
11725
11817
  max_decoupling_trace_length?: string | number | undefined;
11726
- }>, z.ZodObject<{
11818
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11727
11819
  type: z.ZodLiteral<"source_component">;
11820
+ ftype: z.ZodOptional<z.ZodString>;
11728
11821
  source_component_id: z.ZodString;
11729
11822
  name: z.ZodString;
11730
11823
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11733,9 +11826,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11733
11826
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11734
11827
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11735
11828
  source_group_id: z.ZodOptional<z.ZodString>;
11736
- } & {
11829
+ }, {
11737
11830
  ftype: z.ZodLiteral<"simple_diode">;
11738
- }, "strip", z.ZodTypeAny, {
11831
+ }>, "strip", z.ZodTypeAny, {
11739
11832
  type: "source_component";
11740
11833
  name: string;
11741
11834
  source_component_id: string;
@@ -11757,8 +11850,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11757
11850
  display_value?: string | undefined;
11758
11851
  are_pins_interchangeable?: boolean | undefined;
11759
11852
  internally_connected_source_port_ids?: string[][] | undefined;
11760
- }>, z.ZodObject<{
11853
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
11761
11854
  type: z.ZodLiteral<"source_component">;
11855
+ ftype: z.ZodOptional<z.ZodString>;
11762
11856
  source_component_id: z.ZodString;
11763
11857
  name: z.ZodString;
11764
11858
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11767,11 +11861,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11767
11861
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11768
11862
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11769
11863
  source_group_id: z.ZodOptional<z.ZodString>;
11770
- } & {
11864
+ }, {
11865
+ ftype: z.ZodLiteral<"simple_diode">;
11866
+ }>, {
11771
11867
  ftype: z.ZodLiteral<"simple_led">;
11772
11868
  color: z.ZodOptional<z.ZodString>;
11773
11869
  wavelength: z.ZodOptional<z.ZodString>;
11774
- }, "strip", z.ZodTypeAny, {
11870
+ }>, "strip", z.ZodTypeAny, {
11775
11871
  type: "source_component";
11776
11872
  name: string;
11777
11873
  source_component_id: string;
@@ -11797,8 +11893,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11797
11893
  are_pins_interchangeable?: boolean | undefined;
11798
11894
  internally_connected_source_port_ids?: string[][] | undefined;
11799
11895
  wavelength?: string | undefined;
11800
- }>, z.ZodObject<{
11896
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11801
11897
  type: z.ZodLiteral<"source_component">;
11898
+ ftype: z.ZodOptional<z.ZodString>;
11802
11899
  source_component_id: z.ZodString;
11803
11900
  name: z.ZodString;
11804
11901
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11807,9 +11904,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11807
11904
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11808
11905
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11809
11906
  source_group_id: z.ZodOptional<z.ZodString>;
11810
- } & {
11907
+ }, {
11811
11908
  ftype: z.ZodLiteral<"simple_ground">;
11812
- }, "strip", z.ZodTypeAny, {
11909
+ }>, "strip", z.ZodTypeAny, {
11813
11910
  type: "source_component";
11814
11911
  name: string;
11815
11912
  source_component_id: string;
@@ -11831,8 +11928,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11831
11928
  display_value?: string | undefined;
11832
11929
  are_pins_interchangeable?: boolean | undefined;
11833
11930
  internally_connected_source_port_ids?: string[][] | undefined;
11834
- }>, z.ZodObject<{
11931
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11835
11932
  type: z.ZodLiteral<"source_component">;
11933
+ ftype: z.ZodOptional<z.ZodString>;
11836
11934
  source_component_id: z.ZodString;
11837
11935
  name: z.ZodString;
11838
11936
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11841,9 +11939,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11841
11939
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11842
11940
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11843
11941
  source_group_id: z.ZodOptional<z.ZodString>;
11844
- } & {
11942
+ }, {
11845
11943
  ftype: z.ZodLiteral<"simple_chip">;
11846
- }, "strip", z.ZodTypeAny, {
11944
+ }>, "strip", z.ZodTypeAny, {
11847
11945
  type: "source_component";
11848
11946
  name: string;
11849
11947
  source_component_id: string;
@@ -11865,8 +11963,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11865
11963
  display_value?: string | undefined;
11866
11964
  are_pins_interchangeable?: boolean | undefined;
11867
11965
  internally_connected_source_port_ids?: string[][] | undefined;
11868
- }>, z.ZodObject<{
11966
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11869
11967
  type: z.ZodLiteral<"source_component">;
11968
+ ftype: z.ZodOptional<z.ZodString>;
11870
11969
  source_component_id: z.ZodString;
11871
11970
  name: z.ZodString;
11872
11971
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11875,9 +11974,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11875
11974
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11876
11975
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11877
11976
  source_group_id: z.ZodOptional<z.ZodString>;
11878
- } & {
11977
+ }, {
11879
11978
  ftype: z.ZodLiteral<"simple_bug">;
11880
- }, "strip", z.ZodTypeAny, {
11979
+ }>, "strip", z.ZodTypeAny, {
11881
11980
  type: "source_component";
11882
11981
  name: string;
11883
11982
  source_component_id: string;
@@ -11899,8 +11998,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11899
11998
  display_value?: string | undefined;
11900
11999
  are_pins_interchangeable?: boolean | undefined;
11901
12000
  internally_connected_source_port_ids?: string[][] | undefined;
11902
- }>, z.ZodObject<{
12001
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
11903
12002
  type: z.ZodLiteral<"source_component">;
12003
+ ftype: z.ZodOptional<z.ZodString>;
11904
12004
  source_component_id: z.ZodString;
11905
12005
  name: z.ZodString;
11906
12006
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11909,9 +12009,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11909
12009
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11910
12010
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11911
12011
  source_group_id: z.ZodOptional<z.ZodString>;
11912
- } & {
12012
+ }, {
12013
+ ftype: z.ZodLiteral<"simple_diode">;
12014
+ }>, {
11913
12015
  ftype: z.ZodLiteral<"led">;
11914
- }, "strip", z.ZodTypeAny, {
12016
+ }>, "strip", z.ZodTypeAny, {
11915
12017
  type: "source_component";
11916
12018
  name: string;
11917
12019
  source_component_id: string;
@@ -11933,8 +12035,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11933
12035
  display_value?: string | undefined;
11934
12036
  are_pins_interchangeable?: boolean | undefined;
11935
12037
  internally_connected_source_port_ids?: string[][] | undefined;
11936
- }>, z.ZodObject<{
12038
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11937
12039
  type: z.ZodLiteral<"source_component">;
12040
+ ftype: z.ZodOptional<z.ZodString>;
11938
12041
  source_component_id: z.ZodString;
11939
12042
  name: z.ZodString;
11940
12043
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11943,10 +12046,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11943
12046
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11944
12047
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11945
12048
  source_group_id: z.ZodOptional<z.ZodString>;
11946
- } & {
12049
+ }, {
11947
12050
  ftype: z.ZodLiteral<"simple_power_source">;
11948
12051
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11949
- }, "strip", z.ZodTypeAny, {
12052
+ }>, "strip", z.ZodTypeAny, {
11950
12053
  type: "source_component";
11951
12054
  name: string;
11952
12055
  source_component_id: string;
@@ -11970,8 +12073,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11970
12073
  display_value?: string | undefined;
11971
12074
  are_pins_interchangeable?: boolean | undefined;
11972
12075
  internally_connected_source_port_ids?: string[][] | undefined;
11973
- }>, z.ZodObject<{
12076
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11974
12077
  type: z.ZodLiteral<"source_component">;
12078
+ ftype: z.ZodOptional<z.ZodString>;
11975
12079
  source_component_id: z.ZodString;
11976
12080
  name: z.ZodString;
11977
12081
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11980,10 +12084,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11980
12084
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11981
12085
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11982
12086
  source_group_id: z.ZodOptional<z.ZodString>;
11983
- } & {
12087
+ }, {
11984
12088
  ftype: z.ZodLiteral<"simple_battery">;
11985
12089
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
11986
- }, "strip", z.ZodTypeAny, {
12090
+ }>, "strip", z.ZodTypeAny, {
11987
12091
  type: "source_component";
11988
12092
  name: string;
11989
12093
  source_component_id: string;
@@ -12007,8 +12111,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12007
12111
  display_value?: string | undefined;
12008
12112
  are_pins_interchangeable?: boolean | undefined;
12009
12113
  internally_connected_source_port_ids?: string[][] | undefined;
12010
- }>, z.ZodObject<{
12114
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12011
12115
  type: z.ZodLiteral<"source_component">;
12116
+ ftype: z.ZodOptional<z.ZodString>;
12012
12117
  source_component_id: z.ZodString;
12013
12118
  name: z.ZodString;
12014
12119
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12017,10 +12122,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12017
12122
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12018
12123
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12019
12124
  source_group_id: z.ZodOptional<z.ZodString>;
12020
- } & {
12125
+ }, {
12021
12126
  ftype: z.ZodLiteral<"simple_inductor">;
12022
12127
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12023
- }, "strip", z.ZodTypeAny, {
12128
+ }>, "strip", z.ZodTypeAny, {
12024
12129
  type: "source_component";
12025
12130
  name: string;
12026
12131
  source_component_id: string;
@@ -12044,8 +12149,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12044
12149
  display_value?: string | undefined;
12045
12150
  are_pins_interchangeable?: boolean | undefined;
12046
12151
  internally_connected_source_port_ids?: string[][] | undefined;
12047
- }>, z.ZodObject<{
12152
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12048
12153
  type: z.ZodLiteral<"source_component">;
12154
+ ftype: z.ZodOptional<z.ZodString>;
12049
12155
  source_component_id: z.ZodString;
12050
12156
  name: z.ZodString;
12051
12157
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12054,9 +12160,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12054
12160
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12055
12161
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12056
12162
  source_group_id: z.ZodOptional<z.ZodString>;
12057
- } & {
12163
+ }, {
12058
12164
  ftype: z.ZodLiteral<"simple_push_button">;
12059
- }, "strip", z.ZodTypeAny, {
12165
+ }>, "strip", z.ZodTypeAny, {
12060
12166
  type: "source_component";
12061
12167
  name: string;
12062
12168
  source_component_id: string;
@@ -12078,8 +12184,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12078
12184
  display_value?: string | undefined;
12079
12185
  are_pins_interchangeable?: boolean | undefined;
12080
12186
  internally_connected_source_port_ids?: string[][] | undefined;
12081
- }>, z.ZodObject<{
12187
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12082
12188
  type: z.ZodLiteral<"source_component">;
12189
+ ftype: z.ZodOptional<z.ZodString>;
12083
12190
  source_component_id: z.ZodString;
12084
12191
  name: z.ZodString;
12085
12192
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12088,10 +12195,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12088
12195
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12089
12196
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12090
12197
  source_group_id: z.ZodOptional<z.ZodString>;
12091
- } & {
12198
+ }, {
12092
12199
  ftype: z.ZodLiteral<"simple_potentiometer">;
12093
12200
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12094
- }, "strip", z.ZodTypeAny, {
12201
+ }>, "strip", z.ZodTypeAny, {
12095
12202
  type: "source_component";
12096
12203
  name: string;
12097
12204
  source_component_id: string;
@@ -12115,8 +12222,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12115
12222
  display_value?: string | undefined;
12116
12223
  are_pins_interchangeable?: boolean | undefined;
12117
12224
  internally_connected_source_port_ids?: string[][] | undefined;
12118
- }>, z.ZodObject<{
12225
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12119
12226
  type: z.ZodLiteral<"source_component">;
12227
+ ftype: z.ZodOptional<z.ZodString>;
12120
12228
  source_component_id: z.ZodString;
12121
12229
  name: z.ZodString;
12122
12230
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12125,11 +12233,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12125
12233
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12126
12234
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12127
12235
  source_group_id: z.ZodOptional<z.ZodString>;
12128
- } & {
12236
+ }, {
12129
12237
  ftype: z.ZodLiteral<"simple_crystal">;
12130
12238
  frequency: z.ZodNumber;
12131
12239
  load_capacitance: z.ZodOptional<z.ZodNumber>;
12132
- }, "strip", z.ZodTypeAny, {
12240
+ }>, "strip", z.ZodTypeAny, {
12133
12241
  type: "source_component";
12134
12242
  name: string;
12135
12243
  source_component_id: string;
@@ -12155,8 +12263,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12155
12263
  are_pins_interchangeable?: boolean | undefined;
12156
12264
  internally_connected_source_port_ids?: string[][] | undefined;
12157
12265
  load_capacitance?: number | undefined;
12158
- }>, z.ZodObject<{
12266
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12159
12267
  type: z.ZodLiteral<"source_component">;
12268
+ ftype: z.ZodOptional<z.ZodString>;
12160
12269
  source_component_id: z.ZodString;
12161
12270
  name: z.ZodString;
12162
12271
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12165,11 +12274,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12165
12274
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12166
12275
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12167
12276
  source_group_id: z.ZodOptional<z.ZodString>;
12168
- } & {
12277
+ }, {
12169
12278
  ftype: z.ZodLiteral<"simple_pin_header">;
12170
12279
  pin_count: z.ZodNumber;
12171
12280
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
12172
- }, "strip", z.ZodTypeAny, {
12281
+ }>, "strip", z.ZodTypeAny, {
12173
12282
  type: "source_component";
12174
12283
  name: string;
12175
12284
  source_component_id: string;
@@ -12195,8 +12304,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12195
12304
  are_pins_interchangeable?: boolean | undefined;
12196
12305
  internally_connected_source_port_ids?: string[][] | undefined;
12197
12306
  gender?: "male" | "female" | undefined;
12198
- }>, z.ZodObject<{
12307
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12199
12308
  type: z.ZodLiteral<"source_component">;
12309
+ ftype: z.ZodOptional<z.ZodString>;
12200
12310
  source_component_id: z.ZodString;
12201
12311
  name: z.ZodString;
12202
12312
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12205,12 +12315,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12205
12315
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12206
12316
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12207
12317
  source_group_id: z.ZodOptional<z.ZodString>;
12208
- } & {
12318
+ }, {
12209
12319
  ftype: z.ZodLiteral<"simple_resonator">;
12210
12320
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
12211
12321
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12212
12322
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12213
- }, "strip", z.ZodTypeAny, {
12323
+ }>, "strip", z.ZodTypeAny, {
12214
12324
  type: "source_component";
12215
12325
  name: string;
12216
12326
  source_component_id: string;
@@ -12238,8 +12348,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12238
12348
  are_pins_interchangeable?: boolean | undefined;
12239
12349
  internally_connected_source_port_ids?: string[][] | undefined;
12240
12350
  equivalent_series_resistance?: string | number | undefined;
12241
- }>, z.ZodObject<{
12351
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12242
12352
  type: z.ZodLiteral<"source_component">;
12353
+ ftype: z.ZodOptional<z.ZodString>;
12243
12354
  source_component_id: z.ZodString;
12244
12355
  name: z.ZodString;
12245
12356
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12248,9 +12359,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12248
12359
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12249
12360
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12250
12361
  source_group_id: z.ZodOptional<z.ZodString>;
12251
- } & {
12362
+ }, {
12252
12363
  ftype: z.ZodLiteral<"simple_switch">;
12253
- }, "strip", z.ZodTypeAny, {
12364
+ }>, "strip", z.ZodTypeAny, {
12254
12365
  type: "source_component";
12255
12366
  name: string;
12256
12367
  source_component_id: string;
@@ -12272,8 +12383,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12272
12383
  display_value?: string | undefined;
12273
12384
  are_pins_interchangeable?: boolean | undefined;
12274
12385
  internally_connected_source_port_ids?: string[][] | undefined;
12275
- }>, z.ZodObject<{
12386
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12276
12387
  type: z.ZodLiteral<"source_component">;
12388
+ ftype: z.ZodOptional<z.ZodString>;
12277
12389
  source_component_id: z.ZodString;
12278
12390
  name: z.ZodString;
12279
12391
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12282,10 +12394,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12282
12394
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12283
12395
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12284
12396
  source_group_id: z.ZodOptional<z.ZodString>;
12285
- } & {
12397
+ }, {
12286
12398
  ftype: z.ZodLiteral<"simple_transistor">;
12287
12399
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
12288
- }, "strip", z.ZodTypeAny, {
12400
+ }>, "strip", z.ZodTypeAny, {
12289
12401
  type: "source_component";
12290
12402
  name: string;
12291
12403
  source_component_id: string;
@@ -12309,8 +12421,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12309
12421
  display_value?: string | undefined;
12310
12422
  are_pins_interchangeable?: boolean | undefined;
12311
12423
  internally_connected_source_port_ids?: string[][] | undefined;
12312
- }>, z.ZodObject<{
12424
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12313
12425
  type: z.ZodLiteral<"source_component">;
12426
+ ftype: z.ZodOptional<z.ZodString>;
12314
12427
  source_component_id: z.ZodString;
12315
12428
  name: z.ZodString;
12316
12429
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12319,11 +12432,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12319
12432
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12320
12433
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12321
12434
  source_group_id: z.ZodOptional<z.ZodString>;
12322
- } & {
12435
+ }, {
12323
12436
  ftype: z.ZodLiteral<"simple_mosfet">;
12324
12437
  channel_type: z.ZodEnum<["n", "p"]>;
12325
12438
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
12326
- }, "strip", z.ZodTypeAny, {
12439
+ }>, "strip", z.ZodTypeAny, {
12327
12440
  type: "source_component";
12328
12441
  name: string;
12329
12442
  source_component_id: string;
@@ -12442,8 +12555,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12442
12555
  x?: number | undefined;
12443
12556
  y?: number | undefined;
12444
12557
  } | undefined;
12445
- }>]>, z.ZodObject<{
12558
+ }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
12446
12559
  type: z.ZodLiteral<"source_component">;
12560
+ ftype: z.ZodOptional<z.ZodString>;
12447
12561
  source_component_id: z.ZodString;
12448
12562
  name: z.ZodString;
12449
12563
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12452,9 +12566,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12452
12566
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12453
12567
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12454
12568
  source_group_id: z.ZodOptional<z.ZodString>;
12455
- } & {
12569
+ }, {
12570
+ ftype: z.ZodLiteral<"simple_diode">;
12571
+ }>, {
12456
12572
  ftype: z.ZodLiteral<"led">;
12457
- }, "strip", z.ZodTypeAny, {
12573
+ }>, "strip", z.ZodTypeAny, {
12458
12574
  type: "source_component";
12459
12575
  name: string;
12460
12576
  source_component_id: string;
@@ -12530,8 +12646,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12530
12646
  subcircuit_id?: string | undefined;
12531
12647
  is_subcircuit?: boolean | undefined;
12532
12648
  parent_subcircuit_id?: string | undefined;
12533
- }>, z.ZodObject<{
12649
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12534
12650
  type: z.ZodLiteral<"source_component">;
12651
+ ftype: z.ZodOptional<z.ZodString>;
12535
12652
  source_component_id: z.ZodString;
12536
12653
  name: z.ZodString;
12537
12654
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12540,9 +12657,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12540
12657
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12541
12658
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12542
12659
  source_group_id: z.ZodOptional<z.ZodString>;
12543
- } & {
12660
+ }, {
12544
12661
  ftype: z.ZodLiteral<"simple_bug">;
12545
- }, "strip", z.ZodTypeAny, {
12662
+ }>, "strip", z.ZodTypeAny, {
12546
12663
  type: "source_component";
12547
12664
  name: string;
12548
12665
  source_component_id: string;
@@ -12564,8 +12681,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12564
12681
  display_value?: string | undefined;
12565
12682
  are_pins_interchangeable?: boolean | undefined;
12566
12683
  internally_connected_source_port_ids?: string[][] | undefined;
12567
- }>, z.ZodObject<{
12684
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12568
12685
  type: z.ZodLiteral<"source_component">;
12686
+ ftype: z.ZodOptional<z.ZodString>;
12569
12687
  source_component_id: z.ZodString;
12570
12688
  name: z.ZodString;
12571
12689
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12574,9 +12692,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12574
12692
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12575
12693
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12576
12694
  source_group_id: z.ZodOptional<z.ZodString>;
12577
- } & {
12695
+ }, {
12578
12696
  ftype: z.ZodLiteral<"simple_chip">;
12579
- }, "strip", z.ZodTypeAny, {
12697
+ }>, "strip", z.ZodTypeAny, {
12580
12698
  type: "source_component";
12581
12699
  name: string;
12582
12700
  source_component_id: string;
@@ -12598,8 +12716,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12598
12716
  display_value?: string | undefined;
12599
12717
  are_pins_interchangeable?: boolean | undefined;
12600
12718
  internally_connected_source_port_ids?: string[][] | undefined;
12601
- }>, z.ZodObject<{
12719
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12602
12720
  type: z.ZodLiteral<"source_component">;
12721
+ ftype: z.ZodOptional<z.ZodString>;
12603
12722
  source_component_id: z.ZodString;
12604
12723
  name: z.ZodString;
12605
12724
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12608,13 +12727,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12608
12727
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12609
12728
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12610
12729
  source_group_id: z.ZodOptional<z.ZodString>;
12611
- } & {
12730
+ }, {
12612
12731
  ftype: z.ZodLiteral<"simple_capacitor">;
12613
12732
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
12614
12733
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12615
12734
  display_capacitance: z.ZodOptional<z.ZodString>;
12616
12735
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12617
- }, "strip", z.ZodTypeAny, {
12736
+ }>, "strip", z.ZodTypeAny, {
12618
12737
  type: "source_component";
12619
12738
  name: string;
12620
12739
  source_component_id: string;
@@ -12644,8 +12763,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12644
12763
  max_voltage_rating?: string | number | undefined;
12645
12764
  display_capacitance?: string | undefined;
12646
12765
  max_decoupling_trace_length?: string | number | undefined;
12647
- }>, z.ZodObject<{
12766
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12648
12767
  type: z.ZodLiteral<"source_component">;
12768
+ ftype: z.ZodOptional<z.ZodString>;
12649
12769
  source_component_id: z.ZodString;
12650
12770
  name: z.ZodString;
12651
12771
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12654,9 +12774,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12654
12774
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12655
12775
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12656
12776
  source_group_id: z.ZodOptional<z.ZodString>;
12657
- } & {
12777
+ }, {
12658
12778
  ftype: z.ZodLiteral<"simple_diode">;
12659
- }, "strip", z.ZodTypeAny, {
12779
+ }>, "strip", z.ZodTypeAny, {
12660
12780
  type: "source_component";
12661
12781
  name: string;
12662
12782
  source_component_id: string;
@@ -12678,8 +12798,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12678
12798
  display_value?: string | undefined;
12679
12799
  are_pins_interchangeable?: boolean | undefined;
12680
12800
  internally_connected_source_port_ids?: string[][] | undefined;
12681
- }>, z.ZodObject<{
12801
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
12682
12802
  type: z.ZodLiteral<"source_component">;
12803
+ ftype: z.ZodOptional<z.ZodString>;
12683
12804
  source_component_id: z.ZodString;
12684
12805
  name: z.ZodString;
12685
12806
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12688,11 +12809,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12688
12809
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12689
12810
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12690
12811
  source_group_id: z.ZodOptional<z.ZodString>;
12691
- } & {
12812
+ }, {
12813
+ ftype: z.ZodLiteral<"simple_diode">;
12814
+ }>, {
12692
12815
  ftype: z.ZodLiteral<"simple_led">;
12693
12816
  color: z.ZodOptional<z.ZodString>;
12694
12817
  wavelength: z.ZodOptional<z.ZodString>;
12695
- }, "strip", z.ZodTypeAny, {
12818
+ }>, "strip", z.ZodTypeAny, {
12696
12819
  type: "source_component";
12697
12820
  name: string;
12698
12821
  source_component_id: string;
@@ -12718,8 +12841,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12718
12841
  are_pins_interchangeable?: boolean | undefined;
12719
12842
  internally_connected_source_port_ids?: string[][] | undefined;
12720
12843
  wavelength?: string | undefined;
12721
- }>, z.ZodObject<{
12844
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12722
12845
  type: z.ZodLiteral<"source_component">;
12846
+ ftype: z.ZodOptional<z.ZodString>;
12723
12847
  source_component_id: z.ZodString;
12724
12848
  name: z.ZodString;
12725
12849
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12728,11 +12852,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12728
12852
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12729
12853
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12730
12854
  source_group_id: z.ZodOptional<z.ZodString>;
12731
- } & {
12855
+ }, {
12732
12856
  ftype: z.ZodLiteral<"simple_resistor">;
12733
12857
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12734
12858
  display_resistance: z.ZodOptional<z.ZodString>;
12735
- }, "strip", z.ZodTypeAny, {
12859
+ }>, "strip", z.ZodTypeAny, {
12736
12860
  type: "source_component";
12737
12861
  name: string;
12738
12862
  source_component_id: string;
@@ -12758,8 +12882,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12758
12882
  are_pins_interchangeable?: boolean | undefined;
12759
12883
  internally_connected_source_port_ids?: string[][] | undefined;
12760
12884
  display_resistance?: string | undefined;
12761
- }>, z.ZodObject<{
12885
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12762
12886
  type: z.ZodLiteral<"source_component">;
12887
+ ftype: z.ZodOptional<z.ZodString>;
12763
12888
  source_component_id: z.ZodString;
12764
12889
  name: z.ZodString;
12765
12890
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12768,10 +12893,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12768
12893
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12769
12894
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12770
12895
  source_group_id: z.ZodOptional<z.ZodString>;
12771
- } & {
12896
+ }, {
12772
12897
  ftype: z.ZodLiteral<"simple_power_source">;
12773
12898
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12774
- }, "strip", z.ZodTypeAny, {
12899
+ }>, "strip", z.ZodTypeAny, {
12775
12900
  type: "source_component";
12776
12901
  name: string;
12777
12902
  source_component_id: string;
@@ -12795,8 +12920,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12795
12920
  display_value?: string | undefined;
12796
12921
  are_pins_interchangeable?: boolean | undefined;
12797
12922
  internally_connected_source_port_ids?: string[][] | undefined;
12798
- }>, z.ZodObject<{
12923
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12799
12924
  type: z.ZodLiteral<"source_component">;
12925
+ ftype: z.ZodOptional<z.ZodString>;
12800
12926
  source_component_id: z.ZodString;
12801
12927
  name: z.ZodString;
12802
12928
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12805,10 +12931,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12805
12931
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12806
12932
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12807
12933
  source_group_id: z.ZodOptional<z.ZodString>;
12808
- } & {
12934
+ }, {
12809
12935
  ftype: z.ZodLiteral<"simple_battery">;
12810
12936
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
12811
- }, "strip", z.ZodTypeAny, {
12937
+ }>, "strip", z.ZodTypeAny, {
12812
12938
  type: "source_component";
12813
12939
  name: string;
12814
12940
  source_component_id: string;
@@ -12832,8 +12958,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12832
12958
  display_value?: string | undefined;
12833
12959
  are_pins_interchangeable?: boolean | undefined;
12834
12960
  internally_connected_source_port_ids?: string[][] | undefined;
12835
- }>, z.ZodObject<{
12961
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12836
12962
  type: z.ZodLiteral<"source_component">;
12963
+ ftype: z.ZodOptional<z.ZodString>;
12837
12964
  source_component_id: z.ZodString;
12838
12965
  name: z.ZodString;
12839
12966
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12842,10 +12969,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12842
12969
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12843
12970
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12844
12971
  source_group_id: z.ZodOptional<z.ZodString>;
12845
- } & {
12972
+ }, {
12846
12973
  ftype: z.ZodLiteral<"simple_inductor">;
12847
12974
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12848
- }, "strip", z.ZodTypeAny, {
12975
+ }>, "strip", z.ZodTypeAny, {
12849
12976
  type: "source_component";
12850
12977
  name: string;
12851
12978
  source_component_id: string;
@@ -12869,8 +12996,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12869
12996
  display_value?: string | undefined;
12870
12997
  are_pins_interchangeable?: boolean | undefined;
12871
12998
  internally_connected_source_port_ids?: string[][] | undefined;
12872
- }>, z.ZodObject<{
12999
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12873
13000
  type: z.ZodLiteral<"source_component">;
13001
+ ftype: z.ZodOptional<z.ZodString>;
12874
13002
  source_component_id: z.ZodString;
12875
13003
  name: z.ZodString;
12876
13004
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12879,11 +13007,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12879
13007
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12880
13008
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12881
13009
  source_group_id: z.ZodOptional<z.ZodString>;
12882
- } & {
13010
+ }, {
12883
13011
  ftype: z.ZodLiteral<"simple_pin_header">;
12884
13012
  pin_count: z.ZodNumber;
12885
13013
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
12886
- }, "strip", z.ZodTypeAny, {
13014
+ }>, "strip", z.ZodTypeAny, {
12887
13015
  type: "source_component";
12888
13016
  name: string;
12889
13017
  source_component_id: string;
@@ -12909,8 +13037,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12909
13037
  are_pins_interchangeable?: boolean | undefined;
12910
13038
  internally_connected_source_port_ids?: string[][] | undefined;
12911
13039
  gender?: "male" | "female" | undefined;
12912
- }>, z.ZodObject<{
13040
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12913
13041
  type: z.ZodLiteral<"source_component">;
13042
+ ftype: z.ZodOptional<z.ZodString>;
12914
13043
  source_component_id: z.ZodString;
12915
13044
  name: z.ZodString;
12916
13045
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12919,12 +13048,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12919
13048
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12920
13049
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12921
13050
  source_group_id: z.ZodOptional<z.ZodString>;
12922
- } & {
13051
+ }, {
12923
13052
  ftype: z.ZodLiteral<"simple_resonator">;
12924
13053
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
12925
13054
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12926
13055
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12927
- }, "strip", z.ZodTypeAny, {
13056
+ }>, "strip", z.ZodTypeAny, {
12928
13057
  type: "source_component";
12929
13058
  name: string;
12930
13059
  source_component_id: string;
@@ -12952,8 +13081,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12952
13081
  are_pins_interchangeable?: boolean | undefined;
12953
13082
  internally_connected_source_port_ids?: string[][] | undefined;
12954
13083
  equivalent_series_resistance?: string | number | undefined;
12955
- }>, z.ZodObject<{
13084
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12956
13085
  type: z.ZodLiteral<"source_component">;
13086
+ ftype: z.ZodOptional<z.ZodString>;
12957
13087
  source_component_id: z.ZodString;
12958
13088
  name: z.ZodString;
12959
13089
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12962,9 +13092,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12962
13092
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12963
13093
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12964
13094
  source_group_id: z.ZodOptional<z.ZodString>;
12965
- } & {
13095
+ }, {
12966
13096
  ftype: z.ZodLiteral<"simple_switch">;
12967
- }, "strip", z.ZodTypeAny, {
13097
+ }>, "strip", z.ZodTypeAny, {
12968
13098
  type: "source_component";
12969
13099
  name: string;
12970
13100
  source_component_id: string;
@@ -12986,8 +13116,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12986
13116
  display_value?: string | undefined;
12987
13117
  are_pins_interchangeable?: boolean | undefined;
12988
13118
  internally_connected_source_port_ids?: string[][] | undefined;
12989
- }>, z.ZodObject<{
13119
+ }>, z.ZodObject<z.objectUtil.extendShape<{
12990
13120
  type: z.ZodLiteral<"source_component">;
13121
+ ftype: z.ZodOptional<z.ZodString>;
12991
13122
  source_component_id: z.ZodString;
12992
13123
  name: z.ZodString;
12993
13124
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12996,10 +13127,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12996
13127
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12997
13128
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12998
13129
  source_group_id: z.ZodOptional<z.ZodString>;
12999
- } & {
13130
+ }, {
13000
13131
  ftype: z.ZodLiteral<"simple_transistor">;
13001
13132
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
13002
- }, "strip", z.ZodTypeAny, {
13133
+ }>, "strip", z.ZodTypeAny, {
13003
13134
  type: "source_component";
13004
13135
  name: string;
13005
13136
  source_component_id: string;
@@ -13023,8 +13154,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13023
13154
  display_value?: string | undefined;
13024
13155
  are_pins_interchangeable?: boolean | undefined;
13025
13156
  internally_connected_source_port_ids?: string[][] | undefined;
13026
- }>, z.ZodObject<{
13157
+ }>, z.ZodObject<z.objectUtil.extendShape<{
13027
13158
  type: z.ZodLiteral<"source_component">;
13159
+ ftype: z.ZodOptional<z.ZodString>;
13028
13160
  source_component_id: z.ZodString;
13029
13161
  name: z.ZodString;
13030
13162
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -13033,11 +13165,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13033
13165
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13034
13166
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13035
13167
  source_group_id: z.ZodOptional<z.ZodString>;
13036
- } & {
13168
+ }, {
13037
13169
  ftype: z.ZodLiteral<"simple_mosfet">;
13038
13170
  channel_type: z.ZodEnum<["n", "p"]>;
13039
13171
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
13040
- }, "strip", z.ZodTypeAny, {
13172
+ }>, "strip", z.ZodTypeAny, {
13041
13173
  type: "source_component";
13042
13174
  name: string;
13043
13175
  source_component_id: string;
@@ -13063,8 +13195,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13063
13195
  display_value?: string | undefined;
13064
13196
  are_pins_interchangeable?: boolean | undefined;
13065
13197
  internally_connected_source_port_ids?: string[][] | undefined;
13066
- }>, z.ZodObject<{
13198
+ }>, z.ZodObject<z.objectUtil.extendShape<{
13067
13199
  type: z.ZodLiteral<"source_component">;
13200
+ ftype: z.ZodOptional<z.ZodString>;
13068
13201
  source_component_id: z.ZodString;
13069
13202
  name: z.ZodString;
13070
13203
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -13073,10 +13206,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13073
13206
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13074
13207
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13075
13208
  source_group_id: z.ZodOptional<z.ZodString>;
13076
- } & {
13209
+ }, {
13077
13210
  ftype: z.ZodLiteral<"simple_potentiometer">;
13078
13211
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13079
- }, "strip", z.ZodTypeAny, {
13212
+ }>, "strip", z.ZodTypeAny, {
13080
13213
  type: "source_component";
13081
13214
  name: string;
13082
13215
  source_component_id: string;
@@ -13100,8 +13233,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13100
13233
  display_value?: string | undefined;
13101
13234
  are_pins_interchangeable?: boolean | undefined;
13102
13235
  internally_connected_source_port_ids?: string[][] | undefined;
13103
- }>, z.ZodObject<{
13236
+ }>, z.ZodObject<z.objectUtil.extendShape<{
13104
13237
  type: z.ZodLiteral<"source_component">;
13238
+ ftype: z.ZodOptional<z.ZodString>;
13105
13239
  source_component_id: z.ZodString;
13106
13240
  name: z.ZodString;
13107
13241
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -13110,9 +13244,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13110
13244
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13111
13245
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13112
13246
  source_group_id: z.ZodOptional<z.ZodString>;
13113
- } & {
13247
+ }, {
13114
13248
  ftype: z.ZodLiteral<"simple_push_button">;
13115
- }, "strip", z.ZodTypeAny, {
13249
+ }>, "strip", z.ZodTypeAny, {
13116
13250
  type: "source_component";
13117
13251
  name: string;
13118
13252
  source_component_id: string;
@@ -15057,12 +15191,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15057
15191
  message: string;
15058
15192
  type: "pcb_autorouting_error";
15059
15193
  pcb_error_id?: string | undefined;
15060
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
15194
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
15061
15195
  type: z.ZodLiteral<"pcb_cutout">;
15062
15196
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15063
15197
  pcb_group_id: z.ZodOptional<z.ZodString>;
15064
15198
  subcircuit_id: z.ZodOptional<z.ZodString>;
15065
- } & {
15199
+ }, {
15066
15200
  shape: z.ZodLiteral<"rect">;
15067
15201
  center: z.ZodObject<{
15068
15202
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15077,7 +15211,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15077
15211
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15078
15212
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15079
15213
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
15080
- }, "strip", z.ZodTypeAny, {
15214
+ }>, "strip", z.ZodTypeAny, {
15081
15215
  type: "pcb_cutout";
15082
15216
  width: number;
15083
15217
  height: number;
@@ -15103,12 +15237,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15103
15237
  subcircuit_id?: string | undefined;
15104
15238
  pcb_group_id?: string | undefined;
15105
15239
  pcb_cutout_id?: string | undefined;
15106
- }>, z.ZodObject<{
15240
+ }>, z.ZodObject<z.objectUtil.extendShape<{
15107
15241
  type: z.ZodLiteral<"pcb_cutout">;
15108
15242
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15109
15243
  pcb_group_id: z.ZodOptional<z.ZodString>;
15110
15244
  subcircuit_id: z.ZodOptional<z.ZodString>;
15111
- } & {
15245
+ }, {
15112
15246
  shape: z.ZodLiteral<"circle">;
15113
15247
  center: z.ZodObject<{
15114
15248
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15121,7 +15255,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15121
15255
  y: string | number;
15122
15256
  }>;
15123
15257
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15124
- }, "strip", z.ZodTypeAny, {
15258
+ }>, "strip", z.ZodTypeAny, {
15125
15259
  type: "pcb_cutout";
15126
15260
  center: {
15127
15261
  x: number;
@@ -15143,12 +15277,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15143
15277
  subcircuit_id?: string | undefined;
15144
15278
  pcb_group_id?: string | undefined;
15145
15279
  pcb_cutout_id?: string | undefined;
15146
- }>, z.ZodObject<{
15280
+ }>, z.ZodObject<z.objectUtil.extendShape<{
15147
15281
  type: z.ZodLiteral<"pcb_cutout">;
15148
15282
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15149
15283
  pcb_group_id: z.ZodOptional<z.ZodString>;
15150
15284
  subcircuit_id: z.ZodOptional<z.ZodString>;
15151
- } & {
15285
+ }, {
15152
15286
  shape: z.ZodLiteral<"polygon">;
15153
15287
  points: z.ZodArray<z.ZodObject<{
15154
15288
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15160,7 +15294,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15160
15294
  x: string | number;
15161
15295
  y: string | number;
15162
15296
  }>, "many">;
15163
- }, "strip", z.ZodTypeAny, {
15297
+ }>, "strip", z.ZodTypeAny, {
15164
15298
  type: "pcb_cutout";
15165
15299
  shape: "polygon";
15166
15300
  pcb_cutout_id: string;
@@ -15771,10 +15905,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15771
15905
  symbol_name?: string | undefined;
15772
15906
  schematic_trace_id?: string | undefined;
15773
15907
  schematic_net_label_id?: string | undefined;
15774
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
15908
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
15775
15909
  type: z.ZodLiteral<"schematic_debug_object">;
15776
15910
  label: z.ZodOptional<z.ZodString>;
15777
- } & {
15911
+ }, {
15778
15912
  shape: z.ZodLiteral<"rect">;
15779
15913
  center: z.ZodObject<{
15780
15914
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15796,7 +15930,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15796
15930
  width: number;
15797
15931
  height: number;
15798
15932
  }>;
15799
- }, "strip", z.ZodTypeAny, {
15933
+ }>, "strip", z.ZodTypeAny, {
15800
15934
  type: "schematic_debug_object";
15801
15935
  center: {
15802
15936
  x: number;
@@ -15820,10 +15954,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15820
15954
  height: number;
15821
15955
  };
15822
15956
  label?: string | undefined;
15823
- }>, z.ZodObject<{
15957
+ }>, z.ZodObject<z.objectUtil.extendShape<{
15824
15958
  type: z.ZodLiteral<"schematic_debug_object">;
15825
15959
  label: z.ZodOptional<z.ZodString>;
15826
- } & {
15960
+ }, {
15827
15961
  shape: z.ZodLiteral<"line">;
15828
15962
  start: z.ZodObject<{
15829
15963
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15845,7 +15979,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15845
15979
  x: string | number;
15846
15980
  y: string | number;
15847
15981
  }>;
15848
- }, "strip", z.ZodTypeAny, {
15982
+ }>, "strip", z.ZodTypeAny, {
15849
15983
  type: "schematic_debug_object";
15850
15984
  shape: "line";
15851
15985
  start: {
@@ -15869,10 +16003,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15869
16003
  y: string | number;
15870
16004
  };
15871
16005
  label?: string | undefined;
15872
- }>, z.ZodObject<{
16006
+ }>, z.ZodObject<z.objectUtil.extendShape<{
15873
16007
  type: z.ZodLiteral<"schematic_debug_object">;
15874
16008
  label: z.ZodOptional<z.ZodString>;
15875
- } & {
16009
+ }, {
15876
16010
  shape: z.ZodLiteral<"point">;
15877
16011
  center: z.ZodObject<{
15878
16012
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15884,7 +16018,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15884
16018
  x: string | number;
15885
16019
  y: string | number;
15886
16020
  }>;
15887
- }, "strip", z.ZodTypeAny, {
16021
+ }>, "strip", z.ZodTypeAny, {
15888
16022
  type: "schematic_debug_object";
15889
16023
  center: {
15890
16024
  x: number;