Skip to content

API Interface ContributionPoint

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: ContributionPoint<T>

Defined in: src/plugins/runtimeContext.ts:31

A contribution point another plugin owns (ADR 0133, 0137), such as the Physics plugin's backends: the owner exports it from its public module, and plugins that depend on the owner contribute through their context, so deactivating them removes what they added.

Type Parameters

T

T

Properties

id

readonly id: string;

Defined in: src/plugins/runtimeContext.ts:33

Unique, e.g. myco.physics.backend.

Methods

register()

register(value): () => void;

Defined in: src/plugins/runtimeContext.ts:35

Adds value; returns the undo.

Parameters

value

T

Returns

() => void

Clone this wiki locally