diff options
Diffstat (limited to 'api/graphql/schema/label.graphql')
-rw-r--r-- | api/graphql/schema/label.graphql | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/api/graphql/schema/label.graphql b/api/graphql/schema/label.graphql new file mode 100644 index 00000000..1205915c --- /dev/null +++ b/api/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 |