Skip to content

Commit 5d10287

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

File tree

9 files changed

+67
-464
lines changed

9 files changed

+67
-464
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>UpdateEnterpriseTeamDiscussionsSettingInput</code> was removed</p>",
8+
"<p>Type <code>UpdateEnterpriseTeamDiscussionsSettingPayload</code> was removed</p>",
9+
"<p>Field <code>teamDiscussionsSettingOrganizations</code> was removed from object type <code>EnterpriseOwnerInfo</code></p>",
10+
"<p>Field <code>updateEnterpriseTeamDiscussionsSetting</code> was removed from object type <code>Mutation</code></p>"
11+
]
12+
}
13+
],
14+
"previewChanges": [],
15+
"upcomingChanges": [
16+
{
17+
"title": "The following changes will be made to the schema:",
18+
"changes": [
19+
"<p>On member <code>EnterpriseOwnerInfo.teamDiscussionsSetting</code>:<code>teamDiscussionsSetting</code> will be removed. Follow the guide at <a href=\"https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/\">https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/</a> to find a suitable replacement. <strong>Effective 2024-07-01</strong>.</p>"
20+
]
21+
}
22+
],
23+
"date": "2026-01-14"
24+
},
225
{
326
"schemaChanges": [
427
{

src/graphql/data/fpt/graphql_upcoming_changes.public.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,14 @@ upcoming_changes:
402402
date: '2024-04-01T00:00:00+00:00'
403403
criticality: breaking
404404
owner: calvinchilds
405+
- location: EnterpriseOwnerInfo.teamDiscussionsSetting
406+
description:
407+
'`teamDiscussionsSetting` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/
408+
to find a suitable replacement.'
409+
reason: The Team Discussions feature is deprecated in favor of Organization Discussions.
410+
date: '2024-07-01T00:00:00+00:00'
411+
criticality: breaking
412+
owner: deborah-digges
405413
- location: OrganizationInvitation.inviter
406414
description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.'
407415
reason: '`inviter` will be removed.'

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

Lines changed: 3 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -15756,41 +15756,9 @@ type EnterpriseOwnerInfo {
1575615756
The setting value for whether team discussions are enabled for organizations in this enterprise.
1575715757
"""
1575815758
teamDiscussionsSetting: EnterpriseEnabledDisabledSettingValue!
15759-
15760-
"""
15761-
A list of enterprise organizations configured with the provided team discussions setting value.
15762-
"""
15763-
teamDiscussionsSettingOrganizations(
15764-
"""
15765-
Returns the elements in the list that come after the specified cursor.
15766-
"""
15767-
after: String
15768-
15769-
"""
15770-
Returns the elements in the list that come before the specified cursor.
15771-
"""
15772-
before: String
15773-
15774-
"""
15775-
Returns the first _n_ elements from the list.
15776-
"""
15777-
first: Int
15778-
15779-
"""
15780-
Returns the last _n_ elements from the list.
15781-
"""
15782-
last: Int
15783-
15784-
"""
15785-
Ordering options for organizations with this setting.
15786-
"""
15787-
orderBy: OrganizationOrder = {field: LOGIN, direction: ASC}
15788-
15789-
"""
15790-
The setting value to find organizations for.
15791-
"""
15792-
value: Boolean!
15793-
): OrganizationConnection!
15759+
@deprecated(
15760+
reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC."
15761+
)
1579415762

1579515763
"""
1579615764
The setting value for what methods of two-factor authentication the enterprise prevents its users from having.
@@ -26706,16 +26674,6 @@ type Mutation {
2670626674
input: UpdateEnterpriseRepositoryProjectsSettingInput!
2670726675
): UpdateEnterpriseRepositoryProjectsSettingPayload
2670826676

26709-
"""
26710-
Sets whether team discussions are enabled for an enterprise.
26711-
"""
26712-
updateEnterpriseTeamDiscussionsSetting(
26713-
"""
26714-
Parameters for UpdateEnterpriseTeamDiscussionsSetting
26715-
"""
26716-
input: UpdateEnterpriseTeamDiscussionsSettingInput!
26717-
): UpdateEnterpriseTeamDiscussionsSettingPayload
26718-
2671926677
"""
2672026678
Sets the two-factor authentication methods that users of an enterprise may not use.
2672126679
"""
@@ -65029,46 +64987,6 @@ type UpdateEnterpriseRepositoryProjectsSettingPayload {
6502964987
message: String
6503064988
}
6503164989

65032-
"""
65033-
Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting
65034-
"""
65035-
input UpdateEnterpriseTeamDiscussionsSettingInput {
65036-
"""
65037-
A unique identifier for the client performing the mutation.
65038-
"""
65039-
clientMutationId: String
65040-
65041-
"""
65042-
The ID of the enterprise on which to set the team discussions setting.
65043-
"""
65044-
enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"])
65045-
65046-
"""
65047-
The value for the team discussions setting on the enterprise.
65048-
"""
65049-
settingValue: EnterpriseEnabledDisabledSettingValue!
65050-
}
65051-
65052-
"""
65053-
Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting.
65054-
"""
65055-
type UpdateEnterpriseTeamDiscussionsSettingPayload {
65056-
"""
65057-
A unique identifier for the client performing the mutation.
65058-
"""
65059-
clientMutationId: String
65060-
65061-
"""
65062-
The enterprise with the updated team discussions setting.
65063-
"""
65064-
enterprise: Enterprise
65065-
65066-
"""
65067-
A message confirming the result of updating the team discussions setting.
65068-
"""
65069-
message: String
65070-
}
65071-
6507264990
"""
6507364991
Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting
6507464992
"""

src/graphql/data/fpt/schema.json

Lines changed: 3 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -8519,48 +8519,6 @@
85198519
}
85208520
]
85218521
},
8522-
{
8523-
"name": "updateEnterpriseTeamDiscussionsSetting",
8524-
"kind": "mutations",
8525-
"id": "updateenterpriseteamdiscussionssetting",
8526-
"href": "/graphql/reference/mutations#updateenterpriseteamdiscussionssetting",
8527-
"description": "<p>Sets whether team discussions are enabled for an enterprise.</p>",
8528-
"inputFields": [
8529-
{
8530-
"name": "input",
8531-
"type": "UpdateEnterpriseTeamDiscussionsSettingInput!",
8532-
"id": "updateenterpriseteamdiscussionssettinginput",
8533-
"kind": "input-objects",
8534-
"href": "/graphql/reference/input-objects#updateenterpriseteamdiscussionssettinginput"
8535-
}
8536-
],
8537-
"returnFields": [
8538-
{
8539-
"name": "clientMutationId",
8540-
"type": "String",
8541-
"id": "string",
8542-
"kind": "scalars",
8543-
"href": "/graphql/reference/scalars#string",
8544-
"description": "<p>A unique identifier for the client performing the mutation.</p>"
8545-
},
8546-
{
8547-
"name": "enterprise",
8548-
"type": "Enterprise",
8549-
"id": "enterprise",
8550-
"kind": "objects",
8551-
"href": "/graphql/reference/objects#enterprise",
8552-
"description": "<p>The enterprise with the updated team discussions setting.</p>"
8553-
},
8554-
{
8555-
"name": "message",
8556-
"type": "String",
8557-
"id": "string",
8558-
"kind": "scalars",
8559-
"href": "/graphql/reference/scalars#string",
8560-
"description": "<p>A message confirming the result of updating the team discussions setting.</p>"
8561-
}
8562-
]
8563-
},
85648522
{
85658523
"name": "updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting",
85668524
"kind": "mutations",
@@ -25746,77 +25704,9 @@
2574625704
"type": "EnterpriseEnabledDisabledSettingValue!",
2574725705
"id": "enterpriseenableddisabledsettingvalue",
2574825706
"kind": "enums",
25749-
"href": "/graphql/reference/enums#enterpriseenableddisabledsettingvalue"
25750-
},
25751-
{
25752-
"name": "teamDiscussionsSettingOrganizations",
25753-
"description": "<p>A list of enterprise organizations configured with the provided team discussions setting value.</p>",
25754-
"type": "OrganizationConnection!",
25755-
"id": "organizationconnection",
25756-
"kind": "objects",
25757-
"href": "/graphql/reference/objects#organizationconnection",
25758-
"arguments": [
25759-
{
25760-
"name": "after",
25761-
"description": "<p>Returns the elements in the list that come after the specified cursor.</p>",
25762-
"type": {
25763-
"name": "String",
25764-
"id": "string",
25765-
"kind": "scalars",
25766-
"href": "/graphql/reference/scalars#string"
25767-
}
25768-
},
25769-
{
25770-
"name": "before",
25771-
"description": "<p>Returns the elements in the list that come before the specified cursor.</p>",
25772-
"type": {
25773-
"name": "String",
25774-
"id": "string",
25775-
"kind": "scalars",
25776-
"href": "/graphql/reference/scalars#string"
25777-
}
25778-
},
25779-
{
25780-
"name": "first",
25781-
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
25782-
"type": {
25783-
"name": "Int",
25784-
"id": "int",
25785-
"kind": "scalars",
25786-
"href": "/graphql/reference/scalars#int"
25787-
}
25788-
},
25789-
{
25790-
"name": "last",
25791-
"description": "<p>Returns the last <em>n</em> elements from the list.</p>",
25792-
"type": {
25793-
"name": "Int",
25794-
"id": "int",
25795-
"kind": "scalars",
25796-
"href": "/graphql/reference/scalars#int"
25797-
}
25798-
},
25799-
{
25800-
"name": "orderBy",
25801-
"description": "<p>Ordering options for organizations with this setting.</p>",
25802-
"type": {
25803-
"name": "OrganizationOrder",
25804-
"id": "organizationorder",
25805-
"kind": "input-objects",
25806-
"href": "/graphql/reference/input-objects#organizationorder"
25807-
}
25808-
},
25809-
{
25810-
"name": "value",
25811-
"description": "<p>The setting value to find organizations for.</p>",
25812-
"type": {
25813-
"name": "Boolean!",
25814-
"id": "boolean",
25815-
"kind": "scalars",
25816-
"href": "/graphql/reference/scalars#boolean"
25817-
}
25818-
}
25819-
]
25707+
"href": "/graphql/reference/enums#enterpriseenableddisabledsettingvalue",
25708+
"isDeprecated": true,
25709+
"deprecationReason": "<p>The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at <a href=\"https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/\">https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/</a> to find a suitable replacement. Removal on 2024-07-01 UTC.</p>"
2582025710
},
2582125711
{
2582225712
"name": "twoFactorDisallowedMethodsSetting",
@@ -109974,40 +109864,6 @@
109974109864
}
109975109865
]
109976109866
},
109977-
{
109978-
"name": "UpdateEnterpriseTeamDiscussionsSettingInput",
109979-
"kind": "inputObjects",
109980-
"id": "updateenterpriseteamdiscussionssettinginput",
109981-
"href": "/graphql/reference/input-objects#updateenterpriseteamdiscussionssettinginput",
109982-
"description": "<p>Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.</p>",
109983-
"inputFields": [
109984-
{
109985-
"name": "clientMutationId",
109986-
"description": "<p>A unique identifier for the client performing the mutation.</p>",
109987-
"type": "String",
109988-
"id": "string",
109989-
"kind": "scalars",
109990-
"href": "/graphql/reference/scalars#string"
109991-
},
109992-
{
109993-
"name": "enterpriseId",
109994-
"description": "<p>The ID of the enterprise on which to set the team discussions setting.</p>",
109995-
"type": "ID!",
109996-
"id": "id",
109997-
"kind": "scalars",
109998-
"href": "/graphql/reference/scalars#id",
109999-
"isDeprecated": false
110000-
},
110001-
{
110002-
"name": "settingValue",
110003-
"description": "<p>The value for the team discussions setting on the enterprise.</p>",
110004-
"type": "EnterpriseEnabledDisabledSettingValue!",
110005-
"id": "enterpriseenableddisabledsettingvalue",
110006-
"kind": "enums",
110007-
"href": "/graphql/reference/enums#enterpriseenableddisabledsettingvalue"
110008-
}
110009-
]
110010-
},
110011109867
{
110012109868
"name": "UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput",
110013109869
"kind": "inputObjects",

src/graphql/data/fpt/upcoming-changes.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9811,6 +9811,14 @@
98119811
"date": "2024-07-01",
98129812
"criticality": "breaking",
98139813
"owner": "jdennes"
9814+
},
9815+
{
9816+
"location": "EnterpriseOwnerInfo.teamDiscussionsSetting",
9817+
"description": "<p><code>teamDiscussionsSetting</code> will be removed. Follow the guide at <a href=\"https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/\">https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/</a> to find a suitable replacement.</p>",
9818+
"reason": "<p>The Team Discussions feature is deprecated in favor of Organization Discussions.</p>",
9819+
"date": "2024-07-01",
9820+
"criticality": "breaking",
9821+
"owner": "deborah-digges"
98149822
}
98159823
],
98169824
"2024-04-01": [

src/graphql/data/ghec/graphql_upcoming_changes.public.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,14 @@ upcoming_changes:
402402
date: '2024-04-01T00:00:00+00:00'
403403
criticality: breaking
404404
owner: calvinchilds
405+
- location: EnterpriseOwnerInfo.teamDiscussionsSetting
406+
description:
407+
'`teamDiscussionsSetting` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/
408+
to find a suitable replacement.'
409+
reason: The Team Discussions feature is deprecated in favor of Organization Discussions.
410+
date: '2024-07-01T00:00:00+00:00'
411+
criticality: breaking
412+
owner: deborah-digges
405413
- location: OrganizationInvitation.inviter
406414
description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.'
407415
reason: '`inviter` will be removed.'

0 commit comments

Comments
 (0)