refactor(core): Modularize community packages (#18641)

This commit is contained in:
Iván Ovejero
2025-08-22 12:19:01 +02:00
committed by GitHub
parent e3772c13d2
commit 9e420d15c1
43 changed files with 144 additions and 98 deletions

View File

@@ -33,10 +33,10 @@ export interface ModuleInterface {
settings?(): Promise<ModuleSettings>;
/**
* @returns Path to a dir to load nodes and credentials from.
* @returns Path to a dir to load nodes and credentials from. `null` to skip.
* @example '/Users/nathan/.n8n/nodes/node_modules'
*/
loadDir?(): string;
loadDir?(): Promise<string | null>;
}
export type ModuleClass = Constructable<ModuleInterface>;