@tscircuit/footprinter 0.0.316 → 0.0.318

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 CHANGED
@@ -1,6 +1,17 @@
1
1
  import { AnySoupElement, AnyCircuitElement } from 'circuit-json';
2
2
  import { z } from 'zod';
3
3
 
4
+ type StandardSize = {
5
+ imperial: string;
6
+ metric: string;
7
+ p_mm_min: number;
8
+ ph_mm_min: number;
9
+ pw_mm_min: number;
10
+ h_mm_min: number;
11
+ w_mm_min: number;
12
+ };
13
+ declare const footprintSizes: StandardSize[];
14
+
4
15
  type NowDefined<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
5
16
 
6
17
  declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
@@ -1724,17 +1735,6 @@ declare const any_footprinter_def: z.ZodUnion<[z.ZodObject<{
1724
1735
  }>]>;
1725
1736
  type AnyFootprinterDefinitionOutput = z.infer<typeof any_footprinter_def>;
1726
1737
 
1727
- type StandardSize = {
1728
- imperial: string;
1729
- metric: string;
1730
- p_mm_min: number;
1731
- ph_mm_min: number;
1732
- pw_mm_min: number;
1733
- h_mm_min: number;
1734
- w_mm_min: number;
1735
- };
1736
- declare const footprintSizes: StandardSize[];
1737
-
1738
1738
  type BaseOptionKey = "origin" | "norefdes" | "invert" | "faceup" | "nosilkscreen";
1739
1739
  type FootprinterParamsBuilder<K extends string> = {
1740
1740
  [P in K | BaseOptionKey | "params" | "soup" | "circuitJson"]: P extends "params" | "soup" | "circuitJson" ? Footprinter[P] : (v?: number | string | boolean) => FootprinterParamsBuilder<K>;
@@ -1762,6 +1762,7 @@ type Footprinter = {
1762
1762
  radial: () => FootprinterParamsBuilder<"p" | "id" | "od" | "ceramic" | "electrolytic" | "polarized">;
1763
1763
  hc49: () => FootprinterParamsBuilder<"p" | "id" | "od" | "w" | "h">;
1764
1764
  to220: () => FootprinterParamsBuilder<"w" | "h" | "p" | "id" | "od">;
1765
+ to220f: () => FootprinterParamsBuilder<"w" | "h" | "p" | "id" | "od">;
1765
1766
  sot363: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
1766
1767
  sot886: () => FootprinterParamsBuilder<"w" | "h" | "p" | "pl" | "pw">;
1767
1768
  sot457: () => FootprinterParamsBuilder<"w" | "p" | "h" | "pl" | "pw" | "wave" | "reflow" | "pillr" | "pillh" | "pillw">;