@tscircuit/footprinter 0.0.279 → 0.0.281
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.ts +37 -1
- package/dist/index.js +933 -757
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -548,6 +548,11 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
548
548
|
od: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
549
549
|
male: z.ZodOptional<z.ZodBoolean>;
|
|
550
550
|
female: z.ZodOptional<z.ZodBoolean>;
|
|
551
|
+
smd: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
+
surfacemount: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
+
rightangle: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
pw: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
555
|
+
pl: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
551
556
|
pinlabeltextalignleft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
552
557
|
pinlabeltextaligncenter: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
553
558
|
pinlabeltextalignright: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -564,6 +569,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
564
569
|
id: number;
|
|
565
570
|
od: number;
|
|
566
571
|
nosquareplating: boolean;
|
|
572
|
+
pw: number;
|
|
573
|
+
pl: number;
|
|
567
574
|
pinlabeltextalignleft: boolean;
|
|
568
575
|
pinlabeltextalignright: boolean;
|
|
569
576
|
pinlabelorthogonal: boolean;
|
|
@@ -579,6 +586,9 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
579
586
|
nosilkscreen?: boolean | undefined;
|
|
580
587
|
male?: boolean | undefined;
|
|
581
588
|
female?: boolean | undefined;
|
|
589
|
+
smd?: boolean | undefined;
|
|
590
|
+
surfacemount?: boolean | undefined;
|
|
591
|
+
rightangle?: boolean | undefined;
|
|
582
592
|
}, {
|
|
583
593
|
fn: string;
|
|
584
594
|
norefdes?: boolean | undefined;
|
|
@@ -592,10 +602,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
592
602
|
nosquareplating?: boolean | undefined;
|
|
593
603
|
male?: boolean | undefined;
|
|
594
604
|
female?: boolean | undefined;
|
|
605
|
+
pw?: string | number | undefined;
|
|
606
|
+
pl?: string | number | undefined;
|
|
595
607
|
pinlabeltextalignleft?: boolean | undefined;
|
|
596
608
|
pinlabeltextalignright?: boolean | undefined;
|
|
597
609
|
pinlabelorthogonal?: boolean | undefined;
|
|
598
610
|
rows?: string | number | undefined;
|
|
611
|
+
smd?: boolean | undefined;
|
|
612
|
+
surfacemount?: boolean | undefined;
|
|
613
|
+
rightangle?: boolean | undefined;
|
|
599
614
|
pinlabeltextaligncenter?: boolean | undefined;
|
|
600
615
|
pinlabelverticallyinverted?: boolean | undefined;
|
|
601
616
|
nopinlabels?: boolean | undefined;
|
|
@@ -605,12 +620,16 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
605
620
|
pinlabelAnchorSide: "top" | "bottom" | "left" | "right";
|
|
606
621
|
male: boolean;
|
|
607
622
|
female: boolean;
|
|
623
|
+
smd: boolean;
|
|
624
|
+
rightangle: boolean;
|
|
608
625
|
fn: string;
|
|
609
626
|
num_pins: number;
|
|
610
627
|
p: number;
|
|
611
628
|
id: number;
|
|
612
629
|
od: number;
|
|
613
630
|
nosquareplating: boolean;
|
|
631
|
+
pw: number;
|
|
632
|
+
pl: number;
|
|
614
633
|
pinlabeltextalignleft: boolean;
|
|
615
634
|
pinlabeltextalignright: boolean;
|
|
616
635
|
pinlabelorthogonal: boolean;
|
|
@@ -624,6 +643,7 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
624
643
|
invert?: boolean | undefined;
|
|
625
644
|
faceup?: boolean | undefined;
|
|
626
645
|
nosilkscreen?: boolean | undefined;
|
|
646
|
+
surfacemount?: boolean | undefined;
|
|
627
647
|
}, {
|
|
628
648
|
fn: string;
|
|
629
649
|
norefdes?: boolean | undefined;
|
|
@@ -637,10 +657,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
637
657
|
nosquareplating?: boolean | undefined;
|
|
638
658
|
male?: boolean | undefined;
|
|
639
659
|
female?: boolean | undefined;
|
|
660
|
+
pw?: string | number | undefined;
|
|
661
|
+
pl?: string | number | undefined;
|
|
640
662
|
pinlabeltextalignleft?: boolean | undefined;
|
|
641
663
|
pinlabeltextalignright?: boolean | undefined;
|
|
642
664
|
pinlabelorthogonal?: boolean | undefined;
|
|
643
665
|
rows?: string | number | undefined;
|
|
666
|
+
smd?: boolean | undefined;
|
|
667
|
+
surfacemount?: boolean | undefined;
|
|
668
|
+
rightangle?: boolean | undefined;
|
|
644
669
|
pinlabeltextaligncenter?: boolean | undefined;
|
|
645
670
|
pinlabelverticallyinverted?: boolean | undefined;
|
|
646
671
|
nopinlabels?: boolean | undefined;
|
|
@@ -650,12 +675,16 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
650
675
|
pinlabelAnchorSide: "top" | "bottom" | "left" | "right";
|
|
651
676
|
male: boolean;
|
|
652
677
|
female: boolean;
|
|
678
|
+
smd: boolean;
|
|
679
|
+
rightangle: boolean;
|
|
653
680
|
fn: string;
|
|
654
681
|
num_pins: number;
|
|
655
682
|
p: number;
|
|
656
683
|
id: number;
|
|
657
684
|
od: number;
|
|
658
685
|
nosquareplating: boolean;
|
|
686
|
+
pw: number;
|
|
687
|
+
pl: number;
|
|
659
688
|
pinlabeltextalignleft: boolean;
|
|
660
689
|
pinlabeltextalignright: boolean;
|
|
661
690
|
pinlabelorthogonal: boolean;
|
|
@@ -669,6 +698,7 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
669
698
|
invert?: boolean | undefined;
|
|
670
699
|
faceup?: boolean | undefined;
|
|
671
700
|
nosilkscreen?: boolean | undefined;
|
|
701
|
+
surfacemount?: boolean | undefined;
|
|
672
702
|
}, {
|
|
673
703
|
fn: string;
|
|
674
704
|
norefdes?: boolean | undefined;
|
|
@@ -682,10 +712,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
682
712
|
nosquareplating?: boolean | undefined;
|
|
683
713
|
male?: boolean | undefined;
|
|
684
714
|
female?: boolean | undefined;
|
|
715
|
+
pw?: string | number | undefined;
|
|
716
|
+
pl?: string | number | undefined;
|
|
685
717
|
pinlabeltextalignleft?: boolean | undefined;
|
|
686
718
|
pinlabeltextalignright?: boolean | undefined;
|
|
687
719
|
pinlabelorthogonal?: boolean | undefined;
|
|
688
720
|
rows?: string | number | undefined;
|
|
721
|
+
smd?: boolean | undefined;
|
|
722
|
+
surfacemount?: boolean | undefined;
|
|
723
|
+
rightangle?: boolean | undefined;
|
|
689
724
|
pinlabeltextaligncenter?: boolean | undefined;
|
|
690
725
|
pinlabelverticallyinverted?: boolean | undefined;
|
|
691
726
|
nopinlabels?: boolean | undefined;
|
|
@@ -1793,8 +1828,9 @@ type Footprinter = {
|
|
|
1793
1828
|
ssop: (num_pins?: number) => FootprinterParamsBuilder<"w" | "p">;
|
|
1794
1829
|
tssop: (num_pins?: number) => FootprinterParamsBuilder<"w" | "p">;
|
|
1795
1830
|
dfn: (num_pins?: number) => FootprinterParamsBuilder<"w" | "p">;
|
|
1796
|
-
pinrow: (num_pins?: number) => FootprinterParamsBuilder<"p" | "id" | "od" | "male" | "female" | "rows" | "pinlabeltextalignleft" | "pinlabeltextaligncenter" | "pinlabeltextalignright" | "pinlabelverticallyinverted" | "pinlabelorthogonal" | "nosquareplating" | "nopinlabels" | "doublesidedpinlabel" | "bottomsidepinlabel">;
|
|
1831
|
+
pinrow: (num_pins?: number) => FootprinterParamsBuilder<"p" | "id" | "od" | "male" | "female" | "rows" | "smd" | "surfacemount" | "rightangle" | "pw" | "pl" | "pinlabeltextalignleft" | "pinlabeltextaligncenter" | "pinlabeltextalignright" | "pinlabelverticallyinverted" | "pinlabelorthogonal" | "nosquareplating" | "nopinlabels" | "doublesidedpinlabel" | "bottomsidepinlabel">;
|
|
1797
1832
|
axial: () => FootprinterParamsBuilder<"p" | "id" | "od">;
|
|
1833
|
+
radial: () => FootprinterParamsBuilder<"p" | "id" | "od" | "ceramic" | "electrolytic" | "polarized">;
|
|
1798
1834
|
hc49: () => FootprinterParamsBuilder<"p" | "id" | "od" | "w" | "h">;
|
|
1799
1835
|
to220: () => FootprinterParamsBuilder<"w" | "h" | "p" | "id" | "od">;
|
|
1800
1836
|
sot363: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|