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

Commit d6eb388

Browse files
authored
Merge pull request #13 from Code-Hex/schema-update
🚧 πŸ€–πŸ“― GraphQL Schema changed
2 parents 3c66cbb + d84d088 commit d6eb388

File tree

1 file changed

+77
-12
lines changed

1 file changed

+77
-12
lines changed

β€Žexample/github/schema.graphqlβ€Ž

Lines changed: 77 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,7 @@ enum CheckConclusionState {
21652165
"""
21662166
A check run.
21672167
"""
2168-
type CheckRun implements Node & UniformResourceLocatable {
2168+
type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatable {
21692169
"""
21702170
The check run's annotations
21712171
"""
@@ -2223,13 +2223,18 @@ type CheckRun implements Node & UniformResourceLocatable {
22232223
id: ID!
22242224

22252225
"""
2226-
Whether this check run is required to pass before merging.
2226+
Whether this is required to pass before merging for a specific pull request.
22272227
"""
22282228
isRequired(
22292229
"""
2230-
The pull request this check is required for
2230+
The id of the pull request this is required for
22312231
"""
2232-
pullRequestId: ID!
2232+
pullRequestId: ID
2233+
2234+
"""
2235+
The number of the pull request this is required for
2236+
"""
2237+
pullRequestNumber: Int
22332238
): Boolean!
22342239

22352240
"""
@@ -3214,7 +3219,9 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl
32143219
additions: Int!
32153220

32163221
"""
3217-
The pull requests associated with a commit
3222+
The merged Pull Request that introduced the commit to the repository. If the
3223+
commit is not present in the default branch, additionally returns open Pull
3224+
Requests associated with the commit
32183225
"""
32193226
associatedPullRequests(
32203227
"""
@@ -9660,7 +9667,7 @@ type EnterpriseRepositoryInfo implements Node {
96609667
id: ID!
96619668

96629669
"""
9663-
Identifies if the repository is private.
9670+
Identifies if the repository is private or internal.
96649671
"""
96659672
isPrivate: Boolean!
96669673

@@ -24057,6 +24064,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
2405724064
"""
2405824065
viewerDidAuthor: Boolean!
2405924066

24067+
"""
24068+
The latest review given from the viewer.
24069+
"""
24070+
viewerLatestReview: PullRequestReview
24071+
24072+
"""
24073+
The person who has requested the viewer for review on this pull request.
24074+
"""
24075+
viewerLatestReviewRequest: ReviewRequest
24076+
2406024077
"""
2406124078
The merge body text for the viewer and method.
2406224079
"""
@@ -30531,7 +30548,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo &
3053130548
isMirror: Boolean!
3053230549

3053330550
"""
30534-
Identifies if the repository is private.
30551+
Identifies if the repository is private or internal.
3053530552
"""
3053630553
isPrivate: Boolean!
3053730554

@@ -31640,7 +31657,7 @@ interface RepositoryInfo {
3164031657
isMirror: Boolean!
3164131658

3164231659
"""
31643-
Identifies if the repository is private.
31660+
Identifies if the repository is private or internal.
3164431661
"""
3164531662
isPrivate: Boolean!
3164631663

@@ -32622,6 +32639,26 @@ Types that can be requested reviewers.
3262232639
"""
3262332640
union RequestedReviewer = Mannequin | Team | User
3262432641

32642+
"""
32643+
Represents a type that can be required by a pull request for merging.
32644+
"""
32645+
interface RequirableByPullRequest {
32646+
"""
32647+
Whether this is required to pass before merging for a specific pull request.
32648+
"""
32649+
isRequired(
32650+
"""
32651+
The id of the pull request this is required for
32652+
"""
32653+
pullRequestId: ID
32654+
32655+
"""
32656+
The number of the pull request this is required for
32657+
"""
32658+
pullRequestNumber: Int
32659+
): Boolean!
32660+
}
32661+
3262532662
"""
3262632663
Autogenerated input type of RerequestCheckSuite
3262732664
"""
@@ -34207,6 +34244,13 @@ type SponsorsTier implements Node {
3420734244
"""
3420834245
adminInfo: SponsorsTierAdminInfo
3420934246

34247+
"""
34248+
Get a different tier for this tier's maintainer that is at the same frequency
34249+
as this tier but with a lesser cost. Returns the published tier with the
34250+
monthly price closest to this tier's without going over.
34251+
"""
34252+
closestLesserValueTier: SponsorsTier
34253+
3421034254
"""
3421134255
Identifies the date and time when the object was created.
3421234256
"""
@@ -34223,6 +34267,17 @@ type SponsorsTier implements Node {
3422334267
descriptionHTML: HTML!
3422434268
id: ID!
3422534269

34270+
"""
34271+
Whether this tier was chosen at checkout time by the sponsor rather than
34272+
defined ahead of time by the maintainer who manages the Sponsors listing.
34273+
"""
34274+
isCustomAmount: Boolean!
34275+
34276+
"""
34277+
Whether this tier is only for use with one-time sponsorships.
34278+
"""
34279+
isOneTime: Boolean!
34280+
3422634281
"""
3422734282
How much this tier costs per month in cents.
3422834283
"""
@@ -34370,6 +34425,11 @@ type Sponsorship implements Node {
3437034425
createdAt: DateTime!
3437134426
id: ID!
3437234427

34428+
"""
34429+
Whether this sponsorship represents a one-time payment versus a recurring sponsorship.
34430+
"""
34431+
isOneTimePayment: Boolean!
34432+
3437334433
"""
3437434434
The entity that is being sponsored
3437534435
"""
@@ -34785,7 +34845,7 @@ type StatusCheckRollupContextEdge {
3478534845
"""
3478634846
Represents an individual commit status context
3478734847
"""
34788-
type StatusContext implements Node {
34848+
type StatusContext implements Node & RequirableByPullRequest {
3478934849
"""
3479034850
The avatar of the OAuth application or the user that created the status
3479134851
"""
@@ -34823,13 +34883,18 @@ type StatusContext implements Node {
3482334883
id: ID!
3482434884

3482534885
"""
34826-
Whether this status is required to pass before merging.
34886+
Whether this is required to pass before merging for a specific pull request.
3482734887
"""
3482834888
isRequired(
3482934889
"""
34830-
The pull request this status is required for
34890+
The id of the pull request this is required for
34891+
"""
34892+
pullRequestId: ID
34893+
34894+
"""
34895+
The number of the pull request this is required for
3483134896
"""
34832-
pullRequestId: ID!
34897+
pullRequestNumber: Int
3483334898
): Boolean!
3483434899

3483534900
"""

0 commit comments

Comments
Β (0)