Skip to content

Intermact API Reference / @intermact/core / IntermactPlugin

Interface: IntermactPlugin ​

Defined in: packages/core/src/extend/types.ts:85

A plugin bundles a name with an IntermactPlugin.install hook that registers descriptors into a Registries. Authored with definePlugin and applied with installPlugin.

Properties ​

name ​

readonly name: string

Defined in: packages/core/src/extend/types.ts:86


version? ​

readonly optional version?: string

Defined in: packages/core/src/extend/types.ts:88

Optional semver-ish version string for diagnostics.

Methods ​

install() ​

install(registries): void

Defined in: packages/core/src/extend/types.ts:90

Register this plugin's descriptors into registries.

Parameters ​

registries ​

Registries

Returns ​

void

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)