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"""Information about pagination in a connection."""
15type PageInfo {
16    """When paginating forwards, are there more items?"""
17    hasNextPage: Boolean!
18    """When paginating backwards, are there more items?"""
19    hasPreviousPage: Boolean!
20    """When paginating backwards, the cursor to continue."""
21    startCursor: String!
22    """When paginating forwards, the cursor to continue."""
23    endCursor: String!
24}
25
26"""An object that has an author."""
27interface Authored {
28    """The author of this object."""
29    author: Identity!
30}