Skip to content

Commit 7f85513

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#58611)
Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
1 parent 88a17c8 commit 7f85513

File tree

5 files changed

+666
-32
lines changed

5 files changed

+666
-32
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>SuggestedReviewerActor</code> was added</p>",
8+
"<p>Type <code>SuggestedReviewerActorConnection</code> was added</p>",
9+
"<p>Type <code>SuggestedReviewerActorEdge</code> was added</p>",
10+
"<p>Enum value 'ISSUE_FIELD_ADDED_EVENT<code>was added to enum</code>IssueTimelineItemsItemType'</p>",
11+
"<p>Enum value 'ISSUE_FIELD_CHANGED_EVENT<code>was added to enum</code>IssueTimelineItemsItemType'</p>",
12+
"<p>Enum value 'ISSUE_FIELD_REMOVED_EVENT<code>was added to enum</code>IssueTimelineItemsItemType'</p>",
13+
"<p>Field <code>suggestedReviewerActors</code> was added to object type <code>PullRequest</code></p>",
14+
"<p>Enum value 'ISSUE_FIELD_ADDED_EVENT<code>was added to enum</code>PullRequestTimelineItemsItemType'</p>",
15+
"<p>Enum value 'ISSUE_FIELD_CHANGED_EVENT<code>was added to enum</code>PullRequestTimelineItemsItemType'</p>",
16+
"<p>Enum value 'ISSUE_FIELD_REMOVED_EVENT<code>was added to enum</code>PullRequestTimelineItemsItemType'</p>"
17+
]
18+
}
19+
],
20+
"previewChanges": [],
21+
"upcomingChanges": [],
22+
"date": "2025-11-30"
23+
},
224
{
325
"schemaChanges": [
426
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 142 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7335,7 +7335,9 @@ type ConvertedToDiscussionEvent implements Node {
73357335
}
73367336

73377337
"""
7338-
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
7338+
Request Copilot code review for new pull requests automatically if the author
7339+
has access to Copilot code review and their premium requests quota has not
7340+
reached the limit.
73397341
"""
73407342
type CopilotCodeReviewParameters {
73417343
"""
@@ -7350,7 +7352,9 @@ type CopilotCodeReviewParameters {
73507352
}
73517353

73527354
"""
7353-
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
7355+
Request Copilot code review for new pull requests automatically if the author
7356+
has access to Copilot code review and their premium requests quota has not
7357+
reached the limit.
73547358
"""
73557359
input CopilotCodeReviewParametersInput {
73567360
"""
@@ -20648,6 +20652,21 @@ enum IssueTimelineItemsItemType {
2064820652
"""
2064920653
ISSUE_COMMENT
2065020654

20655+
"""
20656+
Represents a 'issue_field_added' event on a given issue.
20657+
"""
20658+
ISSUE_FIELD_ADDED_EVENT
20659+
20660+
"""
20661+
Represents a 'issue_field_changed' event on a given issue.
20662+
"""
20663+
ISSUE_FIELD_CHANGED_EVENT
20664+
20665+
"""
20666+
Represents a 'issue_field_removed' event on a given issue.
20667+
"""
20668+
ISSUE_FIELD_REMOVED_EVENT
20669+
2065120670
"""
2065220671
Represents a 'issue_type_added' event on a given issue.
2065320672
"""
@@ -41291,6 +41310,31 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
4129141310
query: String
4129241311
): AssigneeConnection!
4129341312

41313+
"""
41314+
Reviewer actor suggestions based on commit history, past review comments, and integrations.
41315+
"""
41316+
suggestedReviewerActors(
41317+
"""
41318+
Returns the elements in the list that come after the specified cursor.
41319+
"""
41320+
after: String
41321+
41322+
"""
41323+
Returns the elements in the list that come before the specified cursor.
41324+
"""
41325+
before: String
41326+
41327+
"""
41328+
Returns the first _n_ elements from the list.
41329+
"""
41330+
first: Int
41331+
41332+
"""
41333+
Returns the last _n_ elements from the list.
41334+
"""
41335+
last: Int
41336+
): SuggestedReviewerActorConnection!
41337+
4129441338
"""
4129541339
A list of reviewer suggestions based on commit history and past review comments.
4129641340
"""
@@ -41905,7 +41949,9 @@ type PullRequestParameters {
4190541949
allowedMergeMethods: [PullRequestAllowedMergeMethods!]
4190641950

4190741951
"""
41908-
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
41952+
Request Copilot code review for new pull requests automatically if the author
41953+
has access to Copilot code review and their premium requests quota has not
41954+
reached the limit.
4190941955
"""
4191041956
automaticCopilotCodeReviewEnabled: Boolean!
4191141957

@@ -41953,7 +41999,9 @@ input PullRequestParametersInput {
4195341999
allowedMergeMethods: [PullRequestAllowedMergeMethods!]
4195442000

4195542001
"""
41956-
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
42002+
Request Copilot code review for new pull requests automatically if the author
42003+
has access to Copilot code review and their premium requests quota has not
42004+
reached the limit.
4195742005
"""
4195842006
automaticCopilotCodeReviewEnabled: Boolean
4195942007

@@ -43519,6 +43567,21 @@ enum PullRequestTimelineItemsItemType {
4351943567
"""
4352043568
ISSUE_COMMENT
4352143569

43570+
"""
43571+
Represents a 'issue_field_added' event on a given issue.
43572+
"""
43573+
ISSUE_FIELD_ADDED_EVENT
43574+
43575+
"""
43576+
Represents a 'issue_field_changed' event on a given issue.
43577+
"""
43578+
ISSUE_FIELD_CHANGED_EVENT
43579+
43580+
"""
43581+
Represents a 'issue_field_removed' event on a given issue.
43582+
"""
43583+
ISSUE_FIELD_REMOVED_EVENT
43584+
4352243585
"""
4352343586
Represents a 'issue_type_added' event on a given issue.
4352443587
"""
@@ -45719,9 +45782,13 @@ input RemoveAssigneesFromAssignableInput {
4571945782
assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable")
4572045783

4572145784
"""
45722-
The id of users to remove as assignees.
45785+
The ids of actors to remove as assignees.
4572345786
"""
45724-
assigneeIds: [ID!]! @possibleTypes(concreteTypes: ["User"])
45787+
assigneeIds: [ID!]!
45788+
@possibleTypes(
45789+
concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"]
45790+
abstractType: "Actor"
45791+
)
4572545792

4572645793
"""
4572745794
A unique identifier for the client performing the mutation.
@@ -53261,7 +53328,9 @@ enum RepositoryRuleType {
5326153328
COMMIT_MESSAGE_PATTERN
5326253329

5326353330
"""
53264-
Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.
53331+
Request Copilot code review for new pull requests automatically if the author
53332+
has access to Copilot code review and their premium requests quota has not
53333+
reached the limit.
5326553334
"""
5326653335
COPILOT_CODE_REVIEW
5326753336

@@ -60390,6 +60459,66 @@ type SuggestedReviewer {
6039060459
reviewer: User!
6039160460
}
6039260461

60462+
"""
60463+
A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
60464+
"""
60465+
type SuggestedReviewerActor {
60466+
"""
60467+
Is this suggestion based on past commits?
60468+
"""
60469+
isAuthor: Boolean!
60470+
60471+
"""
60472+
Is this suggestion based on past review comments?
60473+
"""
60474+
isCommenter: Boolean!
60475+
60476+
"""
60477+
Identifies the actor suggested to review the pull request.
60478+
"""
60479+
reviewer: Actor!
60480+
}
60481+
60482+
"""
60483+
A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
60484+
"""
60485+
type SuggestedReviewerActorConnection {
60486+
"""
60487+
A list of edges.
60488+
"""
60489+
edges: [SuggestedReviewerActorEdge]
60490+
60491+
"""
60492+
A list of nodes.
60493+
"""
60494+
nodes: [SuggestedReviewerActor]
60495+
60496+
"""
60497+
Information to aid in pagination.
60498+
"""
60499+
pageInfo: PageInfo!
60500+
60501+
"""
60502+
Identifies the total count of items in the connection.
60503+
"""
60504+
totalCount: Int!
60505+
}
60506+
60507+
"""
60508+
An edge in a connection.
60509+
"""
60510+
type SuggestedReviewerActorEdge {
60511+
"""
60512+
A cursor for use in pagination.
60513+
"""
60514+
cursor: String!
60515+
60516+
"""
60517+
The item at the end of the edge.
60518+
"""
60519+
node: SuggestedReviewerActor
60520+
}
60521+
6039360522
"""
6039460523
Represents a Git tag.
6039560524
"""
@@ -65626,9 +65755,13 @@ Autogenerated input type of UpdateIssue
6562665755
"""
6562765756
input UpdateIssueInput {
6562865757
"""
65629-
An array of Node IDs of users for this issue.
65758+
An array of Node IDs of users or bots for this issue.
6563065759
"""
65631-
assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"])
65760+
assigneeIds: [ID!]
65761+
@possibleTypes(
65762+
concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"]
65763+
abstractType: "Actor"
65764+
)
6563265765

6563365766
"""
6563465767
The body for the issue description.

0 commit comments

Comments
 (0)