T

AuthoredAddonManifest

The manifest an author ships in an addon's manifest.json: its metadata and entry point.

type AuthoredAddonManifest = { … }

Members

assets?Record<string, AddonAsset>

The images ubd build emits beside the bundle, by asset name, such as icons/star.

Who made the addon; a published manifest lists at least one.

bytecode?Record<string, string>

The SHA-512 of each bundle compiled to Hermes bytecode, by bytecode version; covered by signature.

dependencies?Record<string, string>

The addons this one needs, by id, each with the semver range it accepts, such as ^1.2.0.

A short summary shown with the addon; may be empty.

icon?string | { uri: string }

An image for the addon, as a URL or an { uri } image source.

idstring

The unique id: alphanumeric runs joined by single ., _ or -, at most 100 characters.

library?boolean

Marks a plugin other plugins build on, which the plugin list hides by default.

locales?Record<string, string>

The SHA-256 of each locale file beside the bundle (i18n/<code>.json), by locale code; en-US is in the bundle.

mainstring

The bundle's path relative to the manifest, such as index.js; it may not leave the addon's directory.

The lowest native bridge API version the addon supports; an older native bridge fails its start.

namestring

The display name; must not be empty.

signature?{ ed25519: string; version: 1 }

The Ed25519 signature the Unbound team's publish pipeline puts on first-party plugins.

Starts the plugin once Discord has drawn its first frame, for one that changes nothing on the first screen.

The addon kind this manifest describes; used to validate installs.

unbound?{ min?: string }

Requirements on the Unbound client running the addon.

versionstring

The addon's version, in strict SemVer 2.0.0 with no v prefix.