Skip to main content

CrowdyStudioGitHubStatus

GitHub connection for the caller and, when a project is named, the repository bound to it. GitHub is a Studio filesystem capability, not a login provider.

type CrowdyStudioGitHubStatus {
configured: Boolean!
connected: Boolean!
accountLogin: String
accountType: String
owner: String
repo: String
branch: String
githubSha: String
repositorySelection: String
installUrl: String
}

Fields​

CrowdyStudioGitHubStatus.configured ● Boolean! non-null scalar​

This tier has a GitHub App registered.

CrowdyStudioGitHubStatus.connected ● Boolean! non-null scalar​

The caller has installed the App on a GitHub account.

CrowdyStudioGitHubStatus.accountLogin ● String scalar​

GitHub login the App is installed on.

CrowdyStudioGitHubStatus.accountType ● String scalar​

User or Organization.

CrowdyStudioGitHubStatus.owner ● String scalar​

Bound repository owner, when a project was named.

CrowdyStudioGitHubStatus.repo ● String scalar​

CrowdyStudioGitHubStatus.branch ● String scalar​

CrowdyStudioGitHubStatus.githubSha ● String scalar​

Commit the project mirror is at. Every bound write presents it as expectedCommitSha; a stale value is refused with GITHUB_STALE_SHA. Null when the project is not bound.

CrowdyStudioGitHubStatus.repositorySelection ● String scalar​

Which repositories the installation covers: "all", or "selected" (a repository created on GitHub afterwards must be added to the installation at installUrl before it can be bound). Null when not connected.

CrowdyStudioGitHubStatus.installUrl ● String scalar​

Where to send the modder to install or manage the App.

Returned By​

crowdyStudioGitHubBind mutation ● crowdyStudioGitHubDeleteFile mutation ● crowdyStudioGitHubRefresh mutation ● crowdyStudioGitHubStatus query ● crowdyStudioGitHubUnbind mutation