Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

🚧 🤖📯 GraphQL Schema changed #13

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 77 additions & 12 deletions example/github/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@ enum CheckConclusionState {
"""
A check run.
"""
type CheckRun implements Node & UniformResourceLocatable {
type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatable {
"""
The check run's annotations
"""
Expand Down Expand Up @@ -2223,13 +2223,18 @@ type CheckRun implements Node & UniformResourceLocatable {
id: ID!

"""
Whether this check run is required to pass before merging.
Whether this is required to pass before merging for a specific pull request.
"""
isRequired(
"""
The pull request this check is required for
The id of the pull request this is required for
"""
pullRequestId: ID!
pullRequestId: ID

"""
The number of the pull request this is required for
"""
pullRequestNumber: Int
): Boolean!

"""
Expand Down Expand Up @@ -3214,7 +3219,9 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl
additions: Int!

"""
The pull requests associated with a commit
The merged Pull Request that introduced the commit to the repository. If the
commit is not present in the default branch, additionally returns open Pull
Requests associated with the commit
"""
associatedPullRequests(
"""
Expand Down Expand Up @@ -9660,7 +9667,7 @@ type EnterpriseRepositoryInfo implements Node {
id: ID!

"""
Identifies if the repository is private.
Identifies if the repository is private or internal.
"""
isPrivate: Boolean!

Expand Down Expand Up @@ -24057,6 +24064,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
viewerDidAuthor: Boolean!

"""
The latest review given from the viewer.
"""
viewerLatestReview: PullRequestReview

"""
The person who has requested the viewer for review on this pull request.
"""
viewerLatestReviewRequest: ReviewRequest

"""
The merge body text for the viewer and method.
"""
Expand Down Expand Up @@ -30531,7 +30548,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo &
isMirror: Boolean!

"""
Identifies if the repository is private.
Identifies if the repository is private or internal.
"""
isPrivate: Boolean!

Expand Down Expand Up @@ -31640,7 +31657,7 @@ interface RepositoryInfo {
isMirror: Boolean!

"""
Identifies if the repository is private.
Identifies if the repository is private or internal.
"""
isPrivate: Boolean!

Expand Down Expand Up @@ -32622,6 +32639,26 @@ Types that can be requested reviewers.
"""
union RequestedReviewer = Mannequin | Team | User

"""
Represents a type that can be required by a pull request for merging.
"""
interface RequirableByPullRequest {
"""
Whether this is required to pass before merging for a specific pull request.
"""
isRequired(
"""
The id of the pull request this is required for
"""
pullRequestId: ID

"""
The number of the pull request this is required for
"""
pullRequestNumber: Int
): Boolean!
}

"""
Autogenerated input type of RerequestCheckSuite
"""
Expand Down Expand Up @@ -34207,6 +34244,13 @@ type SponsorsTier implements Node {
"""
adminInfo: SponsorsTierAdminInfo

"""
Get a different tier for this tier's maintainer that is at the same frequency
as this tier but with a lesser cost. Returns the published tier with the
monthly price closest to this tier's without going over.
"""
closestLesserValueTier: SponsorsTier

"""
Identifies the date and time when the object was created.
"""
Expand All @@ -34223,6 +34267,17 @@ type SponsorsTier implements Node {
descriptionHTML: HTML!
id: ID!

"""
Whether this tier was chosen at checkout time by the sponsor rather than
defined ahead of time by the maintainer who manages the Sponsors listing.
"""
isCustomAmount: Boolean!

"""
Whether this tier is only for use with one-time sponsorships.
"""
isOneTime: Boolean!

"""
How much this tier costs per month in cents.
"""
Expand Down Expand Up @@ -34370,6 +34425,11 @@ type Sponsorship implements Node {
createdAt: DateTime!
id: ID!

"""
Whether this sponsorship represents a one-time payment versus a recurring sponsorship.
"""
isOneTimePayment: Boolean!

"""
The entity that is being sponsored
"""
Expand Down Expand Up @@ -34785,7 +34845,7 @@ type StatusCheckRollupContextEdge {
"""
Represents an individual commit status context
"""
type StatusContext implements Node {
type StatusContext implements Node & RequirableByPullRequest {
"""
The avatar of the OAuth application or the user that created the status
"""
Expand Down Expand Up @@ -34823,13 +34883,18 @@ type StatusContext implements Node {
id: ID!

"""
Whether this status is required to pass before merging.
Whether this is required to pass before merging for a specific pull request.
"""
isRequired(
"""
The pull request this status is required for
The id of the pull request this is required for
"""
pullRequestId: ID

"""
The number of the pull request this is required for
"""
pullRequestId: ID!
pullRequestNumber: Int
): Boolean!

"""
Expand Down