circuit-json 0.0.127 → 0.0.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -52,6 +52,7 @@ and is the primary way that Circuit JSON is defined and maintained.
52
52
  - [SourceSimpleDiode](#sourcesimplediode)
53
53
  - [SourceSimpleGround](#sourcesimpleground)
54
54
  - [SourceSimpleInductor](#sourcesimpleinductor)
55
+ - [SourceSimpleMosfet](#sourcesimplemosfet)
55
56
  - [SourceSimplePowerSource](#sourcesimplepowersource)
56
57
  - [SourceSimplePushButton](#sourcesimplepushbutton)
57
58
  - [SourceSimpleResistor](#sourcesimpleresistor)
@@ -283,6 +284,20 @@ interface SourceSimpleInductor extends SourceComponentBase {
283
284
  }
284
285
  ```
285
286
 
287
+ ### SourceSimpleMosfet
288
+
289
+ ```typescript
290
+ /** Defines a simple mosfet component
291
+ * This is a three-pin semiconductor device (source, gate, drain)
292
+ * Pin configuration is handled by the schematic port system */
293
+
294
+ interface SourceSimpleMosfet extends SourceComponentBase {
295
+ ftype: "simple_mosfet"
296
+ channel_type: "n" | "p"
297
+ mosfet_mode: "enhancement" | "depletion"
298
+ }
299
+ ```
300
+
286
301
  ### SourceSimplePowerSource
287
302
 
288
303
  Defines a simple power source component
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4
- declare const capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4
+ declare const capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5
5
  declare const inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6
6
  declare const voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7
7
  declare const length: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -140,7 +140,7 @@ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
140
140
  display_value: z.ZodOptional<z.ZodString>;
141
141
  }, {
142
142
  ftype: z.ZodLiteral<"simple_capacitor">;
143
- capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
143
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
144
144
  display_capacitance: z.ZodOptional<z.ZodString>;
145
145
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
146
146
  }>, "strip", z.ZodTypeAny, {
@@ -476,7 +476,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
476
476
  display_value: z.ZodOptional<z.ZodString>;
477
477
  }, {
478
478
  ftype: z.ZodLiteral<"simple_capacitor">;
479
- capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
479
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
480
480
  display_capacitance: z.ZodOptional<z.ZodString>;
481
481
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
482
482
  }>, "strip", z.ZodTypeAny, {
@@ -849,7 +849,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
849
849
  display_value: z.ZodOptional<z.ZodString>;
850
850
  }, {
851
851
  ftype: z.ZodLiteral<"simple_resonator">;
852
- load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
852
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
853
853
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
854
854
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
855
855
  }>, "strip", z.ZodTypeAny, {
@@ -903,6 +903,38 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
903
903
  manufacturer_part_number?: string | undefined;
904
904
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
905
905
  display_value?: string | undefined;
906
+ }>, z.ZodObject<z.objectUtil.extendShape<{
907
+ type: z.ZodLiteral<"source_component">;
908
+ ftype: z.ZodOptional<z.ZodString>;
909
+ source_component_id: z.ZodString;
910
+ name: z.ZodString;
911
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
912
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
913
+ display_value: z.ZodOptional<z.ZodString>;
914
+ }, {
915
+ ftype: z.ZodLiteral<"simple_mosfet">;
916
+ channel_type: z.ZodEnum<["n", "p"]>;
917
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
918
+ }>, "strip", z.ZodTypeAny, {
919
+ type: "source_component";
920
+ ftype: "simple_mosfet";
921
+ source_component_id: string;
922
+ name: string;
923
+ channel_type: "n" | "p";
924
+ mosfet_mode: "enhancement" | "depletion";
925
+ manufacturer_part_number?: string | undefined;
926
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
927
+ display_value?: string | undefined;
928
+ }, {
929
+ type: "source_component";
930
+ ftype: "simple_mosfet";
931
+ source_component_id: string;
932
+ name: string;
933
+ channel_type: "n" | "p";
934
+ mosfet_mode: "enhancement" | "depletion";
935
+ manufacturer_part_number?: string | undefined;
936
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
937
+ display_value?: string | undefined;
906
938
  }>]>;
907
939
  type AnySourceComponent = z.infer<typeof any_source_component>;
908
940
 
@@ -1261,7 +1293,7 @@ declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
1261
1293
  display_value: z.ZodOptional<z.ZodString>;
1262
1294
  }, {
1263
1295
  ftype: z.ZodLiteral<"simple_resonator">;
1264
- load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1296
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
1265
1297
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
1266
1298
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1267
1299
  }>, "strip", z.ZodTypeAny, {
@@ -1339,6 +1371,51 @@ interface SourceSimpleTransistor extends SourceComponentBase {
1339
1371
  transistor_type: "npn" | "pnp";
1340
1372
  }
1341
1373
 
1374
+ declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
1375
+ type: z.ZodLiteral<"source_component">;
1376
+ ftype: z.ZodOptional<z.ZodString>;
1377
+ source_component_id: z.ZodString;
1378
+ name: z.ZodString;
1379
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
1380
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
1381
+ display_value: z.ZodOptional<z.ZodString>;
1382
+ }, {
1383
+ ftype: z.ZodLiteral<"simple_mosfet">;
1384
+ channel_type: z.ZodEnum<["n", "p"]>;
1385
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
1386
+ }>, "strip", z.ZodTypeAny, {
1387
+ type: "source_component";
1388
+ ftype: "simple_mosfet";
1389
+ source_component_id: string;
1390
+ name: string;
1391
+ channel_type: "n" | "p";
1392
+ mosfet_mode: "enhancement" | "depletion";
1393
+ manufacturer_part_number?: string | undefined;
1394
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
1395
+ display_value?: string | undefined;
1396
+ }, {
1397
+ type: "source_component";
1398
+ ftype: "simple_mosfet";
1399
+ source_component_id: string;
1400
+ name: string;
1401
+ channel_type: "n" | "p";
1402
+ mosfet_mode: "enhancement" | "depletion";
1403
+ manufacturer_part_number?: string | undefined;
1404
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
1405
+ display_value?: string | undefined;
1406
+ }>;
1407
+ type SourceSimpleMosfetInput = z.input<typeof source_simple_mosfet>;
1408
+ /**
1409
+ * Defines a simple mosfet component
1410
+ * This is a three-pin semiconductor device (source, gate, drain)
1411
+ * Pin configuration is handled by the schematic port system
1412
+ */
1413
+ interface SourceSimpleMosfet extends SourceComponentBase {
1414
+ ftype: "simple_mosfet";
1415
+ channel_type: "n" | "p";
1416
+ mosfet_mode: "enhancement" | "depletion";
1417
+ }
1418
+
1342
1419
  interface SchematicBox {
1343
1420
  type: "schematic_box";
1344
1421
  schematic_component_id: string;
@@ -5171,7 +5248,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5171
5248
  display_value: z.ZodOptional<z.ZodString>;
5172
5249
  }, {
5173
5250
  ftype: z.ZodLiteral<"simple_capacitor">;
5174
- capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5251
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5175
5252
  display_capacitance: z.ZodOptional<z.ZodString>;
5176
5253
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5177
5254
  }>, "strip", z.ZodTypeAny, {
@@ -5544,7 +5621,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5544
5621
  display_value: z.ZodOptional<z.ZodString>;
5545
5622
  }, {
5546
5623
  ftype: z.ZodLiteral<"simple_resonator">;
5547
- load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5624
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5548
5625
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5549
5626
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5550
5627
  }>, "strip", z.ZodTypeAny, {
@@ -5598,6 +5675,38 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5598
5675
  manufacturer_part_number?: string | undefined;
5599
5676
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5600
5677
  display_value?: string | undefined;
5678
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5679
+ type: z.ZodLiteral<"source_component">;
5680
+ ftype: z.ZodOptional<z.ZodString>;
5681
+ source_component_id: z.ZodString;
5682
+ name: z.ZodString;
5683
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
5684
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5685
+ display_value: z.ZodOptional<z.ZodString>;
5686
+ }, {
5687
+ ftype: z.ZodLiteral<"simple_mosfet">;
5688
+ channel_type: z.ZodEnum<["n", "p"]>;
5689
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
5690
+ }>, "strip", z.ZodTypeAny, {
5691
+ type: "source_component";
5692
+ ftype: "simple_mosfet";
5693
+ source_component_id: string;
5694
+ name: string;
5695
+ channel_type: "n" | "p";
5696
+ mosfet_mode: "enhancement" | "depletion";
5697
+ manufacturer_part_number?: string | undefined;
5698
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5699
+ display_value?: string | undefined;
5700
+ }, {
5701
+ type: "source_component";
5702
+ ftype: "simple_mosfet";
5703
+ source_component_id: string;
5704
+ name: string;
5705
+ channel_type: "n" | "p";
5706
+ mosfet_mode: "enhancement" | "depletion";
5707
+ manufacturer_part_number?: string | undefined;
5708
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5709
+ display_value?: string | undefined;
5601
5710
  }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5602
5711
  type: z.ZodLiteral<"source_component">;
5603
5712
  ftype: z.ZodOptional<z.ZodString>;
@@ -5730,7 +5839,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5730
5839
  display_value: z.ZodOptional<z.ZodString>;
5731
5840
  }, {
5732
5841
  ftype: z.ZodLiteral<"simple_capacitor">;
5733
- capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5842
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5734
5843
  display_capacitance: z.ZodOptional<z.ZodString>;
5735
5844
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5736
5845
  }>, "strip", z.ZodTypeAny, {
@@ -5942,7 +6051,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5942
6051
  display_value: z.ZodOptional<z.ZodString>;
5943
6052
  }, {
5944
6053
  ftype: z.ZodLiteral<"simple_resonator">;
5945
- load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6054
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
5946
6055
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5947
6056
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5948
6057
  }>, "strip", z.ZodTypeAny, {
@@ -6004,6 +6113,38 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6004
6113
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
6005
6114
  supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6006
6115
  display_value: z.ZodOptional<z.ZodString>;
6116
+ }, {
6117
+ ftype: z.ZodLiteral<"simple_mosfet">;
6118
+ channel_type: z.ZodEnum<["n", "p"]>;
6119
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
6120
+ }>, "strip", z.ZodTypeAny, {
6121
+ type: "source_component";
6122
+ ftype: "simple_mosfet";
6123
+ source_component_id: string;
6124
+ name: string;
6125
+ channel_type: "n" | "p";
6126
+ mosfet_mode: "enhancement" | "depletion";
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
+ }, {
6131
+ type: "source_component";
6132
+ ftype: "simple_mosfet";
6133
+ source_component_id: string;
6134
+ name: string;
6135
+ channel_type: "n" | "p";
6136
+ mosfet_mode: "enhancement" | "depletion";
6137
+ manufacturer_part_number?: string | undefined;
6138
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6139
+ display_value?: string | undefined;
6140
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6141
+ type: z.ZodLiteral<"source_component">;
6142
+ ftype: z.ZodOptional<z.ZodString>;
6143
+ source_component_id: z.ZodString;
6144
+ name: z.ZodString;
6145
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
6146
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6147
+ display_value: z.ZodOptional<z.ZodString>;
6007
6148
  }, {
6008
6149
  ftype: z.ZodLiteral<"simple_potentiometer">;
6009
6150
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -8420,7 +8561,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8420
8561
  display_value: z.ZodOptional<z.ZodString>;
8421
8562
  }, {
8422
8563
  ftype: z.ZodLiteral<"simple_capacitor">;
8423
- capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8564
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8424
8565
  display_capacitance: z.ZodOptional<z.ZodString>;
8425
8566
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8426
8567
  }>, "strip", z.ZodTypeAny, {
@@ -8793,7 +8934,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8793
8934
  display_value: z.ZodOptional<z.ZodString>;
8794
8935
  }, {
8795
8936
  ftype: z.ZodLiteral<"simple_resonator">;
8796
- load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8937
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8797
8938
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8798
8939
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8799
8940
  }>, "strip", z.ZodTypeAny, {
@@ -8847,6 +8988,38 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8847
8988
  manufacturer_part_number?: string | undefined;
8848
8989
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8849
8990
  display_value?: string | undefined;
8991
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8992
+ type: z.ZodLiteral<"source_component">;
8993
+ ftype: z.ZodOptional<z.ZodString>;
8994
+ source_component_id: z.ZodString;
8995
+ name: z.ZodString;
8996
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8997
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8998
+ display_value: z.ZodOptional<z.ZodString>;
8999
+ }, {
9000
+ ftype: z.ZodLiteral<"simple_mosfet">;
9001
+ channel_type: z.ZodEnum<["n", "p"]>;
9002
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
9003
+ }>, "strip", z.ZodTypeAny, {
9004
+ type: "source_component";
9005
+ ftype: "simple_mosfet";
9006
+ source_component_id: string;
9007
+ name: string;
9008
+ channel_type: "n" | "p";
9009
+ mosfet_mode: "enhancement" | "depletion";
9010
+ manufacturer_part_number?: string | undefined;
9011
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9012
+ display_value?: string | undefined;
9013
+ }, {
9014
+ type: "source_component";
9015
+ ftype: "simple_mosfet";
9016
+ source_component_id: string;
9017
+ name: string;
9018
+ channel_type: "n" | "p";
9019
+ mosfet_mode: "enhancement" | "depletion";
9020
+ manufacturer_part_number?: string | undefined;
9021
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9022
+ display_value?: string | undefined;
8850
9023
  }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8851
9024
  type: z.ZodLiteral<"source_component">;
8852
9025
  ftype: z.ZodOptional<z.ZodString>;
@@ -8979,7 +9152,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8979
9152
  display_value: z.ZodOptional<z.ZodString>;
8980
9153
  }, {
8981
9154
  ftype: z.ZodLiteral<"simple_capacitor">;
8982
- capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9155
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8983
9156
  display_capacitance: z.ZodOptional<z.ZodString>;
8984
9157
  max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8985
9158
  }>, "strip", z.ZodTypeAny, {
@@ -9191,7 +9364,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9191
9364
  display_value: z.ZodOptional<z.ZodString>;
9192
9365
  }, {
9193
9366
  ftype: z.ZodLiteral<"simple_resonator">;
9194
- load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9367
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
9195
9368
  equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9196
9369
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9197
9370
  }>, "strip", z.ZodTypeAny, {
@@ -9253,6 +9426,38 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9253
9426
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
9254
9427
  supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
9255
9428
  display_value: z.ZodOptional<z.ZodString>;
9429
+ }, {
9430
+ ftype: z.ZodLiteral<"simple_mosfet">;
9431
+ channel_type: z.ZodEnum<["n", "p"]>;
9432
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
9433
+ }>, "strip", z.ZodTypeAny, {
9434
+ type: "source_component";
9435
+ ftype: "simple_mosfet";
9436
+ source_component_id: string;
9437
+ name: string;
9438
+ channel_type: "n" | "p";
9439
+ mosfet_mode: "enhancement" | "depletion";
9440
+ manufacturer_part_number?: string | undefined;
9441
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9442
+ display_value?: string | undefined;
9443
+ }, {
9444
+ type: "source_component";
9445
+ ftype: "simple_mosfet";
9446
+ source_component_id: string;
9447
+ name: string;
9448
+ channel_type: "n" | "p";
9449
+ mosfet_mode: "enhancement" | "depletion";
9450
+ manufacturer_part_number?: string | undefined;
9451
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9452
+ display_value?: string | undefined;
9453
+ }>, z.ZodObject<z.objectUtil.extendShape<{
9454
+ type: z.ZodLiteral<"source_component">;
9455
+ ftype: z.ZodOptional<z.ZodString>;
9456
+ source_component_id: z.ZodString;
9457
+ name: z.ZodString;
9458
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
9459
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
9460
+ display_value: z.ZodOptional<z.ZodString>;
9256
9461
  }, {
9257
9462
  ftype: z.ZodLiteral<"simple_potentiometer">;
9258
9463
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -11595,4 +11800,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
11595
11800
  */
11596
11801
  type CircuitJson = AnyCircuitElement[];
11597
11802
 
11598
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, 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 PCBManualEditConflictError, 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 PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, 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 PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, 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 SchematicLine, type SchematicLineInput, 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, 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 SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, 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_board, pcb_component, 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_error, 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_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_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, 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_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
11803
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, 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 PCBManualEditConflictError, 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 PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, 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 PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, 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 SchematicLine, type SchematicLineInput, 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, 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 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_board, pcb_component, 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_error, 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_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_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, 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_transistor, source_trace, supplier_name, time, visible_layer, voltage };