Note the key and value don’t have to be the same, the key defines what the enum is for consumers of the GraphQL API.
The value defines what the enum is for the schema implementation when it is received in/returned from resolvers. (this value can be any type, it is not constrained to a string, it could be a number, symbol, TypeScript enum value or any other value)
Of course in most cases, the internal and external values will likely be the same so @graphql-ts/schema provides a shorthand for defining enum values with g.enumValues: