Skip to content

Commit 0c38306

Browse files
authored
Action ran graphql script"update-files"
1 parent 3b31118 commit 0c38306

6 files changed

Lines changed: 227 additions & 2 deletions

File tree

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4723,6 +4723,36 @@ type ConvertProjectCardNoteToIssuePayload {
47234723
projectCard: ProjectCard
47244724
}
47254725

4726+
"""
4727+
Autogenerated input type of ConvertPullRequestToDraft
4728+
"""
4729+
input ConvertPullRequestToDraftInput {
4730+
"""
4731+
A unique identifier for the client performing the mutation.
4732+
"""
4733+
clientMutationId: String
4734+
4735+
"""
4736+
ID of the pull request to convert to draft
4737+
"""
4738+
pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"])
4739+
}
4740+
4741+
"""
4742+
Autogenerated return type of ConvertPullRequestToDraft
4743+
"""
4744+
type ConvertPullRequestToDraftPayload {
4745+
"""
4746+
A unique identifier for the client performing the mutation.
4747+
"""
4748+
clientMutationId: String
4749+
4750+
"""
4751+
The pull request that is now a draft.
4752+
"""
4753+
pullRequest: PullRequest
4754+
}
4755+
47264756
"""
47274757
Represents a 'convert_to_draft' event on a given pull request.
47284758
"""
@@ -14566,6 +14596,16 @@ type Mutation {
1456614596
input: ConvertProjectCardNoteToIssueInput!
1456714597
): ConvertProjectCardNoteToIssuePayload
1456814598

14599+
"""
14600+
Converts a pull request to draft
14601+
"""
14602+
convertPullRequestToDraft(
14603+
"""
14604+
Parameters for ConvertPullRequestToDraft
14605+
"""
14606+
input: ConvertPullRequestToDraftInput!
14607+
): ConvertPullRequestToDraftPayload
14608+
1456914609
"""
1457014610
Create a new branch protection rule
1457114611
"""

data/graphql/schema.docs.graphql

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4813,6 +4813,36 @@ type ConvertProjectCardNoteToIssuePayload {
48134813
projectCard: ProjectCard
48144814
}
48154815

4816+
"""
4817+
Autogenerated input type of ConvertPullRequestToDraft
4818+
"""
4819+
input ConvertPullRequestToDraftInput {
4820+
"""
4821+
A unique identifier for the client performing the mutation.
4822+
"""
4823+
clientMutationId: String
4824+
4825+
"""
4826+
ID of the pull request to convert to draft
4827+
"""
4828+
pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"])
4829+
}
4830+
4831+
"""
4832+
Autogenerated return type of ConvertPullRequestToDraft
4833+
"""
4834+
type ConvertPullRequestToDraftPayload {
4835+
"""
4836+
A unique identifier for the client performing the mutation.
4837+
"""
4838+
clientMutationId: String
4839+
4840+
"""
4841+
The pull request that is now a draft.
4842+
"""
4843+
pullRequest: PullRequest
4844+
}
4845+
48164846
"""
48174847
Represents a 'convert_to_draft' event on a given pull request.
48184848
"""
@@ -15591,6 +15621,16 @@ type Mutation {
1559115621
input: ConvertProjectCardNoteToIssueInput!
1559215622
): ConvertProjectCardNoteToIssuePayload
1559315623

15624+
"""
15625+
Converts a pull request to draft
15626+
"""
15627+
convertPullRequestToDraft(
15628+
"""
15629+
Parameters for ConvertPullRequestToDraft
15630+
"""
15631+
input: ConvertPullRequestToDraftInput!
15632+
): ConvertPullRequestToDraftPayload
15633+
1559415634
"""
1559515635
Create a new branch protection rule
1559615636
"""

lib/graphql/static/changelog.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Type `ConvertPullRequestToDraftInput` was added",
8+
"Type `ConvertPullRequestToDraftPayload` was added",
9+
"Field `convertPullRequestToDraft` was added to object type `Mutation`"
10+
]
11+
}
12+
],
13+
"previewChanges": [],
14+
"upcomingChanges": [],
15+
"date": "2021-04-20"
16+
},
217
{
318
"schemaChanges": [
419
{

lib/graphql/static/prerendered-input-objects.json

Lines changed: 12 additions & 2 deletions
Large diffs are not rendered by default.

lib/graphql/static/schema-dotcom.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,6 +1745,40 @@
17451745
}
17461746
]
17471747
},
1748+
{
1749+
"name": "convertPullRequestToDraft",
1750+
"kind": "mutations",
1751+
"id": "convertpullrequesttodraft",
1752+
"href": "/graphql/reference/mutations#convertpullrequesttodraft",
1753+
"description": "<p>Converts a pull request to draft.</p>",
1754+
"inputFields": [
1755+
{
1756+
"name": "input",
1757+
"type": "ConvertPullRequestToDraftInput!",
1758+
"id": "convertpullrequesttodraftinput",
1759+
"kind": "input-objects",
1760+
"href": "/graphql/reference/input-objects#convertpullrequesttodraftinput"
1761+
}
1762+
],
1763+
"returnFields": [
1764+
{
1765+
"name": "clientMutationId",
1766+
"type": "String",
1767+
"id": "string",
1768+
"kind": "scalars",
1769+
"href": "/graphql/reference/scalars#string",
1770+
"description": "<p>A unique identifier for the client performing the mutation.</p>"
1771+
},
1772+
{
1773+
"name": "pullRequest",
1774+
"type": "PullRequest",
1775+
"id": "pullrequest",
1776+
"kind": "objects",
1777+
"href": "/graphql/reference/objects#pullrequest",
1778+
"description": "<p>The pull request that is now a draft.</p>"
1779+
}
1780+
]
1781+
},
17481782
{
17491783
"name": "createBranchProtectionRule",
17501784
"kind": "mutations",
@@ -65136,6 +65170,32 @@
6513665170
}
6513765171
]
6513865172
},
65173+
{
65174+
"name": "ConvertPullRequestToDraftInput",
65175+
"kind": "inputObjects",
65176+
"id": "convertpullrequesttodraftinput",
65177+
"href": "/graphql/reference/input-objects#convertpullrequesttodraftinput",
65178+
"description": "<p>Autogenerated input type of ConvertPullRequestToDraft.</p>",
65179+
"inputFields": [
65180+
{
65181+
"name": "clientMutationId",
65182+
"description": "<p>A unique identifier for the client performing the mutation.</p>",
65183+
"type": "String",
65184+
"id": "string",
65185+
"kind": "scalars",
65186+
"href": "/graphql/reference/scalars#string"
65187+
},
65188+
{
65189+
"name": "pullRequestId",
65190+
"description": "<p>ID of the pull request to convert to draft.</p>",
65191+
"type": "ID!",
65192+
"id": "id",
65193+
"kind": "scalars",
65194+
"href": "/graphql/reference/scalars#id",
65195+
"isDeprecated": false
65196+
}
65197+
]
65198+
},
6513965199
{
6514065200
"name": "CreateBranchProtectionRuleInput",
6514165201
"kind": "inputObjects",

lib/graphql/static/schema-ghae.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,40 @@
13701370
}
13711371
]
13721372
},
1373+
{
1374+
"name": "convertPullRequestToDraft",
1375+
"kind": "mutations",
1376+
"id": "convertpullrequesttodraft",
1377+
"href": "/graphql/reference/mutations#convertpullrequesttodraft",
1378+
"description": "<p>Converts a pull request to draft.</p>",
1379+
"inputFields": [
1380+
{
1381+
"name": "input",
1382+
"type": "ConvertPullRequestToDraftInput!",
1383+
"id": "convertpullrequesttodraftinput",
1384+
"kind": "input-objects",
1385+
"href": "/graphql/reference/input-objects#convertpullrequesttodraftinput"
1386+
}
1387+
],
1388+
"returnFields": [
1389+
{
1390+
"name": "clientMutationId",
1391+
"type": "String",
1392+
"id": "string",
1393+
"kind": "scalars",
1394+
"href": "/graphql/reference/scalars#string",
1395+
"description": "<p>A unique identifier for the client performing the mutation.</p>"
1396+
},
1397+
{
1398+
"name": "pullRequest",
1399+
"type": "PullRequest",
1400+
"id": "pullrequest",
1401+
"kind": "objects",
1402+
"href": "/graphql/reference/objects#pullrequest",
1403+
"description": "<p>The pull request that is now a draft.</p>"
1404+
}
1405+
]
1406+
},
13731407
{
13741408
"name": "createBranchProtectionRule",
13751409
"kind": "mutations",
@@ -60681,6 +60715,32 @@
6068160715
}
6068260716
]
6068360717
},
60718+
{
60719+
"name": "ConvertPullRequestToDraftInput",
60720+
"kind": "inputObjects",
60721+
"id": "convertpullrequesttodraftinput",
60722+
"href": "/graphql/reference/input-objects#convertpullrequesttodraftinput",
60723+
"description": "<p>Autogenerated input type of ConvertPullRequestToDraft.</p>",
60724+
"inputFields": [
60725+
{
60726+
"name": "clientMutationId",
60727+
"description": "<p>A unique identifier for the client performing the mutation.</p>",
60728+
"type": "String",
60729+
"id": "string",
60730+
"kind": "scalars",
60731+
"href": "/graphql/reference/scalars#string"
60732+
},
60733+
{
60734+
"name": "pullRequestId",
60735+
"description": "<p>ID of the pull request to convert to draft.</p>",
60736+
"type": "ID!",
60737+
"id": "id",
60738+
"kind": "scalars",
60739+
"href": "/graphql/reference/scalars#id",
60740+
"isDeprecated": false
60741+
}
60742+
]
60743+
},
6068460744
{
6068560745
"name": "CreateBranchProtectionRuleInput",
6068660746
"kind": "inputObjects",

0 commit comments

Comments
 (0)