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