1type Bug implements Authored {
 2  """The identifier for this bug"""
 3  id: ID!
 4  """The human version (truncated) identifier for this bug"""
 5  humanId: String!
 6  status: Status!
 7  title: String!
 8  labels: [Label!]!
 9  author: Identity!
10  createdAt: Time!
11  lastEdit: Time!
12
13  """The actors of the bug. Actors are Identity that have interacted with the bug."""
14  actors(
15    """Returns the elements in the list that come after the specified cursor."""
16    after: String
17    """Returns the elements in the list that come before the specified cursor."""
18    before: String
19    """Returns the first _n_ elements from the list."""
20    first: Int
21    """Returns the last _n_ elements from the list."""
22    last: Int
23  ): IdentityConnection!
24
25  """The participants of the bug. Participants are Identity that have created or
26  added a comment on the bug."""
27  participants(
28    """Returns the elements in the list that come after the specified cursor."""
29    after: String
30    """Returns the elements in the list that come before the specified cursor."""
31    before: String
32    """Returns the first _n_ elements from the list."""
33    first: Int
34    """Returns the last _n_ elements from the list."""
35    last: Int
36  ): IdentityConnection!
37
38  comments(
39    """Returns the elements in the list that come after the specified cursor."""
40    after: String
41    """Returns the elements in the list that come before the specified cursor."""
42    before: String
43    """Returns the first _n_ elements from the list."""
44    first: Int
45    """Returns the last _n_ elements from the list."""
46    last: Int
47  ): BugCommentConnection!
48
49  timeline(
50    """Returns the elements in the list that come after the specified cursor."""
51    after: String
52    """Returns the elements in the list that come before the specified cursor."""
53    before: String
54    """Returns the first _n_ elements from the list."""
55    first: Int
56    """Returns the last _n_ elements from the list."""
57    last: Int
58  ): BugTimelineItemConnection!
59
60  operations(
61    """Returns the elements in the list that come after the specified cursor."""
62    after: String
63    """Returns the elements in the list that come before the specified cursor."""
64    before: String
65    """Returns the first _n_ elements from the list."""
66    first: Int
67    """Returns the last _n_ elements from the list."""
68    last: Int
69  ): OperationConnection!
70}
71
72"""The connection type for Bug."""
73type BugConnection {
74  """A list of edges."""
75  edges: [BugEdge!]!
76  nodes: [Bug!]!
77  """Information to aid in pagination."""
78  pageInfo: PageInfo!
79  """Identifies the total count of items in the connection."""
80  totalCount: Int!
81}
82
83"""An edge in a connection."""
84type BugEdge {
85  """A cursor for use in pagination."""
86  cursor: String!
87  """The item at the end of the edge."""
88  node: Bug!
89}