types.graphql

 1scalar Time
 2scalar Hash
 3
 4"""Defines a color by red, green and blue components."""
 5type Color {
 6    """Red component of the color."""
 7    R: Int!
 8    """Green component of the color."""
 9    G: Int!
10    """Blue component of the color."""
11    B: Int!
12}
13
14"""Label for a bug."""
15type Label {
16    """The name of the label."""
17    name: String!
18    """Color of the label."""
19    color: Color!
20}
21
22"""Information about pagination in a connection."""
23type PageInfo {
24    """When paginating forwards, are there more items?"""
25    hasNextPage: Boolean!
26    """When paginating backwards, are there more items?"""
27    hasPreviousPage: Boolean!
28    """When paginating backwards, the cursor to continue."""
29    startCursor: String!
30    """When paginating forwards, the cursor to continue."""
31    endCursor: String!
32}
33
34"""An object that has an author."""
35interface Authored {
36    """The author of this object."""
37    author: Identity!
38}