Categorygithub.com/n33pm/githubv4
modulepackage
0.0.0-20221021030919-a134b1472cc7
Repository: https://github.com/n33pm/githubv4.git
Documentation: pkg.go.dev

# README

githubv4

Build Status GoDoc

Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql).

If you're looking for a client library for GitHub REST API v3, the recommended package is github.com/google/go-github/github.

Focus

  • Friendly, simple and powerful API.
  • Correctness, high performance and efficiency.
  • Support all of GitHub GraphQL API v4 via code generation from schema.

Installation

githubv4 requires Go version 1.8 or later.

go get -u github.com/shurcooL/githubv4

Usage

Authentication

GitHub GraphQL API v4 requires authentication. The githubv4 package does not directly handle authentication. Instead, when creating a new client, you're expected to pass an http.Client that performs authentication. The easiest and recommended way to do this is to use the golang.org/x/oauth2 package. You'll need an OAuth token from GitHub (for example, a personal API token) with the right scopes. Then:

import "golang.org/x/oauth2"

func main() {
	src := oauth2.StaticTokenSource(
		&oauth2.Token{AccessToken: os.Getenv("GITHUB_TOKEN")},
	)
	httpClient := oauth2.NewClient(context.Background(), src)

	client := githubv4.NewClient(httpClient)
	// Use client...
}

If you are using GitHub Enterprise, use githubv4.NewEnterpriseClient:

client := githubv4.NewEnterpriseClient(os.Getenv("GITHUB_ENDPOINT"), httpClient)
// Use client...

Simple Query

To make a query, you need to define a Go type that corresponds to the GitHub GraphQL schema, and contains the fields you're interested in querying. You can look up the GitHub GraphQL schema at https://docs.github.com/en/graphql/reference/queries.

For example, to make the following GraphQL query:

query {
	viewer {
		login
		createdAt
	}
}

You can define this variable:

var query struct {
	Viewer struct {
		Login     githubv4.String
		CreatedAt githubv4.DateTime
	}
}

Then call client.Query, passing a pointer to it:

err := client.Query(context.Background(), &query, nil)
if err != nil {
	// Handle error.
}
fmt.Println("    Login:", query.Viewer.Login)
fmt.Println("CreatedAt:", query.Viewer.CreatedAt)

// Output:
//     Login: gopher
// CreatedAt: 2017-05-26 21:17:14 +0000 UTC

Scalar Types

For each scalar in the GitHub GraphQL schema listed at https://docs.github.com/en/graphql/reference/scalars, there is a corresponding Go type in package githubv4.

You can use these types when writing queries:

var query struct {
	Viewer struct {
		Login          githubv4.String
		CreatedAt      githubv4.DateTime
		IsBountyHunter githubv4.Boolean
		BioHTML        githubv4.HTML
		WebsiteURL     githubv4.URI
	}
}
// Call client.Query() and use results in query...

However, depending on how you're planning to use the results of your query, it's often more convenient to use other Go types.

The encoding/json rules are used for converting individual JSON-encoded fields from a GraphQL response into Go values. See https://godoc.org/encoding/json#Unmarshal for details. The json.Unmarshaler interface is respected.

That means you can simplify the earlier query by using predeclared Go types:

// import "time"

var query struct {
	Viewer struct {
		Login          string    // E.g., "gopher".
		CreatedAt      time.Time // E.g., time.Date(2017, 5, 26, 21, 17, 14, 0, time.UTC).
		IsBountyHunter bool      // E.g., true.
		BioHTML        string    // E.g., `I am learning <a href="https://graphql.org">GraphQL</a>!`.
		WebsiteURL     string    // E.g., "https://golang.org".
	}
}
// Call client.Query() and use results in query...

The DateTime scalar is described as "an ISO-8601 encoded UTC date string". If you wanted to fetch in that form without parsing it into a time.Time, you can use the string type. For example, this would work:

// import "html/template"

type MyBoolean bool

var query struct {
	Viewer struct {
		Login          string        // E.g., "gopher".
		CreatedAt      string        // E.g., "2017-05-26T21:17:14Z".
		IsBountyHunter MyBoolean     // E.g., MyBoolean(true).
		BioHTML        template.HTML // E.g., template.HTML(`I am learning <a href="https://graphql.org">GraphQL</a>!`).
		WebsiteURL     template.URL  // E.g., template.URL("https://golang.org").
	}
}
// Call client.Query() and use results in query...

Arguments and Variables

Often, you'll want to specify arguments on some fields. You can use the graphql struct field tag for this.

For example, to make the following GraphQL query:

{
	repository(owner: "octocat", name: "Hello-World") {
		description
	}
}

You can define this variable:

var q struct {
	Repository struct {
		Description string
	} `graphql:"repository(owner: \"octocat\", name: \"Hello-World\")"`
}

Then call client.Query:

err := client.Query(context.Background(), &q, nil)
if err != nil {
	// Handle error.
}
fmt.Println(q.Repository.Description)

// Output:
// My first repository on GitHub!

However, that'll only work if the arguments are constant and known in advance. Otherwise, you will need to make use of variables. Replace the constants in the struct field tag with variable names:

// fetchRepoDescription fetches description of repo with owner and name.
func fetchRepoDescription(ctx context.Context, owner, name string) (string, error) {
	var q struct {
		Repository struct {
			Description string
		} `graphql:"repository(owner: $owner, name: $name)"`
	}

When sending variables to GraphQL, you need to use exact types that match GraphQL scalar types, otherwise the GraphQL server will return an error.

So, define a variables map with their values that are converted to GraphQL scalar types:

	variables := map[string]interface{}{
		"owner": githubv4.String(owner),
		"name":  githubv4.String(name),
	}

Finally, call client.Query providing variables:

	err := client.Query(ctx, &q, variables)
	return q.Repository.Description, err
}

Inline Fragments

Some GraphQL queries contain inline fragments. You can use the graphql struct field tag to express them.

For example, to make the following GraphQL query:

{
	repositoryOwner(login: "github") {
		login
		... on Organization {
			description
		}
		... on User {
			bio
		}
	}
}

You can define this variable:

var q struct {
	RepositoryOwner struct {
		Login        string
		Organization struct {
			Description string
		} `graphql:"... on Organization"`
		User struct {
			Bio string
		} `graphql:"... on User"`
	} `graphql:"repositoryOwner(login: \"github\")"`
}

Alternatively, you can define the struct types corresponding to inline fragments, and use them as embedded fields in your query:

type (
	OrganizationFragment struct {
		Description string
	}
	UserFragment struct {
		Bio string
	}
)

var q struct {
	RepositoryOwner struct {
		Login                string
		OrganizationFragment `graphql:"... on Organization"`
		UserFragment         `graphql:"... on User"`
	} `graphql:"repositoryOwner(login: \"github\")"`
}

Then call client.Query:

err := client.Query(context.Background(), &q, nil)
if err != nil {
	// Handle error.
}
fmt.Println(q.RepositoryOwner.Login)
fmt.Println(q.RepositoryOwner.Description)
fmt.Println(q.RepositoryOwner.Bio)

// Output:
// github
// How people build software.
//

Pagination

Imagine you wanted to get a complete list of comments in an issue, and not just the first 10 or so. To do that, you'll need to perform multiple queries and use pagination information. For example:

type comment struct {
	Body   string
	Author struct {
		Login     string
		AvatarURL string `graphql:"avatarUrl(size: 72)"`
	}
	ViewerCanReact bool
}
var q struct {
	Repository struct {
		Issue struct {
			Comments struct {
				Nodes    []comment
				PageInfo struct {
					EndCursor   githubv4.String
					HasNextPage bool
				}
			} `graphql:"comments(first: 100, after: $commentsCursor)"` // 100 per page.
		} `graphql:"issue(number: $issueNumber)"`
	} `graphql:"repository(owner: $repositoryOwner, name: $repositoryName)"`
}
variables := map[string]interface{}{
	"repositoryOwner": githubv4.String(owner),
	"repositoryName":  githubv4.String(name),
	"issueNumber":     githubv4.Int(issue),
	"commentsCursor":  (*githubv4.String)(nil), // Null after argument to get first page.
}

// Get comments from all pages.
var allComments []comment
for {
	err := client.Query(ctx, &q, variables)
	if err != nil {
		return err
	}
	allComments = append(allComments, q.Repository.Issue.Comments.Nodes...)
	if !q.Repository.Issue.Comments.PageInfo.HasNextPage {
		break
	}
	variables["commentsCursor"] = githubv4.NewString(q.Repository.Issue.Comments.PageInfo.EndCursor)
}

There is more than one way to perform pagination. Consider additional fields inside PageInfo object.

Mutations

Mutations often require information that you can only find out by performing a query first. Let's suppose you've already done that.

For example, to make the following GraphQL mutation:

mutation($input: AddReactionInput!) {
	addReaction(input: $input) {
		reaction {
			content
		}
		subject {
			id
		}
	}
}
variables {
	"input": {
		"subjectId": "MDU6SXNzdWUyMTc5NTQ0OTc=",
		"content": "HOORAY"
	}
}

You can define:

var m struct {
	AddReaction struct {
		Reaction struct {
			Content githubv4.ReactionContent
		}
		Subject struct {
			ID githubv4.ID
		}
	} `graphql:"addReaction(input: $input)"`
}
input := githubv4.AddReactionInput{
	SubjectID: targetIssue.ID, // ID of the target issue from a previous query.
	Content:   githubv4.ReactionContentHooray,
}

Then call client.Mutate:

err := client.Mutate(context.Background(), &m, input, nil)
if err != nil {
	// Handle error.
}
fmt.Printf("Added a %v reaction to subject with ID %#v!\n", m.AddReaction.Reaction.Content, m.AddReaction.Subject.ID)

// Output:
// Added a HOORAY reaction to subject with ID "MDU6SXNzdWUyMTc5NTQ0OTc="!

Directories

PathSynopsis
example/githubv4devgithubv4dev is a test program currently being used for developing githubv4 package.

License

# Packages

No description provided by the author

# Functions

NewBase64String is a helper to make a new *Base64String.
NewBoolean is a helper to make a new *Boolean.
NewClient creates a new GitHub GraphQL API v4 client with the provided http.Client.
NewDate is a helper to make a new *Date.
NewDateTime is a helper to make a new *DateTime.
NewEnterpriseClient creates a new GitHub GraphQL API v4 client for the GitHub Enterprise instance with the specified GraphQL endpoint URL, using the provided http.Client.
NewFloat is a helper to make a new *Float.
NewGitObjectID is a helper to make a new *GitObjectID.
NewGitTimestamp is a helper to make a new *GitTimestamp.
NewHTML is a helper to make a new *HTML.
NewID is a helper to make a new *ID.
NewInt is a helper to make a new *Int.
NewString is a helper to make a new *String.
NewURI is a helper to make a new *URI.
NewX509Certificate is a helper to make a new *X509Certificate.

# Constants

Indicates a team actor.
Indicates a user actor.
Order audit log entries by timestamp.
An annotation indicating an inescapable error.
An annotation indicating some information.
An annotation indicating an ignorable error.
The check suite or run requires action.
The check suite or run has been cancelled.
The check suite or run has failed.
The check suite or run was neutral.
The check suite or run was skipped.
The check suite or run was marked stale by GitHub.
The check suite or run has failed at startup.
The check suite or run has succeeded.
The check suite or run has timed out.
The check run requires action.
The check run has been cancelled.
The check run has been completed.
The check run has failed.
The check run is in progress.
The check run was neutral.
The check run is in pending state.
The check run has been queued.
The check run was skipped.
The check run was marked stale by GitHub.
The check run has failed at startup.
The check run has succeeded.
The check run has timed out.
The check run is in waiting state.
Every check run available.
The latest check run.
The check suite or run has been completed.
The check suite or run is in progress.
The check suite or run is in pending state.
The check suite or run has been queued.
The check suite or run has been requested.
The check suite or run is in waiting state.
All collaborators the authenticated user can see.
All collaborators with permissions to an organization-owned subject, regardless of organization membership status.
All outside collaborators of an organization-owned subject.
Author has been invited to collaborate on the repository.
Author has previously committed to the repository.
Author has not previously committed to the repository.
Author has not previously committed to GitHub.
Author is a placeholder for an unclaimed user.
Author is a member of the organization that owns the repository.
Author has no association with the repository.
Author is the owner of the repository.
Unable to create comment because repository is archived.
You cannot update this comment.
You must be the author or have write access to this repository to update this comment.
Unable to create comment because issue is locked.
You must be logged in to update this comment.
Repository is under maintenance.
At least one email address must be verified to update this comment.
Order commit contributions by how many commits they represent.
Order commit contributions by when they were made.
The head ref is ahead of the base ref.
The head ref is behind the base ref.
The head ref is both ahead and behind of the base ref, indicating git history has diverged.
The head ref and base ref are identical.
Lowest 25% of days of contributions.
Highest 25% of days of contributions.
No contributions occurred.
Second lowest 25% of days of contributions.
Second highest 25% of days of contributions.
Can read, write, and administrate repos by default.
No access.
Can read repos by default.
Can read and write repos by default.
GitHub Actions.
PHP packages hosted at packagist.org.
Go modules.
Java artifacts hosted at the Maven central repository.
JavaScript packages hosted at npmjs.com.
.NET packages hosted at the NuGet Gallery.
Python packages hosted at PyPI.org.
Dart packages hosted at pub.dev.
Ruby gems hosted at RubyGems.org.
Rust crates.
Order collection by creation time.
Required reviewers.
Wait timer.
The deployment was approved.
The deployment was rejected.
The pending deployment was not updated after 30 minutes.
The deployment is currently active.
An inactive transient deployment.
The deployment experienced an error.
The deployment has failed.
The deployment is inactive.
The deployment is in progress.
The deployment is pending.
The deployment has queued.
The deployment is waiting.
The deployment experienced an error.
The deployment has failed.
The deployment is inactive.
The deployment is in progress.
The deployment is pending.
The deployment is queued.
The deployment was successful.
The deployment is waiting.
The left side of the diff.
The right side of the diff.
Order discussions by creation time.
Order discussions by most recent modification time.
Order poll options by the order that the poll author specified when creating the poll.
Order poll options by the number of votes it has.
A fix has already been started.
This alert is inaccurate or incorrect.
No bandwidth to fix this.
Vulnerable code is not actually used.
Risk is tolerable to this project.
Order enterprise administrator member invitations by creation time.
Represents a billing manager of the enterprise account.
Represents an owner of the enterprise account.
Members can fork a repository to an organization within this enterprise.
Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise.
Members can fork a repository to their user account or an organization, either inside or outside of this enterprise.
Members can fork a repository only within the same organization (intra-org).
Members can fork a repository to their user account or within the same organization.
Members can fork a repository to their user account.
Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories.
Organization members will only be able to clone and pull public repositories.
Organizations in the enterprise choose base repository permissions for their members.
Organization members will be able to clone and pull all organization repositories.
Organization members will be able to clone, pull, and push all organization repositories.
The setting is disabled for organizations in the enterprise.
The setting is enabled for organizations in the enterprise.
There is no policy set for organizations in the enterprise.
The setting is enabled for organizations in the enterprise.
There is no policy set for organizations in the enterprise.
Order enterprise members by creation time.
Order enterprise members by login.
Members will be able to create public and private repositories.
Members will not be able to create public or private repositories.
Organization administrators choose whether to allow members to create repositories.
Members will be able to create only private repositories.
Members will be able to create only public repositories.
The setting is disabled for organizations in the enterprise.
The setting is enabled for organizations in the enterprise.
Order Enterprise Server installations by creation time.
Order Enterprise Server installations by customer name.
Order Enterprise Server installations by host name.
Order emails by email.
Order user accounts by login.
Order user accounts by creation time on the Enterprise Server installation.
Order user accounts uploads by creation time.
The synchronization of the upload failed.
The synchronization of the upload is pending.
The synchronization of the upload succeeded.
The user is a member of an organization in the enterprise.
The user is an owner of an organization in the enterprise.
The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises.
The user is part of a GitHub Enterprise Cloud deployment.
The user is part of a GitHub Enterprise Server deployment.
The file has new changes since last viewed.
The file has not been marked as viewed.
The file has been marked as viewed.
Community Bridge funding platform.
Custom funding platform.
GitHub funding platform.
IssueHunt funding platform.
IssueHunt funding platform.
Ko-fi funding platform.
LFX Crowdfunding funding platform.
Liberapay funding platform.
Open Collective funding platform.
Otechie funding platform.
Patreon funding platform.
Tidelift funding platform.
Order gists by creation time.
Order gists by push time.
Order gists by update time.
Gists that are public and secret.
Public.
Secret.
The signing certificate or its chain could not be verified.
Invalid email used for signing.
Signing key expired.
Internal error - the GPG verification service misbehaved.
Internal error - the GPG verification service is unavailable at the moment.
Invalid signature.
Malformed signature.
The usage flags for the key that signed this don't allow signing.
Email used for signing not known to GitHub.
Valid signature, though certificate revocation check failed.
Valid signature, pending certificate revocation checking.
One or more certificates in chain has been revoked.
Key used for signing not known to GitHub.
Unknown signature type.
Unsigned.
Email used for signing unverified on GitHub.
Valid signature and verified by GitHub.
Authentication with an identity provider is configured but not enforced.
Authentication with an identity provider is configured and enforced.
Authentication with an identity provider is not configured.
The setting is disabled for the owner.
The setting is enabled for the owner.
Order IP allow list entries by the allow list value.
Order IP allow list entries by creation time.
The setting is disabled for the owner.
The setting is enabled for the owner.
An issue that has been closed as completed.
An issue that has been closed as not planned.
Order issue comments by update time.
Order issues by comment count.
Order issues by creation time.
Order issues by update time.
An issue that has been closed.
An issue that is still open.
An issue that has been closed as completed.
An issue that has been closed as not planned.
An issue that has been reopened.
Represents a 'added_to_project' event on a given issue or pull request.
Represents an 'assigned' event on any assignable object.
Represents a 'closed' event on any `Closable`.
Represents a 'comment_deleted' event on a given issue or pull request.
Represents a 'connected' event on a given issue or pull request.
Represents a 'converted_note_to_issue' event on a given issue or pull request.
Represents a 'converted_to_discussion' event on a given issue.
Represents a mention made by one issue or pull request to another.
Represents a 'demilestoned' event on a given issue or pull request.
Represents a 'disconnected' event on a given issue or pull request.
Represents a comment on an Issue.
Represents a 'labeled' event on a given issue or pull request.
Represents a 'locked' event on a given issue or pull request.
Represents a 'marked_as_duplicate' event on a given issue or pull request.
Represents a 'mentioned' event on a given issue or pull request.
Represents a 'milestoned' event on a given issue or pull request.
Represents a 'moved_columns_in_project' event on a given issue or pull request.
Represents a 'pinned' event on a given issue or pull request.
Represents a 'referenced' event on a given `ReferencedSubject`.
Represents a 'removed_from_project' event on a given issue or pull request.
Represents a 'renamed' event on a given issue or pull request.
Represents a 'reopened' event on any `Closable`.
Represents a 'subscribed' event on a given `Subscribable`.
Represents a 'transferred' event on a given issue or pull request.
Represents an 'unassigned' event on any assignable object.
Represents an 'unlabeled' event on a given issue or pull request.
Represents an 'unlocked' event on a given issue or pull request.
Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
Represents an 'unpinned' event on a given issue or pull request.
Represents an 'unsubscribed' event on a given `Subscribable`.
Represents a 'user_blocked' event on a given user.
Order labels by creation time.
Order labels by name.
Order languages by the size of all files containing the language.
The issue or pull request was locked because the conversation was off-topic.
The issue or pull request was locked because the conversation was resolved.
The issue or pull request was locked because the conversation was spam.
The issue or pull request was locked because the conversation was too heated.
The pull request cannot be merged due to merge conflicts.
The pull request can be merged.
The mergeability of the pull request is still being calculated.
Default to a blank commit message.
Default to the pull request's body.
Default to the pull request's title.
Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
Default to the pull request's title.
An Azure DevOps migration source.
A Bitbucket Server migration source.
A GitHub Migration API source.
The Octoshift migration has failed.
The Octoshift migration has invalid credentials.
The Octoshift migration is in progress.
The Octoshift migration has not started.
The Octoshift migration needs to have its credentials validated.
The Octoshift migration has been queued.
The Octoshift migration has succeeded.
Order milestones by when they were created.
Order milestones by when they are due.
Order milestones by their number.
Order milestones by when they were last updated.
A milestone that has been closed.
A milestone that is still open.
The setting is disabled for the owner.
The setting is enabled for the owner.
The OAuth Application was active and allowed to have OAuth Accesses.
The OAuth Application was in the process of being deleted.
The OAuth Application was suspended from generating OAuth Accesses due to abuse or security concerns.
Azure Active Directory.
An existing resource was accessed.
A resource performed an authentication event.
A new resource was created.
An existing resource was modified.
An existing resource was removed.
An existing resource was restored.
An existing resource was transferred between multiple resources.
Specifies an ascending order for a given `orderBy` argument.
Specifies a descending order for a given `orderBy` argument.
Can read, clone, push, and add collaborators to repositories.
Can read and clone repositories.
The user is invited to be an admin of the organization.
The user is invited to be a billing manager of the organization.
The user is invited to be a direct member of the organization.
The user's previous role will be reinstated.
The invitation was to an email address.
The invitation was to an existing user.
The user is an administrator of the organization.
The user is a member of the organization.
Members will be able to create public and private repositories.
Members will not be able to create public or private repositories.
Members will be able to create only internal repositories.
Members will be able to create only private repositories.
Order organizations by creation time.
Order organizations by login.
Team Plan.
Enterprise Cloud Plan.
Free Plan.
Tiered Per Seat Plan.
Legacy Unlimited Plan.
Order enterprise owners by login.
SAML external identity missing.
SAML SSO enforcement requires an external identity.
The organization required 2FA of its billing managers and this user did not have 2FA enabled.
Organization administrators have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership.
A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.
A direct member is a user that is a member of the Organization.
An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.
A suspended member.
An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization.
SAML external identity missing.
SAML SSO enforcement requires an external identity.
User was removed from organization during account recovery.
The organization required 2FA of its billing managers and this user did not have 2FA enabled.
User account has been deleted.
A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.
An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.
An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization.
SAML external identity missing.
The organization required 2FA of its billing managers and this user did not have 2FA enabled.
Can read, clone, push, and add collaborators to repositories.
No default permission value.
Can read and clone repositories.
Can read, clone and push to repositories.
Can read, clone, push, and add collaborators to repositories.
Can read and clone repositories.
All organization members are restricted from creating any repositories.
All organization members are restricted from creating internal repositories.
All organization members are allowed to create any repositories.
All organization members are restricted from creating private repositories.
All organization members are restricted from creating private or internal repositories.
All organization members are restricted from creating public repositories.
All organization members are restricted from creating public or internal repositories.
All organization members are restricted from creating public or private repositories.
Order package files by creation time.
Order packages by creation time.
A debian package.
A docker image.
A maven package.
An npm package.
A nuget package.
A python package.
A rubygems package.
Order package versions by creation time.
The file was added.
The file's type was changed.
The file was copied.
The file was deleted.
The file's contents were changed.
The file was renamed.
A gist.
An issue.
An organization.
A project.
A pull request.
A repository.
A team.
A user.
A gradient of blue to mint.
A gradient of blue to purple.
A gradient of pink to blue.
A gradient of purple to coral.
A gradient of red to orange.
An upward-facing chevron pattern.
A hollow dot pattern.
A solid dot pattern.
A heart pattern.
A plus sign pattern.
A lightning bolt pattern.
A project card that is archived.
A project card that is not archived.
The card has content only.
The card has a note only.
The card is redacted.
The column contains cards which are complete.
The column contains cards which are currently being worked on.
The column contains cards still to be worked on.
Draft Issue.
Issue.
Pull Request.
Redacted Item.
Assignees.
Date.
Iteration.
Labels.
Linked Pull Requests.
Milestone.
Number.
Repository.
Reviewers.
Single Select.
Text.
Title.
Tracks.
The project's date and time of creation.
The project's number.
The project's title.
The project's date and time of update.
Order projects by creation time.
Order projects by name.
Order projects by update time.
The project is closed.
The project is open.
Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns.
Create a board with triggers to automatically move cards across columns with review automation.
Create a board with columns for To do, In progress and Done.
Create a board to triage and prioritize bugs with To do, priority, and Done columns.
Order project v2 fields by creation time.
Order project v2 fields by name.
Order project v2 fields by position.
Assignees.
Date.
Iteration.
Labels.
Linked Pull Requests.
Milestone.
Number.
Repository.
Reviewers.
Single Select.
Text.
Title.
Tracks.
Order project v2 item field values by the their position in the project.
Order project v2 items by the their position in the project.
Draft Issue.
Issue.
Pull Request.
Redacted Item.
The project's date and time of creation.
The project's number.
The project's title.
The project's date and time of update.
Board layout.
Table layout.
Order project v2 views by creation time.
Order project v2 views by name.
Order project v2 views by position.
Board layout.
Table layout.
Add all commits from the head branch to the base branch with a merge commit.
Add all commits from the head branch onto the base branch individually.
Combine all commits from the head branch into a single commit in the base branch.
Order pull_requests by creation time.
Order pull_requests by update time.
A comment that is part of a pending review.
A comment that is part of a submitted review.
The pull request has received an approving review.
Changes have been requested on the pull request.
A review is required before the pull request can be merged.
Submit feedback and approve merging these changes.
Submit general feedback without explicit approval.
Dismiss review so it now longer effects merging.
Submit feedback that must be addressed before merging.
A review allowing the pull request to merge.
A review blocking the pull request from merging.
An informational review.
A review that has been dismissed.
A review that has not yet been submitted.
A pull request that has been closed without being merged.
A pull request that has been closed by being merged.
A pull request that is still open.
Represents an 'added_to_merge_queue' event on a given pull request.
Represents a 'added_to_project' event on a given issue or pull request.
Represents an 'assigned' event on any assignable object.
Represents a 'automatic_base_change_failed' event on a given pull request.
Represents a 'automatic_base_change_succeeded' event on a given pull request.
Represents a 'auto_merge_disabled' event on a given pull request.
Represents a 'auto_merge_enabled' event on a given pull request.
Represents a 'auto_rebase_enabled' event on a given pull request.
Represents a 'auto_squash_enabled' event on a given pull request.
Represents a 'base_ref_changed' event on a given issue or pull request.
Represents a 'base_ref_deleted' event on a given pull request.
Represents a 'base_ref_force_pushed' event on a given pull request.
Represents a 'closed' event on any `Closable`.
Represents a 'comment_deleted' event on a given issue or pull request.
Represents a 'connected' event on a given issue or pull request.
Represents a 'converted_note_to_issue' event on a given issue or pull request.
Represents a 'converted_to_discussion' event on a given issue.
Represents a 'convert_to_draft' event on a given pull request.
Represents a mention made by one issue or pull request to another.
Represents a 'demilestoned' event on a given issue or pull request.
Represents a 'deployed' event on a given pull request.
Represents a 'deployment_environment_changed' event on a given pull request.
Represents a 'disconnected' event on a given issue or pull request.
Represents a 'head_ref_deleted' event on a given pull request.
Represents a 'head_ref_force_pushed' event on a given pull request.
Represents a 'head_ref_restored' event on a given pull request.
Represents a comment on an Issue.
Represents a 'labeled' event on a given issue or pull request.
Represents a 'locked' event on a given issue or pull request.
Represents a 'marked_as_duplicate' event on a given issue or pull request.
Represents a 'mentioned' event on a given issue or pull request.
Represents a 'merged' event on a given pull request.
Represents a 'milestoned' event on a given issue or pull request.
Represents a 'moved_columns_in_project' event on a given issue or pull request.
Represents a 'pinned' event on a given issue or pull request.
Represents a Git commit part of a pull request.
Represents a commit comment thread part of a pull request.
A review object for a given pull request.
A threaded list of comments for a given pull request.
Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
Represents a 'ready_for_review' event on a given pull request.
Represents a 'referenced' event on a given `ReferencedSubject`.
Represents a 'removed_from_merge_queue' event on a given pull request.
Represents a 'removed_from_project' event on a given issue or pull request.
Represents a 'renamed' event on a given issue or pull request.
Represents a 'reopened' event on any `Closable`.
Represents a 'review_dismissed' event on a given issue or pull request.
Represents an 'review_requested' event on a given pull request.
Represents an 'review_request_removed' event on a given pull request.
Represents a 'subscribed' event on a given `Subscribable`.
Represents a 'transferred' event on a given issue or pull request.
Represents an 'unassigned' event on any assignable object.
Represents an 'unlabeled' event on a given issue or pull request.
Represents an 'unlocked' event on a given issue or pull request.
Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
Represents an 'unpinned' event on a given issue or pull request.
Represents an 'unsubscribed' event on a given `Subscribable`.
Represents a 'user_blocked' event on a given user.
A pull request that has been closed without being merged.
A pull request that is still open.
Represents the `:confused:` emoji.
Represents the `:eyes:` emoji.
Represents the `:heart:` emoji.
Represents the `:hooray:` emoji.
Represents the `:laugh:` emoji.
Represents the `:rocket:` emoji.
Represents the `:-1:` emoji.
Represents the `:+1:` emoji.
Allows ordering a list of reactions by when they were created.
Order refs by their alphanumeric name.
Order refs by underlying commit date if the ref prefix is refs/tags/.
Order releases by creation time.
Order releases alphabetically by name.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
The pull request is added to the base branch in a merge commit.
Commits from the pull request are added onto the base branch individually without a merge commit.
The pull request's commits are squashed into a single commit before they are merged to the base branch.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
An abusive or harassing piece of content.
A duplicated piece of content.
An irrelevant piece of content.
An outdated piece of content.
The content has been resolved.
A spammy piece of content.
Repositories that the user has been added to as a collaborator.
Repositories that the user has access to through being a member of an organization.
Repositories that are owned by the authenticated user.
Created a commit.
Created an issue.
Created a pull request.
Reviewed a pull request.
Created the repository.
Users that are not collaborators will not be able to interact with the repository.
Users that have not previously committed to a repository’s default branch will be unable to interact with the repository.
Users that have recently created their account will be unable to interact with the repository.
The interaction limit will expire after 1 day.
The interaction limit will expire after 1 month.
The interaction limit will expire after 1 week.
The interaction limit will expire after 6 months.
The interaction limit will expire after 3 days.
No interaction limits are enabled.
A limit that is configured at the organization level.
A limit that is configured at the repository level.
A limit that is configured at the user-wide level.
Order repository invitations by creation time.
The repository is locked due to a billing related reason.
The repository is locked due to a migration.
The repository is locked due to a move.
The repository is locked due to a rename.
Specifies an ascending order for a given `orderBy` argument.
Specifies a descending order for a given `orderBy` argument.
Order mannequins why when they were created.
Order repositories by creation time.
Order repositories by name.
Order repositories by push time.
Order repositories by number of stargazers.
Order repositories by update time.
Can read, clone, and push to this repository.
Can read, clone, and push to this repository.
Can read and clone this repository.
Can read and clone this repository.
Can read, clone, and push to this repository.
Private.
Public.
The repository is visible only to users in the same business.
The repository is visible only to those with explicit access.
The repository is visible to everyone.
A dependency that is only used in development.
A dependency that is leveraged during application runtime.
An alert that has been manually closed by a user.
An alert that has been resolved by a code change.
An alert that is still open.
The check suite or run has been completed.
The check suite or run is in progress.
The check suite or run is in pending state.
The check suite or run has been queued.
The check suite or run is in waiting state.
A user who is a direct member of the organization.
A user with full administrative access to the organization.
A user who is unaffiliated with the organization.
SHA1.
SHA256.
SHA384.
SHA512.
RSA-SHA1.
RSA-SHA256.
RSA-SHA384.
RSA-SHA512.
Order saved reply by when they were updated.
Returns matching discussions in repositories.
Returns results matching issues in repositories.
Returns results matching repositories.
Returns results matching users and organizations on GitHub.
Classification of general advisories.
Classification of malware advisories.
GitHub Actions.
PHP packages hosted at packagist.org.
Erlang/Elixir packages hosted at hex.pm.
Go modules.
Java artifacts hosted at the Maven central repository.
JavaScript packages hosted at npmjs.com.
.NET packages hosted at the NuGet Gallery.
Python packages hosted at PyPI.org.
Dart packages hosted at pub.dev.
Ruby gems hosted at RubyGems.org.
Rust crates.
Common Vulnerabilities and Exposures Identifier.
GitHub Security Advisory ID.
Order advisories by publication time.
Order advisories by update time.
Critical.
High.
Low.
Moderate.
Order vulnerability by update time.
Order sponsorable entities by login (username).
Order sponsorable entities by login (username).
Order sponsors by their relevance to the viewer.
The activity was cancelling a sponsorship.
The activity was starting a sponsorship.
The activity was scheduling a downgrade or cancellation.
The activity was funds being refunded to the sponsor or GitHub.
The activity was disabling matching for a previously matched sponsorship.
The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change.
Order activities by when they happened.
Don't restrict the activity to any date range, include all activity.
The previous calendar day.
The previous thirty days.
The previous seven days.
The goal is about getting a certain amount in USD from sponsorships each month.
The goal is about reaching a certain number of sponsors.
Order sponsorship newsletters by when they were created.
Order sponsorship by creation time.
Private.
Public.
Order tiers by creation time.
Order tiers by their monthly price in cents.
Default to a blank commit message.
Default to the branch's commit messages.
Default to the pull request's body.
Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
Default to the pull request's title.
Allows ordering a list of stars by when they were created.
Status is errored.
Status is expected.
Status is failing.
Status is pending.
Status is successful.
The User is never notified.
The User is notified of all conversations.
The User is only notified when participating or @mentioned.
Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering).
Allows chronological ordering of team discussions.
Order team members by creation time.
Order team members by login.
A team maintainer has permission to add and remove team members.
A team member has no administrative permissions on the team.
Includes immediate and child team members for the team.
Includes only child team members for the team.
Includes only immediate members of the team.
Allows ordering a list of teams by name.
A secret team can only be seen by its members.
A visible team can be seen and @mentioned by every member of the organization.
Order repositories by creation time.
Order repositories by name.
Order repositories by permission.
Order repositories by push time.
Order repositories by number of stargazers.
Order repositories by update time.
User has admin rights on the team.
User is a member of the team.
The suggested topic is not relevant to the repository.
The viewer does not like the suggested topic.
The suggested topic is too general for the repository.
The suggested topic is too specific for the repository (e.g.
The tracked issue is closed.
The tracked issue is open.
The user was blocked for 1 day.
The user was blocked for 30 days.
The user was blocked for 7 days.
The user was blocked permanently.
The user was blocked for 3 days.
Order user statuses by when they were updated.
Order verifiable domains by their creation date.
Order verifiable domains by the domain name.
Order workflow runs by most recently created.

# Structs

AbortQueuedMigrationsInput is an autogenerated input type of AbortQueuedMigrations.
AcceptEnterpriseAdministratorInvitationInput is an autogenerated input type of AcceptEnterpriseAdministratorInvitation.
AcceptTopicSuggestionInput is an autogenerated input type of AcceptTopicSuggestion.
AddAssigneesToAssignableInput is an autogenerated input type of AddAssigneesToAssignable.
AddCommentInput is an autogenerated input type of AddComment.
AddDiscussionCommentInput is an autogenerated input type of AddDiscussionComment.
AddDiscussionPollVoteInput is an autogenerated input type of AddDiscussionPollVote.
AddEnterpriseSupportEntitlementInput is an autogenerated input type of AddEnterpriseSupportEntitlement.
AddLabelsToLabelableInput is an autogenerated input type of AddLabelsToLabelable.
AddProjectCardInput is an autogenerated input type of AddProjectCard.
AddProjectColumnInput is an autogenerated input type of AddProjectColumn.
AddProjectDraftIssueInput is an autogenerated input type of AddProjectDraftIssue.
AddProjectNextItemInput is an autogenerated input type of AddProjectNextItem.
AddProjectV2DraftIssueInput is an autogenerated input type of AddProjectV2DraftIssue.
AddProjectV2ItemByIdInput is an autogenerated input type of AddProjectV2ItemById.
AddPullRequestReviewCommentInput is an autogenerated input type of AddPullRequestReviewComment.
AddPullRequestReviewInput is an autogenerated input type of AddPullRequestReview.
AddPullRequestReviewThreadInput is an autogenerated input type of AddPullRequestReviewThread.
AddReactionInput is an autogenerated input type of AddReaction.
AddStarInput is an autogenerated input type of AddStar.
AddUpvoteInput is an autogenerated input type of AddUpvote.
AddVerifiableDomainInput is an autogenerated input type of AddVerifiableDomain.
ApproveDeploymentsInput is an autogenerated input type of ApproveDeployments.
ApproveVerifiableDomainInput is an autogenerated input type of ApproveVerifiableDomain.
ArchiveRepositoryInput is an autogenerated input type of ArchiveRepository.
AuditLogOrder represents ordering options for Audit Log connections.
CancelEnterpriseAdminInvitationInput is an autogenerated input type of CancelEnterpriseAdminInvitation.
CancelSponsorshipInput is an autogenerated input type of CancelSponsorship.
ChangeUserStatusInput is an autogenerated input type of ChangeUserStatus.
CheckAnnotationData represents information from a check run analysis to specific lines of code.
CheckAnnotationRange represents information from a check run analysis to specific lines of code.
CheckRunAction represents possible further actions the integrator can perform.
CheckRunFilter represents the filters that are available when fetching check runs.
CheckRunOutput represents descriptive details about the check run.
CheckRunOutputImage represents images attached to the check run output displayed in the GitHub pull request UI.
CheckSuiteAutoTriggerPreference represents the auto-trigger preferences that are available for check suites.
CheckSuiteFilter represents the filters that are available when fetching check suites.
ClearLabelsFromLabelableInput is an autogenerated input type of ClearLabelsFromLabelable.
ClearProjectV2ItemFieldValueInput is an autogenerated input type of ClearProjectV2ItemFieldValue.
Client is a GitHub GraphQL API v4 client.
CloneProjectInput is an autogenerated input type of CloneProject.
CloneTemplateRepositoryInput is an autogenerated input type of CloneTemplateRepository.
CloseIssueInput is an autogenerated input type of CloseIssue.
ClosePullRequestInput is an autogenerated input type of ClosePullRequest.
CommitAuthor specifies an author for filtering Git commits.
CommitContributionOrder represents ordering options for commit contribution connections.
CommitMessage represents a message to include with a new commit.
CommittableBranch represents a git ref for a commit to be appended to.
ContributionOrder represents ordering options for contribution connections.
ConvertProjectCardNoteToIssueInput is an autogenerated input type of ConvertProjectCardNoteToIssue.
ConvertPullRequestToDraftInput is an autogenerated input type of ConvertPullRequestToDraft.
CreateBranchProtectionRuleInput is an autogenerated input type of CreateBranchProtectionRule.
CreateCheckRunInput is an autogenerated input type of CreateCheckRun.
CreateCheckSuiteInput is an autogenerated input type of CreateCheckSuite.
CreateCommitOnBranchInput is an autogenerated input type of CreateCommitOnBranch.
CreateDiscussionInput is an autogenerated input type of CreateDiscussion.
CreateEnterpriseOrganizationInput is an autogenerated input type of CreateEnterpriseOrganization.
CreateEnvironmentInput is an autogenerated input type of CreateEnvironment.
CreateIpAllowListEntryInput is an autogenerated input type of CreateIpAllowListEntry.
CreateIssueInput is an autogenerated input type of CreateIssue.
CreateLinkedBranchInput is an autogenerated input type of CreateLinkedBranch.
CreateMigrationSourceInput is an autogenerated input type of CreateMigrationSource.
CreateProjectInput is an autogenerated input type of CreateProject.
CreateProjectV2Input is an autogenerated input type of CreateProjectV2.
CreatePullRequestInput is an autogenerated input type of CreatePullRequest.
CreateRefInput is an autogenerated input type of CreateRef.
CreateRepositoryInput is an autogenerated input type of CreateRepository.
CreateSponsorshipInput is an autogenerated input type of CreateSponsorship.
CreateSponsorsTierInput is an autogenerated input type of CreateSponsorsTier.
CreateTeamDiscussionCommentInput is an autogenerated input type of CreateTeamDiscussionComment.
CreateTeamDiscussionInput is an autogenerated input type of CreateTeamDiscussion.
No description provided by the author
No description provided by the author
DeclineTopicSuggestionInput is an autogenerated input type of DeclineTopicSuggestion.
DeleteBranchProtectionRuleInput is an autogenerated input type of DeleteBranchProtectionRule.
DeleteDeploymentInput is an autogenerated input type of DeleteDeployment.
DeleteDiscussionCommentInput is an autogenerated input type of DeleteDiscussionComment.
DeleteDiscussionInput is an autogenerated input type of DeleteDiscussion.
DeleteEnvironmentInput is an autogenerated input type of DeleteEnvironment.
DeleteIpAllowListEntryInput is an autogenerated input type of DeleteIpAllowListEntry.
DeleteIssueCommentInput is an autogenerated input type of DeleteIssueComment.
DeleteIssueInput is an autogenerated input type of DeleteIssue.
DeleteLinkedBranchInput is an autogenerated input type of DeleteLinkedBranch.
DeleteProjectCardInput is an autogenerated input type of DeleteProjectCard.
DeleteProjectColumnInput is an autogenerated input type of DeleteProjectColumn.
DeleteProjectInput is an autogenerated input type of DeleteProject.
DeleteProjectNextItemInput is an autogenerated input type of DeleteProjectNextItem.
DeleteProjectV2ItemInput is an autogenerated input type of DeleteProjectV2Item.
DeletePullRequestReviewCommentInput is an autogenerated input type of DeletePullRequestReviewComment.
DeletePullRequestReviewInput is an autogenerated input type of DeletePullRequestReview.
DeleteRefInput is an autogenerated input type of DeleteRef.
DeleteTeamDiscussionCommentInput is an autogenerated input type of DeleteTeamDiscussionComment.
DeleteTeamDiscussionInput is an autogenerated input type of DeleteTeamDiscussion.
DeleteVerifiableDomainInput is an autogenerated input type of DeleteVerifiableDomain.
DeploymentOrder represents ordering options for deployment connections.
DisablePullRequestAutoMergeInput is an autogenerated input type of DisablePullRequestAutoMerge.
DiscussionOrder represents ways in which lists of discussions can be ordered upon return.
DiscussionPollOptionOrder represents ordering options for discussion poll option connections.
DismissPullRequestReviewInput is an autogenerated input type of DismissPullRequestReview.
DismissRepositoryVulnerabilityAlertInput is an autogenerated input type of DismissRepositoryVulnerabilityAlert.
DraftPullRequestReviewComment specifies a review comment to be left with a Pull Request Review.
DraftPullRequestReviewThread specifies a review comment thread to be left with a Pull Request Review.
EnablePullRequestAutoMergeInput is an autogenerated input type of EnablePullRequestAutoMerge.
EnterpriseAdministratorInvitationOrder represents ordering options for enterprise administrator invitation connections.
EnterpriseMemberOrder represents ordering options for enterprise member connections.
EnterpriseServerInstallationOrder represents ordering options for Enterprise Server installation connections.
EnterpriseServerUserAccountEmailOrder represents ordering options for Enterprise Server user account email connections.
EnterpriseServerUserAccountOrder represents ordering options for Enterprise Server user account connections.
EnterpriseServerUserAccountsUploadOrder represents ordering options for Enterprise Server user accounts upload connections.
FileAddition represents a command to add a file at the given path with the given contents as part of a commit.
FileChanges represents a description of a set of changes to a file tree to be made as part of a git commit, modeled as zero or more file `additions` and zero or more file `deletions`.
FileDeletion represents a command to delete the file at the given path as part of a commit.
FollowOrganizationInput is an autogenerated input type of FollowOrganization.
FollowUserInput is an autogenerated input type of FollowUser.
GistOrder represents ordering options for gist connections.
No description provided by the author
GrantEnterpriseOrganizationsMigratorRoleInput is an autogenerated input type of GrantEnterpriseOrganizationsMigratorRole.
GrantMigratorRoleInput is an autogenerated input type of GrantMigratorRole.
InviteEnterpriseAdminInput is an autogenerated input type of InviteEnterpriseAdmin.
IpAllowListEntryOrder represents ordering options for IP allow list entry connections.
IssueCommentOrder represents ways in which lists of issue comments can be ordered upon return.
IssueFilters represents ways in which to filter lists of issues.
IssueOrder represents ways in which lists of issues can be ordered upon return.
LabelOrder represents ways in which lists of labels can be ordered upon return.
LanguageOrder represents ordering options for language connections.
LinkRepositoryToProjectInput is an autogenerated input type of LinkRepositoryToProject.
LockLockableInput is an autogenerated input type of LockLockable.
MarkDiscussionCommentAsAnswerInput is an autogenerated input type of MarkDiscussionCommentAsAnswer.
MarkFileAsViewedInput is an autogenerated input type of MarkFileAsViewed.
MarkPullRequestReadyForReviewInput is an autogenerated input type of MarkPullRequestReadyForReview.
MergeBranchInput is an autogenerated input type of MergeBranch.
MergePullRequestInput is an autogenerated input type of MergePullRequest.
MilestoneOrder represents ordering options for milestone connections.
MinimizeCommentInput is an autogenerated input type of MinimizeComment.
MoveProjectCardInput is an autogenerated input type of MoveProjectCard.
MoveProjectColumnInput is an autogenerated input type of MoveProjectColumn.
OrganizationOrder represents ordering options for organization connections.
OrgEnterpriseOwnerOrder represents ordering options for an organization's enterprise owner connections.
PackageFileOrder represents ways in which lists of package files can be ordered upon return.
PackageOrder represents ways in which lists of packages can be ordered upon return.
PackageVersionOrder represents ways in which lists of package versions can be ordered upon return.
PinIssueInput is an autogenerated input type of PinIssue.
ProjectOrder represents ways in which lists of projects can be ordered upon return.
ProjectV2FieldOrder represents ordering options for project v2 field connections.
ProjectV2FieldValue represents the values that can be used to update a field of an item inside a Project.
ProjectV2ItemFieldValueOrder represents ordering options for project v2 item field value connections.
ProjectV2ItemOrder represents ordering options for project v2 item connections.
ProjectV2Order represents ways in which lists of projects can be ordered upon return.
ProjectV2ViewOrder represents ordering options for project v2 view connections.
PullRequestOrder represents ways in which lists of issues can be ordered upon return.
ReactionOrder represents ways in which lists of reactions can be ordered upon return.
RefOrder represents ways in which lists of git refs can be ordered upon return.
RegenerateEnterpriseIdentityProviderRecoveryCodesInput is an autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes.
RegenerateVerifiableDomainTokenInput is an autogenerated input type of RegenerateVerifiableDomainToken.
RejectDeploymentsInput is an autogenerated input type of RejectDeployments.
ReleaseOrder represents ways in which lists of releases can be ordered upon return.
RemoveAssigneesFromAssignableInput is an autogenerated input type of RemoveAssigneesFromAssignable.
RemoveEnterpriseAdminInput is an autogenerated input type of RemoveEnterpriseAdmin.
RemoveEnterpriseIdentityProviderInput is an autogenerated input type of RemoveEnterpriseIdentityProvider.
RemoveEnterpriseOrganizationInput is an autogenerated input type of RemoveEnterpriseOrganization.
RemoveEnterpriseSupportEntitlementInput is an autogenerated input type of RemoveEnterpriseSupportEntitlement.
RemoveLabelsFromLabelableInput is an autogenerated input type of RemoveLabelsFromLabelable.
RemoveOutsideCollaboratorInput is an autogenerated input type of RemoveOutsideCollaborator.
RemoveReactionInput is an autogenerated input type of RemoveReaction.
RemoveStarInput is an autogenerated input type of RemoveStar.
RemoveUpvoteInput is an autogenerated input type of RemoveUpvote.
ReopenIssueInput is an autogenerated input type of ReopenIssue.
ReopenPullRequestInput is an autogenerated input type of ReopenPullRequest.
RepositoryInvitationOrder represents ordering options for repository invitation connections.
RepositoryMigrationOrder represents ordering options for repository migrations.
RepositoryOrder represents ordering options for repository connections.
RequestReviewsInput is an autogenerated input type of RequestReviews.
RequiredStatusCheckInput specifies the attributes for a new or updated required status check.
RerequestCheckSuiteInput is an autogenerated input type of RerequestCheckSuite.
ResolveReviewThreadInput is an autogenerated input type of ResolveReviewThread.
RevokeEnterpriseOrganizationsMigratorRoleInput is an autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole.
RevokeMigratorRoleInput is an autogenerated input type of RevokeMigratorRole.
SavedReplyOrder represents ordering options for saved reply connections.
SecurityAdvisoryIdentifierFilter represents an advisory identifier to filter results on.
SecurityAdvisoryOrder represents ordering options for security advisory connections.
SecurityVulnerabilityOrder represents ordering options for security vulnerability connections.
SetEnterpriseIdentityProviderInput is an autogenerated input type of SetEnterpriseIdentityProvider.
SetOrganizationInteractionLimitInput is an autogenerated input type of SetOrganizationInteractionLimit.
SetRepositoryInteractionLimitInput is an autogenerated input type of SetRepositoryInteractionLimit.
SetUserInteractionLimitInput is an autogenerated input type of SetUserInteractionLimit.
SponsorableOrder represents ordering options for connections to get sponsorable entities for GitHub Sponsors.
SponsorOrder represents ordering options for connections to get sponsor entities for GitHub Sponsors.
SponsorsActivityOrder represents ordering options for GitHub Sponsors activity connections.
SponsorshipNewsletterOrder represents ordering options for sponsorship newsletter connections.
SponsorshipOrder represents ordering options for sponsorship connections.
SponsorsTierOrder represents ordering options for Sponsors tiers connections.
StarOrder represents ways in which star connections can be ordered.
StartRepositoryMigrationInput is an autogenerated input type of StartRepositoryMigration.
SubmitPullRequestReviewInput is an autogenerated input type of SubmitPullRequestReview.
TeamDiscussionCommentOrder represents ways in which team discussion comment connections can be ordered.
TeamDiscussionOrder represents ways in which team discussion connections can be ordered.
TeamMemberOrder represents ordering options for team member connections.
TeamOrder represents ways in which team connections can be ordered.
TeamRepositoryOrder represents ordering options for team repository connections.
TransferIssueInput is an autogenerated input type of TransferIssue.
UnarchiveRepositoryInput is an autogenerated input type of UnarchiveRepository.
UnfollowOrganizationInput is an autogenerated input type of UnfollowOrganization.
UnfollowUserInput is an autogenerated input type of UnfollowUser.
UnlinkRepositoryFromProjectInput is an autogenerated input type of UnlinkRepositoryFromProject.
UnlockLockableInput is an autogenerated input type of UnlockLockable.
UnmarkDiscussionCommentAsAnswerInput is an autogenerated input type of UnmarkDiscussionCommentAsAnswer.
UnmarkFileAsViewedInput is an autogenerated input type of UnmarkFileAsViewed.
UnmarkIssueAsDuplicateInput is an autogenerated input type of UnmarkIssueAsDuplicate.
UnminimizeCommentInput is an autogenerated input type of UnminimizeComment.
UnpinIssueInput is an autogenerated input type of UnpinIssue.
UnresolveReviewThreadInput is an autogenerated input type of UnresolveReviewThread.
UpdateBranchProtectionRuleInput is an autogenerated input type of UpdateBranchProtectionRule.
UpdateCheckRunInput is an autogenerated input type of UpdateCheckRun.
UpdateCheckSuitePreferencesInput is an autogenerated input type of UpdateCheckSuitePreferences.
UpdateDiscussionCommentInput is an autogenerated input type of UpdateDiscussionComment.
UpdateDiscussionInput is an autogenerated input type of UpdateDiscussion.
UpdateEnterpriseAdministratorRoleInput is an autogenerated input type of UpdateEnterpriseAdministratorRole.
UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput is an autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting.
UpdateEnterpriseDefaultRepositoryPermissionSettingInput is an autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting.
UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput is an autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting.
UpdateEnterpriseMembersCanCreateRepositoriesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting.
UpdateEnterpriseMembersCanDeleteIssuesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting.
UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting.
UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting.
UpdateEnterpriseMembersCanMakePurchasesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting.
UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting.
UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting.
UpdateEnterpriseOrganizationProjectsSettingInput is an autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting.
UpdateEnterpriseOwnerOrganizationRoleInput is an autogenerated input type of UpdateEnterpriseOwnerOrganizationRole.
UpdateEnterpriseProfileInput is an autogenerated input type of UpdateEnterpriseProfile.
UpdateEnterpriseRepositoryProjectsSettingInput is an autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting.
UpdateEnterpriseTeamDiscussionsSettingInput is an autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.
UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput is an autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting.
UpdateEnvironmentInput is an autogenerated input type of UpdateEnvironment.
UpdateIpAllowListEnabledSettingInput is an autogenerated input type of UpdateIpAllowListEnabledSetting.
UpdateIpAllowListEntryInput is an autogenerated input type of UpdateIpAllowListEntry.
UpdateIpAllowListForInstalledAppsEnabledSettingInput is an autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting.
UpdateIssueCommentInput is an autogenerated input type of UpdateIssueComment.
UpdateIssueInput is an autogenerated input type of UpdateIssue.
UpdateNotificationRestrictionSettingInput is an autogenerated input type of UpdateNotificationRestrictionSetting.
UpdateOrganizationAllowPrivateRepositoryForkingSettingInput is an autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting.
UpdateOrganizationWebCommitSignoffSettingInput is an autogenerated input type of UpdateOrganizationWebCommitSignoffSetting.
UpdateProjectCardInput is an autogenerated input type of UpdateProjectCard.
UpdateProjectColumnInput is an autogenerated input type of UpdateProjectColumn.
UpdateProjectDraftIssueInput is an autogenerated input type of UpdateProjectDraftIssue.
UpdateProjectInput is an autogenerated input type of UpdateProject.
UpdateProjectNextInput is an autogenerated input type of UpdateProjectNext.
UpdateProjectNextItemFieldInput is an autogenerated input type of UpdateProjectNextItemField.
UpdateProjectV2DraftIssueInput is an autogenerated input type of UpdateProjectV2DraftIssue.
UpdateProjectV2Input is an autogenerated input type of UpdateProjectV2.
UpdateProjectV2ItemFieldValueInput is an autogenerated input type of UpdateProjectV2ItemFieldValue.
UpdateProjectV2ItemPositionInput is an autogenerated input type of UpdateProjectV2ItemPosition.
UpdatePullRequestBranchInput is an autogenerated input type of UpdatePullRequestBranch.
UpdatePullRequestInput is an autogenerated input type of UpdatePullRequest.
UpdatePullRequestReviewCommentInput is an autogenerated input type of UpdatePullRequestReviewComment.
UpdatePullRequestReviewInput is an autogenerated input type of UpdatePullRequestReview.
UpdateRefInput is an autogenerated input type of UpdateRef.
UpdateRepositoryInput is an autogenerated input type of UpdateRepository.
UpdateRepositoryWebCommitSignoffSettingInput is an autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.
UpdateSponsorshipPreferencesInput is an autogenerated input type of UpdateSponsorshipPreferences.
UpdateSubscriptionInput is an autogenerated input type of UpdateSubscription.
UpdateTeamDiscussionCommentInput is an autogenerated input type of UpdateTeamDiscussionComment.
UpdateTeamDiscussionInput is an autogenerated input type of UpdateTeamDiscussion.
UpdateTeamsRepositoryInput is an autogenerated input type of UpdateTeamsRepository.
UpdateTopicsInput is an autogenerated input type of UpdateTopics.
No description provided by the author
UserStatusOrder represents ordering options for user status connections.
VerifiableDomainOrder represents ordering options for verifiable domain connections.
VerifyVerifiableDomainInput is an autogenerated input type of VerifyVerifiableDomain.
WorkflowRunOrder represents ways in which lists of workflow runs can be ordered upon return.
No description provided by the author

# Interfaces

Input represents one of the Input structs: AbortQueuedMigrationsInput, AcceptEnterpriseAdministratorInvitationInput, AcceptTopicSuggestionInput, AddAssigneesToAssignableInput, AddCommentInput, AddDiscussionCommentInput, AddDiscussionPollVoteInput, AddEnterpriseSupportEntitlementInput, AddLabelsToLabelableInput, AddProjectCardInput, AddProjectColumnInput, AddProjectDraftIssueInput, AddProjectNextItemInput, AddProjectV2DraftIssueInput, AddProjectV2ItemByIdInput, AddPullRequestReviewCommentInput, AddPullRequestReviewInput, AddPullRequestReviewThreadInput, AddReactionInput, AddStarInput, AddUpvoteInput, AddVerifiableDomainInput, ApproveDeploymentsInput, ApproveVerifiableDomainInput, ArchiveRepositoryInput, AuditLogOrder, CancelEnterpriseAdminInvitationInput, CancelSponsorshipInput, ChangeUserStatusInput, CheckAnnotationData, CheckAnnotationRange, CheckRunAction, CheckRunFilter, CheckRunOutput, CheckRunOutputImage, CheckSuiteAutoTriggerPreference, CheckSuiteFilter, ClearLabelsFromLabelableInput, ClearProjectV2ItemFieldValueInput, CloneProjectInput, CloneTemplateRepositoryInput, CloseIssueInput, ClosePullRequestInput, CommitAuthor, CommitContributionOrder, CommitMessage, CommittableBranch, ContributionOrder, ConvertProjectCardNoteToIssueInput, ConvertPullRequestToDraftInput, CreateBranchProtectionRuleInput, CreateCheckRunInput, CreateCheckSuiteInput, CreateCommitOnBranchInput, CreateDiscussionInput, CreateEnterpriseOrganizationInput, CreateEnvironmentInput, CreateIpAllowListEntryInput, CreateIssueInput, CreateLinkedBranchInput, CreateMigrationSourceInput, CreateProjectInput, CreateProjectV2Input, CreatePullRequestInput, CreateRefInput, CreateRepositoryInput, CreateSponsorsTierInput, CreateSponsorshipInput, CreateTeamDiscussionCommentInput, CreateTeamDiscussionInput, DeclineTopicSuggestionInput, DeleteBranchProtectionRuleInput, DeleteDeploymentInput, DeleteDiscussionCommentInput, DeleteDiscussionInput, DeleteEnvironmentInput, DeleteIpAllowListEntryInput, DeleteIssueCommentInput, DeleteIssueInput, DeleteLinkedBranchInput, DeleteProjectCardInput, DeleteProjectColumnInput, DeleteProjectInput, DeleteProjectNextItemInput, DeleteProjectV2ItemInput, DeletePullRequestReviewCommentInput, DeletePullRequestReviewInput, DeleteRefInput, DeleteTeamDiscussionCommentInput, DeleteTeamDiscussionInput, DeleteVerifiableDomainInput, DeploymentOrder, DisablePullRequestAutoMergeInput, DiscussionOrder, DiscussionPollOptionOrder, DismissPullRequestReviewInput, DismissRepositoryVulnerabilityAlertInput, DraftPullRequestReviewComment, DraftPullRequestReviewThread, EnablePullRequestAutoMergeInput, EnterpriseAdministratorInvitationOrder, EnterpriseMemberOrder, EnterpriseServerInstallationOrder, EnterpriseServerUserAccountEmailOrder, EnterpriseServerUserAccountOrder, EnterpriseServerUserAccountsUploadOrder, FileAddition, FileChanges, FileDeletion, FollowOrganizationInput, FollowUserInput, GistOrder, GrantEnterpriseOrganizationsMigratorRoleInput, GrantMigratorRoleInput, InviteEnterpriseAdminInput, IpAllowListEntryOrder, IssueCommentOrder, IssueFilters, IssueOrder, LabelOrder, LanguageOrder, LinkRepositoryToProjectInput, LockLockableInput, MarkDiscussionCommentAsAnswerInput, MarkFileAsViewedInput, MarkPullRequestReadyForReviewInput, MergeBranchInput, MergePullRequestInput, MilestoneOrder, MinimizeCommentInput, MoveProjectCardInput, MoveProjectColumnInput, OrgEnterpriseOwnerOrder, OrganizationOrder, PackageFileOrder, PackageOrder, PackageVersionOrder, PinIssueInput, ProjectOrder, ProjectV2FieldOrder, ProjectV2FieldValue, ProjectV2ItemFieldValueOrder, ProjectV2ItemOrder, ProjectV2Order, ProjectV2ViewOrder, PullRequestOrder, ReactionOrder, RefOrder, RegenerateEnterpriseIdentityProviderRecoveryCodesInput, RegenerateVerifiableDomainTokenInput, RejectDeploymentsInput, ReleaseOrder, RemoveAssigneesFromAssignableInput, RemoveEnterpriseAdminInput, RemoveEnterpriseIdentityProviderInput, RemoveEnterpriseOrganizationInput, RemoveEnterpriseSupportEntitlementInput, RemoveLabelsFromLabelableInput, RemoveOutsideCollaboratorInput, RemoveReactionInput, RemoveStarInput, RemoveUpvoteInput, ReopenIssueInput, ReopenPullRequestInput, RepositoryInvitationOrder, RepositoryMigrationOrder, RepositoryOrder, RequestReviewsInput, RequiredStatusCheckInput, RerequestCheckSuiteInput, ResolveReviewThreadInput, RevokeEnterpriseOrganizationsMigratorRoleInput, RevokeMigratorRoleInput, SavedReplyOrder, SecurityAdvisoryIdentifierFilter, SecurityAdvisoryOrder, SecurityVulnerabilityOrder, SetEnterpriseIdentityProviderInput, SetOrganizationInteractionLimitInput, SetRepositoryInteractionLimitInput, SetUserInteractionLimitInput, SponsorOrder, SponsorableOrder, SponsorsActivityOrder, SponsorsTierOrder, SponsorshipNewsletterOrder, SponsorshipOrder, StarOrder, StartRepositoryMigrationInput, SubmitPullRequestReviewInput, TeamDiscussionCommentOrder, TeamDiscussionOrder, TeamMemberOrder, TeamOrder, TeamRepositoryOrder, TransferIssueInput, UnarchiveRepositoryInput, UnfollowOrganizationInput, UnfollowUserInput, UnlinkRepositoryFromProjectInput, UnlockLockableInput, UnmarkDiscussionCommentAsAnswerInput, UnmarkFileAsViewedInput, UnmarkIssueAsDuplicateInput, UnminimizeCommentInput, UnpinIssueInput, UnresolveReviewThreadInput, UpdateBranchProtectionRuleInput, UpdateCheckRunInput, UpdateCheckSuitePreferencesInput, UpdateDiscussionCommentInput, UpdateDiscussionInput, UpdateEnterpriseAdministratorRoleInput, UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, UpdateEnterpriseDefaultRepositoryPermissionSettingInput, UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, UpdateEnterpriseMembersCanCreateRepositoriesSettingInput, UpdateEnterpriseMembersCanDeleteIssuesSettingInput, UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput, UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, UpdateEnterpriseMembersCanMakePurchasesSettingInput, UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput, UpdateEnterpriseOrganizationProjectsSettingInput, UpdateEnterpriseOwnerOrganizationRoleInput, UpdateEnterpriseProfileInput, UpdateEnterpriseRepositoryProjectsSettingInput, UpdateEnterpriseTeamDiscussionsSettingInput, UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, UpdateEnvironmentInput, UpdateIpAllowListEnabledSettingInput, UpdateIpAllowListEntryInput, UpdateIpAllowListForInstalledAppsEnabledSettingInput, UpdateIssueCommentInput, UpdateIssueInput, UpdateNotificationRestrictionSettingInput, UpdateOrganizationAllowPrivateRepositoryForkingSettingInput, UpdateOrganizationWebCommitSignoffSettingInput, UpdateProjectCardInput, UpdateProjectColumnInput, UpdateProjectDraftIssueInput, UpdateProjectInput, UpdateProjectNextInput, UpdateProjectNextItemFieldInput, UpdateProjectV2DraftIssueInput, UpdateProjectV2Input, UpdateProjectV2ItemFieldValueInput, UpdateProjectV2ItemPositionInput, UpdatePullRequestBranchInput, UpdatePullRequestInput, UpdatePullRequestReviewCommentInput, UpdatePullRequestReviewInput, UpdateRefInput, UpdateRepositoryInput, UpdateRepositoryWebCommitSignoffSettingInput, UpdateSponsorshipPreferencesInput, UpdateSubscriptionInput, UpdateTeamDiscussionCommentInput, UpdateTeamDiscussionInput, UpdateTeamsRepositoryInput, UpdateTopicsInput, UserStatusOrder, VerifiableDomainOrder, VerifyVerifiableDomainInput, WorkflowRunOrder.

# Type aliases

ActorType represents the actor's type.
AuditLogOrderField represents properties by which Audit Log connections can be ordered.
No description provided by the author
No description provided by the author
CheckAnnotationLevel represents represents an annotation's information level.
CheckConclusionState represents the possible states for a check suite or run conclusion.
CheckRunState represents the possible states of a check run in a status rollup.
CheckRunType represents the possible types of check runs.
CheckStatusState represents the possible states for a check suite or run status.
CollaboratorAffiliation represents collaborators affiliation level with a subject.
CommentAuthorAssociation represents a comment author association with repository.
CommentCannotUpdateReason represents the possible errors that will prevent a user from updating a comment.
CommitContributionOrderField represents properties by which commit contribution connections can be ordered.
ComparisonStatus represents the status of a git comparison between two refs.
ContributionLevel represents varying levels of contributions from none to many.
DefaultRepositoryPermissionField represents the possible base permissions for repositories.
DependencyGraphEcosystem represents the possible ecosystems of a dependency graph package.
DeploymentOrderField represents properties by which deployment connections can be ordered.
DeploymentProtectionRuleType represents the possible protection rule types.
DeploymentReviewState represents the possible states for a deployment review.
DeploymentState represents the possible states in which a deployment can be.
DeploymentStatusState represents the possible states for a deployment status.
DiffSide represents the possible sides of a diff.
DiscussionOrderField represents properties by which discussion connections can be ordered.
DiscussionPollOptionOrderField represents properties by which discussion poll option connections can be ordered.
DismissReason represents the possible reasons that a Dependabot alert was dismissed.
EnterpriseAdministratorInvitationOrderField represents properties by which enterprise administrator invitation connections can be ordered.
EnterpriseAdministratorRole represents the possible administrator roles in an enterprise account.
EnterpriseAllowPrivateRepositoryForkingPolicyValue represents the possible values for the enterprise allow private repository forking policy value.
EnterpriseDefaultRepositoryPermissionSettingValue represents the possible values for the enterprise base repository permission setting.
EnterpriseEnabledDisabledSettingValue represents the possible values for an enabled/disabled enterprise setting.
EnterpriseEnabledSettingValue represents the possible values for an enabled/no policy enterprise setting.
EnterpriseMemberOrderField represents properties by which enterprise member connections can be ordered.
EnterpriseMembersCanCreateRepositoriesSettingValue represents the possible values for the enterprise members can create repositories setting.
EnterpriseMembersCanMakePurchasesSettingValue represents the possible values for the members can make purchases setting.
EnterpriseServerInstallationOrderField represents properties by which Enterprise Server installation connections can be ordered.
EnterpriseServerUserAccountEmailOrderField represents properties by which Enterprise Server user account email connections can be ordered.
EnterpriseServerUserAccountOrderField represents properties by which Enterprise Server user account connections can be ordered.
EnterpriseServerUserAccountsUploadOrderField represents properties by which Enterprise Server user accounts upload connections can be ordered.
EnterpriseServerUserAccountsUploadSyncState represents synchronization state of the Enterprise Server user accounts upload.
EnterpriseUserAccountMembershipRole represents the possible roles for enterprise membership.
EnterpriseUserDeployment represents the possible GitHub Enterprise deployments where this user can exist.
FileViewedState represents the possible viewed states of a file .
No description provided by the author
FundingPlatform represents the possible funding platforms for repository funding links.
GistOrderField represents properties by which gist connections can be ordered.
GistPrivacy represents the privacy of a Gist.
No description provided by the author
GitSignatureState represents the state of a Git signature.
No description provided by the author
No description provided by the author
IdentityProviderConfigurationState represents the possible states in which authentication can be configured with an identity provider.
No description provided by the author
IpAllowListEnabledSettingValue represents the possible values for the IP allow list enabled setting.
IpAllowListEntryOrderField represents properties by which IP allow list entry connections can be ordered.
IpAllowListForInstalledAppsEnabledSettingValue represents the possible values for the IP allow list configuration for installed GitHub Apps setting.
IssueClosedStateReason represents the possible state reasons of a closed issue.
IssueCommentOrderField represents properties by which issue comment connections can be ordered.
IssueOrderField represents properties by which issue connections can be ordered.
IssueState represents the possible states of an issue.
IssueStateReason represents the possible state reasons of an issue.
IssueTimelineItemsItemType represents the possible item types found in a timeline.
LabelOrderField represents properties by which label connections can be ordered.
LanguageOrderField represents properties by which language connections can be ordered.
LockReason represents the possible reasons that an issue or pull request was locked.
MergeableState represents whether or not a PullRequest can be merged.
MergeCommitMessage represents the possible default commit messages for merges.
MergeCommitTitle represents the possible default commit titles for merges.
MigrationSourceType represents represents the different Octoshift migration sources.
MigrationState represents the Octoshift migration state.
MilestoneOrderField represents properties by which milestone connections can be ordered.
MilestoneState represents the possible states of a milestone.
NotificationRestrictionSettingValue represents the possible values for the notification restriction setting.
OauthApplicationCreateAuditEntryState represents the state of an OAuth Application when it was created.
OIDCProviderType represents the OIDC identity provider type.
OperationType represents the corresponding operation type for the action.
OrderDirection represents possible directions in which to order a list of items when provided an `orderBy` argument.
OrgAddMemberAuditEntryPermission represents the permissions available to members on an Organization.
OrganizationInvitationRole represents the possible organization invitation roles.
OrganizationInvitationType represents the possible organization invitation types.
OrganizationMemberRole represents the possible roles within an organization for its members.
OrganizationMembersCanCreateRepositoriesSettingValue represents the possible values for the members can create repositories setting on an organization.
OrganizationOrderField represents properties by which organization connections can be ordered.
OrgCreateAuditEntryBillingPlan represents the billing plans available for organizations.
OrgEnterpriseOwnerOrderField represents properties by which enterprise owners can be ordered.
OrgRemoveBillingManagerAuditEntryReason represents the reason a billing manager was removed from an Organization.
OrgRemoveMemberAuditEntryMembershipType represents the type of membership a user has with an Organization.
OrgRemoveMemberAuditEntryReason represents the reason a member was removed from an Organization.
OrgRemoveOutsideCollaboratorAuditEntryMembershipType represents the type of membership a user has with an Organization.
OrgRemoveOutsideCollaboratorAuditEntryReason represents the reason an outside collaborator was removed from an Organization.
OrgUpdateDefaultRepositoryPermissionAuditEntryPermission represents the default permission a repository can have in an Organization.
OrgUpdateMemberAuditEntryPermission represents the permissions available to members on an Organization.
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility represents the permissions available for repository creation on an Organization.
PackageFileOrderField represents properties by which package file connections can be ordered.
PackageOrderField represents properties by which package connections can be ordered.
PackageType represents the possible types of a package.
PackageVersionOrderField represents properties by which package version connections can be ordered.
PatchStatus represents the possible types of patch statuses.
PinnableItemType represents represents items that can be pinned to a profile page or dashboard.
PinnedDiscussionGradient represents preconfigured gradients that may be used to style discussions pinned within a repository.
PinnedDiscussionPattern represents preconfigured background patterns that may be used to style discussions pinned within a repository.
ProjectCardArchivedState represents the possible archived states of a project card.
ProjectCardState represents various content states of a ProjectCard.
ProjectColumnPurpose represents the semantic purpose of the column - todo, in progress, or done.
ProjectItemType represents the type of a project item.
ProjectNextFieldType represents the type of a project next field.
ProjectNextOrderField represents properties by which the return project can be ordered.
ProjectOrderField represents properties by which project connections can be ordered.
ProjectState represents state of the project; either 'open' or 'closed'.
ProjectTemplate represents gitHub-provided templates for Projects.
ProjectV2FieldOrderField represents properties by which project v2 field connections can be ordered.
ProjectV2FieldType represents the type of a project field.
ProjectV2ItemFieldValueOrderField represents properties by which project v2 item field value connections can be ordered.
ProjectV2ItemOrderField represents properties by which project v2 item connections can be ordered.
ProjectV2ItemType represents the type of a project item.
ProjectV2OrderField represents properties by which projects can be ordered.
ProjectV2ViewLayout represents the layout of a project v2 view.
ProjectV2ViewOrderField represents properties by which project v2 view connections can be ordered.
ProjectViewLayout represents the layout of a project view.
PullRequestMergeMethod represents represents available types of methods to use when merging a pull request.
PullRequestOrderField represents properties by which pull_requests connections can be ordered.
PullRequestReviewCommentState represents the possible states of a pull request review comment.
PullRequestReviewDecision represents the review status of a pull request.
PullRequestReviewEvent represents the possible events to perform on a pull request review.
PullRequestReviewState represents the possible states of a pull request review.
PullRequestState represents the possible states of a pull request.
PullRequestTimelineItemsItemType represents the possible item types found in a timeline.
PullRequestUpdateState represents the possible target states when updating a pull request.
ReactionContent represents emojis that can be attached to Issues, Pull Requests and Comments.
ReactionOrderField represents a list of fields that reactions can be ordered by.
RefOrderField represents properties by which ref connections can be ordered.
ReleaseOrderField represents properties by which release connections can be ordered.
RepoAccessAuditEntryVisibility represents the privacy of a repository.
RepoAddMemberAuditEntryVisibility represents the privacy of a repository.
RepoArchivedAuditEntryVisibility represents the privacy of a repository.
RepoChangeMergeSettingAuditEntryMergeType represents the merge options available for pull requests to this repository.
RepoCreateAuditEntryVisibility represents the privacy of a repository.
RepoDestroyAuditEntryVisibility represents the privacy of a repository.
RepoRemoveMemberAuditEntryVisibility represents the privacy of a repository.
ReportedContentClassifiers represents the reasons a piece of content can be reported or minimized.
RepositoryAffiliation represents the affiliation of a user to a repository.
RepositoryContributionType represents the reason a repository is listed as 'contributed'.
RepositoryInteractionLimit represents a repository interaction limit.
RepositoryInteractionLimitExpiry represents the length for a repository interaction limit to be enabled for.
RepositoryInteractionLimitOrigin represents indicates where an interaction limit is configured.
RepositoryInvitationOrderField represents properties by which repository invitation connections can be ordered.
RepositoryLockReason represents the possible reasons a given repository could be in a locked state.
RepositoryMigrationOrderDirection represents possible directions in which to order a list of repository migrations when provided an `orderBy` argument.
RepositoryMigrationOrderField represents properties by which repository migrations can be ordered.
RepositoryOrderField represents properties by which repository connections can be ordered.
RepositoryPermission represents the access level to a repository.
RepositoryPrivacy represents the privacy of a repository.
RepositoryVisibility represents the repository's visibility level.
RepositoryVulnerabilityAlertDependencyScope represents the possible scopes of an alert's dependency.
RepositoryVulnerabilityAlertState represents the possible states of an alert.
RequestableCheckStatusState represents the possible states that can be requested when creating a check run.
RoleInOrganization represents possible roles a user may have in relation to an organization.
SamlDigestAlgorithm represents the possible digest algorithms used to sign SAML requests for an identity provider.
SamlSignatureAlgorithm represents the possible signature algorithms used to sign SAML requests for a Identity Provider.
SavedReplyOrderField represents properties by which saved reply connections can be ordered.
SearchType represents represents the individual results of a search.
SecurityAdvisoryClassification represents classification of the advisory.
SecurityAdvisoryEcosystem represents the possible ecosystems of a security vulnerability's package.
SecurityAdvisoryIdentifierType represents identifier formats available for advisories.
SecurityAdvisoryOrderField represents properties by which security advisory connections can be ordered.
SecurityAdvisorySeverity represents severity of the vulnerability.
SecurityVulnerabilityOrderField represents properties by which security vulnerability connections can be ordered.
SponsorableOrderField represents properties by which sponsorable connections can be ordered.
SponsorOrderField represents properties by which sponsor connections can be ordered.
SponsorsActivityAction represents the possible actions that GitHub Sponsors activities can represent.
SponsorsActivityOrderField represents properties by which GitHub Sponsors activity connections can be ordered.
SponsorsActivityPeriod represents the possible time periods for which Sponsors activities can be requested.
SponsorsGoalKind represents the different kinds of goals a GitHub Sponsors member can have.
SponsorshipNewsletterOrderField represents properties by which sponsorship update connections can be ordered.
SponsorshipOrderField represents properties by which sponsorship connections can be ordered.
SponsorshipPrivacy represents the privacy of a sponsorship.
SponsorsTierOrderField represents properties by which Sponsors tiers connections can be ordered.
SquashMergeCommitMessage represents the possible default commit messages for squash merges.
SquashMergeCommitTitle represents the possible default commit titles for squash merges.
StarOrderField represents properties by which star connections can be ordered.
StatusState represents the possible commit status states.
No description provided by the author
SubscriptionState represents the possible states of a subscription.
TeamDiscussionCommentOrderField represents properties by which team discussion comment connections can be ordered.
TeamDiscussionOrderField represents properties by which team discussion connections can be ordered.
TeamMemberOrderField represents properties by which team member connections can be ordered.
TeamMemberRole represents the possible team member roles; either 'maintainer' or 'member'.
TeamMembershipType represents defines which types of team members are included in the returned list.
TeamOrderField represents properties by which team connections can be ordered.
TeamPrivacy represents the possible team privacy values.
TeamRepositoryOrderField represents properties by which team repository connections can be ordered.
TeamRole represents the role of a user on a team.
TopicSuggestionDeclineReason represents reason that the suggested topic is declined.
TrackedIssueStates represents the possible states of a tracked issue.
UserBlockDuration represents the possible durations that a user can be blocked for.
UserStatusOrderField represents properties by which user status connections can be ordered.
VerifiableDomainOrderField represents properties by which verifiable domain connections can be ordered.
WorkflowRunOrderField represents properties by which workflow run connections can be ordered.