Preparing search index...

    Defines a service's identity, name, description, and dependencies for registration with the plugin system.

        // The CoreService Descriptor configures a plugin's identity and dependencies.
    // Fields: id (unique string), name (display name), description (optional),
    // dependencies (array of interfaces the plugin needs).

    const d = new Descriptor();
    d.id = 'com.example.myPlugin';
    d.name = 'My Plugin';
    d.description = 'A sample CoreService plugin descriptor';
    d.dependencies = [Editor.Model.IModel];

    console.log(`Descriptor id: ${d.id}`);
    console.log(`Descriptor name: ${d.name}`);
    console.log(`Descriptor description: ${d.description}`);
    console.log(`Descriptor dependencies count: ${d.dependencies.length}`);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    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