-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type Query { | ||
"Contains all admin available queries" | ||
admin: AdminQuery | ||
"Contains all user available queries" | ||
user: UserQuery | ||
} | ||
|
||
type Mutation { | ||
"Contains all user available mutations" | ||
admin: AdminMutation | ||
"Contains all user available mutations" | ||
user: UserMutation | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
""" | ||
Contains all user available queries. | ||
Only authenticated user can execute this queries. | ||
""" | ||
type UserQuery{ | ||
"Something to not leave type without fields" | ||
field: String | ||
} | ||
|
||
""" | ||
Contains all user available mutations. | ||
Only authenticated user can execute this mutations. | ||
""" | ||
type UserMutation{ | ||
"Something to not leave type without fields" | ||
field: String | ||
} |
This file contains 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