Type alias Dependency

Dependency: {
    description?: string;
    multiple?: boolean;
    name?: string;
    required?: boolean;
    version?: string;
}

A service dependency.

Type declaration

  • Optional description?: string

    A description of how the API is used or why it is needed.

  • Optional multiple?: boolean

    Whether the dependency can be specified more than once.

  • Optional name?: string

    Name of the API the service expects.

  • Optional required?: boolean

    Whether the service can not function without this dependency.

  • Optional version?: string

    The semantic version ranges of the API the service expects.