Class AbstractConfigurablePlugin<TConfig, TParsedConfig, TUpdatableConfig, TEvents>Abstract

Base class for plugins with updatable configuration The implementation must have a static configParser property which is the result of utils.getConfigParser

Type Parameters

  • TConfig extends Record<string, any>

    type of input config

  • TParsedConfig extends TConfig = TConfig

    type of config after parsing

  • TUpdatableConfig extends TConfig = TConfig

    type of config that can be updated

  • TEvents extends TypedEvent<AbstractPlugin> = never

    union of dispatched events

Hierarchy (view full)

Constructors

Properties

viewer: Viewer
configParser: ConfigParser<any, any>
id: string

Unique identifier of the plugin

readonlyOptions: string[] = []
VERSION: string

Expected version of the core DO NOT USE on custom plugins

Methods