Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 113 additions & 0 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3022,6 +3022,9 @@ input CreateProjectInput {
"""The description of project."""
body: String

"""The name of the GitHub-provided template."""
template: ProjectTemplate

"""A unique identifier for the client performing the mutation."""
clientMutationId: String
}
Expand Down Expand Up @@ -5835,6 +5838,41 @@ enum MergeableState {
UNKNOWN
}

"""Autogenerated input type of MergeBranch"""
input MergeBranchInput {
"""
The Node ID of the Repository containing the base branch that will be modified.
"""
repositoryId: ID!

"""
The name of the base branch that the provided head will be merged into.
"""
base: String!

"""
The head to merge into the base branch. This can be a branch name or a commit GitObjectID.
"""
head: String!

"""
Message to use for the merge commit. If omitted, a default will be used.
"""
commitMessage: String

"""A unique identifier for the client performing the mutation."""
clientMutationId: String
}

"""Autogenerated return type of MergeBranch"""
type MergeBranchPayload {
"""A unique identifier for the client performing the mutation."""
clientMutationId: String

"""The resulting merge Commit."""
mergeCommit: Commit
}

"""Represents a 'merged' event on a given pull request."""
type MergedEvent implements Node & UniformResourceLocatable {
"""Identifies the actor who performed the event."""
Expand Down Expand Up @@ -6278,6 +6316,9 @@ type Mutation {
"""Lock a lockable object"""
lockLockable(input: LockLockableInput!): LockLockablePayload

"""Merge a head into a branch."""
mergeBranch(input: MergeBranchInput!): MergeBranchPayload

"""Merge a pull request."""
mergePullRequest(input: MergePullRequestInput!): MergePullRequestPayload

Expand Down Expand Up @@ -6365,6 +6406,9 @@ type Mutation {
"""Update a Git Ref."""
updateRef(input: UpdateRefInput!): UpdateRefPayload

"""Update information about a repository."""
updateRepository(input: UpdateRepositoryInput!): UpdateRepositoryPayload

"""Updates the state for subscribable subjects."""
updateSubscription(input: UpdateSubscriptionInput!): UpdateSubscriptionPayload

Expand Down Expand Up @@ -7528,6 +7572,27 @@ enum ProjectState {
CLOSED
}

"""GitHub-provided templates for Projects"""
enum ProjectTemplate {
"""Create a board with columns for To do, In progress and Done."""
BASIC_KANBAN

"""
Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns.
"""
AUTOMATED_KANBAN_V2

"""
Create a board with triggers to automatically move cards across columns with review automation.
"""
AUTOMATED_REVIEWS_KANBAN

"""
Create a board to triage and prioritize bugs with To do, priority, and Done columns.
"""
BUG_TRIAGE
}

"""A user's public key."""
type PublicKey implements Node {
"""
Expand Down Expand Up @@ -13117,6 +13182,54 @@ type UpdateRefPayload {
ref: Ref
}

"""Autogenerated input type of UpdateRepository"""
input UpdateRepositoryInput {
"""The ID of the repository to update."""
repositoryId: ID!

"""The new name of the repository."""
name: String

"""
A new description for the repository. Pass an empty string to erase the existing description.
"""
description: String

"""
Whether this repository should be marked as a template such that anyone who
can access it can create new repositories with the same files and directory structure.
"""
template: Boolean

"""
The URL for a web page about this repository. Pass an empty string to erase the existing URL.
"""
homepageUrl: URI

"""Indicates if the repository should have the wiki feature enabled."""
hasWikiEnabled: Boolean

"""Indicates if the repository should have the issues feature enabled."""
hasIssuesEnabled: Boolean

"""
Indicates if the repository should have the project boards feature enabled.
"""
hasProjectsEnabled: Boolean

"""A unique identifier for the client performing the mutation."""
clientMutationId: String
}

"""Autogenerated return type of UpdateRepository"""
type UpdateRepositoryPayload {
"""A unique identifier for the client performing the mutation."""
clientMutationId: String

"""The updated repository."""
repository: Repository
}

"""Autogenerated input type of UpdateSubscription"""
input UpdateSubscriptionInput {
"""The Node ID of the subscribable object to modify."""
Expand Down