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

    Interface MarketplacePluginRepository

    A VersionedPluginRepository that additionally exposes search capability and marketplace metadata.

    Intended for remote plugin marketplaces such as npmjs.com (or compatible registries) or HTTP-hosted manifest files. Implementations define which fields of SearchQuery they support.

    interface MarketplacePluginRepository {
        author?: string;
        description?: string;
        name: string;
        url: string;
        getExtensionDescriptorFromExtensionEntry(
            extensionEntry: ExtensionEntry,
        ): Promise<Readonly<ExtensionDescriptor>>;
        getPlugin(
            pluginId: string,
        ): Promise<Readonly<VersionedPluginDescriptor> | undefined>;
        getPlugins(): AsyncIterable<Readonly<VersionedPluginDescriptor>>;
        scanForExtensions(
            extensionPoint: string,
        ): AsyncIterable<Readonly<ExtensionEntry>>;
        search(
            query: Readonly<SearchQuery>,
        ): AsyncIterable<Readonly<VersionedPluginDescriptor>>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    author?: string

    Optional author or organisation responsible for this marketplace.

    description?: string

    Optional description of this marketplace.

    name: string

    Human-readable name of this marketplace.

    url: string

    URL of this marketplace (e.g. the registry base URL or manifest URL).

    Methods