Skip to main content
Version: 0.1.0

GitRepository

No description

interface GitRepository {
id: ID!
provider: GitProvider!
providerID: ID!
name: String!
owner: String!
url: URL!
description: String
defaultBranch: GitBranch
branches: [GitBranch!]
isFork: Boolean!
isPrivate: Boolean!
updatedAt: Time!
primaryLanguage: String
}

Fields

GitRepository.id ● ID! non-null scalar

GitRepository.provider ● GitProvider! non-null enum

GitRepository.providerID ● ID! non-null scalar

GitRepository.name ● String! non-null scalar

GitRepository.owner ● String! non-null scalar

GitRepository.url ● URL! non-null scalar

GitRepository.description ● String scalar

GitRepository.defaultBranch ● GitBranch object

GitRepository.branches ● [GitBranch!] list object

GitRepository.isFork ● Boolean! non-null scalar

GitRepository.isPrivate ● Boolean! non-null scalar

GitRepository.updatedAt ● Time! non-null scalar

GitRepository.primaryLanguage ● String scalar

Implemented By

BitbucketRepository object ● GitHubRepository object ● GitlabRepository object