This interface describes a plugin lifecycle object.

interface PluginLifecycle {
    backendInitPath?: string;
    frontendInitPath?: string;
    frontendModuleName?: string;
    startMethod: string;
    stopMethod: string;
}

Properties

backendInitPath?: string

Path to the script which should do some initialization before backend plugin is loaded.

frontendInitPath?: string

Path to the script which should do some initialization before frontend plugin is loaded.

frontendModuleName?: string

Frontend module name, frontend plugin should expose this name.

startMethod: string
stopMethod: string