Skip to content

Commit 5b6194a

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#56062)
Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
1 parent b23f6bf commit 5b6194a

File tree

5 files changed

+50
-54
lines changed

5 files changed

+50
-54
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>BotOrUser</code> was removed</p>",
8+
"<p>Input field <code>botIds</code> of type '[ID!]<code>was added to input object type</code>RequestReviewsInput'</p>"
9+
]
10+
}
11+
],
12+
"previewChanges": [],
13+
"upcomingChanges": [],
14+
"date": "2025-06-13"
15+
},
216
{
317
"schemaChanges": [
418
{

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,11 +2413,6 @@ type Bot implements Actor & Node & UniformResourceLocatable {
24132413
url: URI!
24142414
}
24152415

2416-
"""
2417-
Used when either Bot or User are accepted.
2418-
"""
2419-
union BotOrUser = Bot | User
2420-
24212416
"""
24222417
Types which can be actors for `BranchActorAllowance` objects.
24232418
"""
@@ -6469,7 +6464,8 @@ input ContributionOrder {
64696464
}
64706465

64716466
"""
6472-
A contributions collection aggregates contributions such as opened issues and commits created by a user.
6467+
A collection of contributions made by a user, including opened issues, commits, and pull requests.
6468+
Contributions in private and internal repositories are only included with the optional read:user scope.
64736469
"""
64746470
type ContributionsCollection {
64756471
"""
@@ -53600,6 +53596,11 @@ type ReprioritizeSubIssuePayload {
5360053596
Autogenerated input type of RequestReviews
5360153597
"""
5360253598
input RequestReviewsInput {
53599+
"""
53600+
The Node IDs of the bot to request.
53601+
"""
53602+
botIds: [ID!] @possibleTypes(concreteTypes: ["Bot"])
53603+
5360353604
"""
5360453605
A unique identifier for the client performing the mutation.
5360553606
"""
@@ -53623,7 +53624,7 @@ input RequestReviewsInput {
5362353624
"""
5362453625
The Node IDs of the user to request.
5362553626
"""
53626-
userIds: [ID!] @possibleTypes(concreteTypes: ["Bot", "User"])
53627+
userIds: [ID!] @possibleTypes(concreteTypes: ["User"])
5362753628
}
5362853629

5362953630
"""

src/graphql/data/fpt/schema.json

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16179,7 +16179,7 @@
1617916179
"kind": "objects",
1618016180
"id": "contributionscollection",
1618116181
"href": "/graphql/reference/objects#contributionscollection",
16182-
"description": "<p>A contributions collection aggregates contributions such as opened issues and commits created by a user.</p>",
16182+
"description": "<p>A collection of contributions made by a user, including opened issues, commits, and pull requests.\nContributions in private and internal repositories are only included with the optional read:user scope.</p>",
1618316183
"fields": [
1618416184
{
1618516185
"name": "commitContributionsByRepository",
@@ -94746,25 +94746,6 @@
9474694746
}
9474794747
]
9474894748
},
94749-
{
94750-
"name": "BotOrUser",
94751-
"kind": "unions",
94752-
"id": "botoruser",
94753-
"href": "/graphql/reference/unions#botoruser",
94754-
"description": "<p>Used when either Bot or User are accepted.</p>",
94755-
"possibleTypes": [
94756-
{
94757-
"name": "Bot",
94758-
"id": "bot",
94759-
"href": "/graphql/reference/objects#bot"
94760-
},
94761-
{
94762-
"name": "User",
94763-
"id": "user",
94764-
"href": "/graphql/reference/objects#user"
94765-
}
94766-
]
94767-
},
9476894749
{
9476994750
"name": "BranchActorAllowanceActor",
9477094751
"kind": "unions",
@@ -106047,6 +106028,15 @@
106047106028
"href": "/graphql/reference/input-objects#requestreviewsinput",
106048106029
"description": "<p>Autogenerated input type of RequestReviews.</p>",
106049106030
"inputFields": [
106031+
{
106032+
"name": "botIds",
106033+
"description": "<p>The Node IDs of the bot to request.</p>",
106034+
"type": "[ID!]",
106035+
"id": "id",
106036+
"kind": "scalars",
106037+
"href": "/graphql/reference/scalars#id",
106038+
"isDeprecated": false
106039+
},
106050106040
{
106051106041
"name": "clientMutationId",
106052106042
"description": "<p>A unique identifier for the client performing the mutation.</p>",

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,11 +2413,6 @@ type Bot implements Actor & Node & UniformResourceLocatable {
24132413
url: URI!
24142414
}
24152415

2416-
"""
2417-
Used when either Bot or User are accepted.
2418-
"""
2419-
union BotOrUser = Bot | User
2420-
24212416
"""
24222417
Types which can be actors for `BranchActorAllowance` objects.
24232418
"""
@@ -6469,7 +6464,8 @@ input ContributionOrder {
64696464
}
64706465

64716466
"""
6472-
A contributions collection aggregates contributions such as opened issues and commits created by a user.
6467+
A collection of contributions made by a user, including opened issues, commits, and pull requests.
6468+
Contributions in private and internal repositories are only included with the optional read:user scope.
64736469
"""
64746470
type ContributionsCollection {
64756471
"""
@@ -53600,6 +53596,11 @@ type ReprioritizeSubIssuePayload {
5360053596
Autogenerated input type of RequestReviews
5360153597
"""
5360253598
input RequestReviewsInput {
53599+
"""
53600+
The Node IDs of the bot to request.
53601+
"""
53602+
botIds: [ID!] @possibleTypes(concreteTypes: ["Bot"])
53603+
5360353604
"""
5360453605
A unique identifier for the client performing the mutation.
5360553606
"""
@@ -53623,7 +53624,7 @@ input RequestReviewsInput {
5362353624
"""
5362453625
The Node IDs of the user to request.
5362553626
"""
53626-
userIds: [ID!] @possibleTypes(concreteTypes: ["Bot", "User"])
53627+
userIds: [ID!] @possibleTypes(concreteTypes: ["User"])
5362753628
}
5362853629

5362953630
"""

src/graphql/data/ghec/schema.json

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16179,7 +16179,7 @@
1617916179
"kind": "objects",
1618016180
"id": "contributionscollection",
1618116181
"href": "/graphql/reference/objects#contributionscollection",
16182-
"description": "<p>A contributions collection aggregates contributions such as opened issues and commits created by a user.</p>",
16182+
"description": "<p>A collection of contributions made by a user, including opened issues, commits, and pull requests.\nContributions in private and internal repositories are only included with the optional read:user scope.</p>",
1618316183
"fields": [
1618416184
{
1618516185
"name": "commitContributionsByRepository",
@@ -94746,25 +94746,6 @@
9474694746
}
9474794747
]
9474894748
},
94749-
{
94750-
"name": "BotOrUser",
94751-
"kind": "unions",
94752-
"id": "botoruser",
94753-
"href": "/graphql/reference/unions#botoruser",
94754-
"description": "<p>Used when either Bot or User are accepted.</p>",
94755-
"possibleTypes": [
94756-
{
94757-
"name": "Bot",
94758-
"id": "bot",
94759-
"href": "/graphql/reference/objects#bot"
94760-
},
94761-
{
94762-
"name": "User",
94763-
"id": "user",
94764-
"href": "/graphql/reference/objects#user"
94765-
}
94766-
]
94767-
},
9476894749
{
9476994750
"name": "BranchActorAllowanceActor",
9477094751
"kind": "unions",
@@ -106047,6 +106028,15 @@
106047106028
"href": "/graphql/reference/input-objects#requestreviewsinput",
106048106029
"description": "<p>Autogenerated input type of RequestReviews.</p>",
106049106030
"inputFields": [
106031+
{
106032+
"name": "botIds",
106033+
"description": "<p>The Node IDs of the bot to request.</p>",
106034+
"type": "[ID!]",
106035+
"id": "id",
106036+
"kind": "scalars",
106037+
"href": "/graphql/reference/scalars#id",
106038+
"isDeprecated": false
106039+
},
106050106040
{
106051106041
"name": "clientMutationId",
106052106042
"description": "<p>A unique identifier for the client performing the mutation.</p>",

0 commit comments

Comments
 (0)