Created
April 30, 2020 18:28
-
-
Save AlexanderBollbach/b9dea8bd75d56a07c220d6713c2e28d8 to your computer and use it in GitHub Desktop.
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 GQLRequest { | |
case mutation(NonEmptySet<Mutation>) | |
case query(NonEmptySet<Query>) | |
enum Query { | |
case getCurrentUser(NonEmptySet<User>) | |
case currentUserPermissions(args: GQLRequestArgs.GetCurrentUserPermissions) | |
case getProjectInfo( | |
args: GQLRequestArgs.GetProjectInfo, | |
fields: NonEmptySet<Project> | |
) | |
case getGridLevel( | |
args: GQLRequestArgs.GetGridLevel, | |
fields: NonEmptySet<Grid> | |
) | |
case getMetadataById( | |
args: GQLRequestArgs.GetMetadataById, | |
fields: NonEmptySet<Grid.Node> | |
) | |
case getSuggestionsAndRecentSearches( | |
args: GQLRequestArgs.GetSearchSuggestionsAndRecents, | |
fields: NonEmptySet<SearchSuggestions> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment