A wrap package, capable of producing instances of a wrapper and its manifest

Type Parameters

  • TConfig

  • TEnv extends Record<string, unknown> = Record<string, unknown>

Hierarchy

  • PluginPackage

Implements

Constructors

  • Type Parameters

    • TConfig

    • TEnv extends Record<string, unknown> = Record<string, unknown>

    Parameters

    • _pluginModule: PluginModule<TConfig, TEnv>
    • _manifest: WrapManifest

    Returns PluginPackage<TConfig, TEnv>

Properties

_manifest: WrapManifest
_pluginModule: PluginModule<TConfig, TEnv>

Methods

  • Produce an instance of the wrap manifest

    Returns Promise<Result<WrapManifest, Error>>

    A Promise with a Result containing the wrap manifest or an error

  • Type Parameters

    • TConfig

    • TEnv extends Record<string, unknown> = Record<string, unknown>

    Parameters

    • pluginModule: PluginModule<TConfig, TEnv>
    • Optional manifest: WrapManifest

    Returns PluginPackage<TConfig, TEnv>

  • Type Parameters

    • TEnv extends Record<string, unknown> = Record<string, unknown>

    Parameters

    • getPluginFuncs: GetPluginMethodsFunc<TEnv>
    • Optional manifest: WrapManifest

    Returns PluginPackage<never, TEnv>

Generated using TypeDoc