Class: 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.
Extends
BaseClient
Constructors
new InputTypeDef()
new InputTypeDef(
parent
?,_id
?,_name
?):InputTypeDef
Constructor is used for internal usage only, do not create object from it.
Parameters
• parent?
• parent.ctx?: Context
• parent.queryTree?: QueryTree
[]
• _id?: InputTypeDefID
• _name?: string
Returns
Overrides
BaseClient.constructor
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
>