Skip to content

UIExtensionInstance

One extension rendering into one target for one subject: the published version to load and the live query to resolve for it. Its id is what the host sends back to the extension API so every query and mutation is attributed to the extension that made it.

Fields

idID!
queryString

The live query for this target, or null when the extension takes no input.

extensionAppExtension!
appApp!
scriptUrlURL!

Where the sandbox loads the bundled module from.

translationsJSON

The version's translated strings, keyed by locale — {"en": {"save": "Save"}, "fr": {"save": "Enregistrer"}} — or null when the extension ships none. The host hands them to the sandbox, where api.localization.translate reads them.

Used in