EnumTypeDef
API reference
A definition of a custom enum defined in a Module.
Implements Node
description: String!
A doc string for the enum, if any.
id: ID!
A unique identifier for this EnumTypeDef.
name: String!
The name of the enum.
sourceModuleName: String!
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
members: [EnumValueTypeDef!]!
The members of the enum.
values: [EnumValueTypeDef!]!Deprecated
The members of the enum.
Deprecated: use members instead