aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/schema
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-16 14:21:11 +0100
committerSascha <GlancingMind@outlook.com>2021-03-19 17:49:36 +0100
commit4960448ac7efb13ea8cb6687d05c0ee766c02763 (patch)
treef99bbd426606d57ab278eedc6cd6baaa9a953918 /api/graphql/schema
parent19a68deabb2a047795436e8e5d0ce9a8618fd01a (diff)
downloadgit-bug-4960448ac7efb13ea8cb6687d05c0ee766c02763.tar.gz
GraphQL: Add EditComment mutation to schema
Diffstat (limited to 'api/graphql/schema')
-rw-r--r--api/graphql/schema/mutations.graphql22
1 files changed, 22 insertions, 0 deletions
diff --git a/api/graphql/schema/mutations.graphql b/api/graphql/schema/mutations.graphql
index e6b70faf..1544fe67 100644
--- a/api/graphql/schema/mutations.graphql
+++ b/api/graphql/schema/mutations.graphql
@@ -42,6 +42,28 @@ type AddCommentPayload {
operation: AddCommentOperation!
}
+input EditCommentInput {
+ """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 new message to be set."""
+ message: String!
+ """The collection of file's hash required for the first message."""
+ files: [Hash!]
+}
+
+type EditCommentPayload {
+ """A unique identifier for the client performing the mutation."""
+ clientMutationId: String
+ """The affected bug."""
+ bug: Bug!
+ """The resulting operation."""
+ operation: EditCommentOperation!
+}
+
input ChangeLabelInput {
"""A unique identifier for the client performing the mutation."""
clientMutationId: String