Describes the dependency of a bundle.

interface BundleDependency {
    name: string;
    policy: "optional" | "mandatory";
    version: SemVerRange;
}

Properties

Properties

name: string

The symbolic name (unique ID) of the dependency.

policy: "optional" | "mandatory"

Defines, if the dependency is an optional or mandatory dependency. Default is 'mandatory'.

version: SemVerRange

The version range expression that should be matched by the dependency.