Dagger NodeJS SDK
api/client.gen.ModuleDependency
The configuration of dependency of a module.
Hierarchy
-
BaseClient
↳
ModuleDependency
Constructors
constructor
new ModuleDependency(parent?
, _id?
, _name?
): ModuleDependency
Constructor is used for internal usage only, do not create object from it.
Parameters
Name | Type |
---|---|
parent? | Object |
parent.ctx | Context |
parent.queryTree? | QueryTree [] |
_id? | ModuleDependencyID |
_name? | string |
Returns
Overrides
BaseClient.constructor
Properties
_id
Private
Optional
Readonly
_id: ModuleDependencyID
= undefined
_name
Private
Optional
Readonly
_name: string
= undefined
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.