diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 14:46:37 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 14:46:37 -0800 |
| commit | afa87af01c79a9baa539f2992d32154d2a4739bd (patch) | |
| tree | 92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/magicast/dist/helpers.d.ts | |
| parent | 3b927e84d200402281f68181cd4253bc77e5528d (diff) | |
| download | neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2 neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip | |
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/magicast/dist/helpers.d.ts')
| -rw-r--r-- | vanilla/node_modules/magicast/dist/helpers.d.ts | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/vanilla/node_modules/magicast/dist/helpers.d.ts b/vanilla/node_modules/magicast/dist/helpers.d.ts deleted file mode 100644 index ac18155..0000000 --- a/vanilla/node_modules/magicast/dist/helpers.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { S as ProxifiedObject, b as ProxifiedModule, c as Proxified, p as ProxifiedFunctionCall } from "./types-r4mG9WUV.js"; -import { VariableDeclarator } from "@babel/types"; - -//#region src/helpers/deep-merge.d.ts -declare function deepMergeObject(magicast: Proxified<any>, object: any): void; -//#endregion -//#region src/helpers/nuxt.d.ts -declare function addNuxtModule(magicast: ProxifiedModule<any>, name: string, optionsKey?: string, options?: any): void; -//#endregion -//#region src/helpers/vite.d.ts -interface AddVitePluginOptions { - /** - * The import path of the plugin - */ - from: string; - /** - * The import name of the plugin - * @default "default" - */ - imported?: string; - /** - * The name of local variable - */ - constructor: string; - /** - * The options of the plugin - */ - options?: Record<string, any>; - /** - * The index in the plugins array where the plugin should be inserted at. - * By default, the plugin is appended to the array. - */ - index?: number; -} -interface UpdateVitePluginConfigOptions { - /** - * The import path of the plugin - */ - from: string; - /** - * The import name of the plugin - * @default "default" - */ - imported?: string; -} -declare function addVitePlugin(magicast: ProxifiedModule<any>, plugin: AddVitePluginOptions): boolean; -declare function findVitePluginCall(magicast: ProxifiedModule<any>, plugin: UpdateVitePluginConfigOptions | string): ProxifiedFunctionCall | undefined; -declare function updateVitePluginConfig(magicast: ProxifiedModule<any>, plugin: UpdateVitePluginConfigOptions | string, handler: Record<string, any> | ((args: any[]) => any[])): boolean; -//#endregion -//#region src/helpers/config.d.ts -declare function getDefaultExportOptions(magicast: ProxifiedModule<any>): ProxifiedObject<any>; -/** - * Returns the vite config object from a variable declaration thats - * exported as the default export. - * - * Example: - * - * ```js - * const config = {}; - * export default config; - * ``` - * - * @param magicast the module - * - * @returns an object containing the proxified config object and the - * declaration "parent" to attach the modified config to later. - * If no config declaration is found, undefined is returned. - */ -declare function getConfigFromVariableDeclaration(magicast: ProxifiedModule<any>): { - declaration: VariableDeclarator; - config: ProxifiedObject<any> | undefined; -}; -//#endregion -export { AddVitePluginOptions, UpdateVitePluginConfigOptions, addNuxtModule, addVitePlugin, deepMergeObject, findVitePluginCall, getConfigFromVariableDeclaration, getDefaultExportOptions, updateVitePluginConfig };
\ No newline at end of file |
