1scalar Time
2scalar Label
3scalar Hash
4
5"""Information about pagination in a connection."""
6type PageInfo {
7 """When paginating forwards, are there more items?"""
8 hasNextPage: Boolean!
9 """When paginating backwards, are there more items?"""
10 hasPreviousPage: Boolean!
11 """When paginating backwards, the cursor to continue."""
12 startCursor: String!
13 """When paginating forwards, the cursor to continue."""
14 endCursor: String!
15}
16
17"""An object that has an author."""
18interface Authored {
19 """The author of this object."""
20 author: Identity!
21}
22
23type Query {
24 defaultRepository: Repository
25 repository(id: String!): Repository
26}
27
28type Mutation {
29 newBug(repoRef: String, title: String!, message: String!, files: [Hash!]): Bug!
30
31 addComment(repoRef: String, prefix: String!, message: String!, files: [Hash!]): Bug!
32 changeLabels(repoRef: String, prefix: String!, added: [String!], removed: [String!]): Bug!
33 open(repoRef: String, prefix: String!): Bug!
34 close(repoRef: String, prefix: String!): Bug!
35 setTitle(repoRef: String, prefix: String!, title: String!): Bug!
36
37 commit(repoRef: String, prefix: String!): Bug!
38}