Skip to main content

ObjectTypeDef

API reference

A definition of a custom object defined in a Module.

Implements Node

deprecated
The reason this enum member is deprecated, if any.
description
The doc string for the object, if any.
id
A unique identifier for this ObjectTypeDef.
name
The name of the object.
sourceModuleName
If this ObjectTypeDef is associated with a Module, the name of the module. Unset otherwise.
constructor
The function used to construct new instances of this object, if any.
fields
Static fields defined on this object, if any.
functions
Functions defined on this object, if any.
sourceMap
The location of this object declaration.

deprecated: String

The reason this enum member is deprecated, if any.

description: String!

The doc string for the object, if any.

id: ID!

A unique identifier for this ObjectTypeDef.

name: String!

The name of the object.

sourceModuleName: String!

If this ObjectTypeDef is associated with a Module, the name of the module. Unset otherwise.

constructor: Function

The function used to construct new instances of this object, if any.

fields: [FieldTypeDef!]!

Static fields defined on this object, if any.

functions: [Function!]!

Functions defined on this object, if any.

sourceMap: SourceMap

The location of this object declaration.

References

Returned by