circuit-json 0.0.185 → 0.0.187

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<z.objectUtil.extendShape<{
3012
+ declare const pcb_cutout_rect: z.ZodObject<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
3074
+ declare const pcb_cutout_circle: z.ZodObject<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
3128
+ declare const pcb_cutout_polygon: z.ZodObject<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
3179
+ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
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<z.object
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<z.object
3222
3222
  subcircuit_id?: string | undefined;
3223
3223
  pcb_group_id?: string | undefined;
3224
3224
  pcb_cutout_id?: string | undefined;
3225
- }>, z.ZodObject<z.objectUtil.extendShape<{
3225
+ }>, z.ZodObject<{
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<z.object
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<z.object
3262
3262
  subcircuit_id?: string | undefined;
3263
3263
  pcb_group_id?: string | undefined;
3264
3264
  pcb_cutout_id?: string | undefined;
3265
- }>, z.ZodObject<z.objectUtil.extendShape<{
3265
+ }>, z.ZodObject<{
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<z.object
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<z.objectUtil.extendShape<{
4454
+ declare const schematic_debug_rect: z.ZodObject<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
4501
4501
  };
4502
4502
  label?: string | undefined;
4503
4503
  }>;
4504
- declare const schematic_debug_line: z.ZodObject<z.objectUtil.extendShape<{
4504
+ declare const schematic_debug_line: z.ZodObject<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
4551
4551
  };
4552
4552
  label?: string | undefined;
4553
4553
  }>;
4554
- declare const schematic_debug_point: z.ZodObject<z.objectUtil.extendShape<{
4554
+ declare const schematic_debug_point: z.ZodObject<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
4583
4583
  shape: "point";
4584
4584
  label?: string | undefined;
4585
4585
  }>;
4586
- declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
4586
+ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
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<z.objectUtil.extendShape<{
4635
+ }>, z.ZodObject<{
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<z.objectUtil.extendShape<{
4684
+ }>, z.ZodObject<{
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,9 +4937,8 @@ 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<z.objectUtil.extendShape<{
4940
+ declare const source_simple_capacitor: z.ZodObject<{
4941
4941
  type: z.ZodLiteral<"source_component">;
4942
- ftype: z.ZodOptional<z.ZodString>;
4943
4942
  source_component_id: z.ZodString;
4944
4943
  name: z.ZodString;
4945
4944
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -4948,13 +4947,13 @@ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
4948
4947
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
4949
4948
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
4950
4949
  source_group_id: z.ZodOptional<z.ZodString>;
4951
- }, {
4950
+ } & {
4952
4951
  ftype: z.ZodLiteral<"simple_capacitor">;
4953
4952
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
4954
4953
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4955
4954
  display_capacitance: z.ZodOptional<z.ZodString>;
4956
4955
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4957
- }>, "strip", z.ZodTypeAny, {
4956
+ }, "strip", z.ZodTypeAny, {
4958
4957
  type: "source_component";
4959
4958
  name: string;
4960
4959
  source_component_id: string;
@@ -4997,9 +4996,8 @@ interface SourceSimpleCapacitor extends SourceComponentBase {
4997
4996
  max_decoupling_trace_length?: number;
4998
4997
  }
4999
4998
 
5000
- declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
4999
+ declare const source_simple_resistor: z.ZodObject<{
5001
5000
  type: z.ZodLiteral<"source_component">;
5002
- ftype: z.ZodOptional<z.ZodString>;
5003
5001
  source_component_id: z.ZodString;
5004
5002
  name: z.ZodString;
5005
5003
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5008,11 +5006,11 @@ declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
5008
5006
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5009
5007
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5010
5008
  source_group_id: z.ZodOptional<z.ZodString>;
5011
- }, {
5009
+ } & {
5012
5010
  ftype: z.ZodLiteral<"simple_resistor">;
5013
5011
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5014
5012
  display_resistance: z.ZodOptional<z.ZodString>;
5015
- }>, "strip", z.ZodTypeAny, {
5013
+ }, "strip", z.ZodTypeAny, {
5016
5014
  type: "source_component";
5017
5015
  name: string;
5018
5016
  source_component_id: string;
@@ -5049,9 +5047,8 @@ interface SourceSimpleResistor extends SourceComponentBase {
5049
5047
  display_resistance?: string;
5050
5048
  }
5051
5049
 
5052
- declare const source_simple_diode: z.ZodObject<z.objectUtil.extendShape<{
5050
+ declare const source_simple_diode: z.ZodObject<{
5053
5051
  type: z.ZodLiteral<"source_component">;
5054
- ftype: z.ZodOptional<z.ZodString>;
5055
5052
  source_component_id: z.ZodString;
5056
5053
  name: z.ZodString;
5057
5054
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5060,9 +5057,9 @@ declare const source_simple_diode: z.ZodObject<z.objectUtil.extendShape<{
5060
5057
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5061
5058
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5062
5059
  source_group_id: z.ZodOptional<z.ZodString>;
5063
- }, {
5060
+ } & {
5064
5061
  ftype: z.ZodLiteral<"simple_diode">;
5065
- }>, "strip", z.ZodTypeAny, {
5062
+ }, "strip", z.ZodTypeAny, {
5066
5063
  type: "source_component";
5067
5064
  name: string;
5068
5065
  source_component_id: string;
@@ -5093,9 +5090,8 @@ interface SourceSimpleDiode extends SourceComponentBase {
5093
5090
  ftype: "simple_diode";
5094
5091
  }
5095
5092
 
5096
- declare const source_simple_ground: z.ZodObject<z.objectUtil.extendShape<{
5093
+ declare const source_simple_led: z.ZodObject<{
5097
5094
  type: z.ZodLiteral<"source_component">;
5098
- ftype: z.ZodOptional<z.ZodString>;
5099
5095
  source_component_id: z.ZodString;
5100
5096
  name: z.ZodString;
5101
5097
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5104,9 +5100,60 @@ declare const source_simple_ground: z.ZodObject<z.objectUtil.extendShape<{
5104
5100
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5105
5101
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5106
5102
  source_group_id: z.ZodOptional<z.ZodString>;
5103
+ } & {
5104
+ ftype: z.ZodLiteral<"simple_led">;
5105
+ color: z.ZodOptional<z.ZodString>;
5106
+ wavelength: z.ZodOptional<z.ZodString>;
5107
+ }, "strip", z.ZodTypeAny, {
5108
+ type: "source_component";
5109
+ name: string;
5110
+ source_component_id: string;
5111
+ ftype: "simple_led";
5112
+ color?: string | undefined;
5113
+ source_group_id?: string | undefined;
5114
+ manufacturer_part_number?: string | undefined;
5115
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5116
+ display_value?: string | undefined;
5117
+ are_pins_interchangeable?: boolean | undefined;
5118
+ internally_connected_source_port_ids?: string[][] | undefined;
5119
+ wavelength?: string | undefined;
5107
5120
  }, {
5121
+ type: "source_component";
5122
+ name: string;
5123
+ source_component_id: string;
5124
+ ftype: "simple_led";
5125
+ color?: string | undefined;
5126
+ source_group_id?: string | undefined;
5127
+ manufacturer_part_number?: string | undefined;
5128
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5129
+ display_value?: string | undefined;
5130
+ are_pins_interchangeable?: boolean | undefined;
5131
+ internally_connected_source_port_ids?: string[][] | undefined;
5132
+ wavelength?: string | undefined;
5133
+ }>;
5134
+ type SourceSimpleLedInput = z.input<typeof source_simple_led>;
5135
+ /**
5136
+ * Defines a simple led component
5137
+ */
5138
+ interface SourceSimpleLed extends Omit<SourceSimpleDiode, "ftype"> {
5139
+ ftype: "simple_led";
5140
+ color?: string;
5141
+ wavelength?: string;
5142
+ }
5143
+
5144
+ declare const source_simple_ground: z.ZodObject<{
5145
+ type: z.ZodLiteral<"source_component">;
5146
+ source_component_id: z.ZodString;
5147
+ name: z.ZodString;
5148
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
5149
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5150
+ display_value: z.ZodOptional<z.ZodString>;
5151
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5152
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5153
+ source_group_id: z.ZodOptional<z.ZodString>;
5154
+ } & {
5108
5155
  ftype: z.ZodLiteral<"simple_ground">;
5109
- }>, "strip", z.ZodTypeAny, {
5156
+ }, "strip", z.ZodTypeAny, {
5110
5157
  type: "source_component";
5111
5158
  name: string;
5112
5159
  source_component_id: string;
@@ -5140,9 +5187,8 @@ interface SourceSimpleGround extends SourceComponentBase {
5140
5187
  /**
5141
5188
  * @deprecated Use source_simple_chip instead. This will be removed in a future version.
5142
5189
  */
5143
- declare const source_simple_bug: z.ZodObject<z.objectUtil.extendShape<{
5190
+ declare const source_simple_bug: z.ZodObject<{
5144
5191
  type: z.ZodLiteral<"source_component">;
5145
- ftype: z.ZodOptional<z.ZodString>;
5146
5192
  source_component_id: z.ZodString;
5147
5193
  name: z.ZodString;
5148
5194
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5151,9 +5197,9 @@ declare const source_simple_bug: z.ZodObject<z.objectUtil.extendShape<{
5151
5197
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5152
5198
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5153
5199
  source_group_id: z.ZodOptional<z.ZodString>;
5154
- }, {
5200
+ } & {
5155
5201
  ftype: z.ZodLiteral<"simple_bug">;
5156
- }>, "strip", z.ZodTypeAny, {
5202
+ }, "strip", z.ZodTypeAny, {
5157
5203
  type: "source_component";
5158
5204
  name: string;
5159
5205
  source_component_id: string;
@@ -5179,9 +5225,8 @@ declare const source_simple_bug: z.ZodObject<z.objectUtil.extendShape<{
5179
5225
  type source_simple_bug = z.infer<typeof source_simple_bug>;
5180
5226
  type SourceSimpleBugInput = z.input<typeof source_simple_bug>;
5181
5227
 
5182
- declare const source_simple_chip: z.ZodObject<z.objectUtil.extendShape<{
5228
+ declare const source_simple_chip: z.ZodObject<{
5183
5229
  type: z.ZodLiteral<"source_component">;
5184
- ftype: z.ZodOptional<z.ZodString>;
5185
5230
  source_component_id: z.ZodString;
5186
5231
  name: z.ZodString;
5187
5232
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5190,9 +5235,9 @@ declare const source_simple_chip: z.ZodObject<z.objectUtil.extendShape<{
5190
5235
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5191
5236
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5192
5237
  source_group_id: z.ZodOptional<z.ZodString>;
5193
- }, {
5238
+ } & {
5194
5239
  ftype: z.ZodLiteral<"simple_chip">;
5195
- }>, "strip", z.ZodTypeAny, {
5240
+ }, "strip", z.ZodTypeAny, {
5196
5241
  type: "source_component";
5197
5242
  name: string;
5198
5243
  source_component_id: string;
@@ -5223,9 +5268,8 @@ interface SourceSimpleChip extends SourceComponentBase {
5223
5268
  ftype: "simple_chip";
5224
5269
  }
5225
5270
 
5226
- declare const source_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5271
+ declare const source_led: z.ZodObject<{
5227
5272
  type: z.ZodLiteral<"source_component">;
5228
- ftype: z.ZodOptional<z.ZodString>;
5229
5273
  source_component_id: z.ZodString;
5230
5274
  name: z.ZodString;
5231
5275
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5234,11 +5278,9 @@ declare const source_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
5234
5278
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5235
5279
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5236
5280
  source_group_id: z.ZodOptional<z.ZodString>;
5237
- }, {
5238
- ftype: z.ZodLiteral<"simple_diode">;
5239
- }>, {
5281
+ } & {
5240
5282
  ftype: z.ZodLiteral<"led">;
5241
- }>, "strip", z.ZodTypeAny, {
5283
+ }, "strip", z.ZodTypeAny, {
5242
5284
  type: "source_component";
5243
5285
  name: string;
5244
5286
  source_component_id: string;
@@ -5269,9 +5311,8 @@ interface SourceLed extends SourceComponentBase {
5269
5311
  ftype: "led";
5270
5312
  }
5271
5313
 
5272
- declare const source_simple_power_source: z.ZodObject<z.objectUtil.extendShape<{
5314
+ declare const source_simple_power_source: z.ZodObject<{
5273
5315
  type: z.ZodLiteral<"source_component">;
5274
- ftype: z.ZodOptional<z.ZodString>;
5275
5316
  source_component_id: z.ZodString;
5276
5317
  name: z.ZodString;
5277
5318
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5280,10 +5321,10 @@ declare const source_simple_power_source: z.ZodObject<z.objectUtil.extendShape<{
5280
5321
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5281
5322
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5282
5323
  source_group_id: z.ZodOptional<z.ZodString>;
5283
- }, {
5324
+ } & {
5284
5325
  ftype: z.ZodLiteral<"simple_power_source">;
5285
5326
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5286
- }>, "strip", z.ZodTypeAny, {
5327
+ }, "strip", z.ZodTypeAny, {
5287
5328
  type: "source_component";
5288
5329
  name: string;
5289
5330
  source_component_id: string;
@@ -5317,9 +5358,8 @@ interface SourceSimplePowerSource extends SourceComponentBase {
5317
5358
  voltage: number;
5318
5359
  }
5319
5360
 
5320
- declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
5361
+ declare const source_simple_battery: z.ZodObject<{
5321
5362
  type: z.ZodLiteral<"source_component">;
5322
- ftype: z.ZodOptional<z.ZodString>;
5323
5363
  source_component_id: z.ZodString;
5324
5364
  name: z.ZodString;
5325
5365
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5328,10 +5368,10 @@ declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
5328
5368
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5329
5369
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5330
5370
  source_group_id: z.ZodOptional<z.ZodString>;
5331
- }, {
5371
+ } & {
5332
5372
  ftype: z.ZodLiteral<"simple_battery">;
5333
5373
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
5334
- }>, "strip", z.ZodTypeAny, {
5374
+ }, "strip", z.ZodTypeAny, {
5335
5375
  type: "source_component";
5336
5376
  name: string;
5337
5377
  source_component_id: string;
@@ -5365,9 +5405,8 @@ interface SourceSimpleBattery extends SourceComponentBase {
5365
5405
  capacity: number;
5366
5406
  }
5367
5407
 
5368
- declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
5408
+ declare const source_simple_inductor: z.ZodObject<{
5369
5409
  type: z.ZodLiteral<"source_component">;
5370
- ftype: z.ZodOptional<z.ZodString>;
5371
5410
  source_component_id: z.ZodString;
5372
5411
  name: z.ZodString;
5373
5412
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5376,10 +5415,10 @@ declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
5376
5415
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5377
5416
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5378
5417
  source_group_id: z.ZodOptional<z.ZodString>;
5379
- }, {
5418
+ } & {
5380
5419
  ftype: z.ZodLiteral<"simple_inductor">;
5381
5420
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5382
- }>, "strip", z.ZodTypeAny, {
5421
+ }, "strip", z.ZodTypeAny, {
5383
5422
  type: "source_component";
5384
5423
  name: string;
5385
5424
  source_component_id: string;
@@ -5413,9 +5452,8 @@ interface SourceSimpleInductor extends SourceComponentBase {
5413
5452
  inductance: number;
5414
5453
  }
5415
5454
 
5416
- declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
5455
+ declare const source_simple_push_button: z.ZodObject<{
5417
5456
  type: z.ZodLiteral<"source_component">;
5418
- ftype: z.ZodOptional<z.ZodString>;
5419
5457
  source_component_id: z.ZodString;
5420
5458
  name: z.ZodString;
5421
5459
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5424,9 +5462,9 @@ declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
5424
5462
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5425
5463
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5426
5464
  source_group_id: z.ZodOptional<z.ZodString>;
5427
- }, {
5465
+ } & {
5428
5466
  ftype: z.ZodLiteral<"simple_push_button">;
5429
- }>, "strip", z.ZodTypeAny, {
5467
+ }, "strip", z.ZodTypeAny, {
5430
5468
  type: "source_component";
5431
5469
  name: string;
5432
5470
  source_component_id: string;
@@ -5457,9 +5495,8 @@ interface SourceSimplePushButton extends SourceComponentBase {
5457
5495
  ftype: "simple_push_button";
5458
5496
  }
5459
5497
 
5460
- declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<{
5498
+ declare const source_simple_potentiometer: z.ZodObject<{
5461
5499
  type: z.ZodLiteral<"source_component">;
5462
- ftype: z.ZodOptional<z.ZodString>;
5463
5500
  source_component_id: z.ZodString;
5464
5501
  name: z.ZodString;
5465
5502
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5468,10 +5505,10 @@ declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<
5468
5505
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5469
5506
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5470
5507
  source_group_id: z.ZodOptional<z.ZodString>;
5471
- }, {
5508
+ } & {
5472
5509
  ftype: z.ZodLiteral<"simple_potentiometer">;
5473
5510
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5474
- }>, "strip", z.ZodTypeAny, {
5511
+ }, "strip", z.ZodTypeAny, {
5475
5512
  type: "source_component";
5476
5513
  name: string;
5477
5514
  source_component_id: string;
@@ -5499,9 +5536,8 @@ declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<
5499
5536
  type SourceSimplePotentiometer = z.infer<typeof source_simple_potentiometer>;
5500
5537
  type SourceSimplePotentiometerInput = z.input<typeof source_simple_potentiometer>;
5501
5538
 
5502
- declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
5539
+ declare const source_simple_crystal: z.ZodObject<{
5503
5540
  type: z.ZodLiteral<"source_component">;
5504
- ftype: z.ZodOptional<z.ZodString>;
5505
5541
  source_component_id: z.ZodString;
5506
5542
  name: z.ZodString;
5507
5543
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5510,11 +5546,11 @@ declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
5510
5546
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5511
5547
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5512
5548
  source_group_id: z.ZodOptional<z.ZodString>;
5513
- }, {
5549
+ } & {
5514
5550
  ftype: z.ZodLiteral<"simple_crystal">;
5515
5551
  frequency: z.ZodNumber;
5516
5552
  load_capacitance: z.ZodOptional<z.ZodNumber>;
5517
- }>, "strip", z.ZodTypeAny, {
5553
+ }, "strip", z.ZodTypeAny, {
5518
5554
  type: "source_component";
5519
5555
  name: string;
5520
5556
  source_component_id: string;
@@ -5551,9 +5587,8 @@ interface SourceSimpleCrystal extends SourceComponentBase {
5551
5587
  load_capacitance?: number;
5552
5588
  }
5553
5589
 
5554
- declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
5590
+ declare const source_simple_pin_header: z.ZodObject<{
5555
5591
  type: z.ZodLiteral<"source_component">;
5556
- ftype: z.ZodOptional<z.ZodString>;
5557
5592
  source_component_id: z.ZodString;
5558
5593
  name: z.ZodString;
5559
5594
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5562,11 +5597,11 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
5562
5597
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5563
5598
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5564
5599
  source_group_id: z.ZodOptional<z.ZodString>;
5565
- }, {
5600
+ } & {
5566
5601
  ftype: z.ZodLiteral<"simple_pin_header">;
5567
5602
  pin_count: z.ZodNumber;
5568
5603
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
5569
- }>, "strip", z.ZodTypeAny, {
5604
+ }, "strip", z.ZodTypeAny, {
5570
5605
  type: "source_component";
5571
5606
  name: string;
5572
5607
  source_component_id: string;
@@ -5596,9 +5631,8 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
5596
5631
  type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
5597
5632
  type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
5598
5633
 
5599
- declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
5634
+ declare const source_simple_resonator: z.ZodObject<{
5600
5635
  type: z.ZodLiteral<"source_component">;
5601
- ftype: z.ZodOptional<z.ZodString>;
5602
5636
  source_component_id: z.ZodString;
5603
5637
  name: z.ZodString;
5604
5638
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5607,12 +5641,12 @@ declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
5607
5641
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5608
5642
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5609
5643
  source_group_id: z.ZodOptional<z.ZodString>;
5610
- }, {
5644
+ } & {
5611
5645
  ftype: z.ZodLiteral<"simple_resonator">;
5612
5646
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5613
5647
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5614
5648
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5615
- }>, "strip", z.ZodTypeAny, {
5649
+ }, "strip", z.ZodTypeAny, {
5616
5650
  type: "source_component";
5617
5651
  name: string;
5618
5652
  source_component_id: string;
@@ -5652,9 +5686,8 @@ interface SourceSimpleResonator extends SourceComponentBase {
5652
5686
  frequency: number;
5653
5687
  }
5654
5688
 
5655
- declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
5689
+ declare const source_simple_transistor: z.ZodObject<{
5656
5690
  type: z.ZodLiteral<"source_component">;
5657
- ftype: z.ZodOptional<z.ZodString>;
5658
5691
  source_component_id: z.ZodString;
5659
5692
  name: z.ZodString;
5660
5693
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5663,10 +5696,10 @@ declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
5663
5696
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5664
5697
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5665
5698
  source_group_id: z.ZodOptional<z.ZodString>;
5666
- }, {
5699
+ } & {
5667
5700
  ftype: z.ZodLiteral<"simple_transistor">;
5668
5701
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
5669
- }>, "strip", z.ZodTypeAny, {
5702
+ }, "strip", z.ZodTypeAny, {
5670
5703
  type: "source_component";
5671
5704
  name: string;
5672
5705
  source_component_id: string;
@@ -5702,9 +5735,8 @@ interface SourceSimpleTransistor extends SourceComponentBase {
5702
5735
  transistor_type: "npn" | "pnp";
5703
5736
  }
5704
5737
 
5705
- declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
5738
+ declare const source_simple_mosfet: z.ZodObject<{
5706
5739
  type: z.ZodLiteral<"source_component">;
5707
- ftype: z.ZodOptional<z.ZodString>;
5708
5740
  source_component_id: z.ZodString;
5709
5741
  name: z.ZodString;
5710
5742
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5713,11 +5745,11 @@ declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
5713
5745
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5714
5746
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5715
5747
  source_group_id: z.ZodOptional<z.ZodString>;
5716
- }, {
5748
+ } & {
5717
5749
  ftype: z.ZodLiteral<"simple_mosfet">;
5718
5750
  channel_type: z.ZodEnum<["n", "p"]>;
5719
5751
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
5720
- }>, "strip", z.ZodTypeAny, {
5752
+ }, "strip", z.ZodTypeAny, {
5721
5753
  type: "source_component";
5722
5754
  name: string;
5723
5755
  source_component_id: string;
@@ -5756,9 +5788,8 @@ interface SourceSimpleMosfet extends SourceComponentBase {
5756
5788
  mosfet_mode: "enhancement" | "depletion";
5757
5789
  }
5758
5790
 
5759
- declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
5791
+ declare const source_simple_switch: z.ZodObject<{
5760
5792
  type: z.ZodLiteral<"source_component">;
5761
- ftype: z.ZodOptional<z.ZodString>;
5762
5793
  source_component_id: z.ZodString;
5763
5794
  name: z.ZodString;
5764
5795
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5767,9 +5798,9 @@ declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
5767
5798
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5768
5799
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5769
5800
  source_group_id: z.ZodOptional<z.ZodString>;
5770
- }, {
5801
+ } & {
5771
5802
  ftype: z.ZodLiteral<"simple_switch">;
5772
- }>, "strip", z.ZodTypeAny, {
5803
+ }, "strip", z.ZodTypeAny, {
5773
5804
  type: "source_component";
5774
5805
  name: string;
5775
5806
  source_component_id: string;
@@ -5939,9 +5970,8 @@ interface SourceFailedToCreateComponentError {
5939
5970
  };
5940
5971
  }
5941
5972
 
5942
- declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5973
+ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
5943
5974
  type: z.ZodLiteral<"source_component">;
5944
- ftype: z.ZodOptional<z.ZodString>;
5945
5975
  source_component_id: z.ZodString;
5946
5976
  name: z.ZodString;
5947
5977
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5950,11 +5980,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
5950
5980
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5951
5981
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5952
5982
  source_group_id: z.ZodOptional<z.ZodString>;
5953
- }, {
5983
+ } & {
5954
5984
  ftype: z.ZodLiteral<"simple_resistor">;
5955
5985
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5956
5986
  display_resistance: z.ZodOptional<z.ZodString>;
5957
- }>, "strip", z.ZodTypeAny, {
5987
+ }, "strip", z.ZodTypeAny, {
5958
5988
  type: "source_component";
5959
5989
  name: string;
5960
5990
  source_component_id: string;
@@ -5980,9 +6010,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
5980
6010
  are_pins_interchangeable?: boolean | undefined;
5981
6011
  internally_connected_source_port_ids?: string[][] | undefined;
5982
6012
  display_resistance?: string | undefined;
5983
- }>, z.ZodObject<z.objectUtil.extendShape<{
6013
+ }>, z.ZodObject<{
5984
6014
  type: z.ZodLiteral<"source_component">;
5985
- ftype: z.ZodOptional<z.ZodString>;
5986
6015
  source_component_id: z.ZodString;
5987
6016
  name: z.ZodString;
5988
6017
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -5991,13 +6020,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
5991
6020
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5992
6021
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5993
6022
  source_group_id: z.ZodOptional<z.ZodString>;
5994
- }, {
6023
+ } & {
5995
6024
  ftype: z.ZodLiteral<"simple_capacitor">;
5996
6025
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5997
6026
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5998
6027
  display_capacitance: z.ZodOptional<z.ZodString>;
5999
6028
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6000
- }>, "strip", z.ZodTypeAny, {
6029
+ }, "strip", z.ZodTypeAny, {
6001
6030
  type: "source_component";
6002
6031
  name: string;
6003
6032
  source_component_id: string;
@@ -6027,9 +6056,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6027
6056
  max_voltage_rating?: string | number | undefined;
6028
6057
  display_capacitance?: string | undefined;
6029
6058
  max_decoupling_trace_length?: string | number | undefined;
6030
- }>, z.ZodObject<z.objectUtil.extendShape<{
6059
+ }>, z.ZodObject<{
6031
6060
  type: z.ZodLiteral<"source_component">;
6032
- ftype: z.ZodOptional<z.ZodString>;
6033
6061
  source_component_id: z.ZodString;
6034
6062
  name: z.ZodString;
6035
6063
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6038,9 +6066,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6038
6066
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6039
6067
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6040
6068
  source_group_id: z.ZodOptional<z.ZodString>;
6041
- }, {
6069
+ } & {
6042
6070
  ftype: z.ZodLiteral<"simple_diode">;
6043
- }>, "strip", z.ZodTypeAny, {
6071
+ }, "strip", z.ZodTypeAny, {
6044
6072
  type: "source_component";
6045
6073
  name: string;
6046
6074
  source_component_id: string;
@@ -6062,9 +6090,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6062
6090
  display_value?: string | undefined;
6063
6091
  are_pins_interchangeable?: boolean | undefined;
6064
6092
  internally_connected_source_port_ids?: string[][] | undefined;
6065
- }>, z.ZodObject<z.objectUtil.extendShape<{
6093
+ }>, z.ZodObject<{
6066
6094
  type: z.ZodLiteral<"source_component">;
6067
- ftype: z.ZodOptional<z.ZodString>;
6068
6095
  source_component_id: z.ZodString;
6069
6096
  name: z.ZodString;
6070
6097
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6073,9 +6100,49 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6073
6100
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6074
6101
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6075
6102
  source_group_id: z.ZodOptional<z.ZodString>;
6103
+ } & {
6104
+ ftype: z.ZodLiteral<"simple_led">;
6105
+ color: z.ZodOptional<z.ZodString>;
6106
+ wavelength: z.ZodOptional<z.ZodString>;
6107
+ }, "strip", z.ZodTypeAny, {
6108
+ type: "source_component";
6109
+ name: string;
6110
+ source_component_id: string;
6111
+ ftype: "simple_led";
6112
+ color?: string | undefined;
6113
+ source_group_id?: string | undefined;
6114
+ manufacturer_part_number?: string | undefined;
6115
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6116
+ display_value?: string | undefined;
6117
+ are_pins_interchangeable?: boolean | undefined;
6118
+ internally_connected_source_port_ids?: string[][] | undefined;
6119
+ wavelength?: string | undefined;
6076
6120
  }, {
6121
+ type: "source_component";
6122
+ name: string;
6123
+ source_component_id: string;
6124
+ ftype: "simple_led";
6125
+ color?: string | undefined;
6126
+ source_group_id?: string | undefined;
6127
+ manufacturer_part_number?: string | undefined;
6128
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6129
+ display_value?: string | undefined;
6130
+ are_pins_interchangeable?: boolean | undefined;
6131
+ internally_connected_source_port_ids?: string[][] | undefined;
6132
+ wavelength?: string | undefined;
6133
+ }>, z.ZodObject<{
6134
+ type: z.ZodLiteral<"source_component">;
6135
+ source_component_id: z.ZodString;
6136
+ name: z.ZodString;
6137
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
6138
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6139
+ display_value: z.ZodOptional<z.ZodString>;
6140
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6141
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6142
+ source_group_id: z.ZodOptional<z.ZodString>;
6143
+ } & {
6077
6144
  ftype: z.ZodLiteral<"simple_ground">;
6078
- }>, "strip", z.ZodTypeAny, {
6145
+ }, "strip", z.ZodTypeAny, {
6079
6146
  type: "source_component";
6080
6147
  name: string;
6081
6148
  source_component_id: string;
@@ -6097,9 +6164,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6097
6164
  display_value?: string | undefined;
6098
6165
  are_pins_interchangeable?: boolean | undefined;
6099
6166
  internally_connected_source_port_ids?: string[][] | undefined;
6100
- }>, z.ZodObject<z.objectUtil.extendShape<{
6167
+ }>, z.ZodObject<{
6101
6168
  type: z.ZodLiteral<"source_component">;
6102
- ftype: z.ZodOptional<z.ZodString>;
6103
6169
  source_component_id: z.ZodString;
6104
6170
  name: z.ZodString;
6105
6171
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6108,9 +6174,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6108
6174
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6109
6175
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6110
6176
  source_group_id: z.ZodOptional<z.ZodString>;
6111
- }, {
6177
+ } & {
6112
6178
  ftype: z.ZodLiteral<"simple_chip">;
6113
- }>, "strip", z.ZodTypeAny, {
6179
+ }, "strip", z.ZodTypeAny, {
6114
6180
  type: "source_component";
6115
6181
  name: string;
6116
6182
  source_component_id: string;
@@ -6132,9 +6198,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6132
6198
  display_value?: string | undefined;
6133
6199
  are_pins_interchangeable?: boolean | undefined;
6134
6200
  internally_connected_source_port_ids?: string[][] | undefined;
6135
- }>, z.ZodObject<z.objectUtil.extendShape<{
6201
+ }>, z.ZodObject<{
6136
6202
  type: z.ZodLiteral<"source_component">;
6137
- ftype: z.ZodOptional<z.ZodString>;
6138
6203
  source_component_id: z.ZodString;
6139
6204
  name: z.ZodString;
6140
6205
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6143,9 +6208,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6143
6208
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6144
6209
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6145
6210
  source_group_id: z.ZodOptional<z.ZodString>;
6146
- }, {
6211
+ } & {
6147
6212
  ftype: z.ZodLiteral<"simple_bug">;
6148
- }>, "strip", z.ZodTypeAny, {
6213
+ }, "strip", z.ZodTypeAny, {
6149
6214
  type: "source_component";
6150
6215
  name: string;
6151
6216
  source_component_id: string;
@@ -6167,9 +6232,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6167
6232
  display_value?: string | undefined;
6168
6233
  are_pins_interchangeable?: boolean | undefined;
6169
6234
  internally_connected_source_port_ids?: string[][] | undefined;
6170
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6235
+ }>, z.ZodObject<{
6171
6236
  type: z.ZodLiteral<"source_component">;
6172
- ftype: z.ZodOptional<z.ZodString>;
6173
6237
  source_component_id: z.ZodString;
6174
6238
  name: z.ZodString;
6175
6239
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6178,11 +6242,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6178
6242
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6179
6243
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6180
6244
  source_group_id: z.ZodOptional<z.ZodString>;
6181
- }, {
6182
- ftype: z.ZodLiteral<"simple_diode">;
6183
- }>, {
6245
+ } & {
6184
6246
  ftype: z.ZodLiteral<"led">;
6185
- }>, "strip", z.ZodTypeAny, {
6247
+ }, "strip", z.ZodTypeAny, {
6186
6248
  type: "source_component";
6187
6249
  name: string;
6188
6250
  source_component_id: string;
@@ -6204,9 +6266,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6204
6266
  display_value?: string | undefined;
6205
6267
  are_pins_interchangeable?: boolean | undefined;
6206
6268
  internally_connected_source_port_ids?: string[][] | undefined;
6207
- }>, z.ZodObject<z.objectUtil.extendShape<{
6269
+ }>, z.ZodObject<{
6208
6270
  type: z.ZodLiteral<"source_component">;
6209
- ftype: z.ZodOptional<z.ZodString>;
6210
6271
  source_component_id: z.ZodString;
6211
6272
  name: z.ZodString;
6212
6273
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6215,10 +6276,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6215
6276
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6216
6277
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6217
6278
  source_group_id: z.ZodOptional<z.ZodString>;
6218
- }, {
6279
+ } & {
6219
6280
  ftype: z.ZodLiteral<"simple_power_source">;
6220
6281
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6221
- }>, "strip", z.ZodTypeAny, {
6282
+ }, "strip", z.ZodTypeAny, {
6222
6283
  type: "source_component";
6223
6284
  name: string;
6224
6285
  source_component_id: string;
@@ -6242,9 +6303,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6242
6303
  display_value?: string | undefined;
6243
6304
  are_pins_interchangeable?: boolean | undefined;
6244
6305
  internally_connected_source_port_ids?: string[][] | undefined;
6245
- }>, z.ZodObject<z.objectUtil.extendShape<{
6306
+ }>, z.ZodObject<{
6246
6307
  type: z.ZodLiteral<"source_component">;
6247
- ftype: z.ZodOptional<z.ZodString>;
6248
6308
  source_component_id: z.ZodString;
6249
6309
  name: z.ZodString;
6250
6310
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6253,10 +6313,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6253
6313
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6254
6314
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6255
6315
  source_group_id: z.ZodOptional<z.ZodString>;
6256
- }, {
6316
+ } & {
6257
6317
  ftype: z.ZodLiteral<"simple_battery">;
6258
6318
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
6259
- }>, "strip", z.ZodTypeAny, {
6319
+ }, "strip", z.ZodTypeAny, {
6260
6320
  type: "source_component";
6261
6321
  name: string;
6262
6322
  source_component_id: string;
@@ -6280,9 +6340,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6280
6340
  display_value?: string | undefined;
6281
6341
  are_pins_interchangeable?: boolean | undefined;
6282
6342
  internally_connected_source_port_ids?: string[][] | undefined;
6283
- }>, z.ZodObject<z.objectUtil.extendShape<{
6343
+ }>, z.ZodObject<{
6284
6344
  type: z.ZodLiteral<"source_component">;
6285
- ftype: z.ZodOptional<z.ZodString>;
6286
6345
  source_component_id: z.ZodString;
6287
6346
  name: z.ZodString;
6288
6347
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6291,10 +6350,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6291
6350
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6292
6351
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6293
6352
  source_group_id: z.ZodOptional<z.ZodString>;
6294
- }, {
6353
+ } & {
6295
6354
  ftype: z.ZodLiteral<"simple_inductor">;
6296
6355
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6297
- }>, "strip", z.ZodTypeAny, {
6356
+ }, "strip", z.ZodTypeAny, {
6298
6357
  type: "source_component";
6299
6358
  name: string;
6300
6359
  source_component_id: string;
@@ -6318,9 +6377,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6318
6377
  display_value?: string | undefined;
6319
6378
  are_pins_interchangeable?: boolean | undefined;
6320
6379
  internally_connected_source_port_ids?: string[][] | undefined;
6321
- }>, z.ZodObject<z.objectUtil.extendShape<{
6380
+ }>, z.ZodObject<{
6322
6381
  type: z.ZodLiteral<"source_component">;
6323
- ftype: z.ZodOptional<z.ZodString>;
6324
6382
  source_component_id: z.ZodString;
6325
6383
  name: z.ZodString;
6326
6384
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6329,9 +6387,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6329
6387
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6330
6388
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6331
6389
  source_group_id: z.ZodOptional<z.ZodString>;
6332
- }, {
6390
+ } & {
6333
6391
  ftype: z.ZodLiteral<"simple_push_button">;
6334
- }>, "strip", z.ZodTypeAny, {
6392
+ }, "strip", z.ZodTypeAny, {
6335
6393
  type: "source_component";
6336
6394
  name: string;
6337
6395
  source_component_id: string;
@@ -6353,9 +6411,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6353
6411
  display_value?: string | undefined;
6354
6412
  are_pins_interchangeable?: boolean | undefined;
6355
6413
  internally_connected_source_port_ids?: string[][] | undefined;
6356
- }>, z.ZodObject<z.objectUtil.extendShape<{
6414
+ }>, z.ZodObject<{
6357
6415
  type: z.ZodLiteral<"source_component">;
6358
- ftype: z.ZodOptional<z.ZodString>;
6359
6416
  source_component_id: z.ZodString;
6360
6417
  name: z.ZodString;
6361
6418
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6364,10 +6421,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6364
6421
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6365
6422
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6366
6423
  source_group_id: z.ZodOptional<z.ZodString>;
6367
- }, {
6424
+ } & {
6368
6425
  ftype: z.ZodLiteral<"simple_potentiometer">;
6369
6426
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6370
- }>, "strip", z.ZodTypeAny, {
6427
+ }, "strip", z.ZodTypeAny, {
6371
6428
  type: "source_component";
6372
6429
  name: string;
6373
6430
  source_component_id: string;
@@ -6391,9 +6448,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6391
6448
  display_value?: string | undefined;
6392
6449
  are_pins_interchangeable?: boolean | undefined;
6393
6450
  internally_connected_source_port_ids?: string[][] | undefined;
6394
- }>, z.ZodObject<z.objectUtil.extendShape<{
6451
+ }>, z.ZodObject<{
6395
6452
  type: z.ZodLiteral<"source_component">;
6396
- ftype: z.ZodOptional<z.ZodString>;
6397
6453
  source_component_id: z.ZodString;
6398
6454
  name: z.ZodString;
6399
6455
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6402,11 +6458,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6402
6458
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6403
6459
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6404
6460
  source_group_id: z.ZodOptional<z.ZodString>;
6405
- }, {
6461
+ } & {
6406
6462
  ftype: z.ZodLiteral<"simple_crystal">;
6407
6463
  frequency: z.ZodNumber;
6408
6464
  load_capacitance: z.ZodOptional<z.ZodNumber>;
6409
- }>, "strip", z.ZodTypeAny, {
6465
+ }, "strip", z.ZodTypeAny, {
6410
6466
  type: "source_component";
6411
6467
  name: string;
6412
6468
  source_component_id: string;
@@ -6432,9 +6488,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6432
6488
  are_pins_interchangeable?: boolean | undefined;
6433
6489
  internally_connected_source_port_ids?: string[][] | undefined;
6434
6490
  load_capacitance?: number | undefined;
6435
- }>, z.ZodObject<z.objectUtil.extendShape<{
6491
+ }>, z.ZodObject<{
6436
6492
  type: z.ZodLiteral<"source_component">;
6437
- ftype: z.ZodOptional<z.ZodString>;
6438
6493
  source_component_id: z.ZodString;
6439
6494
  name: z.ZodString;
6440
6495
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6443,11 +6498,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6443
6498
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6444
6499
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6445
6500
  source_group_id: z.ZodOptional<z.ZodString>;
6446
- }, {
6501
+ } & {
6447
6502
  ftype: z.ZodLiteral<"simple_pin_header">;
6448
6503
  pin_count: z.ZodNumber;
6449
6504
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
6450
- }>, "strip", z.ZodTypeAny, {
6505
+ }, "strip", z.ZodTypeAny, {
6451
6506
  type: "source_component";
6452
6507
  name: string;
6453
6508
  source_component_id: string;
@@ -6473,9 +6528,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6473
6528
  are_pins_interchangeable?: boolean | undefined;
6474
6529
  internally_connected_source_port_ids?: string[][] | undefined;
6475
6530
  gender?: "male" | "female" | undefined;
6476
- }>, z.ZodObject<z.objectUtil.extendShape<{
6531
+ }>, z.ZodObject<{
6477
6532
  type: z.ZodLiteral<"source_component">;
6478
- ftype: z.ZodOptional<z.ZodString>;
6479
6533
  source_component_id: z.ZodString;
6480
6534
  name: z.ZodString;
6481
6535
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6484,12 +6538,12 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6484
6538
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6485
6539
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6486
6540
  source_group_id: z.ZodOptional<z.ZodString>;
6487
- }, {
6541
+ } & {
6488
6542
  ftype: z.ZodLiteral<"simple_resonator">;
6489
6543
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
6490
6544
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6491
6545
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6492
- }>, "strip", z.ZodTypeAny, {
6546
+ }, "strip", z.ZodTypeAny, {
6493
6547
  type: "source_component";
6494
6548
  name: string;
6495
6549
  source_component_id: string;
@@ -6517,9 +6571,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6517
6571
  are_pins_interchangeable?: boolean | undefined;
6518
6572
  internally_connected_source_port_ids?: string[][] | undefined;
6519
6573
  equivalent_series_resistance?: string | number | undefined;
6520
- }>, z.ZodObject<z.objectUtil.extendShape<{
6574
+ }>, z.ZodObject<{
6521
6575
  type: z.ZodLiteral<"source_component">;
6522
- ftype: z.ZodOptional<z.ZodString>;
6523
6576
  source_component_id: z.ZodString;
6524
6577
  name: z.ZodString;
6525
6578
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6528,9 +6581,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6528
6581
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6529
6582
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6530
6583
  source_group_id: z.ZodOptional<z.ZodString>;
6531
- }, {
6584
+ } & {
6532
6585
  ftype: z.ZodLiteral<"simple_switch">;
6533
- }>, "strip", z.ZodTypeAny, {
6586
+ }, "strip", z.ZodTypeAny, {
6534
6587
  type: "source_component";
6535
6588
  name: string;
6536
6589
  source_component_id: string;
@@ -6552,9 +6605,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6552
6605
  display_value?: string | undefined;
6553
6606
  are_pins_interchangeable?: boolean | undefined;
6554
6607
  internally_connected_source_port_ids?: string[][] | undefined;
6555
- }>, z.ZodObject<z.objectUtil.extendShape<{
6608
+ }>, z.ZodObject<{
6556
6609
  type: z.ZodLiteral<"source_component">;
6557
- ftype: z.ZodOptional<z.ZodString>;
6558
6610
  source_component_id: z.ZodString;
6559
6611
  name: z.ZodString;
6560
6612
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6563,10 +6615,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6563
6615
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6564
6616
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6565
6617
  source_group_id: z.ZodOptional<z.ZodString>;
6566
- }, {
6618
+ } & {
6567
6619
  ftype: z.ZodLiteral<"simple_transistor">;
6568
6620
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
6569
- }>, "strip", z.ZodTypeAny, {
6621
+ }, "strip", z.ZodTypeAny, {
6570
6622
  type: "source_component";
6571
6623
  name: string;
6572
6624
  source_component_id: string;
@@ -6590,9 +6642,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6590
6642
  display_value?: string | undefined;
6591
6643
  are_pins_interchangeable?: boolean | undefined;
6592
6644
  internally_connected_source_port_ids?: string[][] | undefined;
6593
- }>, z.ZodObject<z.objectUtil.extendShape<{
6645
+ }>, z.ZodObject<{
6594
6646
  type: z.ZodLiteral<"source_component">;
6595
- ftype: z.ZodOptional<z.ZodString>;
6596
6647
  source_component_id: z.ZodString;
6597
6648
  name: z.ZodString;
6598
6649
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -6601,11 +6652,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6601
6652
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6602
6653
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6603
6654
  source_group_id: z.ZodOptional<z.ZodString>;
6604
- }, {
6655
+ } & {
6605
6656
  ftype: z.ZodLiteral<"simple_mosfet">;
6606
6657
  channel_type: z.ZodEnum<["n", "p"]>;
6607
6658
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
6608
- }>, "strip", z.ZodTypeAny, {
6659
+ }, "strip", z.ZodTypeAny, {
6609
6660
  type: "source_component";
6610
6661
  name: string;
6611
6662
  source_component_id: string;
@@ -6729,7 +6780,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6729
6780
  * Deprecated: use `AnySourceElement` instead
6730
6781
  */
6731
6782
  type AnySourceComponent = z.infer<typeof any_source_component>;
6732
- type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
6783
+ type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
6733
6784
 
6734
6785
  declare const source_port: z.ZodObject<{
6735
6786
  type: z.ZodLiteral<"source_port">;
@@ -7045,9 +7096,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7045
7096
  subcircuit_id?: string | undefined;
7046
7097
  port_hints?: string[] | undefined;
7047
7098
  pin_number?: number | undefined;
7048
- }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7099
+ }>, z.ZodUnion<[z.ZodObject<{
7049
7100
  type: z.ZodLiteral<"source_component">;
7050
- ftype: z.ZodOptional<z.ZodString>;
7051
7101
  source_component_id: z.ZodString;
7052
7102
  name: z.ZodString;
7053
7103
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7056,11 +7106,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7056
7106
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7057
7107
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7058
7108
  source_group_id: z.ZodOptional<z.ZodString>;
7059
- }, {
7109
+ } & {
7060
7110
  ftype: z.ZodLiteral<"simple_resistor">;
7061
7111
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7062
7112
  display_resistance: z.ZodOptional<z.ZodString>;
7063
- }>, "strip", z.ZodTypeAny, {
7113
+ }, "strip", z.ZodTypeAny, {
7064
7114
  type: "source_component";
7065
7115
  name: string;
7066
7116
  source_component_id: string;
@@ -7086,9 +7136,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7086
7136
  are_pins_interchangeable?: boolean | undefined;
7087
7137
  internally_connected_source_port_ids?: string[][] | undefined;
7088
7138
  display_resistance?: string | undefined;
7089
- }>, z.ZodObject<z.objectUtil.extendShape<{
7139
+ }>, z.ZodObject<{
7090
7140
  type: z.ZodLiteral<"source_component">;
7091
- ftype: z.ZodOptional<z.ZodString>;
7092
7141
  source_component_id: z.ZodString;
7093
7142
  name: z.ZodString;
7094
7143
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7097,13 +7146,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7097
7146
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7098
7147
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7099
7148
  source_group_id: z.ZodOptional<z.ZodString>;
7100
- }, {
7149
+ } & {
7101
7150
  ftype: z.ZodLiteral<"simple_capacitor">;
7102
7151
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
7103
7152
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7104
7153
  display_capacitance: z.ZodOptional<z.ZodString>;
7105
7154
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7106
- }>, "strip", z.ZodTypeAny, {
7155
+ }, "strip", z.ZodTypeAny, {
7107
7156
  type: "source_component";
7108
7157
  name: string;
7109
7158
  source_component_id: string;
@@ -7133,9 +7182,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7133
7182
  max_voltage_rating?: string | number | undefined;
7134
7183
  display_capacitance?: string | undefined;
7135
7184
  max_decoupling_trace_length?: string | number | undefined;
7136
- }>, z.ZodObject<z.objectUtil.extendShape<{
7185
+ }>, z.ZodObject<{
7137
7186
  type: z.ZodLiteral<"source_component">;
7138
- ftype: z.ZodOptional<z.ZodString>;
7139
7187
  source_component_id: z.ZodString;
7140
7188
  name: z.ZodString;
7141
7189
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7144,9 +7192,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7144
7192
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7145
7193
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7146
7194
  source_group_id: z.ZodOptional<z.ZodString>;
7147
- }, {
7195
+ } & {
7148
7196
  ftype: z.ZodLiteral<"simple_diode">;
7149
- }>, "strip", z.ZodTypeAny, {
7197
+ }, "strip", z.ZodTypeAny, {
7150
7198
  type: "source_component";
7151
7199
  name: string;
7152
7200
  source_component_id: string;
@@ -7168,9 +7216,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7168
7216
  display_value?: string | undefined;
7169
7217
  are_pins_interchangeable?: boolean | undefined;
7170
7218
  internally_connected_source_port_ids?: string[][] | undefined;
7171
- }>, z.ZodObject<z.objectUtil.extendShape<{
7219
+ }>, z.ZodObject<{
7172
7220
  type: z.ZodLiteral<"source_component">;
7173
- ftype: z.ZodOptional<z.ZodString>;
7174
7221
  source_component_id: z.ZodString;
7175
7222
  name: z.ZodString;
7176
7223
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7179,9 +7226,49 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7179
7226
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7180
7227
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7181
7228
  source_group_id: z.ZodOptional<z.ZodString>;
7229
+ } & {
7230
+ ftype: z.ZodLiteral<"simple_led">;
7231
+ color: z.ZodOptional<z.ZodString>;
7232
+ wavelength: z.ZodOptional<z.ZodString>;
7233
+ }, "strip", z.ZodTypeAny, {
7234
+ type: "source_component";
7235
+ name: string;
7236
+ source_component_id: string;
7237
+ ftype: "simple_led";
7238
+ color?: string | undefined;
7239
+ source_group_id?: string | undefined;
7240
+ manufacturer_part_number?: string | undefined;
7241
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7242
+ display_value?: string | undefined;
7243
+ are_pins_interchangeable?: boolean | undefined;
7244
+ internally_connected_source_port_ids?: string[][] | undefined;
7245
+ wavelength?: string | undefined;
7182
7246
  }, {
7247
+ type: "source_component";
7248
+ name: string;
7249
+ source_component_id: string;
7250
+ ftype: "simple_led";
7251
+ color?: string | undefined;
7252
+ source_group_id?: string | undefined;
7253
+ manufacturer_part_number?: string | undefined;
7254
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7255
+ display_value?: string | undefined;
7256
+ are_pins_interchangeable?: boolean | undefined;
7257
+ internally_connected_source_port_ids?: string[][] | undefined;
7258
+ wavelength?: string | undefined;
7259
+ }>, z.ZodObject<{
7260
+ type: z.ZodLiteral<"source_component">;
7261
+ source_component_id: z.ZodString;
7262
+ name: z.ZodString;
7263
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
7264
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
7265
+ display_value: z.ZodOptional<z.ZodString>;
7266
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7267
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7268
+ source_group_id: z.ZodOptional<z.ZodString>;
7269
+ } & {
7183
7270
  ftype: z.ZodLiteral<"simple_ground">;
7184
- }>, "strip", z.ZodTypeAny, {
7271
+ }, "strip", z.ZodTypeAny, {
7185
7272
  type: "source_component";
7186
7273
  name: string;
7187
7274
  source_component_id: string;
@@ -7203,9 +7290,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7203
7290
  display_value?: string | undefined;
7204
7291
  are_pins_interchangeable?: boolean | undefined;
7205
7292
  internally_connected_source_port_ids?: string[][] | undefined;
7206
- }>, z.ZodObject<z.objectUtil.extendShape<{
7293
+ }>, z.ZodObject<{
7207
7294
  type: z.ZodLiteral<"source_component">;
7208
- ftype: z.ZodOptional<z.ZodString>;
7209
7295
  source_component_id: z.ZodString;
7210
7296
  name: z.ZodString;
7211
7297
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7214,9 +7300,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7214
7300
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7215
7301
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7216
7302
  source_group_id: z.ZodOptional<z.ZodString>;
7217
- }, {
7303
+ } & {
7218
7304
  ftype: z.ZodLiteral<"simple_chip">;
7219
- }>, "strip", z.ZodTypeAny, {
7305
+ }, "strip", z.ZodTypeAny, {
7220
7306
  type: "source_component";
7221
7307
  name: string;
7222
7308
  source_component_id: string;
@@ -7238,9 +7324,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7238
7324
  display_value?: string | undefined;
7239
7325
  are_pins_interchangeable?: boolean | undefined;
7240
7326
  internally_connected_source_port_ids?: string[][] | undefined;
7241
- }>, z.ZodObject<z.objectUtil.extendShape<{
7327
+ }>, z.ZodObject<{
7242
7328
  type: z.ZodLiteral<"source_component">;
7243
- ftype: z.ZodOptional<z.ZodString>;
7244
7329
  source_component_id: z.ZodString;
7245
7330
  name: z.ZodString;
7246
7331
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7249,9 +7334,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7249
7334
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7250
7335
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7251
7336
  source_group_id: z.ZodOptional<z.ZodString>;
7252
- }, {
7337
+ } & {
7253
7338
  ftype: z.ZodLiteral<"simple_bug">;
7254
- }>, "strip", z.ZodTypeAny, {
7339
+ }, "strip", z.ZodTypeAny, {
7255
7340
  type: "source_component";
7256
7341
  name: string;
7257
7342
  source_component_id: string;
@@ -7273,9 +7358,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7273
7358
  display_value?: string | undefined;
7274
7359
  are_pins_interchangeable?: boolean | undefined;
7275
7360
  internally_connected_source_port_ids?: string[][] | undefined;
7276
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7361
+ }>, z.ZodObject<{
7277
7362
  type: z.ZodLiteral<"source_component">;
7278
- ftype: z.ZodOptional<z.ZodString>;
7279
7363
  source_component_id: z.ZodString;
7280
7364
  name: z.ZodString;
7281
7365
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7284,11 +7368,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7284
7368
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7285
7369
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7286
7370
  source_group_id: z.ZodOptional<z.ZodString>;
7287
- }, {
7288
- ftype: z.ZodLiteral<"simple_diode">;
7289
- }>, {
7371
+ } & {
7290
7372
  ftype: z.ZodLiteral<"led">;
7291
- }>, "strip", z.ZodTypeAny, {
7373
+ }, "strip", z.ZodTypeAny, {
7292
7374
  type: "source_component";
7293
7375
  name: string;
7294
7376
  source_component_id: string;
@@ -7310,9 +7392,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7310
7392
  display_value?: string | undefined;
7311
7393
  are_pins_interchangeable?: boolean | undefined;
7312
7394
  internally_connected_source_port_ids?: string[][] | undefined;
7313
- }>, z.ZodObject<z.objectUtil.extendShape<{
7395
+ }>, z.ZodObject<{
7314
7396
  type: z.ZodLiteral<"source_component">;
7315
- ftype: z.ZodOptional<z.ZodString>;
7316
7397
  source_component_id: z.ZodString;
7317
7398
  name: z.ZodString;
7318
7399
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7321,10 +7402,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7321
7402
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7322
7403
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7323
7404
  source_group_id: z.ZodOptional<z.ZodString>;
7324
- }, {
7405
+ } & {
7325
7406
  ftype: z.ZodLiteral<"simple_power_source">;
7326
7407
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7327
- }>, "strip", z.ZodTypeAny, {
7408
+ }, "strip", z.ZodTypeAny, {
7328
7409
  type: "source_component";
7329
7410
  name: string;
7330
7411
  source_component_id: string;
@@ -7348,9 +7429,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7348
7429
  display_value?: string | undefined;
7349
7430
  are_pins_interchangeable?: boolean | undefined;
7350
7431
  internally_connected_source_port_ids?: string[][] | undefined;
7351
- }>, z.ZodObject<z.objectUtil.extendShape<{
7432
+ }>, z.ZodObject<{
7352
7433
  type: z.ZodLiteral<"source_component">;
7353
- ftype: z.ZodOptional<z.ZodString>;
7354
7434
  source_component_id: z.ZodString;
7355
7435
  name: z.ZodString;
7356
7436
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7359,10 +7439,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7359
7439
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7360
7440
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7361
7441
  source_group_id: z.ZodOptional<z.ZodString>;
7362
- }, {
7442
+ } & {
7363
7443
  ftype: z.ZodLiteral<"simple_battery">;
7364
7444
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
7365
- }>, "strip", z.ZodTypeAny, {
7445
+ }, "strip", z.ZodTypeAny, {
7366
7446
  type: "source_component";
7367
7447
  name: string;
7368
7448
  source_component_id: string;
@@ -7386,9 +7466,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7386
7466
  display_value?: string | undefined;
7387
7467
  are_pins_interchangeable?: boolean | undefined;
7388
7468
  internally_connected_source_port_ids?: string[][] | undefined;
7389
- }>, z.ZodObject<z.objectUtil.extendShape<{
7469
+ }>, z.ZodObject<{
7390
7470
  type: z.ZodLiteral<"source_component">;
7391
- ftype: z.ZodOptional<z.ZodString>;
7392
7471
  source_component_id: z.ZodString;
7393
7472
  name: z.ZodString;
7394
7473
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7397,10 +7476,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7397
7476
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7398
7477
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7399
7478
  source_group_id: z.ZodOptional<z.ZodString>;
7400
- }, {
7479
+ } & {
7401
7480
  ftype: z.ZodLiteral<"simple_inductor">;
7402
7481
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7403
- }>, "strip", z.ZodTypeAny, {
7482
+ }, "strip", z.ZodTypeAny, {
7404
7483
  type: "source_component";
7405
7484
  name: string;
7406
7485
  source_component_id: string;
@@ -7424,9 +7503,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7424
7503
  display_value?: string | undefined;
7425
7504
  are_pins_interchangeable?: boolean | undefined;
7426
7505
  internally_connected_source_port_ids?: string[][] | undefined;
7427
- }>, z.ZodObject<z.objectUtil.extendShape<{
7506
+ }>, z.ZodObject<{
7428
7507
  type: z.ZodLiteral<"source_component">;
7429
- ftype: z.ZodOptional<z.ZodString>;
7430
7508
  source_component_id: z.ZodString;
7431
7509
  name: z.ZodString;
7432
7510
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7435,9 +7513,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7435
7513
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7436
7514
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7437
7515
  source_group_id: z.ZodOptional<z.ZodString>;
7438
- }, {
7516
+ } & {
7439
7517
  ftype: z.ZodLiteral<"simple_push_button">;
7440
- }>, "strip", z.ZodTypeAny, {
7518
+ }, "strip", z.ZodTypeAny, {
7441
7519
  type: "source_component";
7442
7520
  name: string;
7443
7521
  source_component_id: string;
@@ -7459,9 +7537,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7459
7537
  display_value?: string | undefined;
7460
7538
  are_pins_interchangeable?: boolean | undefined;
7461
7539
  internally_connected_source_port_ids?: string[][] | undefined;
7462
- }>, z.ZodObject<z.objectUtil.extendShape<{
7540
+ }>, z.ZodObject<{
7463
7541
  type: z.ZodLiteral<"source_component">;
7464
- ftype: z.ZodOptional<z.ZodString>;
7465
7542
  source_component_id: z.ZodString;
7466
7543
  name: z.ZodString;
7467
7544
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7470,10 +7547,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7470
7547
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7471
7548
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7472
7549
  source_group_id: z.ZodOptional<z.ZodString>;
7473
- }, {
7550
+ } & {
7474
7551
  ftype: z.ZodLiteral<"simple_potentiometer">;
7475
7552
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7476
- }>, "strip", z.ZodTypeAny, {
7553
+ }, "strip", z.ZodTypeAny, {
7477
7554
  type: "source_component";
7478
7555
  name: string;
7479
7556
  source_component_id: string;
@@ -7497,9 +7574,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7497
7574
  display_value?: string | undefined;
7498
7575
  are_pins_interchangeable?: boolean | undefined;
7499
7576
  internally_connected_source_port_ids?: string[][] | undefined;
7500
- }>, z.ZodObject<z.objectUtil.extendShape<{
7577
+ }>, z.ZodObject<{
7501
7578
  type: z.ZodLiteral<"source_component">;
7502
- ftype: z.ZodOptional<z.ZodString>;
7503
7579
  source_component_id: z.ZodString;
7504
7580
  name: z.ZodString;
7505
7581
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7508,11 +7584,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7508
7584
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7509
7585
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7510
7586
  source_group_id: z.ZodOptional<z.ZodString>;
7511
- }, {
7587
+ } & {
7512
7588
  ftype: z.ZodLiteral<"simple_crystal">;
7513
7589
  frequency: z.ZodNumber;
7514
7590
  load_capacitance: z.ZodOptional<z.ZodNumber>;
7515
- }>, "strip", z.ZodTypeAny, {
7591
+ }, "strip", z.ZodTypeAny, {
7516
7592
  type: "source_component";
7517
7593
  name: string;
7518
7594
  source_component_id: string;
@@ -7538,9 +7614,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7538
7614
  are_pins_interchangeable?: boolean | undefined;
7539
7615
  internally_connected_source_port_ids?: string[][] | undefined;
7540
7616
  load_capacitance?: number | undefined;
7541
- }>, z.ZodObject<z.objectUtil.extendShape<{
7617
+ }>, z.ZodObject<{
7542
7618
  type: z.ZodLiteral<"source_component">;
7543
- ftype: z.ZodOptional<z.ZodString>;
7544
7619
  source_component_id: z.ZodString;
7545
7620
  name: z.ZodString;
7546
7621
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7549,11 +7624,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7549
7624
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7550
7625
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7551
7626
  source_group_id: z.ZodOptional<z.ZodString>;
7552
- }, {
7627
+ } & {
7553
7628
  ftype: z.ZodLiteral<"simple_pin_header">;
7554
7629
  pin_count: z.ZodNumber;
7555
7630
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
7556
- }>, "strip", z.ZodTypeAny, {
7631
+ }, "strip", z.ZodTypeAny, {
7557
7632
  type: "source_component";
7558
7633
  name: string;
7559
7634
  source_component_id: string;
@@ -7579,9 +7654,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7579
7654
  are_pins_interchangeable?: boolean | undefined;
7580
7655
  internally_connected_source_port_ids?: string[][] | undefined;
7581
7656
  gender?: "male" | "female" | undefined;
7582
- }>, z.ZodObject<z.objectUtil.extendShape<{
7657
+ }>, z.ZodObject<{
7583
7658
  type: z.ZodLiteral<"source_component">;
7584
- ftype: z.ZodOptional<z.ZodString>;
7585
7659
  source_component_id: z.ZodString;
7586
7660
  name: z.ZodString;
7587
7661
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7590,12 +7664,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7590
7664
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7591
7665
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7592
7666
  source_group_id: z.ZodOptional<z.ZodString>;
7593
- }, {
7667
+ } & {
7594
7668
  ftype: z.ZodLiteral<"simple_resonator">;
7595
7669
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
7596
7670
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7597
7671
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7598
- }>, "strip", z.ZodTypeAny, {
7672
+ }, "strip", z.ZodTypeAny, {
7599
7673
  type: "source_component";
7600
7674
  name: string;
7601
7675
  source_component_id: string;
@@ -7623,9 +7697,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7623
7697
  are_pins_interchangeable?: boolean | undefined;
7624
7698
  internally_connected_source_port_ids?: string[][] | undefined;
7625
7699
  equivalent_series_resistance?: string | number | undefined;
7626
- }>, z.ZodObject<z.objectUtil.extendShape<{
7700
+ }>, z.ZodObject<{
7627
7701
  type: z.ZodLiteral<"source_component">;
7628
- ftype: z.ZodOptional<z.ZodString>;
7629
7702
  source_component_id: z.ZodString;
7630
7703
  name: z.ZodString;
7631
7704
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7634,9 +7707,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7634
7707
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7635
7708
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7636
7709
  source_group_id: z.ZodOptional<z.ZodString>;
7637
- }, {
7710
+ } & {
7638
7711
  ftype: z.ZodLiteral<"simple_switch">;
7639
- }>, "strip", z.ZodTypeAny, {
7712
+ }, "strip", z.ZodTypeAny, {
7640
7713
  type: "source_component";
7641
7714
  name: string;
7642
7715
  source_component_id: string;
@@ -7658,9 +7731,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7658
7731
  display_value?: string | undefined;
7659
7732
  are_pins_interchangeable?: boolean | undefined;
7660
7733
  internally_connected_source_port_ids?: string[][] | undefined;
7661
- }>, z.ZodObject<z.objectUtil.extendShape<{
7734
+ }>, z.ZodObject<{
7662
7735
  type: z.ZodLiteral<"source_component">;
7663
- ftype: z.ZodOptional<z.ZodString>;
7664
7736
  source_component_id: z.ZodString;
7665
7737
  name: z.ZodString;
7666
7738
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7669,10 +7741,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7669
7741
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7670
7742
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7671
7743
  source_group_id: z.ZodOptional<z.ZodString>;
7672
- }, {
7744
+ } & {
7673
7745
  ftype: z.ZodLiteral<"simple_transistor">;
7674
7746
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
7675
- }>, "strip", z.ZodTypeAny, {
7747
+ }, "strip", z.ZodTypeAny, {
7676
7748
  type: "source_component";
7677
7749
  name: string;
7678
7750
  source_component_id: string;
@@ -7696,9 +7768,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7696
7768
  display_value?: string | undefined;
7697
7769
  are_pins_interchangeable?: boolean | undefined;
7698
7770
  internally_connected_source_port_ids?: string[][] | undefined;
7699
- }>, z.ZodObject<z.objectUtil.extendShape<{
7771
+ }>, z.ZodObject<{
7700
7772
  type: z.ZodLiteral<"source_component">;
7701
- ftype: z.ZodOptional<z.ZodString>;
7702
7773
  source_component_id: z.ZodString;
7703
7774
  name: z.ZodString;
7704
7775
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7707,11 +7778,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7707
7778
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7708
7779
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7709
7780
  source_group_id: z.ZodOptional<z.ZodString>;
7710
- }, {
7781
+ } & {
7711
7782
  ftype: z.ZodLiteral<"simple_mosfet">;
7712
7783
  channel_type: z.ZodEnum<["n", "p"]>;
7713
7784
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
7714
- }>, "strip", z.ZodTypeAny, {
7785
+ }, "strip", z.ZodTypeAny, {
7715
7786
  type: "source_component";
7716
7787
  name: string;
7717
7788
  source_component_id: string;
@@ -7830,9 +7901,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7830
7901
  x?: number | undefined;
7831
7902
  y?: number | undefined;
7832
7903
  } | undefined;
7833
- }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7904
+ }>]>, z.ZodObject<{
7834
7905
  type: z.ZodLiteral<"source_component">;
7835
- ftype: z.ZodOptional<z.ZodString>;
7836
7906
  source_component_id: z.ZodString;
7837
7907
  name: z.ZodString;
7838
7908
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7841,11 +7911,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7841
7911
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7842
7912
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7843
7913
  source_group_id: z.ZodOptional<z.ZodString>;
7844
- }, {
7845
- ftype: z.ZodLiteral<"simple_diode">;
7846
- }>, {
7914
+ } & {
7847
7915
  ftype: z.ZodLiteral<"led">;
7848
- }>, "strip", z.ZodTypeAny, {
7916
+ }, "strip", z.ZodTypeAny, {
7849
7917
  type: "source_component";
7850
7918
  name: string;
7851
7919
  source_component_id: string;
@@ -7921,9 +7989,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7921
7989
  subcircuit_id?: string | undefined;
7922
7990
  is_subcircuit?: boolean | undefined;
7923
7991
  parent_subcircuit_id?: string | undefined;
7924
- }>, z.ZodObject<z.objectUtil.extendShape<{
7992
+ }>, z.ZodObject<{
7925
7993
  type: z.ZodLiteral<"source_component">;
7926
- ftype: z.ZodOptional<z.ZodString>;
7927
7994
  source_component_id: z.ZodString;
7928
7995
  name: z.ZodString;
7929
7996
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7932,9 +7999,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7932
7999
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7933
8000
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7934
8001
  source_group_id: z.ZodOptional<z.ZodString>;
7935
- }, {
8002
+ } & {
7936
8003
  ftype: z.ZodLiteral<"simple_bug">;
7937
- }>, "strip", z.ZodTypeAny, {
8004
+ }, "strip", z.ZodTypeAny, {
7938
8005
  type: "source_component";
7939
8006
  name: string;
7940
8007
  source_component_id: string;
@@ -7956,9 +8023,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7956
8023
  display_value?: string | undefined;
7957
8024
  are_pins_interchangeable?: boolean | undefined;
7958
8025
  internally_connected_source_port_ids?: string[][] | undefined;
7959
- }>, z.ZodObject<z.objectUtil.extendShape<{
8026
+ }>, z.ZodObject<{
7960
8027
  type: z.ZodLiteral<"source_component">;
7961
- ftype: z.ZodOptional<z.ZodString>;
7962
8028
  source_component_id: z.ZodString;
7963
8029
  name: z.ZodString;
7964
8030
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -7967,9 +8033,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7967
8033
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7968
8034
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7969
8035
  source_group_id: z.ZodOptional<z.ZodString>;
7970
- }, {
8036
+ } & {
7971
8037
  ftype: z.ZodLiteral<"simple_chip">;
7972
- }>, "strip", z.ZodTypeAny, {
8038
+ }, "strip", z.ZodTypeAny, {
7973
8039
  type: "source_component";
7974
8040
  name: string;
7975
8041
  source_component_id: string;
@@ -7991,9 +8057,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7991
8057
  display_value?: string | undefined;
7992
8058
  are_pins_interchangeable?: boolean | undefined;
7993
8059
  internally_connected_source_port_ids?: string[][] | undefined;
7994
- }>, z.ZodObject<z.objectUtil.extendShape<{
8060
+ }>, z.ZodObject<{
7995
8061
  type: z.ZodLiteral<"source_component">;
7996
- ftype: z.ZodOptional<z.ZodString>;
7997
8062
  source_component_id: z.ZodString;
7998
8063
  name: z.ZodString;
7999
8064
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8002,13 +8067,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8002
8067
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8003
8068
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8004
8069
  source_group_id: z.ZodOptional<z.ZodString>;
8005
- }, {
8070
+ } & {
8006
8071
  ftype: z.ZodLiteral<"simple_capacitor">;
8007
8072
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8008
8073
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8009
8074
  display_capacitance: z.ZodOptional<z.ZodString>;
8010
8075
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8011
- }>, "strip", z.ZodTypeAny, {
8076
+ }, "strip", z.ZodTypeAny, {
8012
8077
  type: "source_component";
8013
8078
  name: string;
8014
8079
  source_component_id: string;
@@ -8038,9 +8103,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8038
8103
  max_voltage_rating?: string | number | undefined;
8039
8104
  display_capacitance?: string | undefined;
8040
8105
  max_decoupling_trace_length?: string | number | undefined;
8041
- }>, z.ZodObject<z.objectUtil.extendShape<{
8106
+ }>, z.ZodObject<{
8042
8107
  type: z.ZodLiteral<"source_component">;
8043
- ftype: z.ZodOptional<z.ZodString>;
8044
8108
  source_component_id: z.ZodString;
8045
8109
  name: z.ZodString;
8046
8110
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8049,9 +8113,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8049
8113
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8050
8114
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8051
8115
  source_group_id: z.ZodOptional<z.ZodString>;
8052
- }, {
8116
+ } & {
8053
8117
  ftype: z.ZodLiteral<"simple_diode">;
8054
- }>, "strip", z.ZodTypeAny, {
8118
+ }, "strip", z.ZodTypeAny, {
8055
8119
  type: "source_component";
8056
8120
  name: string;
8057
8121
  source_component_id: string;
@@ -8073,9 +8137,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8073
8137
  display_value?: string | undefined;
8074
8138
  are_pins_interchangeable?: boolean | undefined;
8075
8139
  internally_connected_source_port_ids?: string[][] | undefined;
8076
- }>, z.ZodObject<z.objectUtil.extendShape<{
8140
+ }>, z.ZodObject<{
8077
8141
  type: z.ZodLiteral<"source_component">;
8078
- ftype: z.ZodOptional<z.ZodString>;
8079
8142
  source_component_id: z.ZodString;
8080
8143
  name: z.ZodString;
8081
8144
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8084,11 +8147,51 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8084
8147
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8085
8148
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8086
8149
  source_group_id: z.ZodOptional<z.ZodString>;
8150
+ } & {
8151
+ ftype: z.ZodLiteral<"simple_led">;
8152
+ color: z.ZodOptional<z.ZodString>;
8153
+ wavelength: z.ZodOptional<z.ZodString>;
8154
+ }, "strip", z.ZodTypeAny, {
8155
+ type: "source_component";
8156
+ name: string;
8157
+ source_component_id: string;
8158
+ ftype: "simple_led";
8159
+ color?: string | undefined;
8160
+ source_group_id?: string | undefined;
8161
+ manufacturer_part_number?: string | undefined;
8162
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8163
+ display_value?: string | undefined;
8164
+ are_pins_interchangeable?: boolean | undefined;
8165
+ internally_connected_source_port_ids?: string[][] | undefined;
8166
+ wavelength?: string | undefined;
8087
8167
  }, {
8168
+ type: "source_component";
8169
+ name: string;
8170
+ source_component_id: string;
8171
+ ftype: "simple_led";
8172
+ color?: string | undefined;
8173
+ source_group_id?: string | undefined;
8174
+ manufacturer_part_number?: string | undefined;
8175
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8176
+ display_value?: string | undefined;
8177
+ are_pins_interchangeable?: boolean | undefined;
8178
+ internally_connected_source_port_ids?: string[][] | undefined;
8179
+ wavelength?: string | undefined;
8180
+ }>, z.ZodObject<{
8181
+ type: z.ZodLiteral<"source_component">;
8182
+ source_component_id: z.ZodString;
8183
+ name: z.ZodString;
8184
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8185
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8186
+ display_value: z.ZodOptional<z.ZodString>;
8187
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8188
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8189
+ source_group_id: z.ZodOptional<z.ZodString>;
8190
+ } & {
8088
8191
  ftype: z.ZodLiteral<"simple_resistor">;
8089
8192
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8090
8193
  display_resistance: z.ZodOptional<z.ZodString>;
8091
- }>, "strip", z.ZodTypeAny, {
8194
+ }, "strip", z.ZodTypeAny, {
8092
8195
  type: "source_component";
8093
8196
  name: string;
8094
8197
  source_component_id: string;
@@ -8114,9 +8217,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8114
8217
  are_pins_interchangeable?: boolean | undefined;
8115
8218
  internally_connected_source_port_ids?: string[][] | undefined;
8116
8219
  display_resistance?: string | undefined;
8117
- }>, z.ZodObject<z.objectUtil.extendShape<{
8220
+ }>, z.ZodObject<{
8118
8221
  type: z.ZodLiteral<"source_component">;
8119
- ftype: z.ZodOptional<z.ZodString>;
8120
8222
  source_component_id: z.ZodString;
8121
8223
  name: z.ZodString;
8122
8224
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8125,10 +8227,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8125
8227
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8126
8228
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8127
8229
  source_group_id: z.ZodOptional<z.ZodString>;
8128
- }, {
8230
+ } & {
8129
8231
  ftype: z.ZodLiteral<"simple_power_source">;
8130
8232
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8131
- }>, "strip", z.ZodTypeAny, {
8233
+ }, "strip", z.ZodTypeAny, {
8132
8234
  type: "source_component";
8133
8235
  name: string;
8134
8236
  source_component_id: string;
@@ -8152,9 +8254,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8152
8254
  display_value?: string | undefined;
8153
8255
  are_pins_interchangeable?: boolean | undefined;
8154
8256
  internally_connected_source_port_ids?: string[][] | undefined;
8155
- }>, z.ZodObject<z.objectUtil.extendShape<{
8257
+ }>, z.ZodObject<{
8156
8258
  type: z.ZodLiteral<"source_component">;
8157
- ftype: z.ZodOptional<z.ZodString>;
8158
8259
  source_component_id: z.ZodString;
8159
8260
  name: z.ZodString;
8160
8261
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8163,10 +8264,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8163
8264
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8164
8265
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8165
8266
  source_group_id: z.ZodOptional<z.ZodString>;
8166
- }, {
8267
+ } & {
8167
8268
  ftype: z.ZodLiteral<"simple_battery">;
8168
8269
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
8169
- }>, "strip", z.ZodTypeAny, {
8270
+ }, "strip", z.ZodTypeAny, {
8170
8271
  type: "source_component";
8171
8272
  name: string;
8172
8273
  source_component_id: string;
@@ -8190,9 +8291,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8190
8291
  display_value?: string | undefined;
8191
8292
  are_pins_interchangeable?: boolean | undefined;
8192
8293
  internally_connected_source_port_ids?: string[][] | undefined;
8193
- }>, z.ZodObject<z.objectUtil.extendShape<{
8294
+ }>, z.ZodObject<{
8194
8295
  type: z.ZodLiteral<"source_component">;
8195
- ftype: z.ZodOptional<z.ZodString>;
8196
8296
  source_component_id: z.ZodString;
8197
8297
  name: z.ZodString;
8198
8298
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8201,10 +8301,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8201
8301
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8202
8302
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8203
8303
  source_group_id: z.ZodOptional<z.ZodString>;
8204
- }, {
8304
+ } & {
8205
8305
  ftype: z.ZodLiteral<"simple_inductor">;
8206
8306
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8207
- }>, "strip", z.ZodTypeAny, {
8307
+ }, "strip", z.ZodTypeAny, {
8208
8308
  type: "source_component";
8209
8309
  name: string;
8210
8310
  source_component_id: string;
@@ -8228,9 +8328,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8228
8328
  display_value?: string | undefined;
8229
8329
  are_pins_interchangeable?: boolean | undefined;
8230
8330
  internally_connected_source_port_ids?: string[][] | undefined;
8231
- }>, z.ZodObject<z.objectUtil.extendShape<{
8331
+ }>, z.ZodObject<{
8232
8332
  type: z.ZodLiteral<"source_component">;
8233
- ftype: z.ZodOptional<z.ZodString>;
8234
8333
  source_component_id: z.ZodString;
8235
8334
  name: z.ZodString;
8236
8335
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8239,11 +8338,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8239
8338
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8240
8339
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8241
8340
  source_group_id: z.ZodOptional<z.ZodString>;
8242
- }, {
8341
+ } & {
8243
8342
  ftype: z.ZodLiteral<"simple_pin_header">;
8244
8343
  pin_count: z.ZodNumber;
8245
8344
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
8246
- }>, "strip", z.ZodTypeAny, {
8345
+ }, "strip", z.ZodTypeAny, {
8247
8346
  type: "source_component";
8248
8347
  name: string;
8249
8348
  source_component_id: string;
@@ -8269,9 +8368,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8269
8368
  are_pins_interchangeable?: boolean | undefined;
8270
8369
  internally_connected_source_port_ids?: string[][] | undefined;
8271
8370
  gender?: "male" | "female" | undefined;
8272
- }>, z.ZodObject<z.objectUtil.extendShape<{
8371
+ }>, z.ZodObject<{
8273
8372
  type: z.ZodLiteral<"source_component">;
8274
- ftype: z.ZodOptional<z.ZodString>;
8275
8373
  source_component_id: z.ZodString;
8276
8374
  name: z.ZodString;
8277
8375
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8280,12 +8378,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8280
8378
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8281
8379
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8282
8380
  source_group_id: z.ZodOptional<z.ZodString>;
8283
- }, {
8381
+ } & {
8284
8382
  ftype: z.ZodLiteral<"simple_resonator">;
8285
8383
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8286
8384
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8287
8385
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8288
- }>, "strip", z.ZodTypeAny, {
8386
+ }, "strip", z.ZodTypeAny, {
8289
8387
  type: "source_component";
8290
8388
  name: string;
8291
8389
  source_component_id: string;
@@ -8313,9 +8411,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8313
8411
  are_pins_interchangeable?: boolean | undefined;
8314
8412
  internally_connected_source_port_ids?: string[][] | undefined;
8315
8413
  equivalent_series_resistance?: string | number | undefined;
8316
- }>, z.ZodObject<z.objectUtil.extendShape<{
8414
+ }>, z.ZodObject<{
8317
8415
  type: z.ZodLiteral<"source_component">;
8318
- ftype: z.ZodOptional<z.ZodString>;
8319
8416
  source_component_id: z.ZodString;
8320
8417
  name: z.ZodString;
8321
8418
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8324,9 +8421,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8324
8421
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8325
8422
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8326
8423
  source_group_id: z.ZodOptional<z.ZodString>;
8327
- }, {
8424
+ } & {
8328
8425
  ftype: z.ZodLiteral<"simple_switch">;
8329
- }>, "strip", z.ZodTypeAny, {
8426
+ }, "strip", z.ZodTypeAny, {
8330
8427
  type: "source_component";
8331
8428
  name: string;
8332
8429
  source_component_id: string;
@@ -8348,9 +8445,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8348
8445
  display_value?: string | undefined;
8349
8446
  are_pins_interchangeable?: boolean | undefined;
8350
8447
  internally_connected_source_port_ids?: string[][] | undefined;
8351
- }>, z.ZodObject<z.objectUtil.extendShape<{
8448
+ }>, z.ZodObject<{
8352
8449
  type: z.ZodLiteral<"source_component">;
8353
- ftype: z.ZodOptional<z.ZodString>;
8354
8450
  source_component_id: z.ZodString;
8355
8451
  name: z.ZodString;
8356
8452
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8359,10 +8455,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8359
8455
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8360
8456
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8361
8457
  source_group_id: z.ZodOptional<z.ZodString>;
8362
- }, {
8458
+ } & {
8363
8459
  ftype: z.ZodLiteral<"simple_transistor">;
8364
8460
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
8365
- }>, "strip", z.ZodTypeAny, {
8461
+ }, "strip", z.ZodTypeAny, {
8366
8462
  type: "source_component";
8367
8463
  name: string;
8368
8464
  source_component_id: string;
@@ -8386,9 +8482,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8386
8482
  display_value?: string | undefined;
8387
8483
  are_pins_interchangeable?: boolean | undefined;
8388
8484
  internally_connected_source_port_ids?: string[][] | undefined;
8389
- }>, z.ZodObject<z.objectUtil.extendShape<{
8485
+ }>, z.ZodObject<{
8390
8486
  type: z.ZodLiteral<"source_component">;
8391
- ftype: z.ZodOptional<z.ZodString>;
8392
8487
  source_component_id: z.ZodString;
8393
8488
  name: z.ZodString;
8394
8489
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8397,11 +8492,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8397
8492
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8398
8493
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8399
8494
  source_group_id: z.ZodOptional<z.ZodString>;
8400
- }, {
8495
+ } & {
8401
8496
  ftype: z.ZodLiteral<"simple_mosfet">;
8402
8497
  channel_type: z.ZodEnum<["n", "p"]>;
8403
8498
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
8404
- }>, "strip", z.ZodTypeAny, {
8499
+ }, "strip", z.ZodTypeAny, {
8405
8500
  type: "source_component";
8406
8501
  name: string;
8407
8502
  source_component_id: string;
@@ -8427,9 +8522,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8427
8522
  display_value?: string | undefined;
8428
8523
  are_pins_interchangeable?: boolean | undefined;
8429
8524
  internally_connected_source_port_ids?: string[][] | undefined;
8430
- }>, z.ZodObject<z.objectUtil.extendShape<{
8525
+ }>, z.ZodObject<{
8431
8526
  type: z.ZodLiteral<"source_component">;
8432
- ftype: z.ZodOptional<z.ZodString>;
8433
8527
  source_component_id: z.ZodString;
8434
8528
  name: z.ZodString;
8435
8529
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8438,10 +8532,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8438
8532
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8439
8533
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8440
8534
  source_group_id: z.ZodOptional<z.ZodString>;
8441
- }, {
8535
+ } & {
8442
8536
  ftype: z.ZodLiteral<"simple_potentiometer">;
8443
8537
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8444
- }>, "strip", z.ZodTypeAny, {
8538
+ }, "strip", z.ZodTypeAny, {
8445
8539
  type: "source_component";
8446
8540
  name: string;
8447
8541
  source_component_id: string;
@@ -8465,9 +8559,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8465
8559
  display_value?: string | undefined;
8466
8560
  are_pins_interchangeable?: boolean | undefined;
8467
8561
  internally_connected_source_port_ids?: string[][] | undefined;
8468
- }>, z.ZodObject<z.objectUtil.extendShape<{
8562
+ }>, z.ZodObject<{
8469
8563
  type: z.ZodLiteral<"source_component">;
8470
- ftype: z.ZodOptional<z.ZodString>;
8471
8564
  source_component_id: z.ZodString;
8472
8565
  name: z.ZodString;
8473
8566
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8476,9 +8569,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8476
8569
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8477
8570
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8478
8571
  source_group_id: z.ZodOptional<z.ZodString>;
8479
- }, {
8572
+ } & {
8480
8573
  ftype: z.ZodLiteral<"simple_push_button">;
8481
- }>, "strip", z.ZodTypeAny, {
8574
+ }, "strip", z.ZodTypeAny, {
8482
8575
  type: "source_component";
8483
8576
  name: string;
8484
8577
  source_component_id: string;
@@ -10423,12 +10516,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10423
10516
  message: string;
10424
10517
  type: "pcb_autorouting_error";
10425
10518
  pcb_error_id?: string | undefined;
10426
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
10519
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
10427
10520
  type: z.ZodLiteral<"pcb_cutout">;
10428
10521
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10429
10522
  pcb_group_id: z.ZodOptional<z.ZodString>;
10430
10523
  subcircuit_id: z.ZodOptional<z.ZodString>;
10431
- }, {
10524
+ } & {
10432
10525
  shape: z.ZodLiteral<"rect">;
10433
10526
  center: z.ZodObject<{
10434
10527
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10443,7 +10536,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10443
10536
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10444
10537
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10445
10538
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10446
- }>, "strip", z.ZodTypeAny, {
10539
+ }, "strip", z.ZodTypeAny, {
10447
10540
  type: "pcb_cutout";
10448
10541
  width: number;
10449
10542
  height: number;
@@ -10469,12 +10562,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10469
10562
  subcircuit_id?: string | undefined;
10470
10563
  pcb_group_id?: string | undefined;
10471
10564
  pcb_cutout_id?: string | undefined;
10472
- }>, z.ZodObject<z.objectUtil.extendShape<{
10565
+ }>, z.ZodObject<{
10473
10566
  type: z.ZodLiteral<"pcb_cutout">;
10474
10567
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10475
10568
  pcb_group_id: z.ZodOptional<z.ZodString>;
10476
10569
  subcircuit_id: z.ZodOptional<z.ZodString>;
10477
- }, {
10570
+ } & {
10478
10571
  shape: z.ZodLiteral<"circle">;
10479
10572
  center: z.ZodObject<{
10480
10573
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10487,7 +10580,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10487
10580
  y: string | number;
10488
10581
  }>;
10489
10582
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10490
- }>, "strip", z.ZodTypeAny, {
10583
+ }, "strip", z.ZodTypeAny, {
10491
10584
  type: "pcb_cutout";
10492
10585
  center: {
10493
10586
  x: number;
@@ -10509,12 +10602,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10509
10602
  subcircuit_id?: string | undefined;
10510
10603
  pcb_group_id?: string | undefined;
10511
10604
  pcb_cutout_id?: string | undefined;
10512
- }>, z.ZodObject<z.objectUtil.extendShape<{
10605
+ }>, z.ZodObject<{
10513
10606
  type: z.ZodLiteral<"pcb_cutout">;
10514
10607
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10515
10608
  pcb_group_id: z.ZodOptional<z.ZodString>;
10516
10609
  subcircuit_id: z.ZodOptional<z.ZodString>;
10517
- }, {
10610
+ } & {
10518
10611
  shape: z.ZodLiteral<"polygon">;
10519
10612
  points: z.ZodArray<z.ZodObject<{
10520
10613
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10526,7 +10619,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10526
10619
  x: string | number;
10527
10620
  y: string | number;
10528
10621
  }>, "many">;
10529
- }>, "strip", z.ZodTypeAny, {
10622
+ }, "strip", z.ZodTypeAny, {
10530
10623
  type: "pcb_cutout";
10531
10624
  shape: "polygon";
10532
10625
  pcb_cutout_id: string;
@@ -11137,10 +11230,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11137
11230
  symbol_name?: string | undefined;
11138
11231
  schematic_trace_id?: string | undefined;
11139
11232
  schematic_net_label_id?: string | undefined;
11140
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
11233
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
11141
11234
  type: z.ZodLiteral<"schematic_debug_object">;
11142
11235
  label: z.ZodOptional<z.ZodString>;
11143
- }, {
11236
+ } & {
11144
11237
  shape: z.ZodLiteral<"rect">;
11145
11238
  center: z.ZodObject<{
11146
11239
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11162,7 +11255,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11162
11255
  width: number;
11163
11256
  height: number;
11164
11257
  }>;
11165
- }>, "strip", z.ZodTypeAny, {
11258
+ }, "strip", z.ZodTypeAny, {
11166
11259
  type: "schematic_debug_object";
11167
11260
  center: {
11168
11261
  x: number;
@@ -11186,10 +11279,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11186
11279
  height: number;
11187
11280
  };
11188
11281
  label?: string | undefined;
11189
- }>, z.ZodObject<z.objectUtil.extendShape<{
11282
+ }>, z.ZodObject<{
11190
11283
  type: z.ZodLiteral<"schematic_debug_object">;
11191
11284
  label: z.ZodOptional<z.ZodString>;
11192
- }, {
11285
+ } & {
11193
11286
  shape: z.ZodLiteral<"line">;
11194
11287
  start: z.ZodObject<{
11195
11288
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11211,7 +11304,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11211
11304
  x: string | number;
11212
11305
  y: string | number;
11213
11306
  }>;
11214
- }>, "strip", z.ZodTypeAny, {
11307
+ }, "strip", z.ZodTypeAny, {
11215
11308
  type: "schematic_debug_object";
11216
11309
  shape: "line";
11217
11310
  start: {
@@ -11235,10 +11328,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11235
11328
  y: string | number;
11236
11329
  };
11237
11330
  label?: string | undefined;
11238
- }>, z.ZodObject<z.objectUtil.extendShape<{
11331
+ }>, z.ZodObject<{
11239
11332
  type: z.ZodLiteral<"schematic_debug_object">;
11240
11333
  label: z.ZodOptional<z.ZodString>;
11241
- }, {
11334
+ } & {
11242
11335
  shape: z.ZodLiteral<"point">;
11243
11336
  center: z.ZodObject<{
11244
11337
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11250,7 +11343,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11250
11343
  x: string | number;
11251
11344
  y: string | number;
11252
11345
  }>;
11253
- }>, "strip", z.ZodTypeAny, {
11346
+ }, "strip", z.ZodTypeAny, {
11254
11347
  type: "schematic_debug_object";
11255
11348
  center: {
11256
11349
  x: number;
@@ -11544,9 +11637,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11544
11637
  subcircuit_id?: string | undefined;
11545
11638
  port_hints?: string[] | undefined;
11546
11639
  pin_number?: number | undefined;
11547
- }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
11640
+ }>, z.ZodUnion<[z.ZodObject<{
11548
11641
  type: z.ZodLiteral<"source_component">;
11549
- ftype: z.ZodOptional<z.ZodString>;
11550
11642
  source_component_id: z.ZodString;
11551
11643
  name: z.ZodString;
11552
11644
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11555,11 +11647,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11555
11647
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11556
11648
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11557
11649
  source_group_id: z.ZodOptional<z.ZodString>;
11558
- }, {
11650
+ } & {
11559
11651
  ftype: z.ZodLiteral<"simple_resistor">;
11560
11652
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11561
11653
  display_resistance: z.ZodOptional<z.ZodString>;
11562
- }>, "strip", z.ZodTypeAny, {
11654
+ }, "strip", z.ZodTypeAny, {
11563
11655
  type: "source_component";
11564
11656
  name: string;
11565
11657
  source_component_id: string;
@@ -11585,9 +11677,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11585
11677
  are_pins_interchangeable?: boolean | undefined;
11586
11678
  internally_connected_source_port_ids?: string[][] | undefined;
11587
11679
  display_resistance?: string | undefined;
11588
- }>, z.ZodObject<z.objectUtil.extendShape<{
11680
+ }>, z.ZodObject<{
11589
11681
  type: z.ZodLiteral<"source_component">;
11590
- ftype: z.ZodOptional<z.ZodString>;
11591
11682
  source_component_id: z.ZodString;
11592
11683
  name: z.ZodString;
11593
11684
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11596,13 +11687,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11596
11687
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11597
11688
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11598
11689
  source_group_id: z.ZodOptional<z.ZodString>;
11599
- }, {
11690
+ } & {
11600
11691
  ftype: z.ZodLiteral<"simple_capacitor">;
11601
11692
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
11602
11693
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11603
11694
  display_capacitance: z.ZodOptional<z.ZodString>;
11604
11695
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11605
- }>, "strip", z.ZodTypeAny, {
11696
+ }, "strip", z.ZodTypeAny, {
11606
11697
  type: "source_component";
11607
11698
  name: string;
11608
11699
  source_component_id: string;
@@ -11632,9 +11723,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11632
11723
  max_voltage_rating?: string | number | undefined;
11633
11724
  display_capacitance?: string | undefined;
11634
11725
  max_decoupling_trace_length?: string | number | undefined;
11635
- }>, z.ZodObject<z.objectUtil.extendShape<{
11726
+ }>, z.ZodObject<{
11636
11727
  type: z.ZodLiteral<"source_component">;
11637
- ftype: z.ZodOptional<z.ZodString>;
11638
11728
  source_component_id: z.ZodString;
11639
11729
  name: z.ZodString;
11640
11730
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11643,9 +11733,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11643
11733
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11644
11734
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11645
11735
  source_group_id: z.ZodOptional<z.ZodString>;
11646
- }, {
11736
+ } & {
11647
11737
  ftype: z.ZodLiteral<"simple_diode">;
11648
- }>, "strip", z.ZodTypeAny, {
11738
+ }, "strip", z.ZodTypeAny, {
11649
11739
  type: "source_component";
11650
11740
  name: string;
11651
11741
  source_component_id: string;
@@ -11667,9 +11757,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11667
11757
  display_value?: string | undefined;
11668
11758
  are_pins_interchangeable?: boolean | undefined;
11669
11759
  internally_connected_source_port_ids?: string[][] | undefined;
11670
- }>, z.ZodObject<z.objectUtil.extendShape<{
11760
+ }>, z.ZodObject<{
11671
11761
  type: z.ZodLiteral<"source_component">;
11672
- ftype: z.ZodOptional<z.ZodString>;
11673
11762
  source_component_id: z.ZodString;
11674
11763
  name: z.ZodString;
11675
11764
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11678,9 +11767,49 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11678
11767
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11679
11768
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11680
11769
  source_group_id: z.ZodOptional<z.ZodString>;
11770
+ } & {
11771
+ ftype: z.ZodLiteral<"simple_led">;
11772
+ color: z.ZodOptional<z.ZodString>;
11773
+ wavelength: z.ZodOptional<z.ZodString>;
11774
+ }, "strip", z.ZodTypeAny, {
11775
+ type: "source_component";
11776
+ name: string;
11777
+ source_component_id: string;
11778
+ ftype: "simple_led";
11779
+ color?: string | undefined;
11780
+ source_group_id?: string | undefined;
11781
+ manufacturer_part_number?: string | undefined;
11782
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
11783
+ display_value?: string | undefined;
11784
+ are_pins_interchangeable?: boolean | undefined;
11785
+ internally_connected_source_port_ids?: string[][] | undefined;
11786
+ wavelength?: string | undefined;
11681
11787
  }, {
11788
+ type: "source_component";
11789
+ name: string;
11790
+ source_component_id: string;
11791
+ ftype: "simple_led";
11792
+ color?: string | undefined;
11793
+ source_group_id?: string | undefined;
11794
+ manufacturer_part_number?: string | undefined;
11795
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
11796
+ display_value?: string | undefined;
11797
+ are_pins_interchangeable?: boolean | undefined;
11798
+ internally_connected_source_port_ids?: string[][] | undefined;
11799
+ wavelength?: string | undefined;
11800
+ }>, z.ZodObject<{
11801
+ type: z.ZodLiteral<"source_component">;
11802
+ source_component_id: z.ZodString;
11803
+ name: z.ZodString;
11804
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
11805
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
11806
+ display_value: z.ZodOptional<z.ZodString>;
11807
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11808
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11809
+ source_group_id: z.ZodOptional<z.ZodString>;
11810
+ } & {
11682
11811
  ftype: z.ZodLiteral<"simple_ground">;
11683
- }>, "strip", z.ZodTypeAny, {
11812
+ }, "strip", z.ZodTypeAny, {
11684
11813
  type: "source_component";
11685
11814
  name: string;
11686
11815
  source_component_id: string;
@@ -11702,9 +11831,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11702
11831
  display_value?: string | undefined;
11703
11832
  are_pins_interchangeable?: boolean | undefined;
11704
11833
  internally_connected_source_port_ids?: string[][] | undefined;
11705
- }>, z.ZodObject<z.objectUtil.extendShape<{
11834
+ }>, z.ZodObject<{
11706
11835
  type: z.ZodLiteral<"source_component">;
11707
- ftype: z.ZodOptional<z.ZodString>;
11708
11836
  source_component_id: z.ZodString;
11709
11837
  name: z.ZodString;
11710
11838
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11713,9 +11841,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11713
11841
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11714
11842
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11715
11843
  source_group_id: z.ZodOptional<z.ZodString>;
11716
- }, {
11844
+ } & {
11717
11845
  ftype: z.ZodLiteral<"simple_chip">;
11718
- }>, "strip", z.ZodTypeAny, {
11846
+ }, "strip", z.ZodTypeAny, {
11719
11847
  type: "source_component";
11720
11848
  name: string;
11721
11849
  source_component_id: string;
@@ -11737,9 +11865,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11737
11865
  display_value?: string | undefined;
11738
11866
  are_pins_interchangeable?: boolean | undefined;
11739
11867
  internally_connected_source_port_ids?: string[][] | undefined;
11740
- }>, z.ZodObject<z.objectUtil.extendShape<{
11868
+ }>, z.ZodObject<{
11741
11869
  type: z.ZodLiteral<"source_component">;
11742
- ftype: z.ZodOptional<z.ZodString>;
11743
11870
  source_component_id: z.ZodString;
11744
11871
  name: z.ZodString;
11745
11872
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11748,9 +11875,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11748
11875
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11749
11876
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11750
11877
  source_group_id: z.ZodOptional<z.ZodString>;
11751
- }, {
11878
+ } & {
11752
11879
  ftype: z.ZodLiteral<"simple_bug">;
11753
- }>, "strip", z.ZodTypeAny, {
11880
+ }, "strip", z.ZodTypeAny, {
11754
11881
  type: "source_component";
11755
11882
  name: string;
11756
11883
  source_component_id: string;
@@ -11772,9 +11899,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11772
11899
  display_value?: string | undefined;
11773
11900
  are_pins_interchangeable?: boolean | undefined;
11774
11901
  internally_connected_source_port_ids?: string[][] | undefined;
11775
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
11902
+ }>, z.ZodObject<{
11776
11903
  type: z.ZodLiteral<"source_component">;
11777
- ftype: z.ZodOptional<z.ZodString>;
11778
11904
  source_component_id: z.ZodString;
11779
11905
  name: z.ZodString;
11780
11906
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11783,11 +11909,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11783
11909
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11784
11910
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11785
11911
  source_group_id: z.ZodOptional<z.ZodString>;
11786
- }, {
11787
- ftype: z.ZodLiteral<"simple_diode">;
11788
- }>, {
11912
+ } & {
11789
11913
  ftype: z.ZodLiteral<"led">;
11790
- }>, "strip", z.ZodTypeAny, {
11914
+ }, "strip", z.ZodTypeAny, {
11791
11915
  type: "source_component";
11792
11916
  name: string;
11793
11917
  source_component_id: string;
@@ -11809,9 +11933,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11809
11933
  display_value?: string | undefined;
11810
11934
  are_pins_interchangeable?: boolean | undefined;
11811
11935
  internally_connected_source_port_ids?: string[][] | undefined;
11812
- }>, z.ZodObject<z.objectUtil.extendShape<{
11936
+ }>, z.ZodObject<{
11813
11937
  type: z.ZodLiteral<"source_component">;
11814
- ftype: z.ZodOptional<z.ZodString>;
11815
11938
  source_component_id: z.ZodString;
11816
11939
  name: z.ZodString;
11817
11940
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11820,10 +11943,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11820
11943
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11821
11944
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11822
11945
  source_group_id: z.ZodOptional<z.ZodString>;
11823
- }, {
11946
+ } & {
11824
11947
  ftype: z.ZodLiteral<"simple_power_source">;
11825
11948
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11826
- }>, "strip", z.ZodTypeAny, {
11949
+ }, "strip", z.ZodTypeAny, {
11827
11950
  type: "source_component";
11828
11951
  name: string;
11829
11952
  source_component_id: string;
@@ -11847,9 +11970,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11847
11970
  display_value?: string | undefined;
11848
11971
  are_pins_interchangeable?: boolean | undefined;
11849
11972
  internally_connected_source_port_ids?: string[][] | undefined;
11850
- }>, z.ZodObject<z.objectUtil.extendShape<{
11973
+ }>, z.ZodObject<{
11851
11974
  type: z.ZodLiteral<"source_component">;
11852
- ftype: z.ZodOptional<z.ZodString>;
11853
11975
  source_component_id: z.ZodString;
11854
11976
  name: z.ZodString;
11855
11977
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11858,10 +11980,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11858
11980
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11859
11981
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11860
11982
  source_group_id: z.ZodOptional<z.ZodString>;
11861
- }, {
11983
+ } & {
11862
11984
  ftype: z.ZodLiteral<"simple_battery">;
11863
11985
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
11864
- }>, "strip", z.ZodTypeAny, {
11986
+ }, "strip", z.ZodTypeAny, {
11865
11987
  type: "source_component";
11866
11988
  name: string;
11867
11989
  source_component_id: string;
@@ -11885,9 +12007,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11885
12007
  display_value?: string | undefined;
11886
12008
  are_pins_interchangeable?: boolean | undefined;
11887
12009
  internally_connected_source_port_ids?: string[][] | undefined;
11888
- }>, z.ZodObject<z.objectUtil.extendShape<{
12010
+ }>, z.ZodObject<{
11889
12011
  type: z.ZodLiteral<"source_component">;
11890
- ftype: z.ZodOptional<z.ZodString>;
11891
12012
  source_component_id: z.ZodString;
11892
12013
  name: z.ZodString;
11893
12014
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11896,10 +12017,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11896
12017
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11897
12018
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11898
12019
  source_group_id: z.ZodOptional<z.ZodString>;
11899
- }, {
12020
+ } & {
11900
12021
  ftype: z.ZodLiteral<"simple_inductor">;
11901
12022
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11902
- }>, "strip", z.ZodTypeAny, {
12023
+ }, "strip", z.ZodTypeAny, {
11903
12024
  type: "source_component";
11904
12025
  name: string;
11905
12026
  source_component_id: string;
@@ -11923,9 +12044,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11923
12044
  display_value?: string | undefined;
11924
12045
  are_pins_interchangeable?: boolean | undefined;
11925
12046
  internally_connected_source_port_ids?: string[][] | undefined;
11926
- }>, z.ZodObject<z.objectUtil.extendShape<{
12047
+ }>, z.ZodObject<{
11927
12048
  type: z.ZodLiteral<"source_component">;
11928
- ftype: z.ZodOptional<z.ZodString>;
11929
12049
  source_component_id: z.ZodString;
11930
12050
  name: z.ZodString;
11931
12051
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11934,9 +12054,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11934
12054
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11935
12055
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11936
12056
  source_group_id: z.ZodOptional<z.ZodString>;
11937
- }, {
12057
+ } & {
11938
12058
  ftype: z.ZodLiteral<"simple_push_button">;
11939
- }>, "strip", z.ZodTypeAny, {
12059
+ }, "strip", z.ZodTypeAny, {
11940
12060
  type: "source_component";
11941
12061
  name: string;
11942
12062
  source_component_id: string;
@@ -11958,9 +12078,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11958
12078
  display_value?: string | undefined;
11959
12079
  are_pins_interchangeable?: boolean | undefined;
11960
12080
  internally_connected_source_port_ids?: string[][] | undefined;
11961
- }>, z.ZodObject<z.objectUtil.extendShape<{
12081
+ }>, z.ZodObject<{
11962
12082
  type: z.ZodLiteral<"source_component">;
11963
- ftype: z.ZodOptional<z.ZodString>;
11964
12083
  source_component_id: z.ZodString;
11965
12084
  name: z.ZodString;
11966
12085
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -11969,10 +12088,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11969
12088
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11970
12089
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11971
12090
  source_group_id: z.ZodOptional<z.ZodString>;
11972
- }, {
12091
+ } & {
11973
12092
  ftype: z.ZodLiteral<"simple_potentiometer">;
11974
12093
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11975
- }>, "strip", z.ZodTypeAny, {
12094
+ }, "strip", z.ZodTypeAny, {
11976
12095
  type: "source_component";
11977
12096
  name: string;
11978
12097
  source_component_id: string;
@@ -11996,9 +12115,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11996
12115
  display_value?: string | undefined;
11997
12116
  are_pins_interchangeable?: boolean | undefined;
11998
12117
  internally_connected_source_port_ids?: string[][] | undefined;
11999
- }>, z.ZodObject<z.objectUtil.extendShape<{
12118
+ }>, z.ZodObject<{
12000
12119
  type: z.ZodLiteral<"source_component">;
12001
- ftype: z.ZodOptional<z.ZodString>;
12002
12120
  source_component_id: z.ZodString;
12003
12121
  name: z.ZodString;
12004
12122
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12007,11 +12125,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12007
12125
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12008
12126
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12009
12127
  source_group_id: z.ZodOptional<z.ZodString>;
12010
- }, {
12128
+ } & {
12011
12129
  ftype: z.ZodLiteral<"simple_crystal">;
12012
12130
  frequency: z.ZodNumber;
12013
12131
  load_capacitance: z.ZodOptional<z.ZodNumber>;
12014
- }>, "strip", z.ZodTypeAny, {
12132
+ }, "strip", z.ZodTypeAny, {
12015
12133
  type: "source_component";
12016
12134
  name: string;
12017
12135
  source_component_id: string;
@@ -12037,9 +12155,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12037
12155
  are_pins_interchangeable?: boolean | undefined;
12038
12156
  internally_connected_source_port_ids?: string[][] | undefined;
12039
12157
  load_capacitance?: number | undefined;
12040
- }>, z.ZodObject<z.objectUtil.extendShape<{
12158
+ }>, z.ZodObject<{
12041
12159
  type: z.ZodLiteral<"source_component">;
12042
- ftype: z.ZodOptional<z.ZodString>;
12043
12160
  source_component_id: z.ZodString;
12044
12161
  name: z.ZodString;
12045
12162
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12048,11 +12165,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12048
12165
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12049
12166
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12050
12167
  source_group_id: z.ZodOptional<z.ZodString>;
12051
- }, {
12168
+ } & {
12052
12169
  ftype: z.ZodLiteral<"simple_pin_header">;
12053
12170
  pin_count: z.ZodNumber;
12054
12171
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
12055
- }>, "strip", z.ZodTypeAny, {
12172
+ }, "strip", z.ZodTypeAny, {
12056
12173
  type: "source_component";
12057
12174
  name: string;
12058
12175
  source_component_id: string;
@@ -12078,9 +12195,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12078
12195
  are_pins_interchangeable?: boolean | undefined;
12079
12196
  internally_connected_source_port_ids?: string[][] | undefined;
12080
12197
  gender?: "male" | "female" | undefined;
12081
- }>, z.ZodObject<z.objectUtil.extendShape<{
12198
+ }>, z.ZodObject<{
12082
12199
  type: z.ZodLiteral<"source_component">;
12083
- ftype: z.ZodOptional<z.ZodString>;
12084
12200
  source_component_id: z.ZodString;
12085
12201
  name: z.ZodString;
12086
12202
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12089,12 +12205,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12089
12205
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12090
12206
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12091
12207
  source_group_id: z.ZodOptional<z.ZodString>;
12092
- }, {
12208
+ } & {
12093
12209
  ftype: z.ZodLiteral<"simple_resonator">;
12094
12210
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
12095
12211
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12096
12212
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12097
- }>, "strip", z.ZodTypeAny, {
12213
+ }, "strip", z.ZodTypeAny, {
12098
12214
  type: "source_component";
12099
12215
  name: string;
12100
12216
  source_component_id: string;
@@ -12122,9 +12238,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12122
12238
  are_pins_interchangeable?: boolean | undefined;
12123
12239
  internally_connected_source_port_ids?: string[][] | undefined;
12124
12240
  equivalent_series_resistance?: string | number | undefined;
12125
- }>, z.ZodObject<z.objectUtil.extendShape<{
12241
+ }>, z.ZodObject<{
12126
12242
  type: z.ZodLiteral<"source_component">;
12127
- ftype: z.ZodOptional<z.ZodString>;
12128
12243
  source_component_id: z.ZodString;
12129
12244
  name: z.ZodString;
12130
12245
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12133,9 +12248,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12133
12248
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12134
12249
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12135
12250
  source_group_id: z.ZodOptional<z.ZodString>;
12136
- }, {
12251
+ } & {
12137
12252
  ftype: z.ZodLiteral<"simple_switch">;
12138
- }>, "strip", z.ZodTypeAny, {
12253
+ }, "strip", z.ZodTypeAny, {
12139
12254
  type: "source_component";
12140
12255
  name: string;
12141
12256
  source_component_id: string;
@@ -12157,9 +12272,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12157
12272
  display_value?: string | undefined;
12158
12273
  are_pins_interchangeable?: boolean | undefined;
12159
12274
  internally_connected_source_port_ids?: string[][] | undefined;
12160
- }>, z.ZodObject<z.objectUtil.extendShape<{
12275
+ }>, z.ZodObject<{
12161
12276
  type: z.ZodLiteral<"source_component">;
12162
- ftype: z.ZodOptional<z.ZodString>;
12163
12277
  source_component_id: z.ZodString;
12164
12278
  name: z.ZodString;
12165
12279
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12168,10 +12282,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12168
12282
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12169
12283
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12170
12284
  source_group_id: z.ZodOptional<z.ZodString>;
12171
- }, {
12285
+ } & {
12172
12286
  ftype: z.ZodLiteral<"simple_transistor">;
12173
12287
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
12174
- }>, "strip", z.ZodTypeAny, {
12288
+ }, "strip", z.ZodTypeAny, {
12175
12289
  type: "source_component";
12176
12290
  name: string;
12177
12291
  source_component_id: string;
@@ -12195,9 +12309,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12195
12309
  display_value?: string | undefined;
12196
12310
  are_pins_interchangeable?: boolean | undefined;
12197
12311
  internally_connected_source_port_ids?: string[][] | undefined;
12198
- }>, z.ZodObject<z.objectUtil.extendShape<{
12312
+ }>, z.ZodObject<{
12199
12313
  type: z.ZodLiteral<"source_component">;
12200
- ftype: z.ZodOptional<z.ZodString>;
12201
12314
  source_component_id: z.ZodString;
12202
12315
  name: z.ZodString;
12203
12316
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12206,11 +12319,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12206
12319
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12207
12320
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12208
12321
  source_group_id: z.ZodOptional<z.ZodString>;
12209
- }, {
12322
+ } & {
12210
12323
  ftype: z.ZodLiteral<"simple_mosfet">;
12211
12324
  channel_type: z.ZodEnum<["n", "p"]>;
12212
12325
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
12213
- }>, "strip", z.ZodTypeAny, {
12326
+ }, "strip", z.ZodTypeAny, {
12214
12327
  type: "source_component";
12215
12328
  name: string;
12216
12329
  source_component_id: string;
@@ -12329,9 +12442,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12329
12442
  x?: number | undefined;
12330
12443
  y?: number | undefined;
12331
12444
  } | undefined;
12332
- }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
12445
+ }>]>, z.ZodObject<{
12333
12446
  type: z.ZodLiteral<"source_component">;
12334
- ftype: z.ZodOptional<z.ZodString>;
12335
12447
  source_component_id: z.ZodString;
12336
12448
  name: z.ZodString;
12337
12449
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12340,11 +12452,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12340
12452
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12341
12453
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12342
12454
  source_group_id: z.ZodOptional<z.ZodString>;
12343
- }, {
12344
- ftype: z.ZodLiteral<"simple_diode">;
12345
- }>, {
12455
+ } & {
12346
12456
  ftype: z.ZodLiteral<"led">;
12347
- }>, "strip", z.ZodTypeAny, {
12457
+ }, "strip", z.ZodTypeAny, {
12348
12458
  type: "source_component";
12349
12459
  name: string;
12350
12460
  source_component_id: string;
@@ -12420,9 +12530,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12420
12530
  subcircuit_id?: string | undefined;
12421
12531
  is_subcircuit?: boolean | undefined;
12422
12532
  parent_subcircuit_id?: string | undefined;
12423
- }>, z.ZodObject<z.objectUtil.extendShape<{
12533
+ }>, z.ZodObject<{
12424
12534
  type: z.ZodLiteral<"source_component">;
12425
- ftype: z.ZodOptional<z.ZodString>;
12426
12535
  source_component_id: z.ZodString;
12427
12536
  name: z.ZodString;
12428
12537
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12431,9 +12540,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12431
12540
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12432
12541
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12433
12542
  source_group_id: z.ZodOptional<z.ZodString>;
12434
- }, {
12543
+ } & {
12435
12544
  ftype: z.ZodLiteral<"simple_bug">;
12436
- }>, "strip", z.ZodTypeAny, {
12545
+ }, "strip", z.ZodTypeAny, {
12437
12546
  type: "source_component";
12438
12547
  name: string;
12439
12548
  source_component_id: string;
@@ -12455,9 +12564,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12455
12564
  display_value?: string | undefined;
12456
12565
  are_pins_interchangeable?: boolean | undefined;
12457
12566
  internally_connected_source_port_ids?: string[][] | undefined;
12458
- }>, z.ZodObject<z.objectUtil.extendShape<{
12567
+ }>, z.ZodObject<{
12459
12568
  type: z.ZodLiteral<"source_component">;
12460
- ftype: z.ZodOptional<z.ZodString>;
12461
12569
  source_component_id: z.ZodString;
12462
12570
  name: z.ZodString;
12463
12571
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12466,9 +12574,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12466
12574
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12467
12575
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12468
12576
  source_group_id: z.ZodOptional<z.ZodString>;
12469
- }, {
12577
+ } & {
12470
12578
  ftype: z.ZodLiteral<"simple_chip">;
12471
- }>, "strip", z.ZodTypeAny, {
12579
+ }, "strip", z.ZodTypeAny, {
12472
12580
  type: "source_component";
12473
12581
  name: string;
12474
12582
  source_component_id: string;
@@ -12490,9 +12598,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12490
12598
  display_value?: string | undefined;
12491
12599
  are_pins_interchangeable?: boolean | undefined;
12492
12600
  internally_connected_source_port_ids?: string[][] | undefined;
12493
- }>, z.ZodObject<z.objectUtil.extendShape<{
12601
+ }>, z.ZodObject<{
12494
12602
  type: z.ZodLiteral<"source_component">;
12495
- ftype: z.ZodOptional<z.ZodString>;
12496
12603
  source_component_id: z.ZodString;
12497
12604
  name: z.ZodString;
12498
12605
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12501,13 +12608,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12501
12608
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12502
12609
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12503
12610
  source_group_id: z.ZodOptional<z.ZodString>;
12504
- }, {
12611
+ } & {
12505
12612
  ftype: z.ZodLiteral<"simple_capacitor">;
12506
12613
  capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
12507
12614
  max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12508
12615
  display_capacitance: z.ZodOptional<z.ZodString>;
12509
12616
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12510
- }>, "strip", z.ZodTypeAny, {
12617
+ }, "strip", z.ZodTypeAny, {
12511
12618
  type: "source_component";
12512
12619
  name: string;
12513
12620
  source_component_id: string;
@@ -12537,9 +12644,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12537
12644
  max_voltage_rating?: string | number | undefined;
12538
12645
  display_capacitance?: string | undefined;
12539
12646
  max_decoupling_trace_length?: string | number | undefined;
12540
- }>, z.ZodObject<z.objectUtil.extendShape<{
12647
+ }>, z.ZodObject<{
12541
12648
  type: z.ZodLiteral<"source_component">;
12542
- ftype: z.ZodOptional<z.ZodString>;
12543
12649
  source_component_id: z.ZodString;
12544
12650
  name: z.ZodString;
12545
12651
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12548,9 +12654,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12548
12654
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12549
12655
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12550
12656
  source_group_id: z.ZodOptional<z.ZodString>;
12551
- }, {
12657
+ } & {
12552
12658
  ftype: z.ZodLiteral<"simple_diode">;
12553
- }>, "strip", z.ZodTypeAny, {
12659
+ }, "strip", z.ZodTypeAny, {
12554
12660
  type: "source_component";
12555
12661
  name: string;
12556
12662
  source_component_id: string;
@@ -12572,9 +12678,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12572
12678
  display_value?: string | undefined;
12573
12679
  are_pins_interchangeable?: boolean | undefined;
12574
12680
  internally_connected_source_port_ids?: string[][] | undefined;
12575
- }>, z.ZodObject<z.objectUtil.extendShape<{
12681
+ }>, z.ZodObject<{
12576
12682
  type: z.ZodLiteral<"source_component">;
12577
- ftype: z.ZodOptional<z.ZodString>;
12578
12683
  source_component_id: z.ZodString;
12579
12684
  name: z.ZodString;
12580
12685
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12583,11 +12688,51 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12583
12688
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12584
12689
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12585
12690
  source_group_id: z.ZodOptional<z.ZodString>;
12691
+ } & {
12692
+ ftype: z.ZodLiteral<"simple_led">;
12693
+ color: z.ZodOptional<z.ZodString>;
12694
+ wavelength: z.ZodOptional<z.ZodString>;
12695
+ }, "strip", z.ZodTypeAny, {
12696
+ type: "source_component";
12697
+ name: string;
12698
+ source_component_id: string;
12699
+ ftype: "simple_led";
12700
+ color?: string | undefined;
12701
+ source_group_id?: string | undefined;
12702
+ manufacturer_part_number?: string | undefined;
12703
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12704
+ display_value?: string | undefined;
12705
+ are_pins_interchangeable?: boolean | undefined;
12706
+ internally_connected_source_port_ids?: string[][] | undefined;
12707
+ wavelength?: string | undefined;
12586
12708
  }, {
12709
+ type: "source_component";
12710
+ name: string;
12711
+ source_component_id: string;
12712
+ ftype: "simple_led";
12713
+ color?: string | undefined;
12714
+ source_group_id?: string | undefined;
12715
+ manufacturer_part_number?: string | undefined;
12716
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12717
+ display_value?: string | undefined;
12718
+ are_pins_interchangeable?: boolean | undefined;
12719
+ internally_connected_source_port_ids?: string[][] | undefined;
12720
+ wavelength?: string | undefined;
12721
+ }>, z.ZodObject<{
12722
+ type: z.ZodLiteral<"source_component">;
12723
+ source_component_id: z.ZodString;
12724
+ name: z.ZodString;
12725
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
12726
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
12727
+ display_value: z.ZodOptional<z.ZodString>;
12728
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12729
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12730
+ source_group_id: z.ZodOptional<z.ZodString>;
12731
+ } & {
12587
12732
  ftype: z.ZodLiteral<"simple_resistor">;
12588
12733
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12589
12734
  display_resistance: z.ZodOptional<z.ZodString>;
12590
- }>, "strip", z.ZodTypeAny, {
12735
+ }, "strip", z.ZodTypeAny, {
12591
12736
  type: "source_component";
12592
12737
  name: string;
12593
12738
  source_component_id: string;
@@ -12613,9 +12758,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12613
12758
  are_pins_interchangeable?: boolean | undefined;
12614
12759
  internally_connected_source_port_ids?: string[][] | undefined;
12615
12760
  display_resistance?: string | undefined;
12616
- }>, z.ZodObject<z.objectUtil.extendShape<{
12761
+ }>, z.ZodObject<{
12617
12762
  type: z.ZodLiteral<"source_component">;
12618
- ftype: z.ZodOptional<z.ZodString>;
12619
12763
  source_component_id: z.ZodString;
12620
12764
  name: z.ZodString;
12621
12765
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12624,10 +12768,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12624
12768
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12625
12769
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12626
12770
  source_group_id: z.ZodOptional<z.ZodString>;
12627
- }, {
12771
+ } & {
12628
12772
  ftype: z.ZodLiteral<"simple_power_source">;
12629
12773
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12630
- }>, "strip", z.ZodTypeAny, {
12774
+ }, "strip", z.ZodTypeAny, {
12631
12775
  type: "source_component";
12632
12776
  name: string;
12633
12777
  source_component_id: string;
@@ -12651,9 +12795,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12651
12795
  display_value?: string | undefined;
12652
12796
  are_pins_interchangeable?: boolean | undefined;
12653
12797
  internally_connected_source_port_ids?: string[][] | undefined;
12654
- }>, z.ZodObject<z.objectUtil.extendShape<{
12798
+ }>, z.ZodObject<{
12655
12799
  type: z.ZodLiteral<"source_component">;
12656
- ftype: z.ZodOptional<z.ZodString>;
12657
12800
  source_component_id: z.ZodString;
12658
12801
  name: z.ZodString;
12659
12802
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12662,10 +12805,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12662
12805
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12663
12806
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12664
12807
  source_group_id: z.ZodOptional<z.ZodString>;
12665
- }, {
12808
+ } & {
12666
12809
  ftype: z.ZodLiteral<"simple_battery">;
12667
12810
  capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
12668
- }>, "strip", z.ZodTypeAny, {
12811
+ }, "strip", z.ZodTypeAny, {
12669
12812
  type: "source_component";
12670
12813
  name: string;
12671
12814
  source_component_id: string;
@@ -12689,9 +12832,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12689
12832
  display_value?: string | undefined;
12690
12833
  are_pins_interchangeable?: boolean | undefined;
12691
12834
  internally_connected_source_port_ids?: string[][] | undefined;
12692
- }>, z.ZodObject<z.objectUtil.extendShape<{
12835
+ }>, z.ZodObject<{
12693
12836
  type: z.ZodLiteral<"source_component">;
12694
- ftype: z.ZodOptional<z.ZodString>;
12695
12837
  source_component_id: z.ZodString;
12696
12838
  name: z.ZodString;
12697
12839
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12700,10 +12842,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12700
12842
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12701
12843
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12702
12844
  source_group_id: z.ZodOptional<z.ZodString>;
12703
- }, {
12845
+ } & {
12704
12846
  ftype: z.ZodLiteral<"simple_inductor">;
12705
12847
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12706
- }>, "strip", z.ZodTypeAny, {
12848
+ }, "strip", z.ZodTypeAny, {
12707
12849
  type: "source_component";
12708
12850
  name: string;
12709
12851
  source_component_id: string;
@@ -12727,9 +12869,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12727
12869
  display_value?: string | undefined;
12728
12870
  are_pins_interchangeable?: boolean | undefined;
12729
12871
  internally_connected_source_port_ids?: string[][] | undefined;
12730
- }>, z.ZodObject<z.objectUtil.extendShape<{
12872
+ }>, z.ZodObject<{
12731
12873
  type: z.ZodLiteral<"source_component">;
12732
- ftype: z.ZodOptional<z.ZodString>;
12733
12874
  source_component_id: z.ZodString;
12734
12875
  name: z.ZodString;
12735
12876
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12738,11 +12879,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12738
12879
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12739
12880
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12740
12881
  source_group_id: z.ZodOptional<z.ZodString>;
12741
- }, {
12882
+ } & {
12742
12883
  ftype: z.ZodLiteral<"simple_pin_header">;
12743
12884
  pin_count: z.ZodNumber;
12744
12885
  gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
12745
- }>, "strip", z.ZodTypeAny, {
12886
+ }, "strip", z.ZodTypeAny, {
12746
12887
  type: "source_component";
12747
12888
  name: string;
12748
12889
  source_component_id: string;
@@ -12768,9 +12909,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12768
12909
  are_pins_interchangeable?: boolean | undefined;
12769
12910
  internally_connected_source_port_ids?: string[][] | undefined;
12770
12911
  gender?: "male" | "female" | undefined;
12771
- }>, z.ZodObject<z.objectUtil.extendShape<{
12912
+ }>, z.ZodObject<{
12772
12913
  type: z.ZodLiteral<"source_component">;
12773
- ftype: z.ZodOptional<z.ZodString>;
12774
12914
  source_component_id: z.ZodString;
12775
12915
  name: z.ZodString;
12776
12916
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12779,12 +12919,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12779
12919
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12780
12920
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12781
12921
  source_group_id: z.ZodOptional<z.ZodString>;
12782
- }, {
12922
+ } & {
12783
12923
  ftype: z.ZodLiteral<"simple_resonator">;
12784
12924
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
12785
12925
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12786
12926
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12787
- }>, "strip", z.ZodTypeAny, {
12927
+ }, "strip", z.ZodTypeAny, {
12788
12928
  type: "source_component";
12789
12929
  name: string;
12790
12930
  source_component_id: string;
@@ -12812,9 +12952,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12812
12952
  are_pins_interchangeable?: boolean | undefined;
12813
12953
  internally_connected_source_port_ids?: string[][] | undefined;
12814
12954
  equivalent_series_resistance?: string | number | undefined;
12815
- }>, z.ZodObject<z.objectUtil.extendShape<{
12955
+ }>, z.ZodObject<{
12816
12956
  type: z.ZodLiteral<"source_component">;
12817
- ftype: z.ZodOptional<z.ZodString>;
12818
12957
  source_component_id: z.ZodString;
12819
12958
  name: z.ZodString;
12820
12959
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12823,9 +12962,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12823
12962
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12824
12963
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12825
12964
  source_group_id: z.ZodOptional<z.ZodString>;
12826
- }, {
12965
+ } & {
12827
12966
  ftype: z.ZodLiteral<"simple_switch">;
12828
- }>, "strip", z.ZodTypeAny, {
12967
+ }, "strip", z.ZodTypeAny, {
12829
12968
  type: "source_component";
12830
12969
  name: string;
12831
12970
  source_component_id: string;
@@ -12847,9 +12986,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12847
12986
  display_value?: string | undefined;
12848
12987
  are_pins_interchangeable?: boolean | undefined;
12849
12988
  internally_connected_source_port_ids?: string[][] | undefined;
12850
- }>, z.ZodObject<z.objectUtil.extendShape<{
12989
+ }>, z.ZodObject<{
12851
12990
  type: z.ZodLiteral<"source_component">;
12852
- ftype: z.ZodOptional<z.ZodString>;
12853
12991
  source_component_id: z.ZodString;
12854
12992
  name: z.ZodString;
12855
12993
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12858,10 +12996,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12858
12996
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12859
12997
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12860
12998
  source_group_id: z.ZodOptional<z.ZodString>;
12861
- }, {
12999
+ } & {
12862
13000
  ftype: z.ZodLiteral<"simple_transistor">;
12863
13001
  transistor_type: z.ZodEnum<["npn", "pnp"]>;
12864
- }>, "strip", z.ZodTypeAny, {
13002
+ }, "strip", z.ZodTypeAny, {
12865
13003
  type: "source_component";
12866
13004
  name: string;
12867
13005
  source_component_id: string;
@@ -12885,9 +13023,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12885
13023
  display_value?: string | undefined;
12886
13024
  are_pins_interchangeable?: boolean | undefined;
12887
13025
  internally_connected_source_port_ids?: string[][] | undefined;
12888
- }>, z.ZodObject<z.objectUtil.extendShape<{
13026
+ }>, z.ZodObject<{
12889
13027
  type: z.ZodLiteral<"source_component">;
12890
- ftype: z.ZodOptional<z.ZodString>;
12891
13028
  source_component_id: z.ZodString;
12892
13029
  name: z.ZodString;
12893
13030
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12896,11 +13033,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12896
13033
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12897
13034
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12898
13035
  source_group_id: z.ZodOptional<z.ZodString>;
12899
- }, {
13036
+ } & {
12900
13037
  ftype: z.ZodLiteral<"simple_mosfet">;
12901
13038
  channel_type: z.ZodEnum<["n", "p"]>;
12902
13039
  mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
12903
- }>, "strip", z.ZodTypeAny, {
13040
+ }, "strip", z.ZodTypeAny, {
12904
13041
  type: "source_component";
12905
13042
  name: string;
12906
13043
  source_component_id: string;
@@ -12926,9 +13063,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12926
13063
  display_value?: string | undefined;
12927
13064
  are_pins_interchangeable?: boolean | undefined;
12928
13065
  internally_connected_source_port_ids?: string[][] | undefined;
12929
- }>, z.ZodObject<z.objectUtil.extendShape<{
13066
+ }>, z.ZodObject<{
12930
13067
  type: z.ZodLiteral<"source_component">;
12931
- ftype: z.ZodOptional<z.ZodString>;
12932
13068
  source_component_id: z.ZodString;
12933
13069
  name: z.ZodString;
12934
13070
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12937,10 +13073,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12937
13073
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12938
13074
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12939
13075
  source_group_id: z.ZodOptional<z.ZodString>;
12940
- }, {
13076
+ } & {
12941
13077
  ftype: z.ZodLiteral<"simple_potentiometer">;
12942
13078
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12943
- }>, "strip", z.ZodTypeAny, {
13079
+ }, "strip", z.ZodTypeAny, {
12944
13080
  type: "source_component";
12945
13081
  name: string;
12946
13082
  source_component_id: string;
@@ -12964,9 +13100,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12964
13100
  display_value?: string | undefined;
12965
13101
  are_pins_interchangeable?: boolean | undefined;
12966
13102
  internally_connected_source_port_ids?: string[][] | undefined;
12967
- }>, z.ZodObject<z.objectUtil.extendShape<{
13103
+ }>, z.ZodObject<{
12968
13104
  type: z.ZodLiteral<"source_component">;
12969
- ftype: z.ZodOptional<z.ZodString>;
12970
13105
  source_component_id: z.ZodString;
12971
13106
  name: z.ZodString;
12972
13107
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -12975,9 +13110,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12975
13110
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12976
13111
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12977
13112
  source_group_id: z.ZodOptional<z.ZodString>;
12978
- }, {
13113
+ } & {
12979
13114
  ftype: z.ZodLiteral<"simple_push_button">;
12980
- }>, "strip", z.ZodTypeAny, {
13115
+ }, "strip", z.ZodTypeAny, {
12981
13116
  type: "source_component";
12982
13117
  name: string;
12983
13118
  source_component_id: string;
@@ -14922,12 +15057,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14922
15057
  message: string;
14923
15058
  type: "pcb_autorouting_error";
14924
15059
  pcb_error_id?: string | undefined;
14925
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
15060
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
14926
15061
  type: z.ZodLiteral<"pcb_cutout">;
14927
15062
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14928
15063
  pcb_group_id: z.ZodOptional<z.ZodString>;
14929
15064
  subcircuit_id: z.ZodOptional<z.ZodString>;
14930
- }, {
15065
+ } & {
14931
15066
  shape: z.ZodLiteral<"rect">;
14932
15067
  center: z.ZodObject<{
14933
15068
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -14942,7 +15077,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14942
15077
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14943
15078
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14944
15079
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
14945
- }>, "strip", z.ZodTypeAny, {
15080
+ }, "strip", z.ZodTypeAny, {
14946
15081
  type: "pcb_cutout";
14947
15082
  width: number;
14948
15083
  height: number;
@@ -14968,12 +15103,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14968
15103
  subcircuit_id?: string | undefined;
14969
15104
  pcb_group_id?: string | undefined;
14970
15105
  pcb_cutout_id?: string | undefined;
14971
- }>, z.ZodObject<z.objectUtil.extendShape<{
15106
+ }>, z.ZodObject<{
14972
15107
  type: z.ZodLiteral<"pcb_cutout">;
14973
15108
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14974
15109
  pcb_group_id: z.ZodOptional<z.ZodString>;
14975
15110
  subcircuit_id: z.ZodOptional<z.ZodString>;
14976
- }, {
15111
+ } & {
14977
15112
  shape: z.ZodLiteral<"circle">;
14978
15113
  center: z.ZodObject<{
14979
15114
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -14986,7 +15121,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14986
15121
  y: string | number;
14987
15122
  }>;
14988
15123
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14989
- }>, "strip", z.ZodTypeAny, {
15124
+ }, "strip", z.ZodTypeAny, {
14990
15125
  type: "pcb_cutout";
14991
15126
  center: {
14992
15127
  x: number;
@@ -15008,12 +15143,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15008
15143
  subcircuit_id?: string | undefined;
15009
15144
  pcb_group_id?: string | undefined;
15010
15145
  pcb_cutout_id?: string | undefined;
15011
- }>, z.ZodObject<z.objectUtil.extendShape<{
15146
+ }>, z.ZodObject<{
15012
15147
  type: z.ZodLiteral<"pcb_cutout">;
15013
15148
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15014
15149
  pcb_group_id: z.ZodOptional<z.ZodString>;
15015
15150
  subcircuit_id: z.ZodOptional<z.ZodString>;
15016
- }, {
15151
+ } & {
15017
15152
  shape: z.ZodLiteral<"polygon">;
15018
15153
  points: z.ZodArray<z.ZodObject<{
15019
15154
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15025,7 +15160,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15025
15160
  x: string | number;
15026
15161
  y: string | number;
15027
15162
  }>, "many">;
15028
- }>, "strip", z.ZodTypeAny, {
15163
+ }, "strip", z.ZodTypeAny, {
15029
15164
  type: "pcb_cutout";
15030
15165
  shape: "polygon";
15031
15166
  pcb_cutout_id: string;
@@ -15636,10 +15771,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15636
15771
  symbol_name?: string | undefined;
15637
15772
  schematic_trace_id?: string | undefined;
15638
15773
  schematic_net_label_id?: string | undefined;
15639
- }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
15774
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
15640
15775
  type: z.ZodLiteral<"schematic_debug_object">;
15641
15776
  label: z.ZodOptional<z.ZodString>;
15642
- }, {
15777
+ } & {
15643
15778
  shape: z.ZodLiteral<"rect">;
15644
15779
  center: z.ZodObject<{
15645
15780
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15661,7 +15796,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15661
15796
  width: number;
15662
15797
  height: number;
15663
15798
  }>;
15664
- }>, "strip", z.ZodTypeAny, {
15799
+ }, "strip", z.ZodTypeAny, {
15665
15800
  type: "schematic_debug_object";
15666
15801
  center: {
15667
15802
  x: number;
@@ -15685,10 +15820,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15685
15820
  height: number;
15686
15821
  };
15687
15822
  label?: string | undefined;
15688
- }>, z.ZodObject<z.objectUtil.extendShape<{
15823
+ }>, z.ZodObject<{
15689
15824
  type: z.ZodLiteral<"schematic_debug_object">;
15690
15825
  label: z.ZodOptional<z.ZodString>;
15691
- }, {
15826
+ } & {
15692
15827
  shape: z.ZodLiteral<"line">;
15693
15828
  start: z.ZodObject<{
15694
15829
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15710,7 +15845,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15710
15845
  x: string | number;
15711
15846
  y: string | number;
15712
15847
  }>;
15713
- }>, "strip", z.ZodTypeAny, {
15848
+ }, "strip", z.ZodTypeAny, {
15714
15849
  type: "schematic_debug_object";
15715
15850
  shape: "line";
15716
15851
  start: {
@@ -15734,10 +15869,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15734
15869
  y: string | number;
15735
15870
  };
15736
15871
  label?: string | undefined;
15737
- }>, z.ZodObject<z.objectUtil.extendShape<{
15872
+ }>, z.ZodObject<{
15738
15873
  type: z.ZodLiteral<"schematic_debug_object">;
15739
15874
  label: z.ZodOptional<z.ZodString>;
15740
- }, {
15875
+ } & {
15741
15876
  shape: z.ZodLiteral<"point">;
15742
15877
  center: z.ZodObject<{
15743
15878
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15749,7 +15884,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15749
15884
  x: string | number;
15750
15885
  y: string | number;
15751
15886
  }>;
15752
- }>, "strip", z.ZodTypeAny, {
15887
+ }, "strip", z.ZodTypeAny, {
15753
15888
  type: "schematic_debug_object";
15754
15889
  center: {
15755
15890
  x: number;
@@ -16002,4 +16137,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
16002
16137
  */
16003
16138
  type CircuitJson = AnyCircuitElement[];
16004
16139
 
16005
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
16140
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };