This commit is contained in:
2026-06-24 14:20:05 +02:00
commit 1c859d20c8
442 changed files with 25625 additions and 0 deletions
@@ -0,0 +1,5 @@
mutation CreatePost($input: PostInput!) {
createPost(input: $input) {
...RegularPostResponse
}
}
@@ -0,0 +1,3 @@
mutation DeletePost($id: String!) {
deletePost(id: $id)
}
@@ -0,0 +1,5 @@
mutation Downvote($postID: String!) {
downvote(postID: $postID) {
...RegularPost
}
}
@@ -0,0 +1,9 @@
mutation ForgotPassword($email: String!) {
forgotPassword(email: $email) {
errors {
...RegularError
}
message
messageType
}
}
+5
View File
@@ -0,0 +1,5 @@
mutation Login($input: UsernamePasswordInput!) {
login(input: $input) {
...RegularUserResponse
}
}
@@ -0,0 +1,3 @@
mutation Logout {
logout
}
@@ -0,0 +1,5 @@
mutation Register($input: UsernamePasswordInput!) {
register(input: $input) {
...RegularUserResponse
}
}
@@ -0,0 +1,5 @@
mutation RemoveDownvote($postID: String!) {
removeDownvote(postID: $postID) {
...RegularPost
}
}
@@ -0,0 +1,5 @@
mutation RemoveUpvote($postID: String!) {
removeUpvote(postID: $postID) {
...RegularPost
}
}
@@ -0,0 +1,9 @@
mutation ResetPassword($newPassword: String!, $token: String!) {
resetPassword(newPassword: $newPassword, token: $token) {
errors {
...RegularError
}
message
messageType
}
}
@@ -0,0 +1,10 @@
mutation UpdatePost($id: String!, $title: String!, $content: String!) {
updatePost(id: $id, title: $title, content: $content) {
errors {
...RegularError
}
post {
...RegularPost
}
}
}
@@ -0,0 +1,5 @@
mutation Upvote($postID: String!) {
upvote(postID: $postID) {
...RegularPost
}
}