@flowscripter/dynamic-plugin-framework
    Preparing search index...

    Class BaseMarketplacePluginManager<TRemote, TLocal>Abstract

    Abstract MarketplacePluginManager implementation.

    Combines one or more TRemote repositories (for search and install source) with a TLocal repository (for loading installed plugins). The standard PluginManager methods delegate to an internal DefaultPluginManager backed by the local repository only.

    Provides a concrete checkForUpdates implementation. Subclasses must implement install and uninstall with ecosystem-specific logic (e.g. HttpPluginManager, NpmPluginManager).

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    local: TLocal

    repository used to load installed plugins.

    remotes: TRemote[]

    marketplace repositories used for search and as install sources.

    Methods

    • Instantiate a specific Extension.

      Parameters

      • extensionHandle: string

        the opaque handle for the Extension provided by this Extension Manager instance via ExtensionInfo.extensionHandle.

      • OptionalhostData: Map<string, string>

        optional data to be passed in to the Extension when instantiating it.

      Returns Promise<unknown>

      an Extension instance implementing an Extension Point.