circuit-json 0.0.157 → 0.0.158
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 +424 -420
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -438,7 +438,7 @@ interface SourceSimplePowerSource extends SourceComponentBase {
|
|
|
438
438
|
voltage: number;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
declare const
|
|
441
|
+
declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
|
|
442
442
|
type: z.ZodLiteral<"source_component">;
|
|
443
443
|
ftype: z.ZodOptional<z.ZodString>;
|
|
444
444
|
source_component_id: z.ZodString;
|
|
@@ -447,30 +447,37 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
447
447
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
448
448
|
display_value: z.ZodOptional<z.ZodString>;
|
|
449
449
|
}, {
|
|
450
|
-
ftype: z.ZodLiteral<"
|
|
451
|
-
|
|
452
|
-
display_resistance: z.ZodOptional<z.ZodString>;
|
|
450
|
+
ftype: z.ZodLiteral<"simple_battery">;
|
|
451
|
+
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
453
452
|
}>, "strip", z.ZodTypeAny, {
|
|
454
453
|
type: "source_component";
|
|
455
|
-
ftype: "
|
|
454
|
+
ftype: "simple_battery";
|
|
456
455
|
source_component_id: string;
|
|
457
456
|
name: string;
|
|
458
|
-
|
|
457
|
+
capacity: number;
|
|
459
458
|
manufacturer_part_number?: string | undefined;
|
|
460
459
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
461
460
|
display_value?: string | undefined;
|
|
462
|
-
display_resistance?: string | undefined;
|
|
463
461
|
}, {
|
|
464
462
|
type: "source_component";
|
|
465
|
-
ftype: "
|
|
463
|
+
ftype: "simple_battery";
|
|
466
464
|
source_component_id: string;
|
|
467
465
|
name: string;
|
|
468
|
-
|
|
466
|
+
capacity: string | number;
|
|
469
467
|
manufacturer_part_number?: string | undefined;
|
|
470
468
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
471
469
|
display_value?: string | undefined;
|
|
472
|
-
|
|
473
|
-
|
|
470
|
+
}>;
|
|
471
|
+
type SourceSimpleBatteryInput = z.input<typeof source_simple_battery>;
|
|
472
|
+
/**
|
|
473
|
+
* Defines a simple battery component
|
|
474
|
+
*/
|
|
475
|
+
interface SourceSimpleBattery extends SourceComponentBase {
|
|
476
|
+
ftype: "simple_battery";
|
|
477
|
+
capacity: number;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
474
481
|
type: z.ZodLiteral<"source_component">;
|
|
475
482
|
ftype: z.ZodOptional<z.ZodString>;
|
|
476
483
|
source_component_id: z.ZodString;
|
|
@@ -479,36 +486,37 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
479
486
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
480
487
|
display_value: z.ZodOptional<z.ZodString>;
|
|
481
488
|
}, {
|
|
482
|
-
ftype: z.ZodLiteral<"
|
|
483
|
-
|
|
484
|
-
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
485
|
-
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
486
|
-
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
489
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
490
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
487
491
|
}>, "strip", z.ZodTypeAny, {
|
|
488
492
|
type: "source_component";
|
|
489
|
-
ftype: "
|
|
493
|
+
ftype: "simple_inductor";
|
|
490
494
|
source_component_id: string;
|
|
491
495
|
name: string;
|
|
492
|
-
|
|
496
|
+
inductance: number;
|
|
493
497
|
manufacturer_part_number?: string | undefined;
|
|
494
498
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
495
499
|
display_value?: string | undefined;
|
|
496
|
-
max_voltage_rating?: number | undefined;
|
|
497
|
-
display_capacitance?: string | undefined;
|
|
498
|
-
max_decoupling_trace_length?: number | undefined;
|
|
499
500
|
}, {
|
|
500
501
|
type: "source_component";
|
|
501
|
-
ftype: "
|
|
502
|
+
ftype: "simple_inductor";
|
|
502
503
|
source_component_id: string;
|
|
503
504
|
name: string;
|
|
504
|
-
|
|
505
|
+
inductance: string | number;
|
|
505
506
|
manufacturer_part_number?: string | undefined;
|
|
506
507
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
507
508
|
display_value?: string | undefined;
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
509
|
+
}>;
|
|
510
|
+
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
511
|
+
/**
|
|
512
|
+
* Defines a simple inductor component
|
|
513
|
+
*/
|
|
514
|
+
interface SourceSimpleInductor extends SourceComponentBase {
|
|
515
|
+
ftype: "simple_inductor";
|
|
516
|
+
inductance: number;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
512
520
|
type: z.ZodLiteral<"source_component">;
|
|
513
521
|
ftype: z.ZodOptional<z.ZodString>;
|
|
514
522
|
source_component_id: z.ZodString;
|
|
@@ -517,10 +525,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
517
525
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
518
526
|
display_value: z.ZodOptional<z.ZodString>;
|
|
519
527
|
}, {
|
|
520
|
-
ftype: z.ZodLiteral<"
|
|
528
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
521
529
|
}>, "strip", z.ZodTypeAny, {
|
|
522
530
|
type: "source_component";
|
|
523
|
-
ftype: "
|
|
531
|
+
ftype: "simple_push_button";
|
|
524
532
|
source_component_id: string;
|
|
525
533
|
name: string;
|
|
526
534
|
manufacturer_part_number?: string | undefined;
|
|
@@ -528,13 +536,22 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
528
536
|
display_value?: string | undefined;
|
|
529
537
|
}, {
|
|
530
538
|
type: "source_component";
|
|
531
|
-
ftype: "
|
|
539
|
+
ftype: "simple_push_button";
|
|
532
540
|
source_component_id: string;
|
|
533
541
|
name: string;
|
|
534
542
|
manufacturer_part_number?: string | undefined;
|
|
535
543
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
536
544
|
display_value?: string | undefined;
|
|
537
|
-
}
|
|
545
|
+
}>;
|
|
546
|
+
type SourceSimplePushButtonInput = z.input<typeof source_simple_push_button>;
|
|
547
|
+
/**
|
|
548
|
+
* Defines a simple push button component
|
|
549
|
+
*/
|
|
550
|
+
interface SourceSimplePushButton extends SourceComponentBase {
|
|
551
|
+
ftype: "simple_push_button";
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<{
|
|
538
555
|
type: z.ZodLiteral<"source_component">;
|
|
539
556
|
ftype: z.ZodOptional<z.ZodString>;
|
|
540
557
|
source_component_id: z.ZodString;
|
|
@@ -543,24 +560,31 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
543
560
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
544
561
|
display_value: z.ZodOptional<z.ZodString>;
|
|
545
562
|
}, {
|
|
546
|
-
ftype: z.ZodLiteral<"
|
|
563
|
+
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
564
|
+
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
547
565
|
}>, "strip", z.ZodTypeAny, {
|
|
548
566
|
type: "source_component";
|
|
549
|
-
ftype: "
|
|
567
|
+
ftype: "simple_potentiometer";
|
|
550
568
|
source_component_id: string;
|
|
551
569
|
name: string;
|
|
570
|
+
max_resistance: number;
|
|
552
571
|
manufacturer_part_number?: string | undefined;
|
|
553
572
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
554
573
|
display_value?: string | undefined;
|
|
555
574
|
}, {
|
|
556
575
|
type: "source_component";
|
|
557
|
-
ftype: "
|
|
576
|
+
ftype: "simple_potentiometer";
|
|
558
577
|
source_component_id: string;
|
|
559
578
|
name: string;
|
|
579
|
+
max_resistance: string | number;
|
|
560
580
|
manufacturer_part_number?: string | undefined;
|
|
561
581
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
562
582
|
display_value?: string | undefined;
|
|
563
|
-
}
|
|
583
|
+
}>;
|
|
584
|
+
type SourceSimplePotentiometer = z.infer<typeof source_simple_potentiometer>;
|
|
585
|
+
type SourceSimplePotentiometerInput = z.input<typeof source_simple_potentiometer>;
|
|
586
|
+
|
|
587
|
+
declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
|
|
564
588
|
type: z.ZodLiteral<"source_component">;
|
|
565
589
|
ftype: z.ZodOptional<z.ZodString>;
|
|
566
590
|
source_component_id: z.ZodString;
|
|
@@ -569,24 +593,41 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
569
593
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
570
594
|
display_value: z.ZodOptional<z.ZodString>;
|
|
571
595
|
}, {
|
|
572
|
-
ftype: z.ZodLiteral<"
|
|
596
|
+
ftype: z.ZodLiteral<"simple_crystal">;
|
|
597
|
+
frequency: z.ZodNumber;
|
|
598
|
+
load_capacitance: z.ZodOptional<z.ZodNumber>;
|
|
573
599
|
}>, "strip", z.ZodTypeAny, {
|
|
574
600
|
type: "source_component";
|
|
575
|
-
ftype: "
|
|
601
|
+
ftype: "simple_crystal";
|
|
576
602
|
source_component_id: string;
|
|
577
603
|
name: string;
|
|
604
|
+
frequency: number;
|
|
578
605
|
manufacturer_part_number?: string | undefined;
|
|
579
606
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
580
607
|
display_value?: string | undefined;
|
|
608
|
+
load_capacitance?: number | undefined;
|
|
581
609
|
}, {
|
|
582
610
|
type: "source_component";
|
|
583
|
-
ftype: "
|
|
611
|
+
ftype: "simple_crystal";
|
|
584
612
|
source_component_id: string;
|
|
585
613
|
name: string;
|
|
614
|
+
frequency: number;
|
|
586
615
|
manufacturer_part_number?: string | undefined;
|
|
587
616
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
588
617
|
display_value?: string | undefined;
|
|
589
|
-
|
|
618
|
+
load_capacitance?: number | undefined;
|
|
619
|
+
}>;
|
|
620
|
+
type SourceSimpleCrystalInput = z.input<typeof source_simple_crystal>;
|
|
621
|
+
/**
|
|
622
|
+
* Defines a simple crystal oscillator component
|
|
623
|
+
*/
|
|
624
|
+
interface SourceSimpleCrystal extends SourceComponentBase {
|
|
625
|
+
ftype: "simple_crystal";
|
|
626
|
+
frequency: number;
|
|
627
|
+
load_capacitance?: number;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
590
631
|
type: z.ZodLiteral<"source_component">;
|
|
591
632
|
ftype: z.ZodOptional<z.ZodString>;
|
|
592
633
|
source_component_id: z.ZodString;
|
|
@@ -595,24 +636,34 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
595
636
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
596
637
|
display_value: z.ZodOptional<z.ZodString>;
|
|
597
638
|
}, {
|
|
598
|
-
ftype: z.ZodLiteral<"
|
|
639
|
+
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
640
|
+
pin_count: z.ZodNumber;
|
|
641
|
+
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
599
642
|
}>, "strip", z.ZodTypeAny, {
|
|
600
643
|
type: "source_component";
|
|
601
|
-
ftype: "
|
|
644
|
+
ftype: "simple_pin_header";
|
|
602
645
|
source_component_id: string;
|
|
603
646
|
name: string;
|
|
647
|
+
pin_count: number;
|
|
648
|
+
gender: "male" | "female";
|
|
604
649
|
manufacturer_part_number?: string | undefined;
|
|
605
650
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
606
651
|
display_value?: string | undefined;
|
|
607
652
|
}, {
|
|
608
653
|
type: "source_component";
|
|
609
|
-
ftype: "
|
|
654
|
+
ftype: "simple_pin_header";
|
|
610
655
|
source_component_id: string;
|
|
611
656
|
name: string;
|
|
657
|
+
pin_count: number;
|
|
612
658
|
manufacturer_part_number?: string | undefined;
|
|
613
659
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
614
660
|
display_value?: string | undefined;
|
|
615
|
-
|
|
661
|
+
gender?: "male" | "female" | undefined;
|
|
662
|
+
}>;
|
|
663
|
+
type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
|
|
664
|
+
type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
|
|
665
|
+
|
|
666
|
+
declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
|
|
616
667
|
type: z.ZodLiteral<"source_component">;
|
|
617
668
|
ftype: z.ZodOptional<z.ZodString>;
|
|
618
669
|
source_component_id: z.ZodString;
|
|
@@ -621,26 +672,45 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
621
672
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
622
673
|
display_value: z.ZodOptional<z.ZodString>;
|
|
623
674
|
}, {
|
|
624
|
-
ftype: z.ZodLiteral<"
|
|
625
|
-
|
|
626
|
-
|
|
675
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
676
|
+
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
677
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
678
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
627
679
|
}>, "strip", z.ZodTypeAny, {
|
|
628
680
|
type: "source_component";
|
|
629
|
-
ftype: "
|
|
681
|
+
ftype: "simple_resonator";
|
|
630
682
|
source_component_id: string;
|
|
631
683
|
name: string;
|
|
684
|
+
frequency: number;
|
|
685
|
+
load_capacitance: number;
|
|
632
686
|
manufacturer_part_number?: string | undefined;
|
|
633
687
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
634
688
|
display_value?: string | undefined;
|
|
689
|
+
equivalent_series_resistance?: number | undefined;
|
|
635
690
|
}, {
|
|
636
691
|
type: "source_component";
|
|
637
|
-
ftype: "
|
|
692
|
+
ftype: "simple_resonator";
|
|
638
693
|
source_component_id: string;
|
|
639
694
|
name: string;
|
|
695
|
+
frequency: string | number;
|
|
696
|
+
load_capacitance: string | number;
|
|
640
697
|
manufacturer_part_number?: string | undefined;
|
|
641
698
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
642
699
|
display_value?: string | undefined;
|
|
643
|
-
|
|
700
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
701
|
+
}>;
|
|
702
|
+
type SourceSimpleResonatorInput = z.input<typeof source_simple_resonator>;
|
|
703
|
+
/**
|
|
704
|
+
* Defines a simple resonator component
|
|
705
|
+
*/
|
|
706
|
+
interface SourceSimpleResonator extends SourceComponentBase {
|
|
707
|
+
ftype: "simple_resonator";
|
|
708
|
+
load_capacitance: number;
|
|
709
|
+
equivalent_series_resistance?: number;
|
|
710
|
+
frequency: number;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
|
|
644
714
|
type: z.ZodLiteral<"source_component">;
|
|
645
715
|
ftype: z.ZodOptional<z.ZodString>;
|
|
646
716
|
source_component_id: z.ZodString;
|
|
@@ -649,27 +719,39 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
649
719
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
650
720
|
display_value: z.ZodOptional<z.ZodString>;
|
|
651
721
|
}, {
|
|
652
|
-
ftype: z.ZodLiteral<"
|
|
653
|
-
|
|
722
|
+
ftype: z.ZodLiteral<"simple_transistor">;
|
|
723
|
+
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
654
724
|
}>, "strip", z.ZodTypeAny, {
|
|
655
725
|
type: "source_component";
|
|
656
|
-
ftype: "
|
|
726
|
+
ftype: "simple_transistor";
|
|
657
727
|
source_component_id: string;
|
|
658
728
|
name: string;
|
|
659
|
-
|
|
729
|
+
transistor_type: "npn" | "pnp";
|
|
660
730
|
manufacturer_part_number?: string | undefined;
|
|
661
731
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
662
732
|
display_value?: string | undefined;
|
|
663
733
|
}, {
|
|
664
734
|
type: "source_component";
|
|
665
|
-
ftype: "
|
|
735
|
+
ftype: "simple_transistor";
|
|
666
736
|
source_component_id: string;
|
|
667
737
|
name: string;
|
|
668
|
-
|
|
738
|
+
transistor_type: "npn" | "pnp";
|
|
669
739
|
manufacturer_part_number?: string | undefined;
|
|
670
740
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
671
741
|
display_value?: string | undefined;
|
|
672
|
-
}
|
|
742
|
+
}>;
|
|
743
|
+
type SourceSimpleTransistorInput = z.input<typeof source_simple_transistor>;
|
|
744
|
+
/**
|
|
745
|
+
* Defines a simple transistor component
|
|
746
|
+
* This is a three-pin semiconductor device (emitter, base, collector)
|
|
747
|
+
* Pin configuration is handled by the schematic port system
|
|
748
|
+
*/
|
|
749
|
+
interface SourceSimpleTransistor extends SourceComponentBase {
|
|
750
|
+
ftype: "simple_transistor";
|
|
751
|
+
transistor_type: "npn" | "pnp";
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
|
|
673
755
|
type: z.ZodLiteral<"source_component">;
|
|
674
756
|
ftype: z.ZodOptional<z.ZodString>;
|
|
675
757
|
source_component_id: z.ZodString;
|
|
@@ -678,27 +760,43 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
678
760
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
679
761
|
display_value: z.ZodOptional<z.ZodString>;
|
|
680
762
|
}, {
|
|
681
|
-
ftype: z.ZodLiteral<"
|
|
682
|
-
|
|
763
|
+
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
764
|
+
channel_type: z.ZodEnum<["n", "p"]>;
|
|
765
|
+
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
683
766
|
}>, "strip", z.ZodTypeAny, {
|
|
684
767
|
type: "source_component";
|
|
685
|
-
ftype: "
|
|
768
|
+
ftype: "simple_mosfet";
|
|
686
769
|
source_component_id: string;
|
|
687
770
|
name: string;
|
|
688
|
-
|
|
771
|
+
channel_type: "n" | "p";
|
|
772
|
+
mosfet_mode: "enhancement" | "depletion";
|
|
689
773
|
manufacturer_part_number?: string | undefined;
|
|
690
774
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
691
775
|
display_value?: string | undefined;
|
|
692
776
|
}, {
|
|
693
777
|
type: "source_component";
|
|
694
|
-
ftype: "
|
|
778
|
+
ftype: "simple_mosfet";
|
|
695
779
|
source_component_id: string;
|
|
696
780
|
name: string;
|
|
697
|
-
|
|
781
|
+
channel_type: "n" | "p";
|
|
782
|
+
mosfet_mode: "enhancement" | "depletion";
|
|
698
783
|
manufacturer_part_number?: string | undefined;
|
|
699
784
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
700
785
|
display_value?: string | undefined;
|
|
701
|
-
}
|
|
786
|
+
}>;
|
|
787
|
+
type SourceSimpleMosfetInput = z.input<typeof source_simple_mosfet>;
|
|
788
|
+
/**
|
|
789
|
+
* Defines a simple mosfet component
|
|
790
|
+
* This is a three-pin semiconductor device (source, gate, drain)
|
|
791
|
+
* Pin configuration is handled by the schematic port system
|
|
792
|
+
*/
|
|
793
|
+
interface SourceSimpleMosfet extends SourceComponentBase {
|
|
794
|
+
ftype: "simple_mosfet";
|
|
795
|
+
channel_type: "n" | "p";
|
|
796
|
+
mosfet_mode: "enhancement" | "depletion";
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
|
|
702
800
|
type: z.ZodLiteral<"source_component">;
|
|
703
801
|
ftype: z.ZodOptional<z.ZodString>;
|
|
704
802
|
source_component_id: z.ZodString;
|
|
@@ -707,53 +805,57 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
707
805
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
708
806
|
display_value: z.ZodOptional<z.ZodString>;
|
|
709
807
|
}, {
|
|
710
|
-
ftype: z.ZodLiteral<"
|
|
711
|
-
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
808
|
+
ftype: z.ZodLiteral<"simple_switch">;
|
|
712
809
|
}>, "strip", z.ZodTypeAny, {
|
|
713
810
|
type: "source_component";
|
|
714
|
-
ftype: "
|
|
715
|
-
source_component_id: string;
|
|
716
|
-
name: string;
|
|
717
|
-
inductance: number;
|
|
718
|
-
manufacturer_part_number?: string | undefined;
|
|
719
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
720
|
-
display_value?: string | undefined;
|
|
721
|
-
}, {
|
|
722
|
-
type: "source_component";
|
|
723
|
-
ftype: "simple_inductor";
|
|
811
|
+
ftype: "simple_switch";
|
|
724
812
|
source_component_id: string;
|
|
725
813
|
name: string;
|
|
726
|
-
inductance: string | number;
|
|
727
814
|
manufacturer_part_number?: string | undefined;
|
|
728
815
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
729
816
|
display_value?: string | undefined;
|
|
730
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
731
|
-
type: z.ZodLiteral<"source_component">;
|
|
732
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
733
|
-
source_component_id: z.ZodString;
|
|
734
|
-
name: z.ZodString;
|
|
735
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
736
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
737
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
738
817
|
}, {
|
|
739
|
-
ftype: z.ZodLiteral<"simple_push_button">;
|
|
740
|
-
}>, "strip", z.ZodTypeAny, {
|
|
741
818
|
type: "source_component";
|
|
742
|
-
ftype: "
|
|
819
|
+
ftype: "simple_switch";
|
|
743
820
|
source_component_id: string;
|
|
744
821
|
name: string;
|
|
745
822
|
manufacturer_part_number?: string | undefined;
|
|
746
823
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
747
824
|
display_value?: string | undefined;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
825
|
+
}>;
|
|
826
|
+
type SourceSimpleSwitchInput = z.input<typeof source_simple_switch>;
|
|
827
|
+
/**
|
|
828
|
+
* Defines a simple switch component
|
|
829
|
+
*/
|
|
830
|
+
interface SourceSimpleSwitch extends SourceComponentBase {
|
|
831
|
+
ftype: "simple_switch";
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
interface SourceProjectMetadata {
|
|
835
|
+
type: "source_project_metadata";
|
|
836
|
+
name?: string;
|
|
837
|
+
software_used_string?: string;
|
|
838
|
+
created_at?: string;
|
|
839
|
+
}
|
|
840
|
+
declare const source_project_metadata: z.ZodObject<{
|
|
841
|
+
type: z.ZodLiteral<"source_project_metadata">;
|
|
842
|
+
name: z.ZodOptional<z.ZodString>;
|
|
843
|
+
software_used_string: z.ZodOptional<z.ZodString>;
|
|
844
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
845
|
+
}, "strip", z.ZodTypeAny, {
|
|
846
|
+
type: "source_project_metadata";
|
|
847
|
+
name?: string | undefined;
|
|
848
|
+
software_used_string?: string | undefined;
|
|
849
|
+
created_at?: string | undefined;
|
|
850
|
+
}, {
|
|
851
|
+
type: "source_project_metadata";
|
|
852
|
+
name?: string | undefined;
|
|
853
|
+
software_used_string?: string | undefined;
|
|
854
|
+
created_at?: string | undefined;
|
|
855
|
+
}>;
|
|
856
|
+
type InferredProjectMetadata = z.infer<typeof source_project_metadata>;
|
|
857
|
+
|
|
858
|
+
declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
757
859
|
type: z.ZodLiteral<"source_component">;
|
|
758
860
|
ftype: z.ZodOptional<z.ZodString>;
|
|
759
861
|
source_component_id: z.ZodString;
|
|
@@ -762,26 +864,29 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
762
864
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
763
865
|
display_value: z.ZodOptional<z.ZodString>;
|
|
764
866
|
}, {
|
|
765
|
-
ftype: z.ZodLiteral<"
|
|
766
|
-
|
|
867
|
+
ftype: z.ZodLiteral<"simple_resistor">;
|
|
868
|
+
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
869
|
+
display_resistance: z.ZodOptional<z.ZodString>;
|
|
767
870
|
}>, "strip", z.ZodTypeAny, {
|
|
768
871
|
type: "source_component";
|
|
769
|
-
ftype: "
|
|
872
|
+
ftype: "simple_resistor";
|
|
770
873
|
source_component_id: string;
|
|
771
874
|
name: string;
|
|
772
|
-
|
|
875
|
+
resistance: number;
|
|
773
876
|
manufacturer_part_number?: string | undefined;
|
|
774
877
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
775
878
|
display_value?: string | undefined;
|
|
879
|
+
display_resistance?: string | undefined;
|
|
776
880
|
}, {
|
|
777
881
|
type: "source_component";
|
|
778
|
-
ftype: "
|
|
882
|
+
ftype: "simple_resistor";
|
|
779
883
|
source_component_id: string;
|
|
780
884
|
name: string;
|
|
781
|
-
|
|
885
|
+
resistance: string | number;
|
|
782
886
|
manufacturer_part_number?: string | undefined;
|
|
783
887
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
784
888
|
display_value?: string | undefined;
|
|
889
|
+
display_resistance?: string | undefined;
|
|
785
890
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
786
891
|
type: z.ZodLiteral<"source_component">;
|
|
787
892
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -791,29 +896,35 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
791
896
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
792
897
|
display_value: z.ZodOptional<z.ZodString>;
|
|
793
898
|
}, {
|
|
794
|
-
ftype: z.ZodLiteral<"
|
|
795
|
-
|
|
796
|
-
|
|
899
|
+
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
900
|
+
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
901
|
+
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
902
|
+
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
903
|
+
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
797
904
|
}>, "strip", z.ZodTypeAny, {
|
|
798
905
|
type: "source_component";
|
|
799
|
-
ftype: "
|
|
906
|
+
ftype: "simple_capacitor";
|
|
800
907
|
source_component_id: string;
|
|
801
908
|
name: string;
|
|
802
|
-
|
|
909
|
+
capacitance: number;
|
|
803
910
|
manufacturer_part_number?: string | undefined;
|
|
804
911
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
805
912
|
display_value?: string | undefined;
|
|
806
|
-
|
|
913
|
+
max_voltage_rating?: number | undefined;
|
|
914
|
+
display_capacitance?: string | undefined;
|
|
915
|
+
max_decoupling_trace_length?: number | undefined;
|
|
807
916
|
}, {
|
|
808
917
|
type: "source_component";
|
|
809
|
-
ftype: "
|
|
918
|
+
ftype: "simple_capacitor";
|
|
810
919
|
source_component_id: string;
|
|
811
920
|
name: string;
|
|
812
|
-
|
|
921
|
+
capacitance: string | number;
|
|
813
922
|
manufacturer_part_number?: string | undefined;
|
|
814
923
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
815
924
|
display_value?: string | undefined;
|
|
816
|
-
|
|
925
|
+
max_voltage_rating?: string | number | undefined;
|
|
926
|
+
display_capacitance?: string | undefined;
|
|
927
|
+
max_decoupling_trace_length?: string | number | undefined;
|
|
817
928
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
818
929
|
type: z.ZodLiteral<"source_component">;
|
|
819
930
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -823,29 +934,23 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
823
934
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
824
935
|
display_value: z.ZodOptional<z.ZodString>;
|
|
825
936
|
}, {
|
|
826
|
-
ftype: z.ZodLiteral<"
|
|
827
|
-
pin_count: z.ZodNumber;
|
|
828
|
-
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
937
|
+
ftype: z.ZodLiteral<"simple_diode">;
|
|
829
938
|
}>, "strip", z.ZodTypeAny, {
|
|
830
939
|
type: "source_component";
|
|
831
|
-
ftype: "
|
|
940
|
+
ftype: "simple_diode";
|
|
832
941
|
source_component_id: string;
|
|
833
942
|
name: string;
|
|
834
|
-
pin_count: number;
|
|
835
|
-
gender: "male" | "female";
|
|
836
943
|
manufacturer_part_number?: string | undefined;
|
|
837
944
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
838
945
|
display_value?: string | undefined;
|
|
839
946
|
}, {
|
|
840
947
|
type: "source_component";
|
|
841
|
-
ftype: "
|
|
948
|
+
ftype: "simple_diode";
|
|
842
949
|
source_component_id: string;
|
|
843
950
|
name: string;
|
|
844
|
-
pin_count: number;
|
|
845
951
|
manufacturer_part_number?: string | undefined;
|
|
846
952
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
847
953
|
display_value?: string | undefined;
|
|
848
|
-
gender?: "male" | "female" | undefined;
|
|
849
954
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
850
955
|
type: z.ZodLiteral<"source_component">;
|
|
851
956
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -855,32 +960,23 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
855
960
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
856
961
|
display_value: z.ZodOptional<z.ZodString>;
|
|
857
962
|
}, {
|
|
858
|
-
ftype: z.ZodLiteral<"
|
|
859
|
-
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
860
|
-
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
861
|
-
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
963
|
+
ftype: z.ZodLiteral<"simple_ground">;
|
|
862
964
|
}>, "strip", z.ZodTypeAny, {
|
|
863
965
|
type: "source_component";
|
|
864
|
-
ftype: "
|
|
966
|
+
ftype: "simple_ground";
|
|
865
967
|
source_component_id: string;
|
|
866
968
|
name: string;
|
|
867
|
-
frequency: number;
|
|
868
|
-
load_capacitance: number;
|
|
869
969
|
manufacturer_part_number?: string | undefined;
|
|
870
970
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
871
971
|
display_value?: string | undefined;
|
|
872
|
-
equivalent_series_resistance?: number | undefined;
|
|
873
972
|
}, {
|
|
874
973
|
type: "source_component";
|
|
875
|
-
ftype: "
|
|
974
|
+
ftype: "simple_ground";
|
|
876
975
|
source_component_id: string;
|
|
877
976
|
name: string;
|
|
878
|
-
frequency: string | number;
|
|
879
|
-
load_capacitance: string | number;
|
|
880
977
|
manufacturer_part_number?: string | undefined;
|
|
881
978
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
882
979
|
display_value?: string | undefined;
|
|
883
|
-
equivalent_series_resistance?: string | number | undefined;
|
|
884
980
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
885
981
|
type: z.ZodLiteral<"source_component">;
|
|
886
982
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -890,10 +986,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
890
986
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
891
987
|
display_value: z.ZodOptional<z.ZodString>;
|
|
892
988
|
}, {
|
|
893
|
-
ftype: z.ZodLiteral<"
|
|
989
|
+
ftype: z.ZodLiteral<"simple_chip">;
|
|
894
990
|
}>, "strip", z.ZodTypeAny, {
|
|
895
991
|
type: "source_component";
|
|
896
|
-
ftype: "
|
|
992
|
+
ftype: "simple_chip";
|
|
897
993
|
source_component_id: string;
|
|
898
994
|
name: string;
|
|
899
995
|
manufacturer_part_number?: string | undefined;
|
|
@@ -901,7 +997,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
901
997
|
display_value?: string | undefined;
|
|
902
998
|
}, {
|
|
903
999
|
type: "source_component";
|
|
904
|
-
ftype: "
|
|
1000
|
+
ftype: "simple_chip";
|
|
905
1001
|
source_component_id: string;
|
|
906
1002
|
name: string;
|
|
907
1003
|
manufacturer_part_number?: string | undefined;
|
|
@@ -916,27 +1012,24 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
916
1012
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
917
1013
|
display_value: z.ZodOptional<z.ZodString>;
|
|
918
1014
|
}, {
|
|
919
|
-
ftype: z.ZodLiteral<"
|
|
920
|
-
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
1015
|
+
ftype: z.ZodLiteral<"simple_bug">;
|
|
921
1016
|
}>, "strip", z.ZodTypeAny, {
|
|
922
1017
|
type: "source_component";
|
|
923
|
-
ftype: "
|
|
1018
|
+
ftype: "simple_bug";
|
|
924
1019
|
source_component_id: string;
|
|
925
1020
|
name: string;
|
|
926
|
-
transistor_type: "npn" | "pnp";
|
|
927
1021
|
manufacturer_part_number?: string | undefined;
|
|
928
1022
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
929
1023
|
display_value?: string | undefined;
|
|
930
1024
|
}, {
|
|
931
1025
|
type: "source_component";
|
|
932
|
-
ftype: "
|
|
1026
|
+
ftype: "simple_bug";
|
|
933
1027
|
source_component_id: string;
|
|
934
1028
|
name: string;
|
|
935
|
-
transistor_type: "npn" | "pnp";
|
|
936
1029
|
manufacturer_part_number?: string | undefined;
|
|
937
1030
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
938
1031
|
display_value?: string | undefined;
|
|
939
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1032
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
940
1033
|
type: z.ZodLiteral<"source_component">;
|
|
941
1034
|
ftype: z.ZodOptional<z.ZodString>;
|
|
942
1035
|
source_component_id: z.ZodString;
|
|
@@ -945,192 +1038,55 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
945
1038
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
946
1039
|
display_value: z.ZodOptional<z.ZodString>;
|
|
947
1040
|
}, {
|
|
948
|
-
ftype: z.ZodLiteral<"
|
|
949
|
-
|
|
950
|
-
|
|
1041
|
+
ftype: z.ZodLiteral<"simple_diode">;
|
|
1042
|
+
}>, {
|
|
1043
|
+
ftype: z.ZodLiteral<"led">;
|
|
951
1044
|
}>, "strip", z.ZodTypeAny, {
|
|
952
1045
|
type: "source_component";
|
|
953
|
-
ftype: "
|
|
1046
|
+
ftype: "led";
|
|
954
1047
|
source_component_id: string;
|
|
955
1048
|
name: string;
|
|
956
|
-
channel_type: "n" | "p";
|
|
957
|
-
mosfet_mode: "enhancement" | "depletion";
|
|
958
1049
|
manufacturer_part_number?: string | undefined;
|
|
959
1050
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
960
1051
|
display_value?: string | undefined;
|
|
961
1052
|
}, {
|
|
962
1053
|
type: "source_component";
|
|
963
|
-
ftype: "
|
|
1054
|
+
ftype: "led";
|
|
964
1055
|
source_component_id: string;
|
|
965
1056
|
name: string;
|
|
966
|
-
channel_type: "n" | "p";
|
|
967
|
-
mosfet_mode: "enhancement" | "depletion";
|
|
968
1057
|
manufacturer_part_number?: string | undefined;
|
|
969
1058
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
970
1059
|
display_value?: string | undefined;
|
|
971
|
-
}>, z.ZodObject<{
|
|
972
|
-
type: z.ZodLiteral<"
|
|
973
|
-
|
|
974
|
-
software_used_string: z.ZodOptional<z.ZodString>;
|
|
975
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
976
|
-
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
type: "source_project_metadata";
|
|
978
|
-
name?: string | undefined;
|
|
979
|
-
software_used_string?: string | undefined;
|
|
980
|
-
created_at?: string | undefined;
|
|
981
|
-
}, {
|
|
982
|
-
type: "source_project_metadata";
|
|
983
|
-
name?: string | undefined;
|
|
984
|
-
software_used_string?: string | undefined;
|
|
985
|
-
created_at?: string | undefined;
|
|
986
|
-
}>]>;
|
|
987
|
-
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
988
|
-
|
|
989
|
-
declare const source_port: z.ZodObject<{
|
|
990
|
-
type: z.ZodLiteral<"source_port">;
|
|
991
|
-
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
992
|
-
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
993
|
-
name: z.ZodString;
|
|
994
|
-
source_port_id: z.ZodString;
|
|
1060
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1061
|
+
type: z.ZodLiteral<"source_component">;
|
|
1062
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
995
1063
|
source_component_id: z.ZodString;
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
name: string;
|
|
1001
|
-
source_port_id: string;
|
|
1002
|
-
pin_number?: number | undefined;
|
|
1003
|
-
port_hints?: string[] | undefined;
|
|
1004
|
-
subcircuit_id?: string | undefined;
|
|
1064
|
+
name: z.ZodString;
|
|
1065
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
1067
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
1005
1068
|
}, {
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
port_hints?: string[] | undefined;
|
|
1012
|
-
subcircuit_id?: string | undefined;
|
|
1013
|
-
}>;
|
|
1014
|
-
type SourcePortInput = z.input<typeof source_port>;
|
|
1015
|
-
/**
|
|
1016
|
-
* Defines a source port that can be connected to other components
|
|
1017
|
-
*/
|
|
1018
|
-
interface SourcePort {
|
|
1019
|
-
type: "source_port";
|
|
1020
|
-
pin_number?: number;
|
|
1021
|
-
port_hints?: string[];
|
|
1022
|
-
name: string;
|
|
1023
|
-
source_port_id: string;
|
|
1069
|
+
ftype: z.ZodLiteral<"simple_power_source">;
|
|
1070
|
+
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1071
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1072
|
+
type: "source_component";
|
|
1073
|
+
ftype: "simple_power_source";
|
|
1024
1074
|
source_component_id: string;
|
|
1025
|
-
subcircuit_id?: string;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
interface SourceTrace {
|
|
1029
|
-
type: "source_trace";
|
|
1030
|
-
source_trace_id: string;
|
|
1031
|
-
connected_source_port_ids: string[];
|
|
1032
|
-
connected_source_net_ids: string[];
|
|
1033
|
-
subcircuit_id?: string;
|
|
1034
|
-
subcircuit_connectivity_map_key?: string;
|
|
1035
|
-
max_length?: number;
|
|
1036
|
-
display_name?: string;
|
|
1037
|
-
min_trace_thickness?: number;
|
|
1038
|
-
}
|
|
1039
|
-
declare const source_trace: z.ZodObject<{
|
|
1040
|
-
type: z.ZodLiteral<"source_trace">;
|
|
1041
|
-
source_trace_id: z.ZodString;
|
|
1042
|
-
connected_source_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
1043
|
-
connected_source_net_ids: z.ZodArray<z.ZodString, "many">;
|
|
1044
|
-
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1045
|
-
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
1046
|
-
max_length: z.ZodOptional<z.ZodNumber>;
|
|
1047
|
-
min_trace_thickness: z.ZodOptional<z.ZodNumber>;
|
|
1048
|
-
display_name: z.ZodOptional<z.ZodString>;
|
|
1049
|
-
}, "strip", z.ZodTypeAny, {
|
|
1050
|
-
type: "source_trace";
|
|
1051
|
-
source_trace_id: string;
|
|
1052
|
-
connected_source_port_ids: string[];
|
|
1053
|
-
connected_source_net_ids: string[];
|
|
1054
|
-
subcircuit_id?: string | undefined;
|
|
1055
|
-
subcircuit_connectivity_map_key?: string | undefined;
|
|
1056
|
-
max_length?: number | undefined;
|
|
1057
|
-
min_trace_thickness?: number | undefined;
|
|
1058
|
-
display_name?: string | undefined;
|
|
1059
|
-
}, {
|
|
1060
|
-
type: "source_trace";
|
|
1061
|
-
source_trace_id: string;
|
|
1062
|
-
connected_source_port_ids: string[];
|
|
1063
|
-
connected_source_net_ids: string[];
|
|
1064
|
-
subcircuit_id?: string | undefined;
|
|
1065
|
-
subcircuit_connectivity_map_key?: string | undefined;
|
|
1066
|
-
max_length?: number | undefined;
|
|
1067
|
-
min_trace_thickness?: number | undefined;
|
|
1068
|
-
display_name?: string | undefined;
|
|
1069
|
-
}>;
|
|
1070
|
-
|
|
1071
|
-
declare const source_group: z.ZodObject<{
|
|
1072
|
-
type: z.ZodLiteral<"source_group">;
|
|
1073
|
-
source_group_id: z.ZodString;
|
|
1074
|
-
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1075
|
-
parent_subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1076
|
-
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
1077
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1078
|
-
}, "strip", z.ZodTypeAny, {
|
|
1079
|
-
type: "source_group";
|
|
1080
|
-
source_group_id: string;
|
|
1081
|
-
name?: string | undefined;
|
|
1082
|
-
subcircuit_id?: string | undefined;
|
|
1083
|
-
parent_subcircuit_id?: string | undefined;
|
|
1084
|
-
is_subcircuit?: boolean | undefined;
|
|
1085
|
-
}, {
|
|
1086
|
-
type: "source_group";
|
|
1087
|
-
source_group_id: string;
|
|
1088
|
-
name?: string | undefined;
|
|
1089
|
-
subcircuit_id?: string | undefined;
|
|
1090
|
-
parent_subcircuit_id?: string | undefined;
|
|
1091
|
-
is_subcircuit?: boolean | undefined;
|
|
1092
|
-
}>;
|
|
1093
|
-
type SourceGroup = z.infer<typeof source_group>;
|
|
1094
|
-
type SourceGroupInput = z.input<typeof source_group>;
|
|
1095
|
-
|
|
1096
|
-
declare const source_net: z.ZodObject<{
|
|
1097
|
-
type: z.ZodLiteral<"source_net">;
|
|
1098
|
-
source_net_id: z.ZodString;
|
|
1099
|
-
name: z.ZodString;
|
|
1100
|
-
member_source_group_ids: z.ZodArray<z.ZodString, "many">;
|
|
1101
|
-
is_power: z.ZodOptional<z.ZodBoolean>;
|
|
1102
|
-
is_ground: z.ZodOptional<z.ZodBoolean>;
|
|
1103
|
-
is_digital_signal: z.ZodOptional<z.ZodBoolean>;
|
|
1104
|
-
is_analog_signal: z.ZodOptional<z.ZodBoolean>;
|
|
1105
|
-
trace_width: z.ZodOptional<z.ZodNumber>;
|
|
1106
|
-
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1107
|
-
}, "strip", z.ZodTypeAny, {
|
|
1108
|
-
type: "source_net";
|
|
1109
1075
|
name: string;
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
is_ground?: boolean | undefined;
|
|
1115
|
-
is_digital_signal?: boolean | undefined;
|
|
1116
|
-
is_analog_signal?: boolean | undefined;
|
|
1117
|
-
trace_width?: number | undefined;
|
|
1076
|
+
voltage: number;
|
|
1077
|
+
manufacturer_part_number?: string | undefined;
|
|
1078
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1079
|
+
display_value?: string | undefined;
|
|
1118
1080
|
}, {
|
|
1119
|
-
type: "
|
|
1081
|
+
type: "source_component";
|
|
1082
|
+
ftype: "simple_power_source";
|
|
1083
|
+
source_component_id: string;
|
|
1120
1084
|
name: string;
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
is_digital_signal?: boolean | undefined;
|
|
1127
|
-
is_analog_signal?: boolean | undefined;
|
|
1128
|
-
trace_width?: number | undefined;
|
|
1129
|
-
}>;
|
|
1130
|
-
type SourceNet = z.infer<typeof source_net>;
|
|
1131
|
-
type SourceNetInput = z.input<typeof source_net>;
|
|
1132
|
-
|
|
1133
|
-
declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
|
|
1085
|
+
voltage: string | number;
|
|
1086
|
+
manufacturer_part_number?: string | undefined;
|
|
1087
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1088
|
+
display_value?: string | undefined;
|
|
1089
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1134
1090
|
type: z.ZodLiteral<"source_component">;
|
|
1135
1091
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1136
1092
|
source_component_id: z.ZodString;
|
|
@@ -1159,17 +1115,7 @@ declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1159
1115
|
manufacturer_part_number?: string | undefined;
|
|
1160
1116
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1161
1117
|
display_value?: string | undefined;
|
|
1162
|
-
}
|
|
1163
|
-
type SourceSimpleBatteryInput = z.input<typeof source_simple_battery>;
|
|
1164
|
-
/**
|
|
1165
|
-
* Defines a simple battery component
|
|
1166
|
-
*/
|
|
1167
|
-
interface SourceSimpleBattery extends SourceComponentBase {
|
|
1168
|
-
ftype: "simple_battery";
|
|
1169
|
-
capacity: number;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
1118
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1173
1119
|
type: z.ZodLiteral<"source_component">;
|
|
1174
1120
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1175
1121
|
source_component_id: z.ZodString;
|
|
@@ -1198,17 +1144,7 @@ declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1198
1144
|
manufacturer_part_number?: string | undefined;
|
|
1199
1145
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1200
1146
|
display_value?: string | undefined;
|
|
1201
|
-
}
|
|
1202
|
-
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
1203
|
-
/**
|
|
1204
|
-
* Defines a simple inductor component
|
|
1205
|
-
*/
|
|
1206
|
-
interface SourceSimpleInductor extends SourceComponentBase {
|
|
1207
|
-
ftype: "simple_inductor";
|
|
1208
|
-
inductance: number;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
1147
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1212
1148
|
type: z.ZodLiteral<"source_component">;
|
|
1213
1149
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1214
1150
|
source_component_id: z.ZodString;
|
|
@@ -1234,16 +1170,7 @@ declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1234
1170
|
manufacturer_part_number?: string | undefined;
|
|
1235
1171
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1236
1172
|
display_value?: string | undefined;
|
|
1237
|
-
}
|
|
1238
|
-
type SourceSimplePushButtonInput = z.input<typeof source_simple_push_button>;
|
|
1239
|
-
/**
|
|
1240
|
-
* Defines a simple push button component
|
|
1241
|
-
*/
|
|
1242
|
-
interface SourceSimplePushButton extends SourceComponentBase {
|
|
1243
|
-
ftype: "simple_push_button";
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<{
|
|
1173
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1247
1174
|
type: z.ZodLiteral<"source_component">;
|
|
1248
1175
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1249
1176
|
source_component_id: z.ZodString;
|
|
@@ -1272,11 +1199,7 @@ declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1272
1199
|
manufacturer_part_number?: string | undefined;
|
|
1273
1200
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1274
1201
|
display_value?: string | undefined;
|
|
1275
|
-
}
|
|
1276
|
-
type SourceSimplePotentiometer = z.infer<typeof source_simple_potentiometer>;
|
|
1277
|
-
type SourceSimplePotentiometerInput = z.input<typeof source_simple_potentiometer>;
|
|
1278
|
-
|
|
1279
|
-
declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
|
|
1202
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1280
1203
|
type: z.ZodLiteral<"source_component">;
|
|
1281
1204
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1282
1205
|
source_component_id: z.ZodString;
|
|
@@ -1308,18 +1231,7 @@ declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1308
1231
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1309
1232
|
display_value?: string | undefined;
|
|
1310
1233
|
load_capacitance?: number | undefined;
|
|
1311
|
-
}
|
|
1312
|
-
type SourceSimpleCrystalInput = z.input<typeof source_simple_crystal>;
|
|
1313
|
-
/**
|
|
1314
|
-
* Defines a simple crystal oscillator component
|
|
1315
|
-
*/
|
|
1316
|
-
interface SourceSimpleCrystal extends SourceComponentBase {
|
|
1317
|
-
ftype: "simple_crystal";
|
|
1318
|
-
frequency: number;
|
|
1319
|
-
load_capacitance?: number;
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
1234
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1323
1235
|
type: z.ZodLiteral<"source_component">;
|
|
1324
1236
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1325
1237
|
source_component_id: z.ZodString;
|
|
@@ -1351,11 +1263,7 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1351
1263
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1352
1264
|
display_value?: string | undefined;
|
|
1353
1265
|
gender?: "male" | "female" | undefined;
|
|
1354
|
-
}
|
|
1355
|
-
type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
|
|
1356
|
-
type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
|
|
1357
|
-
|
|
1358
|
-
declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
|
|
1266
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1359
1267
|
type: z.ZodLiteral<"source_component">;
|
|
1360
1268
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1361
1269
|
source_component_id: z.ZodString;
|
|
@@ -1390,19 +1298,7 @@ declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1390
1298
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1391
1299
|
display_value?: string | undefined;
|
|
1392
1300
|
equivalent_series_resistance?: string | number | undefined;
|
|
1393
|
-
}
|
|
1394
|
-
type SourceSimpleResonatorInput = z.input<typeof source_simple_resonator>;
|
|
1395
|
-
/**
|
|
1396
|
-
* Defines a simple resonator component
|
|
1397
|
-
*/
|
|
1398
|
-
interface SourceSimpleResonator extends SourceComponentBase {
|
|
1399
|
-
ftype: "simple_resonator";
|
|
1400
|
-
load_capacitance: number;
|
|
1401
|
-
equivalent_series_resistance?: number;
|
|
1402
|
-
frequency: number;
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
|
|
1301
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1406
1302
|
type: z.ZodLiteral<"source_component">;
|
|
1407
1303
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1408
1304
|
source_component_id: z.ZodString;
|
|
@@ -1428,16 +1324,7 @@ declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1428
1324
|
manufacturer_part_number?: string | undefined;
|
|
1429
1325
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1430
1326
|
display_value?: string | undefined;
|
|
1431
|
-
}
|
|
1432
|
-
type SourceSimpleSwitchInput = z.input<typeof source_simple_switch>;
|
|
1433
|
-
/**
|
|
1434
|
-
* Defines a simple switch component
|
|
1435
|
-
*/
|
|
1436
|
-
interface SourceSimpleSwitch extends SourceComponentBase {
|
|
1437
|
-
ftype: "simple_switch";
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
|
|
1327
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1441
1328
|
type: z.ZodLiteral<"source_component">;
|
|
1442
1329
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1443
1330
|
source_component_id: z.ZodString;
|
|
@@ -1466,19 +1353,7 @@ declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1466
1353
|
manufacturer_part_number?: string | undefined;
|
|
1467
1354
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1468
1355
|
display_value?: string | undefined;
|
|
1469
|
-
}
|
|
1470
|
-
type SourceSimpleTransistorInput = z.input<typeof source_simple_transistor>;
|
|
1471
|
-
/**
|
|
1472
|
-
* Defines a simple transistor component
|
|
1473
|
-
* This is a three-pin semiconductor device (emitter, base, collector)
|
|
1474
|
-
* Pin configuration is handled by the schematic port system
|
|
1475
|
-
*/
|
|
1476
|
-
interface SourceSimpleTransistor extends SourceComponentBase {
|
|
1477
|
-
ftype: "simple_transistor";
|
|
1478
|
-
transistor_type: "npn" | "pnp";
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
|
|
1356
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1482
1357
|
type: z.ZodLiteral<"source_component">;
|
|
1483
1358
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1484
1359
|
source_component_id: z.ZodString;
|
|
@@ -1510,26 +1385,7 @@ declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1510
1385
|
manufacturer_part_number?: string | undefined;
|
|
1511
1386
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1512
1387
|
display_value?: string | undefined;
|
|
1513
|
-
}
|
|
1514
|
-
type SourceSimpleMosfetInput = z.input<typeof source_simple_mosfet>;
|
|
1515
|
-
/**
|
|
1516
|
-
* Defines a simple mosfet component
|
|
1517
|
-
* This is a three-pin semiconductor device (source, gate, drain)
|
|
1518
|
-
* Pin configuration is handled by the schematic port system
|
|
1519
|
-
*/
|
|
1520
|
-
interface SourceSimpleMosfet extends SourceComponentBase {
|
|
1521
|
-
ftype: "simple_mosfet";
|
|
1522
|
-
channel_type: "n" | "p";
|
|
1523
|
-
mosfet_mode: "enhancement" | "depletion";
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
interface SourceProjectMetadata {
|
|
1527
|
-
type: "source_project_metadata";
|
|
1528
|
-
name?: string;
|
|
1529
|
-
software_used_string?: string;
|
|
1530
|
-
created_at?: string;
|
|
1531
|
-
}
|
|
1532
|
-
declare const source_project_metadata: z.ZodObject<{
|
|
1388
|
+
}>, z.ZodObject<{
|
|
1533
1389
|
type: z.ZodLiteral<"source_project_metadata">;
|
|
1534
1390
|
name: z.ZodOptional<z.ZodString>;
|
|
1535
1391
|
software_used_string: z.ZodOptional<z.ZodString>;
|
|
@@ -1544,8 +1400,156 @@ declare const source_project_metadata: z.ZodObject<{
|
|
|
1544
1400
|
name?: string | undefined;
|
|
1545
1401
|
software_used_string?: string | undefined;
|
|
1546
1402
|
created_at?: string | undefined;
|
|
1403
|
+
}>]>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Deprecated: use `AnySourceElement` instead
|
|
1406
|
+
*/
|
|
1407
|
+
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
1408
|
+
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceProjectMetadata;
|
|
1409
|
+
|
|
1410
|
+
declare const source_port: z.ZodObject<{
|
|
1411
|
+
type: z.ZodLiteral<"source_port">;
|
|
1412
|
+
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
1413
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1414
|
+
name: z.ZodString;
|
|
1415
|
+
source_port_id: z.ZodString;
|
|
1416
|
+
source_component_id: z.ZodString;
|
|
1417
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
}, "strip", z.ZodTypeAny, {
|
|
1419
|
+
type: "source_port";
|
|
1420
|
+
source_component_id: string;
|
|
1421
|
+
name: string;
|
|
1422
|
+
source_port_id: string;
|
|
1423
|
+
pin_number?: number | undefined;
|
|
1424
|
+
port_hints?: string[] | undefined;
|
|
1425
|
+
subcircuit_id?: string | undefined;
|
|
1426
|
+
}, {
|
|
1427
|
+
type: "source_port";
|
|
1428
|
+
source_component_id: string;
|
|
1429
|
+
name: string;
|
|
1430
|
+
source_port_id: string;
|
|
1431
|
+
pin_number?: number | undefined;
|
|
1432
|
+
port_hints?: string[] | undefined;
|
|
1433
|
+
subcircuit_id?: string | undefined;
|
|
1547
1434
|
}>;
|
|
1548
|
-
type
|
|
1435
|
+
type SourcePortInput = z.input<typeof source_port>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Defines a source port that can be connected to other components
|
|
1438
|
+
*/
|
|
1439
|
+
interface SourcePort {
|
|
1440
|
+
type: "source_port";
|
|
1441
|
+
pin_number?: number;
|
|
1442
|
+
port_hints?: string[];
|
|
1443
|
+
name: string;
|
|
1444
|
+
source_port_id: string;
|
|
1445
|
+
source_component_id: string;
|
|
1446
|
+
subcircuit_id?: string;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
interface SourceTrace {
|
|
1450
|
+
type: "source_trace";
|
|
1451
|
+
source_trace_id: string;
|
|
1452
|
+
connected_source_port_ids: string[];
|
|
1453
|
+
connected_source_net_ids: string[];
|
|
1454
|
+
subcircuit_id?: string;
|
|
1455
|
+
subcircuit_connectivity_map_key?: string;
|
|
1456
|
+
max_length?: number;
|
|
1457
|
+
display_name?: string;
|
|
1458
|
+
min_trace_thickness?: number;
|
|
1459
|
+
}
|
|
1460
|
+
declare const source_trace: z.ZodObject<{
|
|
1461
|
+
type: z.ZodLiteral<"source_trace">;
|
|
1462
|
+
source_trace_id: z.ZodString;
|
|
1463
|
+
connected_source_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
1464
|
+
connected_source_net_ids: z.ZodArray<z.ZodString, "many">;
|
|
1465
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
max_length: z.ZodOptional<z.ZodNumber>;
|
|
1468
|
+
min_trace_thickness: z.ZodOptional<z.ZodNumber>;
|
|
1469
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
}, "strip", z.ZodTypeAny, {
|
|
1471
|
+
type: "source_trace";
|
|
1472
|
+
source_trace_id: string;
|
|
1473
|
+
connected_source_port_ids: string[];
|
|
1474
|
+
connected_source_net_ids: string[];
|
|
1475
|
+
subcircuit_id?: string | undefined;
|
|
1476
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
1477
|
+
max_length?: number | undefined;
|
|
1478
|
+
min_trace_thickness?: number | undefined;
|
|
1479
|
+
display_name?: string | undefined;
|
|
1480
|
+
}, {
|
|
1481
|
+
type: "source_trace";
|
|
1482
|
+
source_trace_id: string;
|
|
1483
|
+
connected_source_port_ids: string[];
|
|
1484
|
+
connected_source_net_ids: string[];
|
|
1485
|
+
subcircuit_id?: string | undefined;
|
|
1486
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
1487
|
+
max_length?: number | undefined;
|
|
1488
|
+
min_trace_thickness?: number | undefined;
|
|
1489
|
+
display_name?: string | undefined;
|
|
1490
|
+
}>;
|
|
1491
|
+
|
|
1492
|
+
declare const source_group: z.ZodObject<{
|
|
1493
|
+
type: z.ZodLiteral<"source_group">;
|
|
1494
|
+
source_group_id: z.ZodString;
|
|
1495
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
parent_subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1497
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
1498
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
}, "strip", z.ZodTypeAny, {
|
|
1500
|
+
type: "source_group";
|
|
1501
|
+
source_group_id: string;
|
|
1502
|
+
name?: string | undefined;
|
|
1503
|
+
subcircuit_id?: string | undefined;
|
|
1504
|
+
parent_subcircuit_id?: string | undefined;
|
|
1505
|
+
is_subcircuit?: boolean | undefined;
|
|
1506
|
+
}, {
|
|
1507
|
+
type: "source_group";
|
|
1508
|
+
source_group_id: string;
|
|
1509
|
+
name?: string | undefined;
|
|
1510
|
+
subcircuit_id?: string | undefined;
|
|
1511
|
+
parent_subcircuit_id?: string | undefined;
|
|
1512
|
+
is_subcircuit?: boolean | undefined;
|
|
1513
|
+
}>;
|
|
1514
|
+
type SourceGroup = z.infer<typeof source_group>;
|
|
1515
|
+
type SourceGroupInput = z.input<typeof source_group>;
|
|
1516
|
+
|
|
1517
|
+
declare const source_net: z.ZodObject<{
|
|
1518
|
+
type: z.ZodLiteral<"source_net">;
|
|
1519
|
+
source_net_id: z.ZodString;
|
|
1520
|
+
name: z.ZodString;
|
|
1521
|
+
member_source_group_ids: z.ZodArray<z.ZodString, "many">;
|
|
1522
|
+
is_power: z.ZodOptional<z.ZodBoolean>;
|
|
1523
|
+
is_ground: z.ZodOptional<z.ZodBoolean>;
|
|
1524
|
+
is_digital_signal: z.ZodOptional<z.ZodBoolean>;
|
|
1525
|
+
is_analog_signal: z.ZodOptional<z.ZodBoolean>;
|
|
1526
|
+
trace_width: z.ZodOptional<z.ZodNumber>;
|
|
1527
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
}, "strip", z.ZodTypeAny, {
|
|
1529
|
+
type: "source_net";
|
|
1530
|
+
name: string;
|
|
1531
|
+
source_net_id: string;
|
|
1532
|
+
member_source_group_ids: string[];
|
|
1533
|
+
subcircuit_id?: string | undefined;
|
|
1534
|
+
is_power?: boolean | undefined;
|
|
1535
|
+
is_ground?: boolean | undefined;
|
|
1536
|
+
is_digital_signal?: boolean | undefined;
|
|
1537
|
+
is_analog_signal?: boolean | undefined;
|
|
1538
|
+
trace_width?: number | undefined;
|
|
1539
|
+
}, {
|
|
1540
|
+
type: "source_net";
|
|
1541
|
+
name: string;
|
|
1542
|
+
source_net_id: string;
|
|
1543
|
+
member_source_group_ids: string[];
|
|
1544
|
+
subcircuit_id?: string | undefined;
|
|
1545
|
+
is_power?: boolean | undefined;
|
|
1546
|
+
is_ground?: boolean | undefined;
|
|
1547
|
+
is_digital_signal?: boolean | undefined;
|
|
1548
|
+
is_analog_signal?: boolean | undefined;
|
|
1549
|
+
trace_width?: number | undefined;
|
|
1550
|
+
}>;
|
|
1551
|
+
type SourceNet = z.infer<typeof source_net>;
|
|
1552
|
+
type SourceNetInput = z.input<typeof source_net>;
|
|
1549
1553
|
|
|
1550
1554
|
interface SchematicBox {
|
|
1551
1555
|
type: "schematic_box";
|
|
@@ -13146,4 +13150,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
13146
13150
|
*/
|
|
13147
13151
|
type CircuitJson = AnyCircuitElement[];
|
|
13148
13152
|
|
|
13149
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, type InferredProjectMetadata, 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 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 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 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, 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_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_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_group, source_led, 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 };
|
|
13153
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, type InferredProjectMetadata, 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 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 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 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, 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_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_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_group, source_led, 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 };
|