Contributed
interface type-onlyOne contribution as the consuming module receives it.
Declaration
export interface Contributed<D = JsonObject, C = unknown> {
id: string;
/** The contributor module's name. */
from: string;
data: D;
/** The contributor's `bind[id]`, when the slot declares a code half. */
code?: C;
}Members (4)
id
id: stringfrom
from: stringThe contributor module's name.
data
data: Dcode
code?: CThe contributor's bind[id], when the slot declares a code half.