type Repository { """The name of the repository. Null for the default (unnamed) repository in a single-repo setup.""" name: String """All the bugs""" allBugs( """Returns the elements in the list that come after the specified cursor.""" after: String """Returns the elements in the list that come before the specified cursor.""" before: String """Returns the first _n_ elements from the list.""" first: Int """Returns the last _n_ elements from the list.""" last: Int """A query to select and order bugs.""" query: String ): BugConnection! """Look up a bug by id prefix. Returns null if no bug matches the prefix.""" bug(prefix: String!): Bug """All the identities""" allIdentities( """Returns the elements in the list that come after the specified cursor.""" after: String """Returns the elements in the list that come before the specified cursor.""" before: String """Returns the first _n_ elements from the list.""" first: Int """Returns the last _n_ elements from the list.""" last: Int ): IdentityConnection! """Look up an identity by id prefix. Returns null if no identity matches the prefix.""" identity(prefix: String!): Identity """The identity created or selected by the user as its own""" userIdentity: Identity """All branches and tags, optionally filtered by type. BRANCH and TAG are the only accepted filter values; passing COMMIT returns an error.""" refs( """Returns the elements in the list that come after the specified cursor.""" after: String """Returns the elements in the list that come before the specified cursor.""" before: String """Returns the first _n_ elements from the list.""" first: Int """Returns the last _n_ elements from the list.""" last: Int """Restrict to references of this type. Accepts BRANCH or TAG only.""" type: GitRefType ): GitRefConnection! """Directory listing at path under ref. An empty path returns the root tree.""" tree(ref: String!, path: String): [GitTreeEntry!]! """Content of the file at path under ref. Null if the path does not exist or resolves to a tree rather than a blob.""" blob(ref: String!, path: String!): GitBlob """Paginated commit log reachable from ref, optionally filtered to commits touching path.""" commits( """Returns the elements in the list that come after the specified cursor.""" after: String """Returns the first _n_ elements from the list (max 100, default 20).""" first: Int """Branch name, tag name, full ref (e.g. refs/heads/main), or commit hash to start the log from.""" ref: String! """Restrict to commits that touched this path.""" path: String """Restrict to commits authored on or after this timestamp.""" since: Time """Restrict to commits authored before or on this timestamp.""" until: Time ): GitCommitConnection! """A single commit by hash. Returns null if the hash does not exist in the repository.""" commit(hash: String!): GitCommit """The most recent commit that touched each of the named entries in the directory at path under ref. Use this to populate last-commit info on a tree listing without blocking the initial tree fetch.""" lastCommits(ref: String!, path: String, names: [String!]!): [GitLastCommit!]! """The reference pointed to by HEAD in the git repository. Null if HEAD cannot be resolved, for example in an empty or unborn repository, or if HEAD is missing or invalid.""" head: GitRef """List of valid labels.""" validLabels( """Returns the elements in the list that come after the specified cursor.""" after: String """Returns the elements in the list that come before the specified cursor.""" before: String """Returns the first _n_ elements from the list.""" first: Int """Returns the last _n_ elements from the list.""" last: Int ): LabelConnection! } type RepositoryConnection { edges: [RepositoryEdge!]! nodes: [Repository!]! pageInfo: PageInfo! totalCount: Int! } type RepositoryEdge { cursor: String! node: Repository! }