Skip to main content

Class: ModuleDependency

The configuration of dependency of a module.

Extends

  • BaseClient

Constructors

new ModuleDependency()

new ModuleDependency(ctx?, _id?, _name?): ModuleDependency

Constructor is used for internal usage only, do not create object from it.

Parameters

ctx?

Context

_id?

ModuleDependencyID

_name?

string

Returns

ModuleDependency

Overrides

BaseClient.constructor

Methods

id()

id(): Promise<ModuleDependencyID>

A unique identifier for this ModuleDependency.

Returns

Promise<ModuleDependencyID>


name()

name(): Promise<string>

The name of the dependency module.

Returns

Promise<string>


source()

source(): ModuleSource

The source for the dependency module.

Returns

ModuleSource