Skip to content

Commit ba05212

Browse files
octokitbotgr2m
authored andcommittedOct 5, 2019
feat: update state of pullRequest, `SponsorListing#{fullDescriptionHTML,name} (#220)
1 parent 139cee0 commit ba05212

File tree

2 files changed

+103
-16
lines changed

2 files changed

+103
-16
lines changed
 

Diff for: ‎schema.graphql

+32-2
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@ type CommitCommentThread implements Node & RepositoryNode {
24912491
"""
24922492
The commit the comments were made on.
24932493
"""
2494-
commit: Commit!
2494+
commit: Commit
24952495
id: ID!
24962496

24972497
"""
@@ -19817,7 +19817,7 @@ type PullRequestReviewComment implements Comment & Deletable & Node & Reactable
1981719817
"""
1981819818
Identifies the commit associated with the comment.
1981919819
"""
19820-
commit: Commit!
19820+
commit: Commit
1982119821

1982219822
"""
1982319823
Identifies when the comment was created.
@@ -20702,6 +20702,21 @@ enum PullRequestTimelineItemsItemType {
2070220702
USER_BLOCKED_EVENT
2070320703
}
2070420704

20705+
"""
20706+
The possible target states when updating a pull request.
20707+
"""
20708+
enum PullRequestUpdateState {
20709+
"""
20710+
A pull request that has been closed without being merged.
20711+
"""
20712+
CLOSED
20713+
20714+
"""
20715+
A pull request that is still open.
20716+
"""
20717+
OPEN
20718+
}
20719+
2070520720
"""
2070620721
A team, user or app who has the ability to push to a protected branch.
2070720722
"""
@@ -28951,8 +28966,18 @@ type SponsorsListing implements Node {
2895128966
The full description of the listing.
2895228967
"""
2895328968
fullDescription: String!
28969+
28970+
"""
28971+
The full description of the listing rendered to HTML.
28972+
"""
28973+
fullDescriptionHTML: HTML!
2895428974
id: ID!
2895528975

28976+
"""
28977+
The listing's full name.
28978+
"""
28979+
name: String!
28980+
2895628981
"""
2895728982
The short description of the listing.
2895828983
"""
@@ -33232,6 +33257,11 @@ input UpdatePullRequestInput {
3323233257
"""
3323333258
pullRequestId: ID!
3323433259

33260+
"""
33261+
The target state of the pull request.
33262+
"""
33263+
state: PullRequestUpdateState
33264+
3323533265
"""
3323633266
The title of the pull request.
3323733267
"""

Diff for: ‎schema.json

+71-14
Original file line numberDiff line numberDiff line change
@@ -30816,6 +30816,22 @@
3081630816
"isDeprecated": false,
3081730817
"deprecationReason": null
3081830818
},
30819+
{
30820+
"name": "fullDescriptionHTML",
30821+
"description": "The full description of the listing rendered to HTML.",
30822+
"args": [],
30823+
"type": {
30824+
"kind": "NON_NULL",
30825+
"name": null,
30826+
"ofType": {
30827+
"kind": "SCALAR",
30828+
"name": "HTML",
30829+
"ofType": null
30830+
}
30831+
},
30832+
"isDeprecated": false,
30833+
"deprecationReason": null
30834+
},
3081930835
{
3082030836
"name": "id",
3082130837
"description": null,
@@ -30832,6 +30848,22 @@
3083230848
"isDeprecated": false,
3083330849
"deprecationReason": null
3083430850
},
30851+
{
30852+
"name": "name",
30853+
"description": "The listing's full name.",
30854+
"args": [],
30855+
"type": {
30856+
"kind": "NON_NULL",
30857+
"name": null,
30858+
"ofType": {
30859+
"kind": "SCALAR",
30860+
"name": "String",
30861+
"ofType": null
30862+
}
30863+
},
30864+
"isDeprecated": false,
30865+
"deprecationReason": null
30866+
},
3083530867
{
3083630868
"name": "shortDescription",
3083730869
"description": "The short description of the listing.",
@@ -64959,13 +64991,9 @@
6495964991
"description": "Identifies the commit associated with the comment.",
6496064992
"args": [],
6496164993
"type": {
64962-
"kind": "NON_NULL",
64963-
"name": null,
64964-
"ofType": {
64965-
"kind": "OBJECT",
64966-
"name": "Commit",
64967-
"ofType": null
64968-
}
64994+
"kind": "OBJECT",
64995+
"name": "Commit",
64996+
"ofType": null
6496964997
},
6497064998
"isDeprecated": false,
6497164999
"deprecationReason": null
@@ -67871,13 +67899,9 @@
6787167899
"description": "The commit the comments were made on.",
6787267900
"args": [],
6787367901
"type": {
67874-
"kind": "NON_NULL",
67875-
"name": null,
67876-
"ofType": {
67877-
"kind": "OBJECT",
67878-
"name": "Commit",
67879-
"ofType": null
67880-
}
67902+
"kind": "OBJECT",
67903+
"name": "Commit",
67904+
"ofType": null
6788167905
},
6788267906
"isDeprecated": false,
6788367907
"deprecationReason": null
@@ -88899,6 +88923,16 @@
8889988923
},
8890088924
"defaultValue": null
8890188925
},
88926+
{
88927+
"name": "state",
88928+
"description": "The target state of the pull request.",
88929+
"type": {
88930+
"kind": "ENUM",
88931+
"name": "PullRequestUpdateState",
88932+
"ofType": null
88933+
},
88934+
"defaultValue": null
88935+
},
8890288936
{
8890388937
"name": "maintainerCanModify",
8890488938
"description": "Indicates whether maintainers can modify the pull request.",
@@ -88988,6 +89022,29 @@
8898889022
"enumValues": null,
8898989023
"possibleTypes": null
8899089024
},
89025+
{
89026+
"kind": "ENUM",
89027+
"name": "PullRequestUpdateState",
89028+
"description": "The possible target states when updating a pull request.",
89029+
"fields": null,
89030+
"inputFields": null,
89031+
"interfaces": null,
89032+
"enumValues": [
89033+
{
89034+
"name": "OPEN",
89035+
"description": "A pull request that is still open.",
89036+
"isDeprecated": false,
89037+
"deprecationReason": null
89038+
},
89039+
{
89040+
"name": "CLOSED",
89041+
"description": "A pull request that has been closed without being merged.",
89042+
"isDeprecated": false,
89043+
"deprecationReason": null
89044+
}
89045+
],
89046+
"possibleTypes": null
89047+
},
8899189048
{
8899289049
"kind": "OBJECT",
8899389050
"name": "ClosePullRequestPayload",

0 commit comments

Comments
 (0)
Please sign in to comment.