aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/types.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema/types.graphql')
-rw-r--r--graphql/schema/types.graphql19
1 files changed, 18 insertions, 1 deletions
diff --git a/graphql/schema/types.graphql b/graphql/schema/types.graphql
index 2eaa07a2..22447aae 100644
--- a/graphql/schema/types.graphql
+++ b/graphql/schema/types.graphql
@@ -1,7 +1,24 @@
scalar Time
-scalar Label
scalar Hash
+"""Defines a color by red, green and blue components."""
+type Color {
+ """Red component of the color."""
+ R: Int!
+ """Green component of the color."""
+ G: Int!
+ """Blue component of the color."""
+ B: Int!
+}
+
+"""Label for a bug."""
+type Label {
+ """The name of the label."""
+ name: String!
+ """Color of the label."""
+ color: Color!
+}
+
"""Information about pagination in a connection."""
type PageInfo {
"""When paginating forwards, are there more items?"""