Skip to content
Merged
Show file tree
Hide file tree
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
33 changes: 33 additions & 0 deletions data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5162,6 +5162,27 @@ type ConvertedNoteToIssueEvent implements Node {
projectColumnName: String! @preview(toggledBy: "starfox-preview")
}

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
type ConvertedToDiscussionEvent implements Node {
"""
Identifies the actor who performed the event.
"""
actor: Actor

"""
Identifies the date and time when the object was created.
"""
createdAt: DateTime!

"""
The discussion that the issue was converted into.
"""
discussion: Discussion
id: ID!
}

"""
Autogenerated input type of CreateBranchProtectionRule
"""
Expand Down Expand Up @@ -14246,6 +14267,7 @@ union IssueTimelineItems =
| CommentDeletedEvent
| ConnectedEvent
| ConvertedNoteToIssueEvent
| ConvertedToDiscussionEvent
| CrossReferencedEvent
| DemilestonedEvent
| DisconnectedEvent
Expand Down Expand Up @@ -14360,6 +14382,11 @@ enum IssueTimelineItemsItemType {
"""
CONVERTED_NOTE_TO_ISSUE_EVENT

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
CONVERTED_TO_DISCUSSION_EVENT

"""
Represents a mention made by one issue or pull request to another.
"""
Expand Down Expand Up @@ -26093,6 +26120,7 @@ union PullRequestTimelineItems =
| ConnectedEvent
| ConvertToDraftEvent
| ConvertedNoteToIssueEvent
| ConvertedToDiscussionEvent
| CrossReferencedEvent
| DemilestonedEvent
| DeployedEvent
Expand Down Expand Up @@ -26267,6 +26295,11 @@ enum PullRequestTimelineItemsItemType {
"""
CONVERTED_NOTE_TO_ISSUE_EVENT

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
CONVERTED_TO_DISCUSSION_EVENT

"""
Represents a 'convert_to_draft' event on a given pull request.
"""
Expand Down
33 changes: 33 additions & 0 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5399,6 +5399,27 @@ type ConvertedNoteToIssueEvent implements Node {
projectColumnName: String! @preview(toggledBy: "starfox-preview")
}

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
type ConvertedToDiscussionEvent implements Node {
"""
Identifies the actor who performed the event.
"""
actor: Actor

"""
Identifies the date and time when the object was created.
"""
createdAt: DateTime!

"""
The discussion that the issue was converted into.
"""
discussion: Discussion
id: ID!
}

"""
Autogenerated input type of CreateBranchProtectionRule
"""
Expand Down Expand Up @@ -15194,6 +15215,7 @@ union IssueTimelineItems =
| CommentDeletedEvent
| ConnectedEvent
| ConvertedNoteToIssueEvent
| ConvertedToDiscussionEvent
| CrossReferencedEvent
| DemilestonedEvent
| DisconnectedEvent
Expand Down Expand Up @@ -15308,6 +15330,11 @@ enum IssueTimelineItemsItemType {
"""
CONVERTED_NOTE_TO_ISSUE_EVENT

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
CONVERTED_TO_DISCUSSION_EVENT

"""
Represents a mention made by one issue or pull request to another.
"""
Expand Down Expand Up @@ -29154,6 +29181,7 @@ union PullRequestTimelineItems =
| ConnectedEvent
| ConvertToDraftEvent
| ConvertedNoteToIssueEvent
| ConvertedToDiscussionEvent
| CrossReferencedEvent
| DemilestonedEvent
| DeployedEvent
Expand Down Expand Up @@ -29328,6 +29356,11 @@ enum PullRequestTimelineItemsItemType {
"""
CONVERTED_NOTE_TO_ISSUE_EVENT

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
CONVERTED_TO_DISCUSSION_EVENT

"""
Represents a 'convert_to_draft' event on a given pull request.
"""
Expand Down
33 changes: 33 additions & 0 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5399,6 +5399,27 @@ type ConvertedNoteToIssueEvent implements Node {
projectColumnName: String! @preview(toggledBy: "starfox-preview")
}

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
type ConvertedToDiscussionEvent implements Node {
"""
Identifies the actor who performed the event.
"""
actor: Actor

"""
Identifies the date and time when the object was created.
"""
createdAt: DateTime!

"""
The discussion that the issue was converted into.
"""
discussion: Discussion
id: ID!
}

"""
Autogenerated input type of CreateBranchProtectionRule
"""
Expand Down Expand Up @@ -15194,6 +15215,7 @@ union IssueTimelineItems =
| CommentDeletedEvent
| ConnectedEvent
| ConvertedNoteToIssueEvent
| ConvertedToDiscussionEvent
| CrossReferencedEvent
| DemilestonedEvent
| DisconnectedEvent
Expand Down Expand Up @@ -15308,6 +15330,11 @@ enum IssueTimelineItemsItemType {
"""
CONVERTED_NOTE_TO_ISSUE_EVENT

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
CONVERTED_TO_DISCUSSION_EVENT

"""
Represents a mention made by one issue or pull request to another.
"""
Expand Down Expand Up @@ -29154,6 +29181,7 @@ union PullRequestTimelineItems =
| ConnectedEvent
| ConvertToDraftEvent
| ConvertedNoteToIssueEvent
| ConvertedToDiscussionEvent
| CrossReferencedEvent
| DemilestonedEvent
| DeployedEvent
Expand Down Expand Up @@ -29328,6 +29356,11 @@ enum PullRequestTimelineItemsItemType {
"""
CONVERTED_NOTE_TO_ISSUE_EVENT

"""
Represents a 'converted_to_discussion' event on a given issue.
"""
CONVERTED_TO_DISCUSSION_EVENT

"""
Represents a 'convert_to_draft' event on a given pull request.
"""
Expand Down
17 changes: 17 additions & 0 deletions lib/graphql/static/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"Type `ConvertedToDiscussionEvent` was added",
"Member `ConvertedToDiscussionEvent` was added to Union type `IssueTimelineItems`",
"Enum value 'CONVERTED_TO_DISCUSSION_EVENT` was added to enum `IssueTimelineItemsItemType'",
"Member `ConvertedToDiscussionEvent` was added to Union type `PullRequestTimelineItems`",
"Enum value 'CONVERTED_TO_DISCUSSION_EVENT` was added to enum `PullRequestTimelineItemsItemType'"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2021-12-11"
},
{
"schemaChanges": [
{
Expand Down
27 changes: 24 additions & 3 deletions lib/graphql/static/prerendered-objects.json

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions lib/graphql/static/schema-dotcom.json
Original file line number Diff line number Diff line change
Expand Up @@ -13086,6 +13086,46 @@
}
]
},
{
"name": "ConvertedToDiscussionEvent",
"kind": "objects",
"id": "convertedtodiscussionevent",
"href": "/graphql/reference/objects#convertedtodiscussionevent",
"description": "<p>Represents a<code>converted_to_discussion</code>event on a given issue.</p>",
"implements": [
{
"name": "Node",
"id": "node",
"href": "/graphql/reference/interfaces#node"
}
],
"fields": [
{
"name": "actor",
"description": "<p>Identifies the actor who performed the event.</p>",
"type": "Actor",
"id": "actor",
"kind": "interfaces",
"href": "/graphql/reference/interfaces#actor"
},
{
"name": "createdAt",
"description": "<p>Identifies the date and time when the object was created.</p>",
"type": "DateTime!",
"id": "datetime",
"kind": "scalars",
"href": "/graphql/reference/scalars#datetime"
},
{
"name": "discussion",
"description": "<p>The discussion that the issue was converted into.</p>",
"type": "Discussion",
"id": "discussion",
"kind": "objects",
"href": "/graphql/reference/objects#discussion"
}
]
},
{
"name": "CreatedCommitContribution",
"kind": "objects",
Expand Down Expand Up @@ -67237,6 +67277,10 @@
"name": "CONVERTED_NOTE_TO_ISSUE_EVENT",
"description": "<p>Represents a<code>converted_note_to_issue</code>event on a given issue or pull request.</p>"
},
{
"name": "CONVERTED_TO_DISCUSSION_EVENT",
"description": "<p>Represents a<code>converted_to_discussion</code>event on a given issue.</p>"
},
{
"name": "CROSS_REFERENCED_EVENT",
"description": "<p>Represents a mention made by one issue or pull request to another.</p>"
Expand Down Expand Up @@ -68465,6 +68509,10 @@
"name": "CONVERTED_NOTE_TO_ISSUE_EVENT",
"description": "<p>Represents a<code>converted_note_to_issue</code>event on a given issue or pull request.</p>"
},
{
"name": "CONVERTED_TO_DISCUSSION_EVENT",
"description": "<p>Represents a<code>converted_to_discussion</code>event on a given issue.</p>"
},
{
"name": "CONVERT_TO_DRAFT_EVENT",
"description": "<p>Represents a<code>convert_to_draft</code>event on a given pull request.</p>"
Expand Down Expand Up @@ -70299,6 +70347,11 @@
"id": "convertednotetoissueevent",
"href": "/graphql/reference/objects#convertednotetoissueevent"
},
{
"name": "ConvertedToDiscussionEvent",
"id": "convertedtodiscussionevent",
"href": "/graphql/reference/objects#convertedtodiscussionevent"
},
{
"name": "CrossReferencedEvent",
"id": "crossreferencedevent",
Expand Down Expand Up @@ -71105,6 +71158,11 @@
"id": "convertednotetoissueevent",
"href": "/graphql/reference/objects#convertednotetoissueevent"
},
{
"name": "ConvertedToDiscussionEvent",
"id": "convertedtodiscussionevent",
"href": "/graphql/reference/objects#convertedtodiscussionevent"
},
{
"name": "CrossReferencedEvent",
"id": "crossreferencedevent",
Expand Down
Loading