What is the enum Declaration syntax in .graphql file


I was wondering what is the proper syntax for declaring enumerations in .graphql files.

I can successfully declare the following in my enums.graphql file

enum AuthLevel {

My question is how do I add additional elements to each of the enumValues such as “description”, “isDeprecated” and “deprecationReason”


I’d also love to do this. It seems like these enum types are not very flexible and the idea of having to create a table for every enum type seems like a lot of work and overhead.