Skip to content

Commit f9a6958

Browse files
GraphQL schema update (#60948)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent edd75ba commit f9a6958

5 files changed

Lines changed: 129 additions & 4 deletions

File tree

src/graphql/data/fpt/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+
"<p>Type <code>TeamReviewRequestable</code> was added</p>",
8+
"<p>Field <code>id</code> was added to interface <code>TeamReviewRequestable</code></p>",
9+
"<p>Field <code>name</code> was added to interface <code>TeamReviewRequestable</code></p>",
10+
"<p>Field <code>slug</code> was added to interface <code>TeamReviewRequestable</code></p>",
11+
"<p><code>Team</code> object implements <code>TeamReviewRequestable</code> interface</p>"
12+
]
13+
}
14+
],
15+
"previewChanges": [],
16+
"upcomingChanges": [],
17+
"date": "2026-04-24"
18+
},
219
{
320
"schemaChanges": [
421
{

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

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56319,7 +56319,7 @@ input RequestReviewsInput {
5631956319
"""
5632056320
The Node IDs of the team to request.
5632156321
"""
56322-
teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"])
56322+
teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"], abstractType: "TeamReviewRequestable")
5632356323

5632456324
"""
5632556325
Add users to the set rather than replace.
@@ -62571,7 +62571,7 @@ input TagNamePatternParametersInput {
6257162571
"""
6257262572
A team of users in an organization.
6257362573
"""
62574-
type Team implements MemberStatusable & Node & Subscribable {
62574+
type Team implements MemberStatusable & Node & Subscribable & TeamReviewRequestable {
6257562575
"""
6257662576
A list of teams that are ancestors of this team.
6257762577
"""
@@ -64315,6 +64315,26 @@ enum TeamReviewAssignmentAlgorithm {
6431564315
ROUND_ROBIN
6431664316
}
6431764317

64318+
"""
64319+
Represents a team that can be requested to review a pull request.
64320+
"""
64321+
interface TeamReviewRequestable {
64322+
"""
64323+
The Node ID of the TeamReviewRequestable object
64324+
"""
64325+
id: ID!
64326+
64327+
"""
64328+
The name of the team.
64329+
"""
64330+
name: String!
64331+
64332+
"""
64333+
A unique, human-readable identifier for the team.
64334+
"""
64335+
slug: String!
64336+
}
64337+
6431864338
"""
6431964339
The role of a user on a team.
6432064340
"""

src/graphql/data/fpt/schema.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69169,6 +69169,11 @@
6916969169
"name": "Subscribable",
6917069170
"id": "subscribable",
6917169171
"href": "/graphql/reference/interfaces#subscribable"
69172+
},
69173+
{
69174+
"name": "TeamReviewRequestable",
69175+
"id": "teamreviewrequestable",
69176+
"href": "/graphql/reference/interfaces#teamreviewrequestable"
6917269177
}
6917369178
],
6917469179
"fields": [
@@ -80335,6 +80340,35 @@
8033580340
}
8033680341
]
8033780342
},
80343+
{
80344+
"name": "TeamReviewRequestable",
80345+
"id": "teamreviewrequestable",
80346+
"href": "/graphql/reference/interfaces#teamreviewrequestable",
80347+
"description": "<p>Represents a team that can be requested to review a pull request.</p>",
80348+
"fields": [
80349+
{
80350+
"name": "id",
80351+
"description": "<p>The Node ID of the TeamReviewRequestable object.</p>",
80352+
"type": "ID!",
80353+
"id": "id",
80354+
"href": "/graphql/reference/scalars#id"
80355+
},
80356+
{
80357+
"name": "name",
80358+
"description": "<p>The name of the team.</p>",
80359+
"type": "String!",
80360+
"id": "string",
80361+
"href": "/graphql/reference/scalars#string"
80362+
},
80363+
{
80364+
"name": "slug",
80365+
"description": "<p>A unique, human-readable identifier for the team.</p>",
80366+
"type": "String!",
80367+
"id": "string",
80368+
"href": "/graphql/reference/scalars#string"
80369+
}
80370+
]
80371+
},
8033880372
{
8033980373
"name": "TopicAuditEntryData",
8034080374
"id": "topicauditentrydata",

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56319,7 +56319,7 @@ input RequestReviewsInput {
5631956319
"""
5632056320
The Node IDs of the team to request.
5632156321
"""
56322-
teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"])
56322+
teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"], abstractType: "TeamReviewRequestable")
5632356323

5632456324
"""
5632556325
Add users to the set rather than replace.
@@ -62571,7 +62571,7 @@ input TagNamePatternParametersInput {
6257162571
"""
6257262572
A team of users in an organization.
6257362573
"""
62574-
type Team implements MemberStatusable & Node & Subscribable {
62574+
type Team implements MemberStatusable & Node & Subscribable & TeamReviewRequestable {
6257562575
"""
6257662576
A list of teams that are ancestors of this team.
6257762577
"""
@@ -64315,6 +64315,26 @@ enum TeamReviewAssignmentAlgorithm {
6431564315
ROUND_ROBIN
6431664316
}
6431764317

64318+
"""
64319+
Represents a team that can be requested to review a pull request.
64320+
"""
64321+
interface TeamReviewRequestable {
64322+
"""
64323+
The Node ID of the TeamReviewRequestable object
64324+
"""
64325+
id: ID!
64326+
64327+
"""
64328+
The name of the team.
64329+
"""
64330+
name: String!
64331+
64332+
"""
64333+
A unique, human-readable identifier for the team.
64334+
"""
64335+
slug: String!
64336+
}
64337+
6431864338
"""
6431964339
The role of a user on a team.
6432064340
"""

src/graphql/data/ghec/schema.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69169,6 +69169,11 @@
6916969169
"name": "Subscribable",
6917069170
"id": "subscribable",
6917169171
"href": "/graphql/reference/interfaces#subscribable"
69172+
},
69173+
{
69174+
"name": "TeamReviewRequestable",
69175+
"id": "teamreviewrequestable",
69176+
"href": "/graphql/reference/interfaces#teamreviewrequestable"
6917269177
}
6917369178
],
6917469179
"fields": [
@@ -80335,6 +80340,35 @@
8033580340
}
8033680341
]
8033780342
},
80343+
{
80344+
"name": "TeamReviewRequestable",
80345+
"id": "teamreviewrequestable",
80346+
"href": "/graphql/reference/interfaces#teamreviewrequestable",
80347+
"description": "<p>Represents a team that can be requested to review a pull request.</p>",
80348+
"fields": [
80349+
{
80350+
"name": "id",
80351+
"description": "<p>The Node ID of the TeamReviewRequestable object.</p>",
80352+
"type": "ID!",
80353+
"id": "id",
80354+
"href": "/graphql/reference/scalars#id"
80355+
},
80356+
{
80357+
"name": "name",
80358+
"description": "<p>The name of the team.</p>",
80359+
"type": "String!",
80360+
"id": "string",
80361+
"href": "/graphql/reference/scalars#string"
80362+
},
80363+
{
80364+
"name": "slug",
80365+
"description": "<p>A unique, human-readable identifier for the team.</p>",
80366+
"type": "String!",
80367+
"id": "string",
80368+
"href": "/graphql/reference/scalars#string"
80369+
}
80370+
]
80371+
},
8033880372
{
8033980373
"name": "TopicAuditEntryData",
8034080374
"id": "topicauditentrydata",

0 commit comments

Comments
 (0)