aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/label.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema/label.graphql')
-rw-r--r--graphql/schema/label.graphql19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphql/schema/label.graphql b/graphql/schema/label.graphql
new file mode 100644
index 00000000..1205915c
--- /dev/null
+++ b/graphql/schema/label.graphql
@@ -0,0 +1,19 @@
+"""Label for a bug."""
+type Label {
+ """The name of the label."""
+ name: String!
+ """Color of the label."""
+ color: Color!
+}
+
+type LabelConnection {
+ edges: [LabelEdge!]!
+ nodes: [Label!]!
+ pageInfo: PageInfo!
+ totalCount: Int!
+}
+
+type LabelEdge {
+ cursor: String!
+ node: Label!
+} \ No newline at end of file