@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias PluginAsset

    PluginAsset: Readonly<
        { content: string; mimeType?: string; path: string; pluginId: string },
    >

    A static asset bundled with a plugin's published package, exposed for other plugins to read.

    Contributors load the raw file (e.g. () => import('../PLUGIN.mdl?raw')) through AppCapability.pluginAsset, whose module is gated on ActivationEvents.PluginAssetsRequested. Consumers fire that event, then read all contributions with Capability.getAll(AppCapabilities.PluginAsset).