Created
January 28, 2019 18:33
-
-
Save rajinwonderland/1acada9eb006b7b4bb292316970ea7a0 to your computer and use it in GitHub Desktop.
Enums – NestJS GraphQL Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum SortBy { | |
relevancy | |
popularity | |
publishedAt | |
} | |
enum Category { | |
all | |
business | |
entertainment | |
general | |
health | |
science | |
sports | |
technology | |
} | |
enum Country { | |
all ae ar at au be bg br ca ch cn co cu cz de eg fr gb gr hk hu id ie il in it jp kr lt lv ma mx my ng nl no nz ph pl pt ro rs ru sa se sg si sk th tr tw ua us ve za | |
} | |
enum Language { | |
all ar de en es fr he it nl no pt ru se ud zh | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment