Skip to main content

Dagger NodeJS SDK

api/client.gen.InputTypeDef

A graphql input type, which is essentially just a group of named args. This is currently only used to represent pre-existing usage of graphql input types in the core API. It is not used by user modules and shouldn't ever be as user module accept input objects via their id rather than graphql input types.

Hierarchy

  • BaseClient

    InputTypeDef

Constructors

constructor

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

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

Parameters

NameType
parent?Object
parent.ctxContext
parent.queryTree?QueryTree[]
_id?InputTypeDefID
_name?string

Returns

InputTypeDef

Overrides

BaseClient.constructor

Properties

_id

Private Optional Readonly _id: InputTypeDefID = undefined


_name

Private Optional Readonly _name: string = undefined

Methods

fields

fields(): Promise<FieldTypeDef[]>

Static fields defined on this input object, if any.

Returns

Promise<FieldTypeDef[]>


id

id(): Promise<InputTypeDefID>

A unique identifier for this InputTypeDef.

Returns

Promise<InputTypeDefID>


name

name(): Promise<string>

The name of the input object.

Returns

Promise<string>