import { PluginModule } from './module'; /** * Interface which describes a plugin context. */ export interface PluginContext { /** * Plugin version used to generated the plugin context. * * @var {string} */ pluginVersion: string; /** * Plugin type identifier. */ pluginTypeId: string; /** * Support for custom context properties. * * @var {any} */ [key: string]: any; } /** * Interface which describes a module plugin context. */ export interface ModulePluginContext extends PluginContext { /** * Describes the module which should be imported and installed. * * @var {string|PluginModuleType|null|undefined} */ pluginModule?: string | PluginModuleType | null | undefined; }