schema {
query: RootSchemaQuery
}
directive @filter(op: String!, value: [String!]) on FIELD | INLINE_FRAGMENT
directive @tag(name: String) on FIELD
directive @output(name: String) on FIELD
directive @optional on FIELD
directive @recurse(depth: Int!) on FIELD
directive @fold on FIELD
type RootSchemaQuery {
repository: Repository
}
type Repository {
name: String!
commits(limit: Int): [Commit!]!
branches: [Branch!]!
tags: [Tag!]!
}
type Commit {
hash: String!
message: String
author: String
author_email: String
committer: String
committer_email: String
date: String
}
type Branch {
name: String!
commit: Commit!
}
type Tag {
name: String!
message: String
tagger_name: String
tagger_email: String
commit: Commit!
}