Interface BladePlugin<P>

A base interface of the plugin.

Type Parameters

Hierarchy

Properties

accept: ((params: Record<string, unknown>) => null | Acceptance<P>)

Type declaration

    • (params: Record<string, unknown>): null | Acceptance<P>
    • Parameters

      • params: Record<string, unknown>

      Returns null | Acceptance<P>

api: ((args: ApiArguments) => null | BladeApi<BladeController<View>>)

Type declaration

controller: ((args: ControllerArguments<P>) => BladeController<View>)

Type declaration

core?: Semver

The version of the core used for this plugin.

id: string

The identifier of the plugin.

type: "blade"

The type of the plugin.

Generated using TypeDoc