aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/schema/label.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'api/graphql/schema/label.graphql')
-rw-r--r--api/graphql/schema/label.graphql17
1 files changed, 16 insertions, 1 deletions
diff --git a/api/graphql/schema/label.graphql b/api/graphql/schema/label.graphql
index 1205915c..cbaf28b7 100644
--- a/api/graphql/schema/label.graphql
+++ b/api/graphql/schema/label.graphql
@@ -16,4 +16,19 @@ type LabelConnection {
type LabelEdge {
cursor: String!
node: Label!
-} \ No newline at end of file
+}
+
+enum LabelChangeStatus {
+ ADDED
+ REMOVED
+ DUPLICATE_IN_OP
+ ALREADY_SET
+ DOESNT_EXIST
+}
+
+type LabelChangeResult {
+ """The source label."""
+ label: Label!
+ """The effect this label had."""
+ status: LabelChangeStatus!
+}