From 9f91cb7e3265cc3a28dca107cfa887efe04c5655 Mon Sep 17 00:00:00 2001 From: seveibar Date: Fri, 26 Jul 2024 15:21:42 -0700 Subject: [PATCH] add exports --- index.ts | 3 +++ .../get-readable-name-for-element.ts | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/index.ts b/index.ts index 900825d..a1ae596 100644 --- a/index.ts +++ b/index.ts @@ -2,5 +2,8 @@ export * from "./lib/su" export * from "./lib/transform-soup-elements" export * from "./lib/direction-to-vec" export * from "./lib/apply-selector" +export * from "./lib/get-element-by-id" +export * from "./lib/get-element-id" +export * from "./lib/readable-name-functions/get-readable-name-for-element" export { default as su } from "./lib/su" diff --git a/lib/readable-name-functions/get-readable-name-for-element.ts b/lib/readable-name-functions/get-readable-name-for-element.ts index ce3f3a5..aaaf9b9 100644 --- a/lib/readable-name-functions/get-readable-name-for-element.ts +++ b/lib/readable-name-functions/get-readable-name-for-element.ts @@ -27,3 +27,9 @@ export const getReadableNameForElement = ( return `${elm.type}[#${getElementId(elm)}]` } } + +export { + getReadableNameForPcbPort, + getReadableNameForPcbSmtpad, + getReadableNameForPcbTrace, +}