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

    Interface Plugin

    Interface for a Plugin implementation.

    interface Plugin {
        extensionDescriptors: readonly ExtensionDescriptor[];
        pluginData?: ReadonlyMap<string, string>;
        sharedModules?: Readonly<Record<string, string>>;
    }

    Hierarchy (View Summary)

    Index
    extensionDescriptors: readonly ExtensionDescriptor[]

    Array of ExtensionDescriptor instances describing all Extensions provided by the plugin.

    pluginData?: ReadonlyMap<string, string>

    Optional data provided by the Plugin to the host application

    sharedModules?: Readonly<Record<string, string>>

    Optional modules the plugin expects the host to supply (see registerSharedModules), as a map of module specifier to semver range of the supported version. The plugin is rejected if the host has not declared a listed module or its version does not satisfy the range.