Interface PluginDeployerHandler

interface PluginDeployerHandler {
    deployBackendPlugins(backendPlugins): Promise<undefined | number>;
    deployFrontendPlugins(frontendPlugins): Promise<undefined | number>;
    getDeployedPlugin(pluginId): undefined | DeployedPlugin;
    getDeployedPlugins(): Promise<DeployedPlugin[]>;
    getDeployedPluginsById(pluginId): DeployedPlugin[];
    getPluginDependencies(pluginToBeInstalled): Promise<undefined | PluginDependencies>;
    undeployPlugin(pluginId): Promise<boolean>;
    uninstallPlugin(pluginId): Promise<boolean>;
}

Implemented by

Methods

  • Removes the plugin from the locations to which it had been deployed. This operation is not safe - references to deleted assets may remain.

    Parameters

    • pluginId: `${string}.${string}@${string}`

    Returns Promise<boolean>

  • Removes the plugin from the location it originally resided on disk. Unless --uncompressed-plugins-in-place is passed to the CLI, this operation is safe.

    Parameters

    • pluginId: `${string}.${string}@${string}`

    Returns Promise<boolean>