@duplicis/types - v1.0.0
    Preparing search index...

    Interface PluginConstructor

    Plugin constructor.

    interface PluginConstructor {
        new PluginConstructor(): Plugin;
        icon: PluginComponent;
        instance: Plugin;
        logo?: string;
        menu: PluginComponent;
        name: string;
        prototype: PluginPrototype;
        thumb?: string;
        component<ComponentType>(
            component: ComponentType,
            framework: FrameworkPluginConstructor,
            props?: Record<string, unknown>,
        ): PluginComponent<ComponentType>;
        patch<
            Name extends keyof TargetList,
            Base extends AppConstructor | GameConstructor,
            Mixin extends AppConstructor | GameConstructor,
        >(
            name: Name,
            base: Base,
            apply: TargetApply<Base, Mixin>,
        ): Target<Mixin>;
        translations<T extends BasePluginTranslation>(
            data: Record<Locales, T>,
        ): PluginI18n<T>;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Plugin sidebar icon.

    instance: Plugin

    Plugin instance.

    logo?: string

    Logo image.

    Plugin sidebar menu.

    name: string

    Plugin name.

    prototype: PluginPrototype
    thumb?: string

    Logo image.

    Methods