onerom-wasm
    Preparing search index...

    Class PluginCatalog

    The catalogue of available plugins, with every plugin's releases loaded.

    Constructed by [plugin_catalog] (which fetches the manifests through the JS callback). Once built, [PluginCatalog::plugins] fills the dropdowns and [PluginCatalog::newest_compatible] answers per-selection compatibility queries entirely in memory, with no further fetching.

    Index
    • Returns void

    • Returns void

    • The newest release of name compatible with firmware fw, or null.

      fw is a major.minor.patch string (the firmware version being built for). Returns [WasmPluginRelease] on success, or JS null when the plugin has no release compatible with fw. Errors only if the plugin name is unknown or fw is malformed.

      Parameters

      • name: string
      • fw: string

      Returns any

    • All plugins, each with its loaded releases, as a JS array.

      Each element has name, plugin_type ("system_plugin"/"user_plugin"), display_name, description, and releases (each with version, sha256, min_fw_version, incompatible_from, ...).

      Returns any