Preparing search index...

    Metadata descriptor for a plugin verifier, including identity fields and a canVerify predicate that selects which plugins to test.

        // PluginVerifier.Descriptor extends BaseDescriptor and adds canVerify,
    // a callback that determines which plugins this verifier targets.
    const d = new Descriptor();
    d.id = 'com.docs.PluginVerifierDescriptorExample';
    d.name = 'Plugin Verifier Example';

    d.canVerify = (desc: IPluginDescriptor) => {
    return desc.id.startsWith('com.example.');
    };

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    canVerify: (arg1: IPluginDescriptor) => any

    Function that returns true if this verifier should run for the given plugin descriptor.

    dependencies: InterfaceId[]

    Array of interface IDs that this plugin requires to function.

    description: string

    Human-readable description of the plugin shown in the plugin manager.

    id: string

    Unique identifier for the plugin, typically in reverse domain notation.

    interfaces: InterfaceId[]

    Array of interface IDs that this plugin provides or implements.

    name: string

    Display name of the plugin.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean