repository.graphql

 1type Repository {
 2    """The name of the repository. Null for the default (unnamed) repository."""
 3    name: String
 4
 5    """The local directory name of the repository (basename only, no path)."""
 6    localName: String!
 7
 8    """All the bugs"""
 9    allBugs(
10        """Returns the elements in the list that come after the specified cursor."""
11        after: String
12        """Returns the elements in the list that come before the specified cursor."""
13        before: String
14        """Returns the first _n_ elements from the list."""
15        first: Int
16        """Returns the last _n_ elements from the list."""
17        last: Int
18        """A query to select and order bugs."""
19        query: String
20    ): BugConnection!
21
22    bug(prefix: String!): Bug
23
24    """All the identities"""
25    allIdentities(
26        """Returns the elements in the list that come after the specified cursor."""
27        after: String
28        """Returns the elements in the list that come before the specified cursor."""
29        before: String
30        """Returns the first _n_ elements from the list."""
31        first: Int
32        """Returns the last _n_ elements from the list."""
33        last: Int
34    ): IdentityConnection!
35
36    identity(prefix: String!): Identity
37
38    """The identity created or selected by the user as its own"""
39    userIdentity: Identity
40
41    """List of valid labels."""
42    validLabels(
43        """Returns the elements in the list that come after the specified cursor."""
44        after: String
45        """Returns the elements in the list that come before the specified cursor."""
46        before: String
47        """Returns the first _n_ elements from the list."""
48        first: Int
49        """Returns the last _n_ elements from the list."""
50        last: Int
51    ): LabelConnection!
52}
53
54type  RepositoryConnection {
55  edges: [RepositoryEdge!]!
56  nodes: [Repository!]!
57  pageInfo: PageInfo!
58  totalCount: Int!
59}
60
61type RepositoryEdge {
62  cursor: String!
63  node: Repository!
64}