@tscircuit/footprinter 0.0.122 → 0.0.124
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 +53 -35
- package/dist/index.js +469 -459
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -160,36 +160,36 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
160
160
|
fn: string;
|
|
161
161
|
num_pins: number;
|
|
162
162
|
p: number;
|
|
163
|
-
w?: number | undefined;
|
|
164
163
|
wide?: boolean | undefined;
|
|
165
164
|
narrow?: boolean | undefined;
|
|
165
|
+
w?: number | undefined;
|
|
166
166
|
id?: number | undefined;
|
|
167
167
|
od?: number | undefined;
|
|
168
168
|
}, {
|
|
169
169
|
fn: string;
|
|
170
170
|
num_pins?: number | undefined;
|
|
171
|
-
w?: string | number | undefined;
|
|
172
|
-
p?: string | number | undefined;
|
|
173
171
|
wide?: boolean | undefined;
|
|
174
172
|
narrow?: boolean | undefined;
|
|
173
|
+
w?: string | number | undefined;
|
|
174
|
+
p?: string | number | undefined;
|
|
175
175
|
id?: string | number | undefined;
|
|
176
176
|
od?: string | number | undefined;
|
|
177
177
|
}>, NowDefined<{
|
|
178
178
|
fn: string;
|
|
179
179
|
num_pins: number;
|
|
180
180
|
p: number;
|
|
181
|
-
w?: number | undefined;
|
|
182
181
|
wide?: boolean | undefined;
|
|
183
182
|
narrow?: boolean | undefined;
|
|
183
|
+
w?: number | undefined;
|
|
184
184
|
id?: number | undefined;
|
|
185
185
|
od?: number | undefined;
|
|
186
186
|
}, "w" | "p" | "id" | "od">, {
|
|
187
187
|
fn: string;
|
|
188
188
|
num_pins?: number | undefined;
|
|
189
|
-
w?: string | number | undefined;
|
|
190
|
-
p?: string | number | undefined;
|
|
191
189
|
wide?: boolean | undefined;
|
|
192
190
|
narrow?: boolean | undefined;
|
|
191
|
+
w?: string | number | undefined;
|
|
192
|
+
p?: string | number | undefined;
|
|
193
193
|
id?: string | number | undefined;
|
|
194
194
|
od?: string | number | undefined;
|
|
195
195
|
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -224,8 +224,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
224
224
|
legsoutside: boolean;
|
|
225
225
|
w?: number | undefined;
|
|
226
226
|
pw?: number | undefined;
|
|
227
|
-
pl?: number | undefined;
|
|
228
227
|
h?: number | undefined;
|
|
228
|
+
pl?: number | undefined;
|
|
229
229
|
ccw?: boolean | undefined;
|
|
230
230
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
231
231
|
cc?: boolean | undefined;
|
|
@@ -239,9 +239,9 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
239
239
|
w?: string | number | undefined;
|
|
240
240
|
p?: string | number | undefined;
|
|
241
241
|
pw?: string | number | undefined;
|
|
242
|
+
h?: string | number | undefined;
|
|
242
243
|
pl?: string | number | undefined;
|
|
243
244
|
legsoutside?: boolean | undefined;
|
|
244
|
-
h?: string | number | undefined;
|
|
245
245
|
ccw?: boolean | undefined;
|
|
246
246
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
247
247
|
cc?: boolean | undefined;
|
|
@@ -253,8 +253,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
253
253
|
legsoutside: boolean;
|
|
254
254
|
w?: number | undefined;
|
|
255
255
|
pw?: number | undefined;
|
|
256
|
-
pl?: number | undefined;
|
|
257
256
|
h?: number | undefined;
|
|
257
|
+
pl?: number | undefined;
|
|
258
258
|
ccw?: boolean | undefined;
|
|
259
259
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
260
260
|
cc?: boolean | undefined;
|
|
@@ -262,15 +262,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
262
262
|
x: number;
|
|
263
263
|
y: number;
|
|
264
264
|
} | undefined;
|
|
265
|
-
}, "w" | "p" | "pw" | "
|
|
265
|
+
}, "w" | "p" | "pw" | "h" | "pl">, {
|
|
266
266
|
fn: string;
|
|
267
267
|
num_pins?: number | undefined;
|
|
268
268
|
w?: string | number | undefined;
|
|
269
269
|
p?: string | number | undefined;
|
|
270
270
|
pw?: string | number | undefined;
|
|
271
|
+
h?: string | number | undefined;
|
|
271
272
|
pl?: string | number | undefined;
|
|
272
273
|
legsoutside?: boolean | undefined;
|
|
273
|
-
h?: string | number | undefined;
|
|
274
274
|
ccw?: boolean | undefined;
|
|
275
275
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
276
276
|
cc?: boolean | undefined;
|
|
@@ -405,8 +405,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
405
405
|
legsoutside: boolean;
|
|
406
406
|
w?: number | undefined;
|
|
407
407
|
pw?: number | undefined;
|
|
408
|
-
pl?: number | undefined;
|
|
409
408
|
h?: number | undefined;
|
|
409
|
+
pl?: number | undefined;
|
|
410
410
|
ccw?: boolean | undefined;
|
|
411
411
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
412
412
|
cc?: boolean | undefined;
|
|
@@ -420,9 +420,9 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
420
420
|
w?: string | number | undefined;
|
|
421
421
|
p?: string | number | undefined;
|
|
422
422
|
pw?: string | number | undefined;
|
|
423
|
+
h?: string | number | undefined;
|
|
423
424
|
pl?: string | number | undefined;
|
|
424
425
|
legsoutside?: boolean | undefined;
|
|
425
|
-
h?: string | number | undefined;
|
|
426
426
|
ccw?: boolean | undefined;
|
|
427
427
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
428
428
|
cc?: boolean | undefined;
|
|
@@ -434,8 +434,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
434
434
|
legsoutside: boolean;
|
|
435
435
|
w?: number | undefined;
|
|
436
436
|
pw?: number | undefined;
|
|
437
|
-
pl?: number | undefined;
|
|
438
437
|
h?: number | undefined;
|
|
438
|
+
pl?: number | undefined;
|
|
439
439
|
ccw?: boolean | undefined;
|
|
440
440
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
441
441
|
cc?: boolean | undefined;
|
|
@@ -443,15 +443,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
443
443
|
x: number;
|
|
444
444
|
y: number;
|
|
445
445
|
} | undefined;
|
|
446
|
-
}, "w" | "p" | "pw" | "
|
|
446
|
+
}, "w" | "p" | "pw" | "h" | "pl">, {
|
|
447
447
|
fn: string;
|
|
448
448
|
num_pins?: number | undefined;
|
|
449
449
|
w?: string | number | undefined;
|
|
450
450
|
p?: string | number | undefined;
|
|
451
451
|
pw?: string | number | undefined;
|
|
452
|
+
h?: string | number | undefined;
|
|
452
453
|
pl?: string | number | undefined;
|
|
453
454
|
legsoutside?: boolean | undefined;
|
|
454
|
-
h?: string | number | undefined;
|
|
455
455
|
ccw?: boolean | undefined;
|
|
456
456
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
457
457
|
cc?: boolean | undefined;
|
|
@@ -488,8 +488,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
488
488
|
legsoutside: boolean;
|
|
489
489
|
w?: number | undefined;
|
|
490
490
|
pw?: number | undefined;
|
|
491
|
-
pl?: number | undefined;
|
|
492
491
|
h?: number | undefined;
|
|
492
|
+
pl?: number | undefined;
|
|
493
493
|
ccw?: boolean | undefined;
|
|
494
494
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
495
495
|
cc?: boolean | undefined;
|
|
@@ -503,9 +503,9 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
503
503
|
w?: string | number | undefined;
|
|
504
504
|
p?: string | number | undefined;
|
|
505
505
|
pw?: string | number | undefined;
|
|
506
|
+
h?: string | number | undefined;
|
|
506
507
|
pl?: string | number | undefined;
|
|
507
508
|
legsoutside?: boolean | undefined;
|
|
508
|
-
h?: string | number | undefined;
|
|
509
509
|
ccw?: boolean | undefined;
|
|
510
510
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
511
511
|
cc?: boolean | undefined;
|
|
@@ -517,8 +517,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
517
517
|
legsoutside: boolean;
|
|
518
518
|
w?: number | undefined;
|
|
519
519
|
pw?: number | undefined;
|
|
520
|
-
pl?: number | undefined;
|
|
521
520
|
h?: number | undefined;
|
|
521
|
+
pl?: number | undefined;
|
|
522
522
|
ccw?: boolean | undefined;
|
|
523
523
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
524
524
|
cc?: boolean | undefined;
|
|
@@ -526,15 +526,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
526
526
|
x: number;
|
|
527
527
|
y: number;
|
|
528
528
|
} | undefined;
|
|
529
|
-
}, "w" | "p" | "pw" | "
|
|
529
|
+
}, "w" | "p" | "pw" | "h" | "pl">, {
|
|
530
530
|
fn: string;
|
|
531
531
|
num_pins?: number | undefined;
|
|
532
532
|
w?: string | number | undefined;
|
|
533
533
|
p?: string | number | undefined;
|
|
534
534
|
pw?: string | number | undefined;
|
|
535
|
+
h?: string | number | undefined;
|
|
535
536
|
pl?: string | number | undefined;
|
|
536
537
|
legsoutside?: boolean | undefined;
|
|
537
|
-
h?: string | number | undefined;
|
|
538
538
|
ccw?: boolean | undefined;
|
|
539
539
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
540
540
|
cc?: boolean | undefined;
|
|
@@ -571,8 +571,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
571
571
|
legsoutside: boolean;
|
|
572
572
|
w?: number | undefined;
|
|
573
573
|
pw?: number | undefined;
|
|
574
|
-
pl?: number | undefined;
|
|
575
574
|
h?: number | undefined;
|
|
575
|
+
pl?: number | undefined;
|
|
576
576
|
ccw?: boolean | undefined;
|
|
577
577
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
578
578
|
cc?: boolean | undefined;
|
|
@@ -586,9 +586,9 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
586
586
|
w?: string | number | undefined;
|
|
587
587
|
p?: string | number | undefined;
|
|
588
588
|
pw?: string | number | undefined;
|
|
589
|
+
h?: string | number | undefined;
|
|
589
590
|
pl?: string | number | undefined;
|
|
590
591
|
legsoutside?: boolean | undefined;
|
|
591
|
-
h?: string | number | undefined;
|
|
592
592
|
ccw?: boolean | undefined;
|
|
593
593
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
594
594
|
cc?: boolean | undefined;
|
|
@@ -600,8 +600,8 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
600
600
|
legsoutside: boolean;
|
|
601
601
|
w?: number | undefined;
|
|
602
602
|
pw?: number | undefined;
|
|
603
|
-
pl?: number | undefined;
|
|
604
603
|
h?: number | undefined;
|
|
604
|
+
pl?: number | undefined;
|
|
605
605
|
ccw?: boolean | undefined;
|
|
606
606
|
startingpin?: ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
607
607
|
cc?: boolean | undefined;
|
|
@@ -609,15 +609,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
609
609
|
x: number;
|
|
610
610
|
y: number;
|
|
611
611
|
} | undefined;
|
|
612
|
-
}, "w" | "p" | "pw" | "
|
|
612
|
+
}, "w" | "p" | "pw" | "h" | "pl">, {
|
|
613
613
|
fn: string;
|
|
614
614
|
num_pins?: number | undefined;
|
|
615
615
|
w?: string | number | undefined;
|
|
616
616
|
p?: string | number | undefined;
|
|
617
617
|
pw?: string | number | undefined;
|
|
618
|
+
h?: string | number | undefined;
|
|
618
619
|
pl?: string | number | undefined;
|
|
619
620
|
legsoutside?: boolean | undefined;
|
|
620
|
-
h?: string | number | undefined;
|
|
621
621
|
ccw?: boolean | undefined;
|
|
622
622
|
startingpin?: string | ("leftside" | "topside" | "rightside" | "bottomside" | "toppin" | "bottompin" | "leftpin" | "rightpin")[] | undefined;
|
|
623
623
|
cc?: boolean | undefined;
|
|
@@ -629,23 +629,23 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
629
629
|
h: z.ZodDefault<z.ZodString>;
|
|
630
630
|
pl: z.ZodDefault<z.ZodString>;
|
|
631
631
|
pw: z.ZodDefault<z.ZodString>;
|
|
632
|
-
|
|
632
|
+
p: z.ZodDefault<z.ZodString>;
|
|
633
633
|
}, "strip", z.ZodTypeAny, {
|
|
634
634
|
fn: string;
|
|
635
635
|
num_pins: 2;
|
|
636
636
|
w: string;
|
|
637
|
+
p: string;
|
|
637
638
|
pw: string;
|
|
638
|
-
pl: string;
|
|
639
639
|
h: string;
|
|
640
|
-
|
|
640
|
+
pl: string;
|
|
641
641
|
}, {
|
|
642
642
|
fn: string;
|
|
643
643
|
num_pins?: 2 | undefined;
|
|
644
644
|
w?: string | undefined;
|
|
645
|
+
p?: string | undefined;
|
|
645
646
|
pw?: string | undefined;
|
|
646
|
-
pl?: string | undefined;
|
|
647
647
|
h?: string | undefined;
|
|
648
|
-
|
|
648
|
+
pl?: string | undefined;
|
|
649
649
|
}>, z.ZodEffects<z.ZodObject<{
|
|
650
650
|
fn: z.ZodString;
|
|
651
651
|
num_pins: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -698,15 +698,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
698
698
|
num_pins: 3;
|
|
699
699
|
w: string;
|
|
700
700
|
pw: string;
|
|
701
|
-
pl: string;
|
|
702
701
|
h: string;
|
|
702
|
+
pl: string;
|
|
703
703
|
}, {
|
|
704
704
|
fn: string;
|
|
705
705
|
num_pins?: 3 | undefined;
|
|
706
706
|
w?: string | undefined;
|
|
707
707
|
pw?: string | undefined;
|
|
708
|
-
pl?: string | undefined;
|
|
709
708
|
h?: string | undefined;
|
|
709
|
+
pl?: string | undefined;
|
|
710
710
|
}>, z.ZodEffects<z.ZodObject<{
|
|
711
711
|
fn: z.ZodString;
|
|
712
712
|
num_pins: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -839,15 +839,15 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
|
|
|
839
839
|
num_pins: 3;
|
|
840
840
|
w: string;
|
|
841
841
|
pw: string;
|
|
842
|
-
pl: string;
|
|
843
842
|
h: string;
|
|
843
|
+
pl: string;
|
|
844
844
|
}, {
|
|
845
845
|
fn: string;
|
|
846
846
|
num_pins?: 3 | undefined;
|
|
847
847
|
w?: string | undefined;
|
|
848
848
|
pw?: string | undefined;
|
|
849
|
-
pl?: string | undefined;
|
|
850
849
|
h?: string | undefined;
|
|
850
|
+
pl?: string | undefined;
|
|
851
851
|
}>, z.ZodEffects<z.ZodObject<{
|
|
852
852
|
fn: z.ZodString;
|
|
853
853
|
num_pins: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1001,11 +1001,29 @@ type Footprinter = {
|
|
|
1001
1001
|
hc49: () => FootprinterParamsBuilder<"p" | "id" | "od" | "w" | "h">;
|
|
1002
1002
|
to220: () => FootprinterParamsBuilder<"w" | "h" | "p" | "id" | "od">;
|
|
1003
1003
|
sot235: () => FootprinterParamsBuilder<"h" | "p" | "pl" | "pw">;
|
|
1004
|
+
sot363: () => FootprinterParamsBuilder<"w" | "p" | "pl" | "pw">;
|
|
1005
|
+
sot563: () => FootprinterParamsBuilder<"w" | "p" | "pl" | "pw">;
|
|
1006
|
+
sot723: () => FootprinterParamsBuilder<"w" | "h" | "pl" | "pw">;
|
|
1007
|
+
sot23: () => FootprinterParamsBuilder<"w" | "h" | "pl" | "pw">;
|
|
1008
|
+
sot236: () => FootprinterParamsBuilder<"w" | "p">;
|
|
1009
|
+
sot89: () => FootprinterParamsBuilder<"w" | "p" | "pl">;
|
|
1004
1010
|
to92: () => FootprinterParamsBuilder<"w" | "h" | "p" | "id" | "od">;
|
|
1005
1011
|
minimelf: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pw" | "pl">;
|
|
1012
|
+
melf: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pw" | "pl">;
|
|
1013
|
+
micromelf: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pw" | "pl">;
|
|
1014
|
+
ms013: () => FootprinterParamsBuilder<"w" | "p">;
|
|
1015
|
+
ms012: () => FootprinterParamsBuilder<"w" | "p">;
|
|
1006
1016
|
lqfp: (num_pins?: number) => FootprinterParamsBuilder<"w" | "h" | "pl" | "pw">;
|
|
1007
1017
|
smb: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1008
1018
|
sod923: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1019
|
+
sod882: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1020
|
+
sod882d: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1021
|
+
sod723: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1022
|
+
sod523: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1023
|
+
sod323f: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1024
|
+
sod128: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1025
|
+
sod123f: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1026
|
+
sod123: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
|
|
1009
1027
|
pushbutton: () => FootprinterParamsBuilder<"tllabel" | "trlabel" | "bllabel" | "brlabel">;
|
|
1010
1028
|
stampboard: () => FootprinterParamsBuilder<"w" | "h" | "left" | "right" | "top" | "bottom" | "p" | "pw" | "pl" | "innerhole" | "innerholeedgedistance">;
|
|
1011
1029
|
stampreceiver: () => FootprinterParamsBuilder<"w" | "h" | "left" | "right" | "top" | "bottom" | "p" | "pw" | "pl" | "innerhole" | "innerholeedgedistance">;
|