Skip to content
EliteChart

PluginMeta

Documentation


Documentation / @elitechart/core / PluginMeta

Defined in: plugin/types.ts:52

Base metadata every plugin carries. Used by the registry to deduplicate by id and gate by targets.interfaceVersion.

Example

code
const meta: PluginMeta = {
  id: 'com.example.smma',
  name: 'Smoothed MA',
  kind: 'indicator',
  targets: { interfaceVersion: '1' },
};

Extended by

Properties

id

code
readonly id: string;

Defined in: plugin/types.ts:54

Stable, globally unique id. Reverse-DNS or scope-prefixed recommended.


kind

code
readonly kind: PluginKind;

Defined in: plugin/types.ts:58

Declared plugin category.


name

code
readonly name: string;

Defined in: plugin/types.ts:56

Human-readable display name.


targets

code
readonly targets: {
  interfaceVersion: "1";
};

Defined in: plugin/types.ts:60

Plugin interface version the plugin targets.

interfaceVersion

code
readonly interfaceVersion: "1";