1type Query {
2 """Access a repository by reference/name. If no ref is given, the default repository is returned if any.
3 Returns null if the referenced repository does not exist."""
4 repository(ref: String): Repository
5
6 """List all registered repositories."""
7 repositories(
8 """Returns the elements in the list that come after the specified cursor."""
9 after: String
10 """Returns the elements in the list that come before the specified cursor."""
11 before: String
12 """Returns the first _n_ elements from the list."""
13 first: Int
14 """Returns the last _n_ elements from the list."""
15 last: Int
16 ): RepositoryConnection!
17}
18
19type Mutation # See each entity mutations