Skip to content

Commit c70cf9c

Browse files
authored
Merge pull request #12880 from github/repo-sync
repo sync
2 parents 1719d3a + 225b1ea commit c70cf9c

78 files changed

Lines changed: 454 additions & 143 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5162,6 +5162,27 @@ type ConvertedNoteToIssueEvent implements Node {
51625162
projectColumnName: String! @preview(toggledBy: "starfox-preview")
51635163
}
51645164

5165+
"""
5166+
Represents a 'converted_to_discussion' event on a given issue.
5167+
"""
5168+
type ConvertedToDiscussionEvent implements Node {
5169+
"""
5170+
Identifies the actor who performed the event.
5171+
"""
5172+
actor: Actor
5173+
5174+
"""
5175+
Identifies the date and time when the object was created.
5176+
"""
5177+
createdAt: DateTime!
5178+
5179+
"""
5180+
The discussion that the issue was converted into.
5181+
"""
5182+
discussion: Discussion
5183+
id: ID!
5184+
}
5185+
51655186
"""
51665187
Autogenerated input type of CreateBranchProtectionRule
51675188
"""
@@ -14246,6 +14267,7 @@ union IssueTimelineItems =
1424614267
| CommentDeletedEvent
1424714268
| ConnectedEvent
1424814269
| ConvertedNoteToIssueEvent
14270+
| ConvertedToDiscussionEvent
1424914271
| CrossReferencedEvent
1425014272
| DemilestonedEvent
1425114273
| DisconnectedEvent
@@ -14360,6 +14382,11 @@ enum IssueTimelineItemsItemType {
1436014382
"""
1436114383
CONVERTED_NOTE_TO_ISSUE_EVENT
1436214384

14385+
"""
14386+
Represents a 'converted_to_discussion' event on a given issue.
14387+
"""
14388+
CONVERTED_TO_DISCUSSION_EVENT
14389+
1436314390
"""
1436414391
Represents a mention made by one issue or pull request to another.
1436514392
"""
@@ -26093,6 +26120,7 @@ union PullRequestTimelineItems =
2609326120
| ConnectedEvent
2609426121
| ConvertToDraftEvent
2609526122
| ConvertedNoteToIssueEvent
26123+
| ConvertedToDiscussionEvent
2609626124
| CrossReferencedEvent
2609726125
| DemilestonedEvent
2609826126
| DeployedEvent
@@ -26267,6 +26295,11 @@ enum PullRequestTimelineItemsItemType {
2626726295
"""
2626826296
CONVERTED_NOTE_TO_ISSUE_EVENT
2626926297

26298+
"""
26299+
Represents a 'converted_to_discussion' event on a given issue.
26300+
"""
26301+
CONVERTED_TO_DISCUSSION_EVENT
26302+
2627026303
"""
2627126304
Represents a 'convert_to_draft' event on a given pull request.
2627226305
"""

data/graphql/ghec/schema.docs.graphql

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5399,6 +5399,27 @@ type ConvertedNoteToIssueEvent implements Node {
53995399
projectColumnName: String! @preview(toggledBy: "starfox-preview")
54005400
}
54015401

5402+
"""
5403+
Represents a 'converted_to_discussion' event on a given issue.
5404+
"""
5405+
type ConvertedToDiscussionEvent implements Node {
5406+
"""
5407+
Identifies the actor who performed the event.
5408+
"""
5409+
actor: Actor
5410+
5411+
"""
5412+
Identifies the date and time when the object was created.
5413+
"""
5414+
createdAt: DateTime!
5415+
5416+
"""
5417+
The discussion that the issue was converted into.
5418+
"""
5419+
discussion: Discussion
5420+
id: ID!
5421+
}
5422+
54025423
"""
54035424
Autogenerated input type of CreateBranchProtectionRule
54045425
"""
@@ -15194,6 +15215,7 @@ union IssueTimelineItems =
1519415215
| CommentDeletedEvent
1519515216
| ConnectedEvent
1519615217
| ConvertedNoteToIssueEvent
15218+
| ConvertedToDiscussionEvent
1519715219
| CrossReferencedEvent
1519815220
| DemilestonedEvent
1519915221
| DisconnectedEvent
@@ -15308,6 +15330,11 @@ enum IssueTimelineItemsItemType {
1530815330
"""
1530915331
CONVERTED_NOTE_TO_ISSUE_EVENT
1531015332

15333+
"""
15334+
Represents a 'converted_to_discussion' event on a given issue.
15335+
"""
15336+
CONVERTED_TO_DISCUSSION_EVENT
15337+
1531115338
"""
1531215339
Represents a mention made by one issue or pull request to another.
1531315340
"""
@@ -29154,6 +29181,7 @@ union PullRequestTimelineItems =
2915429181
| ConnectedEvent
2915529182
| ConvertToDraftEvent
2915629183
| ConvertedNoteToIssueEvent
29184+
| ConvertedToDiscussionEvent
2915729185
| CrossReferencedEvent
2915829186
| DemilestonedEvent
2915929187
| DeployedEvent
@@ -29328,6 +29356,11 @@ enum PullRequestTimelineItemsItemType {
2932829356
"""
2932929357
CONVERTED_NOTE_TO_ISSUE_EVENT
2933029358

29359+
"""
29360+
Represents a 'converted_to_discussion' event on a given issue.
29361+
"""
29362+
CONVERTED_TO_DISCUSSION_EVENT
29363+
2933129364
"""
2933229365
Represents a 'convert_to_draft' event on a given pull request.
2933329366
"""

data/graphql/schema.docs.graphql

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5399,6 +5399,27 @@ type ConvertedNoteToIssueEvent implements Node {
53995399
projectColumnName: String! @preview(toggledBy: "starfox-preview")
54005400
}
54015401

5402+
"""
5403+
Represents a 'converted_to_discussion' event on a given issue.
5404+
"""
5405+
type ConvertedToDiscussionEvent implements Node {
5406+
"""
5407+
Identifies the actor who performed the event.
5408+
"""
5409+
actor: Actor
5410+
5411+
"""
5412+
Identifies the date and time when the object was created.
5413+
"""
5414+
createdAt: DateTime!
5415+
5416+
"""
5417+
The discussion that the issue was converted into.
5418+
"""
5419+
discussion: Discussion
5420+
id: ID!
5421+
}
5422+
54025423
"""
54035424
Autogenerated input type of CreateBranchProtectionRule
54045425
"""
@@ -15194,6 +15215,7 @@ union IssueTimelineItems =
1519415215
| CommentDeletedEvent
1519515216
| ConnectedEvent
1519615217
| ConvertedNoteToIssueEvent
15218+
| ConvertedToDiscussionEvent
1519715219
| CrossReferencedEvent
1519815220
| DemilestonedEvent
1519915221
| DisconnectedEvent
@@ -15308,6 +15330,11 @@ enum IssueTimelineItemsItemType {
1530815330
"""
1530915331
CONVERTED_NOTE_TO_ISSUE_EVENT
1531015332

15333+
"""
15334+
Represents a 'converted_to_discussion' event on a given issue.
15335+
"""
15336+
CONVERTED_TO_DISCUSSION_EVENT
15337+
1531115338
"""
1531215339
Represents a mention made by one issue or pull request to another.
1531315340
"""
@@ -29154,6 +29181,7 @@ union PullRequestTimelineItems =
2915429181
| ConnectedEvent
2915529182
| ConvertToDraftEvent
2915629183
| ConvertedNoteToIssueEvent
29184+
| ConvertedToDiscussionEvent
2915729185
| CrossReferencedEvent
2915829186
| DemilestonedEvent
2915929187
| DeployedEvent
@@ -29328,6 +29356,11 @@ enum PullRequestTimelineItemsItemType {
2932829356
"""
2932929357
CONVERTED_NOTE_TO_ISSUE_EVENT
2933029358

29359+
"""
29360+
Represents a 'converted_to_discussion' event on a given issue.
29361+
"""
29362+
CONVERTED_TO_DISCUSSION_EVENT
29363+
2933129364
"""
2933229365
Represents a 'convert_to_draft' event on a given pull request.
2933329366
"""

lib/graphql/static/changelog.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Type `ConvertedToDiscussionEvent` was added",
8+
"Member `ConvertedToDiscussionEvent` was added to Union type `IssueTimelineItems`",
9+
"Enum value 'CONVERTED_TO_DISCUSSION_EVENT` was added to enum `IssueTimelineItemsItemType'",
10+
"Member `ConvertedToDiscussionEvent` was added to Union type `PullRequestTimelineItems`",
11+
"Enum value 'CONVERTED_TO_DISCUSSION_EVENT` was added to enum `PullRequestTimelineItemsItemType'"
12+
]
13+
}
14+
],
15+
"previewChanges": [],
16+
"upcomingChanges": [],
17+
"date": "2021-12-11"
18+
},
219
{
320
"schemaChanges": [
421
{

lib/graphql/static/prerendered-objects.json

Lines changed: 24 additions & 3 deletions
Large diffs are not rendered by default.

lib/graphql/static/schema-dotcom.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13086,6 +13086,46 @@
1308613086
}
1308713087
]
1308813088
},
13089+
{
13090+
"name": "ConvertedToDiscussionEvent",
13091+
"kind": "objects",
13092+
"id": "convertedtodiscussionevent",
13093+
"href": "/graphql/reference/objects#convertedtodiscussionevent",
13094+
"description": "<p>Represents a<code>converted_to_discussion</code>event on a given issue.</p>",
13095+
"implements": [
13096+
{
13097+
"name": "Node",
13098+
"id": "node",
13099+
"href": "/graphql/reference/interfaces#node"
13100+
}
13101+
],
13102+
"fields": [
13103+
{
13104+
"name": "actor",
13105+
"description": "<p>Identifies the actor who performed the event.</p>",
13106+
"type": "Actor",
13107+
"id": "actor",
13108+
"kind": "interfaces",
13109+
"href": "/graphql/reference/interfaces#actor"
13110+
},
13111+
{
13112+
"name": "createdAt",
13113+
"description": "<p>Identifies the date and time when the object was created.</p>",
13114+
"type": "DateTime!",
13115+
"id": "datetime",
13116+
"kind": "scalars",
13117+
"href": "/graphql/reference/scalars#datetime"
13118+
},
13119+
{
13120+
"name": "discussion",
13121+
"description": "<p>The discussion that the issue was converted into.</p>",
13122+
"type": "Discussion",
13123+
"id": "discussion",
13124+
"kind": "objects",
13125+
"href": "/graphql/reference/objects#discussion"
13126+
}
13127+
]
13128+
},
1308913129
{
1309013130
"name": "CreatedCommitContribution",
1309113131
"kind": "objects",
@@ -67237,6 +67277,10 @@
6723767277
"name": "CONVERTED_NOTE_TO_ISSUE_EVENT",
6723867278
"description": "<p>Represents a<code>converted_note_to_issue</code>event on a given issue or pull request.</p>"
6723967279
},
67280+
{
67281+
"name": "CONVERTED_TO_DISCUSSION_EVENT",
67282+
"description": "<p>Represents a<code>converted_to_discussion</code>event on a given issue.</p>"
67283+
},
6724067284
{
6724167285
"name": "CROSS_REFERENCED_EVENT",
6724267286
"description": "<p>Represents a mention made by one issue or pull request to another.</p>"
@@ -68465,6 +68509,10 @@
6846568509
"name": "CONVERTED_NOTE_TO_ISSUE_EVENT",
6846668510
"description": "<p>Represents a<code>converted_note_to_issue</code>event on a given issue or pull request.</p>"
6846768511
},
68512+
{
68513+
"name": "CONVERTED_TO_DISCUSSION_EVENT",
68514+
"description": "<p>Represents a<code>converted_to_discussion</code>event on a given issue.</p>"
68515+
},
6846868516
{
6846968517
"name": "CONVERT_TO_DRAFT_EVENT",
6847068518
"description": "<p>Represents a<code>convert_to_draft</code>event on a given pull request.</p>"
@@ -70299,6 +70347,11 @@
7029970347
"id": "convertednotetoissueevent",
7030070348
"href": "/graphql/reference/objects#convertednotetoissueevent"
7030170349
},
70350+
{
70351+
"name": "ConvertedToDiscussionEvent",
70352+
"id": "convertedtodiscussionevent",
70353+
"href": "/graphql/reference/objects#convertedtodiscussionevent"
70354+
},
7030270355
{
7030370356
"name": "CrossReferencedEvent",
7030470357
"id": "crossreferencedevent",
@@ -71105,6 +71158,11 @@
7110571158
"id": "convertednotetoissueevent",
7110671159
"href": "/graphql/reference/objects#convertednotetoissueevent"
7110771160
},
71161+
{
71162+
"name": "ConvertedToDiscussionEvent",
71163+
"id": "convertedtodiscussionevent",
71164+
"href": "/graphql/reference/objects#convertedtodiscussionevent"
71165+
},
7110871166
{
7110971167
"name": "CrossReferencedEvent",
7111071168
"id": "crossreferencedevent",

0 commit comments

Comments
 (0)