Skip to main content

Dagger NodeJS SDK

api/client.gen.ListTypeDef

A definition of a list type in a Module.

Hierarchy

  • BaseClient

    ListTypeDef

Constructors

constructor

new ListTypeDef(parent?, _id?): ListTypeDef

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

Parameters

NameType
parent?Object
parent.ctxContext
parent.queryTree?QueryTree[]
_id?ListTypeDefID

Returns

ListTypeDef

Overrides

BaseClient.constructor

Properties

_id

Private Optional Readonly _id: ListTypeDefID = undefined

Methods

elementTypeDef

elementTypeDef(): TypeDef

The type of the elements in the list.

Returns

TypeDef


id

id(): Promise<ListTypeDefID>

A unique identifier for this ListTypeDef.

Returns

Promise<ListTypeDefID>