Skip to main content

Class: ModuleDependency

The configuration of dependency of a module.

Extends

  • BaseClient

Constructors

new ModuleDependency()

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

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

Parameters

parent?

parent.ctx?: Context

parent.queryTree?: QueryTree[]

_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