aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/schema/mutations.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-05-27 11:08:53 +0200
committerGitHub <noreply@github.com>2021-05-27 11:08:53 +0200
commit76bdac7d11fd4f5d9cb52cd520c6b81f8d12665f (patch)
tree764d9a460a6dc95fdb88569c1a87e1210ee5e10c /api/graphql/schema/mutations.graphql
parent2e9c83a08366ec20dd60e7cce3306650a0ec7e1f (diff)
parente867663bf01841684da6c74a7bcac478cf99655a (diff)
downloadgit-bug-76bdac7d11fd4f5d9cb52cd520c6b81f8d12665f.tar.gz
Merge pull request #682 from GlancingMind/webui-comment-and-reopen-bug
WebUI: Support comment-and-reopen a bug in one step
Diffstat (limited to 'api/graphql/schema/mutations.graphql')
-rw-r--r--api/graphql/schema/mutations.graphql24
1 files changed, 24 insertions, 0 deletions
diff --git a/api/graphql/schema/mutations.graphql b/api/graphql/schema/mutations.graphql
index 36222e6b..cd5cba4e 100644
--- a/api/graphql/schema/mutations.graphql
+++ b/api/graphql/schema/mutations.graphql
@@ -66,6 +66,30 @@ type AddCommentAndCloseBugPayload {
statusOperation: SetStatusOperation!
}
+input AddCommentAndReopenBugInput {
+ """A unique identifier for the client performing the mutation."""
+ clientMutationId: String
+ """The name of the repository. If not set, the default repository is used."""
+ repoRef: String
+ """The bug ID's prefix."""
+ prefix: String!
+ """The message to be added to the bug."""
+ message: String!
+ """The collection of file's hash required for the first message."""
+ files: [Hash!]
+}
+
+type AddCommentAndReopenBugPayload {
+ """A unique identifier for the client performing the mutation."""
+ clientMutationId: String
+ """The affected bug."""
+ bug: Bug!
+ """The resulting AddComment operation."""
+ commentOperation: AddCommentOperation!
+ """The resulting SetStatusOperation."""
+ statusOperation: SetStatusOperation!
+}
+
input EditCommentInput {
"""A unique identifier for the client performing the mutation."""
clientMutationId: String