mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(core): Lint to enforce lazyloading in modules (#16843)
Co-authored-by: Juuso Tapaninen <juuso@n8n.io>
This commit is contained in:
@@ -22,7 +22,7 @@ export type ModuleSettings = Record<string, unknown>;
|
||||
|
||||
export interface ModuleInterface {
|
||||
init?(): Promise<void>;
|
||||
entities?(): EntityClass[];
|
||||
entities?(): Promise<EntityClass[]>;
|
||||
settings?(): Promise<ModuleSettings>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user