mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Modularize community packages (#18641)
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user