@expressive-tea/plugin
Version:
A Plugin Engine for Expressive Tea Framework.
11 lines (10 loc) • 529 B
TypeScript
import { BOOT_STAGES } from '@expressive-tea/commons/constants';
import { ExpressiveTeaServerProps, ExpressiveTeaPluginProps } from '@expressive-tea/commons/interfaces';
export declare abstract class Plugin {
protected name: string;
protected priority: number;
protected dependencies: string[];
private static isDependencyRegistered;
getRegisteredStage(stage: BOOT_STAGES): any;
register(appSettings: ExpressiveTeaServerProps, registeredPlugins: ExpressiveTeaPluginProps[]): ExpressiveTeaPluginProps[];
}