From bd177b9bf1e2a41e8810a82b0a0b2259ce6380d2 Mon Sep 17 00:00:00 2001 From: OTKUSteyler <90369564+OTKUSteyler@users.noreply.github.com> Date: Wed, 10 Dec 2025 17:24:09 +0100 Subject: [PATCH] Delete wrappers.ts --- wrappers.ts | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 wrappers.ts diff --git a/wrappers.ts b/wrappers.ts deleted file mode 100644 index c3a1914..0000000 --- a/wrappers.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { byDisplayName, byFilePath, byName, byProps, byStoreName, byTypeName } from "./filters"; -import { findAllExports, findExports } from "./finders"; -import { createLazyModule } from "./lazy"; - -export const findByProps = (...props: string[]) => findExports(byProps(...props)); -export const findByPropsLazy = (...props: string[]) => createLazyModule(byProps(...props)); -export const findByPropsAll = (...props: string[]) => findAllExports(byProps(...props)); - -export const findByName = (name: string, expDefault = true) => findExports(expDefault ? byName(name) : byName.byRaw(name)); -export const findByNameLazy = (name: string, expDefault = true) => createLazyModule(expDefault ? byName(name) : byName.byRaw(name)); -export const findByNameAll = (name: string, expDefault = true) => findAllExports(expDefault ? byName(name) : byName.byRaw(name)); - -export const findByDisplayName = (name: string, expDefault = true) => findExports(expDefault ? byDisplayName(name) : byDisplayName.byRaw(name)); -export const findByDisplayNameLazy = (name: string, expDefault = true) => createLazyModule(expDefault ? byDisplayName(name) : byDisplayName.byRaw(name)); -export const findByDisplayNameAll = (name: string, expDefault = true) => findAllExports(expDefault ? byDisplayName(name) : byDisplayName.byRaw(name)); - -export const findByTypeName = (name: string, expDefault = true) => findExports(expDefault ? byTypeName(name) : byTypeName.byRaw(name)); -export const findByTypeNameLazy = (name: string, expDefault = true) => createLazyModule(expDefault ? byTypeName(name) : byTypeName.byRaw(name)); -export const findByTypeNameAll = (name: string, expDefault = true) => findAllExports(expDefault ? byTypeName(name) : byTypeName.byRaw(name)); - -export const findByStoreName = (name: string) => findExports(byStoreName(name)); -export const findByStoreNameLazy = (name: string) => createLazyModule(byStoreName(name)); - -export const findByFilePath = (path: string, expDefault = false) => findExports(byFilePath(path, expDefault)); -export const findByFilePathLazy = (path: string, expDefault = false) => createLazyModule(byFilePath(path, expDefault));