Interface ContributionPoint<TM, TS>

Represents a contribution point.

Contribution points are the primary mechanism how extensions contribute new data and functionality to applications.

See

registerContributionPoint

interface ContributionPoint<TM, TS> {
    codeInfo?: CodeContributionInfo<TS>;
    description?: string;
    id: string;
    manifestInfo?: ManifestContributionInfo<TM, TS>;
}

Type Parameters

  • TM = unknown

    Type of JSON entry in manifest

  • TS = TM

    Type of contribution in framework store

Properties

Optional information for code contributions. Use an empty object to indicate a code contribution if none of the information properties apply.

description?: string

Optional description of this contribution point.

id: string

Unique contribution point identifier.

manifestInfo?: ManifestContributionInfo<TM, TS>

Optional information to validate and process contributions encoded as JSON in the extension's manifest. If not provided, contributions to this contribution point are not expected to be JSON entries in the manifest.

Generated using TypeDoc