diff options
author | ludovicm67 <ludovicmuller1@gmail.com> | 2019-04-10 21:50:03 +0200 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2019-05-22 20:22:35 +0200 |
commit | 9adf6de4b5f3df44657d336ed49f9b992d50f458 (patch) | |
tree | 87355784512d4b067cd3d6c2418f40ad39c8e3b5 /graphql/schema/types.graphql | |
parent | d156f41d997b4d33d3aa690796f09bbf66889bbe (diff) | |
download | git-bug-9adf6de4b5f3df44657d336ed49f9b992d50f458.tar.gz |
graphql: expose label color
Diffstat (limited to 'graphql/schema/types.graphql')
-rw-r--r-- | graphql/schema/types.graphql | 19 |
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?""" |