diff --git a/content/integrations/concepts/about-building-integrations.md b/content/integrations/concepts/about-building-integrations.md index 65bc440752e4..5546c0c10a6a 100644 --- a/content/integrations/concepts/about-building-integrations.md +++ b/content/integrations/concepts/about-building-integrations.md @@ -9,6 +9,9 @@ versions: ghec: '*' topics: - Integration +category: + - Learn about integrations + - Build integrations --- Integrations are tools that extend {% data variables.product.company_short %}'s functionality. Integrations can do things on {% data variables.product.company_short %} like open issues, comment on pull requests, and manage projects. They can also do things outside of {% data variables.product.company_short %} based on events that happen on {% data variables.product.company_short %}. For example, an integration can post on Slack when an issue is opened on {% data variables.product.company_short %}. diff --git a/content/integrations/concepts/about-integrations.md b/content/integrations/concepts/about-integrations.md index 31c550fe0bd0..7b8f4fce9250 100644 --- a/content/integrations/concepts/about-integrations.md +++ b/content/integrations/concepts/about-integrations.md @@ -11,6 +11,8 @@ versions: ghec: '*' topics: - Integration +category: + - Learn about integrations --- Integrations are tools that extend {% data variables.product.github %} functionality by allowing you to connect your {% data variables.product.github %} account with other applications and services, enabling you to streamline your workflow and enhance collaboration. diff --git a/content/integrations/concepts/featured-github-integrations.md b/content/integrations/concepts/featured-github-integrations.md index 87add9b20197..ebb603220341 100644 --- a/content/integrations/concepts/featured-github-integrations.md +++ b/content/integrations/concepts/featured-github-integrations.md @@ -16,6 +16,8 @@ versions: shortTitle: Featured integrations topics: - Integration +category: + - Learn about integrations --- {% ifversion fpt or ghec %} diff --git a/content/integrations/concepts/github-developer-program.md b/content/integrations/concepts/github-developer-program.md index 14ee412929db..46421562264d 100644 --- a/content/integrations/concepts/github-developer-program.md +++ b/content/integrations/concepts/github-developer-program.md @@ -11,6 +11,9 @@ versions: topics: - API - Integration +category: + - Learn about integrations + - Build integrations --- Building an application that integrates with {% data variables.product.prodname_dotcom %}? Register for our Developer Program! The possibilities are endless, and you enjoy the kudos. [Register now](https://github.com/developer/register). diff --git a/content/integrations/how-tos/slack/customize-notifications.md b/content/integrations/how-tos/slack/customize-notifications.md index e86ea1de07e3..60b3d4e1d041 100644 --- a/content/integrations/how-tos/slack/customize-notifications.md +++ b/content/integrations/how-tos/slack/customize-notifications.md @@ -9,6 +9,8 @@ versions: topics: - Integration contentType: reference +category: + - Use integrations --- You can customize your notifications by subscribing to activity that is relevant to your Slack channel, and unsubscribing from activity that is less helpful to your project. diff --git a/content/integrations/how-tos/slack/integrate-github-with-slack.md b/content/integrations/how-tos/slack/integrate-github-with-slack.md index 132526560173..377c53b51a4f 100644 --- a/content/integrations/how-tos/slack/integrate-github-with-slack.md +++ b/content/integrations/how-tos/slack/integrate-github-with-slack.md @@ -8,7 +8,8 @@ versions: ghec: '*' topics: - Integration - +category: + - Administer integrations --- ## About the {% data variables.product.github %} integration for Slack diff --git a/content/integrations/how-tos/slack/use-github-in-slack.md b/content/integrations/how-tos/slack/use-github-in-slack.md index b5b1011bf1da..3ca6c7b93a81 100644 --- a/content/integrations/how-tos/slack/use-github-in-slack.md +++ b/content/integrations/how-tos/slack/use-github-in-slack.md @@ -8,6 +8,8 @@ versions: ghec: '*' topics: - Integration +category: + - Use integrations --- The {% data variables.product.github %} integration for Slack allows you to connect your {% data variables.product.github %} account to the {% data variables.product.github %} app in Slack. Once connected, you can use slash commands to interact with {% data variables.product.github %}, receive notifications about repository activity, and collaborate with your team directly within Slack. diff --git a/content/integrations/index.md b/content/integrations/index.md index 1181890128c2..16da03f54a5f 100644 --- a/content/integrations/index.md +++ b/content/integrations/index.md @@ -2,12 +2,20 @@ title: GitHub integrations intro: 'Learn how to connect, extend, and customize GitHub with apps and tools.' shortTitle: Integrations -layout: product-landing +layout: discovery-landing +heroImage: /assets/images/banner-images/hero-2 +introLinks: + overview: /integrations/concepts/about-integrations children: - /concepts - /how-tos - /reference - /tutorials +featuredLinks: + startHere: + - /integrations/how-tos/slack/integrate-github-with-slack + - /integrations/how-tos/slack/use-github-in-slack + - /integrations/how-tos/slack/customize-notifications versions: fpt: '*' ghes: '*' @@ -15,4 +23,10 @@ versions: contentType: landing topics: - Integration +includedCategories: + - Learn about integrations + - Administer integrations + - Use integrations + - Build integrations + - Troubleshoot integrations --- diff --git a/content/integrations/reference/slack-permissions.md b/content/integrations/reference/slack-permissions.md index 0dcbe02e36f8..d470f7525c68 100644 --- a/content/integrations/reference/slack-permissions.md +++ b/content/integrations/reference/slack-permissions.md @@ -9,6 +9,8 @@ versions: topics: - Integration contentType: reference +category: + - Learn about integrations --- By granting the {% data variables.product.github %} app access to your Slack workspace, you are providing necessary authorizations to your {% data variables.product.github %} account and your Slack workspace. These permissions enable the app to perform its functions and provide you with a seamless experience when using GitHub in Slack. diff --git a/content/integrations/tutorials/slack/create-issues.md b/content/integrations/tutorials/slack/create-issues.md index 452540f2b984..db0ec0e7e5d6 100644 --- a/content/integrations/tutorials/slack/create-issues.md +++ b/content/integrations/tutorials/slack/create-issues.md @@ -9,6 +9,8 @@ versions: topics: - Integration contentType: reference +category: + - Use integrations --- ## Creating issues with the {% data variables.product.github %} integration in Slack diff --git a/content/integrations/tutorials/slack/manage-issues.md b/content/integrations/tutorials/slack/manage-issues.md index b1b5514d2c76..f58df98ba7dc 100644 --- a/content/integrations/tutorials/slack/manage-issues.md +++ b/content/integrations/tutorials/slack/manage-issues.md @@ -9,6 +9,8 @@ versions: topics: - Integration contentType: reference +category: + - Use integrations --- ## Managing issues in Slack diff --git a/src/audit-logs/data/fpt/organization.json b/src/audit-logs/data/fpt/organization.json index cf93a778096a..cf2608dc3483 100644 --- a/src/audit-logs/data/fpt/organization.json +++ b/src/audit-logs/data/fpt/organization.json @@ -5051,7 +5051,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -15820,7 +15820,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15910,7 +15911,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15971,7 +15973,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghec/enterprise.json b/src/audit-logs/data/ghec/enterprise.json index d82129967eaf..4be5c164ab0b 100644 --- a/src/audit-logs/data/ghec/enterprise.json +++ b/src/audit-logs/data/ghec/enterprise.json @@ -19220,7 +19220,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -19310,7 +19311,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -19371,7 +19373,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghec/organization.json b/src/audit-logs/data/ghec/organization.json index cf93a778096a..cf2608dc3483 100644 --- a/src/audit-logs/data/ghec/organization.json +++ b/src/audit-logs/data/ghec/organization.json @@ -5051,7 +5051,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -15820,7 +15820,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15910,7 +15911,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15971,7 +15973,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.14/organization.json b/src/audit-logs/data/ghes-3.14/organization.json index 862649eb7a29..a704285ce5dc 100644 --- a/src/audit-logs/data/ghes-3.14/organization.json +++ b/src/audit-logs/data/ghes-3.14/organization.json @@ -4279,7 +4279,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", diff --git a/src/audit-logs/data/ghes-3.15/organization.json b/src/audit-logs/data/ghes-3.15/organization.json index 6c791b330c90..8b8f0e2ee99a 100644 --- a/src/audit-logs/data/ghes-3.15/organization.json +++ b/src/audit-logs/data/ghes-3.15/organization.json @@ -4303,7 +4303,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -13964,7 +13964,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14054,7 +14055,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14115,7 +14117,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.16/enterprise.json b/src/audit-logs/data/ghes-3.16/enterprise.json index c0a1d0d06d9c..9c9bbd9c6938 100644 --- a/src/audit-logs/data/ghes-3.16/enterprise.json +++ b/src/audit-logs/data/ghes-3.16/enterprise.json @@ -14136,7 +14136,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14226,7 +14227,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14287,7 +14289,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.16/organization.json b/src/audit-logs/data/ghes-3.16/organization.json index 0b1b246df035..fdc4fd862a39 100644 --- a/src/audit-logs/data/ghes-3.16/organization.json +++ b/src/audit-logs/data/ghes-3.16/organization.json @@ -4410,7 +4410,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -14427,7 +14427,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14517,7 +14518,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14578,7 +14580,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.17/enterprise.json b/src/audit-logs/data/ghes-3.17/enterprise.json index 16783fc70563..2ca4154c2c61 100644 --- a/src/audit-logs/data/ghes-3.17/enterprise.json +++ b/src/audit-logs/data/ghes-3.17/enterprise.json @@ -14583,7 +14583,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14673,7 +14674,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14734,7 +14736,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.17/organization.json b/src/audit-logs/data/ghes-3.17/organization.json index 04b976683e6c..3103dd29d278 100644 --- a/src/audit-logs/data/ghes-3.17/organization.json +++ b/src/audit-logs/data/ghes-3.17/organization.json @@ -4600,7 +4600,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -14842,7 +14842,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14932,7 +14933,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14993,7 +14995,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.18/enterprise.json b/src/audit-logs/data/ghes-3.18/enterprise.json index c3ed5900033f..986a4639c9cb 100644 --- a/src/audit-logs/data/ghes-3.18/enterprise.json +++ b/src/audit-logs/data/ghes-3.18/enterprise.json @@ -14686,7 +14686,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14776,7 +14777,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -14837,7 +14839,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.18/organization.json b/src/audit-logs/data/ghes-3.18/organization.json index 9076055dd2ca..14cd3ddb0c78 100644 --- a/src/audit-logs/data/ghes-3.18/organization.json +++ b/src/audit-logs/data/ghes-3.18/organization.json @@ -4748,7 +4748,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -15141,7 +15141,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15231,7 +15232,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15292,7 +15294,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.19/enterprise.json b/src/audit-logs/data/ghes-3.19/enterprise.json index 8dfe522645bc..5aea603cbf7d 100644 --- a/src/audit-logs/data/ghes-3.19/enterprise.json +++ b/src/audit-logs/data/ghes-3.19/enterprise.json @@ -15413,7 +15413,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15503,7 +15504,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15564,7 +15566,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.19/organization.json b/src/audit-logs/data/ghes-3.19/organization.json index 53fffee5e055..429c0385d30f 100644 --- a/src/audit-logs/data/ghes-3.19/organization.json +++ b/src/audit-logs/data/ghes-3.19/organization.json @@ -4984,7 +4984,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -15753,7 +15753,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15843,7 +15844,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15904,7 +15906,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.20/enterprise.json b/src/audit-logs/data/ghes-3.20/enterprise.json index 9c45ff91a098..e4461b274a4e 100644 --- a/src/audit-logs/data/ghes-3.20/enterprise.json +++ b/src/audit-logs/data/ghes-3.20/enterprise.json @@ -15434,7 +15434,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15524,7 +15525,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15585,7 +15587,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/data/ghes-3.20/organization.json b/src/audit-logs/data/ghes-3.20/organization.json index e0071c75769c..3e83c169dc8f 100644 --- a/src/audit-logs/data/ghes-3.20/organization.json +++ b/src/audit-logs/data/ghes-3.20/organization.json @@ -4939,7 +4939,7 @@ "created_at", "operation_type" ], - "docs_reference_titles": "/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests#enabling-or-disabling-integration-access-requests" + "docs_reference_titles": "Limiting OAuth app and GitHub App access requests and installations" }, { "action": "org.allow_third_party_access_requests_from_outside_collaborators_enabled", @@ -15708,7 +15708,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15798,7 +15799,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { @@ -15859,7 +15861,8 @@ "security_configuration_secret_scanning_delegated_alert_dismissal", "security_configuration_code_scanning_delegated_alert_dismissal", "security_configuration_code_security_sku_enabled", - "security_configuration_secret_protection_sku_enabled" + "security_configuration_secret_protection_sku_enabled", + "security_configuration_dependabot_delegated_alert_dismissal" ] }, { diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index 85ccc566faa2..ff8108353bdc 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -9,5 +9,5 @@ "git": "Note: Git events have special access requirements and retention policies that differ from other audit log events. For GitHub Enterprise Cloud, access Git events via the REST API only with 7-day retention. For GitHub Enterprise Server, Git events must be enabled in audit log configuration and are not included in search results.", "sso_redirect": "Note: Automatically redirecting users to sign in is currently in beta for Enterprise Managed Users and subject to change." }, - "sha": "33686af6588993968ddcb9ef84f55504b6402d0c" + "sha": "2c41fad9df347beaa0fc077fb1dbaffe3d6155ba" } \ No newline at end of file diff --git a/src/events/components/events.ts b/src/events/components/events.ts index 9c37bf255c72..111e3afcf8ad 100644 --- a/src/events/components/events.ts +++ b/src/events/components/events.ts @@ -167,7 +167,9 @@ function flushQueue() { eventQueue = [] try { - navigator.sendBeacon(endpoint, new Blob([eventsBody], { type: 'application/json' })) + if (ANALYTICS_ENABLED) { + navigator.sendBeacon(endpoint, new Blob([eventsBody], { type: 'application/json' })) + } } catch (err) { console.warn(`sendBeacon to '${endpoint}' failed.`, err) } diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 9d17f7427a08..65bfa9c71ca6 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,31 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type CreateTeamDiscussionCommentInput was removed

", + "

Type CreateTeamDiscussionCommentPayload was removed

", + "

Type DeleteTeamDiscussionCommentInput was removed

", + "

Type DeleteTeamDiscussionCommentPayload was removed

", + "

Type TeamDiscussionComment was removed

", + "

Type TeamDiscussionCommentConnection was removed

", + "

Type TeamDiscussionCommentEdge was removed

", + "

Type TeamDiscussionCommentOrder was removed

", + "

Type TeamDiscussionCommentOrderField was removed

", + "

Type UpdateTeamDiscussionCommentInput was removed

", + "

Type UpdateTeamDiscussionCommentPayload was removed

", + "

Field createTeamDiscussionComment was removed from object type Mutation

", + "

Field deleteTeamDiscussionComment was removed from object type Mutation

", + "

Field updateTeamDiscussionComment was removed from object type Mutation

", + "

Field comments (deprecated) was removed from object type TeamDiscussion

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-01-04" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml index b15a5de38cfb..0f59bb0649a9 100644 --- a/src/graphql/data/fpt/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/fpt/graphql_upcoming_changes.public.yml @@ -402,30 +402,6 @@ upcoming_changes: date: '2024-04-01T00:00:00+00:00' criticality: breaking owner: calvinchilds - - location: CreateTeamDiscussionCommentInput.body - description: - '`body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionCommentInput.discussionId - description: - '`discussionId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionCommentPayload.teamDiscussionComment - description: - '`teamDiscussionComment` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: CreateTeamDiscussionInput.body description: '`body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ @@ -512,14 +488,6 @@ upcoming_changes: date: '2024-07-01T00:00:00+00:00' criticality: breaking owner: deborah-digges - - location: TeamDiscussion.comments - description: - '`comments` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: TeamDiscussion.commentsResourcePath description: '`commentsResourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ @@ -600,54 +568,6 @@ upcoming_changes: date: '2024-07-01T00:00:00+00:00' criticality: breaking owner: deborah-digges - - location: TeamDiscussionComment.authorAssociation - description: - '`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.bodyVersion - description: - '`bodyVersion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.discussion - description: - '`discussion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.number - description: - '`number` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.resourcePath - description: - '`resourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.url - description: - '`url` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: Workflow.hasWorkflowDispatchTrigger description: '`hasWorkflowDispatchTrigger` will be removed. Use `has_workflow_dispatch_trigger_for_branch(branch_ref)` diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 65dd7e8a9ddd..431070437bba 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1127,7 +1127,6 @@ input AddReactionInput { "PullRequestReviewComment" "Release" "TeamDiscussion" - "TeamDiscussionComment" ] abstractType: "Reactable" ) @@ -9213,56 +9212,6 @@ type CreateSponsorshipsPayload { sponsorables: [Sponsorable!] } -""" -Autogenerated input type of CreateTeamDiscussionComment -""" -input CreateTeamDiscussionCommentInput { - """ - The content of the comment. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `body` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - body: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the discussion to which the comment belongs. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `discussionId` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - discussionId: ID @possibleTypes(concreteTypes: ["TeamDiscussion"]) -} - -""" -Autogenerated return type of CreateTeamDiscussionComment. -""" -type CreateTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The new comment. - """ - teamDiscussionComment: TeamDiscussionComment - @deprecated( - 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." - ) -} - """ Autogenerated input type of CreateTeamDiscussion """ @@ -10771,31 +10720,6 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } -""" -Autogenerated input type of DeleteTeamDiscussionComment -""" -input DeleteTeamDiscussionCommentInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the comment to delete. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussionComment"]) -} - -""" -Autogenerated return type of DeleteTeamDiscussionComment. -""" -type DeleteTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - """ Autogenerated input type of DeleteTeamDiscussion """ @@ -25527,16 +25451,6 @@ type Mutation { input: CreateTeamDiscussionInput! ): CreateTeamDiscussionPayload - """ - Creates a new team discussion comment. - """ - createTeamDiscussionComment( - """ - Parameters for CreateTeamDiscussionComment - """ - input: CreateTeamDiscussionCommentInput! - ): CreateTeamDiscussionCommentPayload - """ Creates a new user list. """ @@ -25826,16 +25740,6 @@ type Mutation { input: DeleteTeamDiscussionInput! ): DeleteTeamDiscussionPayload - """ - Deletes a team discussion comment. - """ - deleteTeamDiscussionComment( - """ - Parameters for DeleteTeamDiscussionComment - """ - input: DeleteTeamDiscussionCommentInput! - ): DeleteTeamDiscussionCommentPayload - """ Deletes a user list. """ @@ -27342,16 +27246,6 @@ type Mutation { input: UpdateTeamDiscussionInput! ): UpdateTeamDiscussionPayload - """ - Updates a discussion comment. - """ - updateTeamDiscussionComment( - """ - Parameters for UpdateTeamDiscussionComment - """ - input: UpdateTeamDiscussionCommentInput! - ): UpdateTeamDiscussionCommentPayload - """ Updates team review assignment. """ @@ -46450,7 +46344,6 @@ input RemoveReactionInput { "PullRequestReviewComment" "Release" "TeamDiscussion" - "TeamDiscussionComment" ] abstractType: "Reactable" ) @@ -62329,44 +62222,6 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib 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." ) - """ - A list of comments on this discussion. - """ - comments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - When provided, filters the connection such that results begin with the comment with this number. - """ - fromComment: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Order for connection - """ - orderBy: TeamDiscussionCommentOrder - ): TeamDiscussionCommentConnection! - @deprecated( - 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." - ) - """ The HTTP path for discussion comments """ @@ -62593,279 +62448,6 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib viewerSubscription: SubscriptionState } -""" -A comment on a team discussion. -""" -type TeamDiscussionComment implements Comment & Deletable & Node & Reactable & UniformResourceLocatable & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor - - """ - Author's association with the comment's team. - """ - authorAssociation: CommentAuthorAssociation! - @deprecated( - 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." - ) - - """ - The body as Markdown. - """ - body: String! - - """ - The body rendered to HTML. - """ - bodyHTML: HTML! - - """ - The body rendered to text. - """ - bodyText: String! - - """ - The current version of the body content. - """ - bodyVersion: String! - @deprecated( - 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." - ) - - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - - """ - Check if this comment was created via an email reply. - """ - createdViaEmail: Boolean! - - """ - Identifies the primary key from the database. - """ - databaseId: Int - - """ - The discussion this comment is about. - """ - discussion: TeamDiscussion! - @deprecated( - 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." - ) - - """ - The actor who edited the comment. - """ - editor: Actor - - """ - The Node ID of the TeamDiscussionComment object - """ - id: ID! - - """ - Check if this comment was edited and includes an edit with the creation data - """ - includesCreatedEdit: Boolean! - - """ - The moment the editor made the last edit - """ - lastEditedAt: DateTime - - """ - Identifies the comment number. - """ - number: Int! - @deprecated( - 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." - ) - - """ - Identifies when the comment was published at. - """ - publishedAt: DateTime - - """ - A list of reactions grouped by content left on the subject. - """ - reactionGroups: [ReactionGroup!] - - """ - A list of Reactions left on the Issue. - """ - reactions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! - - """ - The HTTP path for this comment - """ - resourcePath: URI! - @deprecated( - 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." - ) - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! - - """ - The HTTP URL for this comment - """ - url: URI! - @deprecated( - 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." - ) - - """ - A list of edits to this content. - """ - userContentEdits( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Can user react to this subject - """ - viewerCanReact: Boolean! - - """ - Check if the current viewer can update this object. - """ - viewerCanUpdate: Boolean! - - """ - Reasons why the current viewer can not update this comment. - """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - - """ - Did the viewer author this comment. - """ - viewerDidAuthor: Boolean! -} - -""" -The connection type for TeamDiscussionComment. -""" -type TeamDiscussionCommentConnection { - """ - A list of edges. - """ - edges: [TeamDiscussionCommentEdge] - - """ - A list of nodes. - """ - nodes: [TeamDiscussionComment] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type TeamDiscussionCommentEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: TeamDiscussionComment -} - -""" -Ways in which team discussion comment connections can be ordered. -""" -input TeamDiscussionCommentOrder { - """ - The direction in which to order nodes. - """ - direction: OrderDirection! - - """ - The field by which to order nodes. - """ - field: TeamDiscussionCommentOrderField! -} - -""" -Properties by which team discussion comment connections can be ordered. -""" -enum TeamDiscussionCommentOrderField { - """ - Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). - """ - NUMBER -} - """ The connection type for TeamDiscussion. """ @@ -67746,46 +67328,6 @@ type UpdateSubscriptionPayload { subscribable: Subscribable } -""" -Autogenerated input type of UpdateTeamDiscussionComment -""" -input UpdateTeamDiscussionCommentInput { - """ - The updated text of the comment. - """ - body: String! - - """ - The current version of the body content. - """ - bodyVersion: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the comment to modify. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussionComment"]) -} - -""" -Autogenerated return type of UpdateTeamDiscussionComment. -""" -type UpdateTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The updated comment. - """ - teamDiscussionComment: TeamDiscussionComment -} - """ Autogenerated input type of UpdateTeamDiscussion """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 2473f2dce94f..2df3f25336bf 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -3701,42 +3701,6 @@ } ] }, - { - "name": "createTeamDiscussionComment", - "kind": "mutations", - "id": "createteamdiscussioncomment", - "href": "/graphql/reference/mutations#createteamdiscussioncomment", - "description": "

Creates a new team discussion comment.

", - "inputFields": [ - { - "name": "input", - "type": "CreateTeamDiscussionCommentInput!", - "id": "createteamdiscussioncommentinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#createteamdiscussioncommentinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A unique identifier for the client performing the mutation.

" - }, - { - "name": "teamDiscussionComment", - "type": "TeamDiscussionComment", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment", - "description": "

The new comment.

", - "isDeprecated": true, - "deprecationReason": "

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.

" - } - ] - }, { "name": "createUserList", "kind": "mutations", @@ -4681,32 +4645,6 @@ } ] }, - { - "name": "deleteTeamDiscussionComment", - "kind": "mutations", - "id": "deleteteamdiscussioncomment", - "href": "/graphql/reference/mutations#deleteteamdiscussioncomment", - "description": "

Deletes a team discussion comment.

", - "inputFields": [ - { - "name": "input", - "type": "DeleteTeamDiscussionCommentInput!", - "id": "deleteteamdiscussioncommentinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#deleteteamdiscussioncommentinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A unique identifier for the client performing the mutation.

" - } - ] - }, { "name": "deleteUserList", "kind": "mutations", @@ -10031,40 +9969,6 @@ } ] }, - { - "name": "updateTeamDiscussionComment", - "kind": "mutations", - "id": "updateteamdiscussioncomment", - "href": "/graphql/reference/mutations#updateteamdiscussioncomment", - "description": "

Updates a discussion comment.

", - "inputFields": [ - { - "name": "input", - "type": "UpdateTeamDiscussionCommentInput!", - "id": "updateteamdiscussioncommentinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#updateteamdiscussioncommentinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A unique identifier for the client performing the mutation.

" - }, - { - "name": "teamDiscussionComment", - "type": "TeamDiscussionComment", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment", - "description": "

The updated comment.

" - } - ] - }, { "name": "updateTeamReviewAssignment", "kind": "mutations", @@ -77889,533 +77793,7 @@ }, { "name": "bodyVersion", - "description": "

Identifies the discussion body hash.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "comments", - "description": "

A list of comments on this discussion.

", - "type": "TeamDiscussionCommentConnection!", - "id": "teamdiscussioncommentconnection", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncommentconnection", - "arguments": [ - { - "name": "after", - "description": "

Returns the elements in the list that come after the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "

Returns the elements in the list that come before the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "

Returns the first n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "fromComment", - "description": "

When provided, filters the connection such that results begin with the comment with this number.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "

Returns the last n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "orderBy", - "description": "

Order for connection.

", - "type": { - "name": "TeamDiscussionCommentOrder", - "id": "teamdiscussioncommentorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#teamdiscussioncommentorder" - } - } - ], - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "commentsResourcePath", - "description": "

The HTTP path for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "commentsUrl", - "description": "

The HTTP URL for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "createdAt", - "description": "

Identifies the date and time when the object was created.

", - "type": "DateTime!", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "createdViaEmail", - "description": "

Check if this comment was created via an email reply.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "databaseId", - "description": "

Identifies the primary key from the database.

", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - }, - { - "name": "editor", - "description": "

The actor who edited the comment.

", - "type": "Actor", - "id": "actor", - "kind": "interfaces", - "href": "/graphql/reference/interfaces#actor" - }, - { - "name": "id", - "description": "

The Node ID of the TeamDiscussion object.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id" - }, - { - "name": "includesCreatedEdit", - "description": "

Check if this comment was edited and includes an edit with the creation data.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "isPinned", - "description": "

Whether or not the discussion is pinned.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "isPrivate", - "description": "

Whether or not the discussion is only visible to team members and organization owners.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "lastEditedAt", - "description": "

The moment the editor made the last edit.

", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "number", - "description": "

Identifies the discussion within its team.

", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "publishedAt", - "description": "

Identifies when the comment was published at.

", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "reactionGroups", - "description": "

A list of reactions grouped by content left on the subject.

", - "type": "[ReactionGroup!]", - "id": "reactiongroup", - "kind": "objects", - "href": "/graphql/reference/objects#reactiongroup" - }, - { - "name": "reactions", - "description": "

A list of Reactions left on the Issue.

", - "type": "ReactionConnection!", - "id": "reactionconnection", - "kind": "objects", - "href": "/graphql/reference/objects#reactionconnection", - "arguments": [ - { - "name": "after", - "description": "

Returns the elements in the list that come after the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "

Returns the elements in the list that come before the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "content", - "description": "

Allows filtering Reactions by emoji.

", - "type": { - "name": "ReactionContent", - "id": "reactioncontent", - "kind": "enums", - "href": "/graphql/reference/enums#reactioncontent" - } - }, - { - "name": "first", - "description": "

Returns the first n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "

Returns the last n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "orderBy", - "description": "

Allows specifying the order in which reactions are returned.

", - "type": { - "name": "ReactionOrder", - "id": "reactionorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#reactionorder" - } - } - ] - }, - { - "name": "resourcePath", - "description": "

The HTTP path for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "team", - "description": "

The team that defines the context of this discussion.

", - "type": "Team!", - "id": "team", - "kind": "objects", - "href": "/graphql/reference/objects#team", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "title", - "description": "

The title of the discussion.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "updatedAt", - "description": "

Identifies the date and time when the object was last updated.

", - "type": "DateTime!", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "url", - "description": "

The HTTP URL for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "userContentEdits", - "description": "

A list of edits to this content.

", - "type": "UserContentEditConnection", - "id": "usercontenteditconnection", - "kind": "objects", - "href": "/graphql/reference/objects#usercontenteditconnection", - "arguments": [ - { - "name": "after", - "description": "

Returns the elements in the list that come after the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "

Returns the elements in the list that come before the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "

Returns the first n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "

Returns the last n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - } - ] - }, - { - "name": "viewerCanDelete", - "description": "

Check if the current viewer can delete this object.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCanPin", - "description": "

Whether or not the current viewer can pin this discussion.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "viewerCanReact", - "description": "

Can user react to this subject.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCanSubscribe", - "description": "

Check if the viewer is able to change their subscription status for the repository.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCanUpdate", - "description": "

Check if the current viewer can update this object.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCannotUpdateReasons", - "description": "

Reasons why the current viewer can not update this comment.

", - "type": "[CommentCannotUpdateReason!]!", - "id": "commentcannotupdatereason", - "kind": "enums", - "href": "/graphql/reference/enums#commentcannotupdatereason" - }, - { - "name": "viewerDidAuthor", - "description": "

Did the viewer author this comment.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerSubscription", - "description": "

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

", - "type": "SubscriptionState", - "id": "subscriptionstate", - "kind": "enums", - "href": "/graphql/reference/enums#subscriptionstate" - } - ] - }, - { - "name": "TeamDiscussionComment", - "kind": "objects", - "id": "teamdiscussioncomment", - "href": "/graphql/reference/objects#teamdiscussioncomment", - "description": "

A comment on a team discussion.

", - "implements": [ - { - "name": "Comment", - "id": "comment", - "href": "/graphql/reference/interfaces#comment" - }, - { - "name": "Deletable", - "id": "deletable", - "href": "/graphql/reference/interfaces#deletable" - }, - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/interfaces#node" - }, - { - "name": "Reactable", - "id": "reactable", - "href": "/graphql/reference/interfaces#reactable" - }, - { - "name": "UniformResourceLocatable", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable" - }, - { - "name": "Updatable", - "id": "updatable", - "href": "/graphql/reference/interfaces#updatable" - }, - { - "name": "UpdatableComment", - "id": "updatablecomment", - "href": "/graphql/reference/interfaces#updatablecomment" - } - ], - "fields": [ - { - "name": "author", - "description": "

The actor who authored the comment.

", - "type": "Actor", - "id": "actor", - "kind": "interfaces", - "href": "/graphql/reference/interfaces#actor" - }, - { - "name": "authorAssociation", - "description": "

Author's association with the comment's team.

", - "type": "CommentAuthorAssociation!", - "id": "commentauthorassociation", - "kind": "enums", - "href": "/graphql/reference/enums#commentauthorassociation", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "body", - "description": "

The body as Markdown.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "bodyHTML", - "description": "

The body rendered to HTML.

", - "type": "HTML!", - "id": "html", - "kind": "scalars", - "href": "/graphql/reference/scalars#html" - }, - { - "name": "bodyText", - "description": "

The body rendered to text.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "bodyVersion", - "description": "

The current version of the body content.

", + "description": "

Identifies the discussion body hash.

", "type": "String!", "id": "string", "kind": "scalars", @@ -78423,6 +77801,26 @@ "isDeprecated": true, "deprecationReason": "

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.

" }, + { + "name": "commentsResourcePath", + "description": "

The HTTP path for discussion comments.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, + { + "name": "commentsUrl", + "description": "

The HTTP URL for discussion comments.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", @@ -78447,16 +77845,6 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, - { - "name": "discussion", - "description": "

The discussion this comment is about.

", - "type": "TeamDiscussion!", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, { "name": "editor", "description": "

The actor who edited the comment.

", @@ -78467,7 +77855,7 @@ }, { "name": "id", - "description": "

The Node ID of the TeamDiscussionComment object.

", + "description": "

The Node ID of the TeamDiscussion object.

", "type": "ID!", "id": "id", "kind": "scalars", @@ -78481,6 +77869,26 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "isPinned", + "description": "

Whether or not the discussion is pinned.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, + { + "name": "isPrivate", + "description": "

Whether or not the discussion is only visible to team members and organization owners.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "lastEditedAt", "description": "

The moment the editor made the last edit.

", @@ -78491,7 +77899,7 @@ }, { "name": "number", - "description": "

Identifies the comment number.

", + "description": "

Identifies the discussion within its team.

", "type": "Int!", "id": "int", "kind": "scalars", @@ -78587,7 +77995,7 @@ }, { "name": "resourcePath", - "description": "

The HTTP path for this comment.

", + "description": "

The HTTP path for this discussion.

", "type": "URI!", "id": "uri", "kind": "scalars", @@ -78595,6 +78003,26 @@ "isDeprecated": true, "deprecationReason": "

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.

" }, + { + "name": "team", + "description": "

The team that defines the context of this discussion.

", + "type": "Team!", + "id": "team", + "kind": "objects", + "href": "/graphql/reference/objects#team", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, + { + "name": "title", + "description": "

The title of the discussion.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "updatedAt", "description": "

Identifies the date and time when the object was last updated.

", @@ -78605,7 +78033,7 @@ }, { "name": "url", - "description": "

The HTTP URL for this comment.

", + "description": "

The HTTP URL for this discussion.

", "type": "URI!", "id": "uri", "kind": "scalars", @@ -78671,6 +78099,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanPin", + "description": "

Whether or not the current viewer can pin this discussion.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "viewerCanReact", "description": "

Can user react to this subject.

", @@ -78679,6 +78117,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanSubscribe", + "description": "

Check if the viewer is able to change their subscription status for the repository.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "viewerCanUpdate", "description": "

Check if the current viewer can update this object.

", @@ -78702,72 +78148,14 @@ "id": "boolean", "kind": "scalars", "href": "/graphql/reference/scalars#boolean" - } - ] - }, - { - "name": "TeamDiscussionCommentConnection", - "kind": "objects", - "id": "teamdiscussioncommentconnection", - "href": "/graphql/reference/objects#teamdiscussioncommentconnection", - "description": "

The connection type for TeamDiscussionComment.

", - "fields": [ - { - "name": "edges", - "description": "

A list of edges.

", - "type": "[TeamDiscussionCommentEdge]", - "id": "teamdiscussioncommentedge", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncommentedge" - }, - { - "name": "nodes", - "description": "

A list of nodes.

", - "type": "[TeamDiscussionComment]", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment" - }, - { - "name": "pageInfo", - "description": "

Information to aid in pagination.

", - "type": "PageInfo!", - "id": "pageinfo", - "kind": "objects", - "href": "/graphql/reference/objects#pageinfo" }, { - "name": "totalCount", - "description": "

Identifies the total count of items in the connection.

", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, - { - "name": "TeamDiscussionCommentEdge", - "kind": "objects", - "id": "teamdiscussioncommentedge", - "href": "/graphql/reference/objects#teamdiscussioncommentedge", - "description": "

An edge in a connection.

", - "fields": [ - { - "name": "cursor", - "description": "

A cursor for use in pagination.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "node", - "description": "

The item at the end of the edge.

", - "type": "TeamDiscussionComment", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment" + "name": "viewerSubscription", + "description": "

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

", + "type": "SubscriptionState", + "id": "subscriptionstate", + "kind": "enums", + "href": "/graphql/reference/enums#subscriptionstate" } ] }, @@ -96213,19 +95601,6 @@ } ] }, - { - "name": "TeamDiscussionCommentOrderField", - "kind": "enums", - "id": "teamdiscussioncommentorderfield", - "href": "/graphql/reference/enums#teamdiscussioncommentorderfield", - "description": "

Properties by which team discussion comment connections can be ordered.

", - "values": [ - { - "name": "NUMBER", - "description": "

Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering).

" - } - ] - }, { "name": "TeamDiscussionOrderField", "kind": "enums", @@ -103498,40 +102873,6 @@ } ] }, - { - "name": "CreateTeamDiscussionCommentInput", - "kind": "inputObjects", - "id": "createteamdiscussioncommentinput", - "href": "/graphql/reference/input-objects#createteamdiscussioncommentinput", - "description": "

Autogenerated input type of CreateTeamDiscussionComment.

", - "inputFields": [ - { - "name": "body", - "description": "

The content of the comment. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: body will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "clientMutationId", - "description": "

A unique identifier for the client performing the mutation.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "discussionId", - "description": "

The ID of the discussion to which the comment belongs. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: discussionId will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "CreateTeamDiscussionInput", "kind": "inputObjects", @@ -104349,32 +103690,6 @@ } ] }, - { - "name": "DeleteTeamDiscussionCommentInput", - "kind": "inputObjects", - "id": "deleteteamdiscussioncommentinput", - "href": "/graphql/reference/input-objects#deleteteamdiscussioncommentinput", - "description": "

Autogenerated input type of DeleteTeamDiscussionComment.

", - "inputFields": [ - { - "name": "clientMutationId", - "description": "

A unique identifier for the client performing the mutation.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "id", - "description": "

The ID of the comment to delete.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "DeleteTeamDiscussionInput", "kind": "inputObjects", @@ -109778,31 +109093,6 @@ } ] }, - { - "name": "TeamDiscussionCommentOrder", - "kind": "inputObjects", - "id": "teamdiscussioncommentorder", - "href": "/graphql/reference/input-objects#teamdiscussioncommentorder", - "description": "

Ways in which team discussion comment connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "kind": "enums", - "href": "/graphql/reference/enums#orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionCommentOrderField!", - "id": "teamdiscussioncommentorderfield", - "kind": "enums", - "href": "/graphql/reference/enums#teamdiscussioncommentorderfield" - } - ] - }, { "name": "TeamDiscussionOrder", "kind": "inputObjects", @@ -113373,48 +112663,6 @@ } ] }, - { - "name": "UpdateTeamDiscussionCommentInput", - "kind": "inputObjects", - "id": "updateteamdiscussioncommentinput", - "href": "/graphql/reference/input-objects#updateteamdiscussioncommentinput", - "description": "

Autogenerated input type of UpdateTeamDiscussionComment.

", - "inputFields": [ - { - "name": "body", - "description": "

The updated text of the comment.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "bodyVersion", - "description": "

The current version of the body content.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "clientMutationId", - "description": "

A unique identifier for the client performing the mutation.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "id", - "description": "

The ID of the comment to modify.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "UpdateTeamDiscussionInput", "kind": "inputObjects", diff --git a/src/graphql/data/fpt/upcoming-changes.json b/src/graphql/data/fpt/upcoming-changes.json index a14f4cc04e11..b502f6798ad3 100644 --- a/src/graphql/data/fpt/upcoming-changes.json +++ b/src/graphql/data/fpt/upcoming-changes.json @@ -9780,54 +9780,6 @@ } ], "2024-07-01": [ - { - "location": "TeamDiscussionComment.url", - "description": "

url will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.resourcePath", - "description": "

resourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.number", - "description": "

number will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.discussion", - "description": "

discussion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.bodyVersion", - "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.authorAssociation", - "description": "

authorAssociation will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, { "location": "TeamDiscussion.viewerCanPin", "description": "

viewerCanPin will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", @@ -9908,14 +9860,6 @@ "criticality": "breaking", "owner": "deborah-digges" }, - { - "location": "TeamDiscussion.comments", - "description": "

comments will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, { "location": "TeamDiscussion.bodyVersion", "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", @@ -10003,30 +9947,6 @@ "date": "2024-07-01", "criticality": "breaking", "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionCommentPayload.teamDiscussionComment", - "description": "

teamDiscussionComment will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionCommentInput.discussionId", - "description": "

discussionId will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionCommentInput.body", - "description": "

body will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" } ], "2024-04-01": [ diff --git a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml index b15a5de38cfb..0f59bb0649a9 100644 --- a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml @@ -402,30 +402,6 @@ upcoming_changes: date: '2024-04-01T00:00:00+00:00' criticality: breaking owner: calvinchilds - - location: CreateTeamDiscussionCommentInput.body - description: - '`body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionCommentInput.discussionId - description: - '`discussionId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: CreateTeamDiscussionCommentPayload.teamDiscussionComment - description: - '`teamDiscussionComment` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: CreateTeamDiscussionInput.body description: '`body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ @@ -512,14 +488,6 @@ upcoming_changes: date: '2024-07-01T00:00:00+00:00' criticality: breaking owner: deborah-digges - - location: TeamDiscussion.comments - description: - '`comments` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: TeamDiscussion.commentsResourcePath description: '`commentsResourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ @@ -600,54 +568,6 @@ upcoming_changes: date: '2024-07-01T00:00:00+00:00' criticality: breaking owner: deborah-digges - - location: TeamDiscussionComment.authorAssociation - description: - '`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.bodyVersion - description: - '`bodyVersion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.discussion - description: - '`discussion` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.number - description: - '`number` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.resourcePath - description: - '`resourcePath` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - - location: TeamDiscussionComment.url - description: - '`url` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ - to find a suitable replacement.' - reason: The Team Discussions feature is deprecated in favor of Organization Discussions. - date: '2024-07-01T00:00:00+00:00' - criticality: breaking - owner: deborah-digges - location: Workflow.hasWorkflowDispatchTrigger description: '`hasWorkflowDispatchTrigger` will be removed. Use `has_workflow_dispatch_trigger_for_branch(branch_ref)` diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 65dd7e8a9ddd..431070437bba 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1127,7 +1127,6 @@ input AddReactionInput { "PullRequestReviewComment" "Release" "TeamDiscussion" - "TeamDiscussionComment" ] abstractType: "Reactable" ) @@ -9213,56 +9212,6 @@ type CreateSponsorshipsPayload { sponsorables: [Sponsorable!] } -""" -Autogenerated input type of CreateTeamDiscussionComment -""" -input CreateTeamDiscussionCommentInput { - """ - The content of the comment. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `body` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - body: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the discussion to which the comment belongs. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `discussionId` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - discussionId: ID @possibleTypes(concreteTypes: ["TeamDiscussion"]) -} - -""" -Autogenerated return type of CreateTeamDiscussionComment. -""" -type CreateTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The new comment. - """ - teamDiscussionComment: TeamDiscussionComment - @deprecated( - 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." - ) -} - """ Autogenerated input type of CreateTeamDiscussion """ @@ -10771,31 +10720,6 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } -""" -Autogenerated input type of DeleteTeamDiscussionComment -""" -input DeleteTeamDiscussionCommentInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the comment to delete. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussionComment"]) -} - -""" -Autogenerated return type of DeleteTeamDiscussionComment. -""" -type DeleteTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - """ Autogenerated input type of DeleteTeamDiscussion """ @@ -25527,16 +25451,6 @@ type Mutation { input: CreateTeamDiscussionInput! ): CreateTeamDiscussionPayload - """ - Creates a new team discussion comment. - """ - createTeamDiscussionComment( - """ - Parameters for CreateTeamDiscussionComment - """ - input: CreateTeamDiscussionCommentInput! - ): CreateTeamDiscussionCommentPayload - """ Creates a new user list. """ @@ -25826,16 +25740,6 @@ type Mutation { input: DeleteTeamDiscussionInput! ): DeleteTeamDiscussionPayload - """ - Deletes a team discussion comment. - """ - deleteTeamDiscussionComment( - """ - Parameters for DeleteTeamDiscussionComment - """ - input: DeleteTeamDiscussionCommentInput! - ): DeleteTeamDiscussionCommentPayload - """ Deletes a user list. """ @@ -27342,16 +27246,6 @@ type Mutation { input: UpdateTeamDiscussionInput! ): UpdateTeamDiscussionPayload - """ - Updates a discussion comment. - """ - updateTeamDiscussionComment( - """ - Parameters for UpdateTeamDiscussionComment - """ - input: UpdateTeamDiscussionCommentInput! - ): UpdateTeamDiscussionCommentPayload - """ Updates team review assignment. """ @@ -46450,7 +46344,6 @@ input RemoveReactionInput { "PullRequestReviewComment" "Release" "TeamDiscussion" - "TeamDiscussionComment" ] abstractType: "Reactable" ) @@ -62329,44 +62222,6 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib 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." ) - """ - A list of comments on this discussion. - """ - comments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - When provided, filters the connection such that results begin with the comment with this number. - """ - fromComment: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Order for connection - """ - orderBy: TeamDiscussionCommentOrder - ): TeamDiscussionCommentConnection! - @deprecated( - 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." - ) - """ The HTTP path for discussion comments """ @@ -62593,279 +62448,6 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib viewerSubscription: SubscriptionState } -""" -A comment on a team discussion. -""" -type TeamDiscussionComment implements Comment & Deletable & Node & Reactable & UniformResourceLocatable & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor - - """ - Author's association with the comment's team. - """ - authorAssociation: CommentAuthorAssociation! - @deprecated( - 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." - ) - - """ - The body as Markdown. - """ - body: String! - - """ - The body rendered to HTML. - """ - bodyHTML: HTML! - - """ - The body rendered to text. - """ - bodyText: String! - - """ - The current version of the body content. - """ - bodyVersion: String! - @deprecated( - 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." - ) - - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - - """ - Check if this comment was created via an email reply. - """ - createdViaEmail: Boolean! - - """ - Identifies the primary key from the database. - """ - databaseId: Int - - """ - The discussion this comment is about. - """ - discussion: TeamDiscussion! - @deprecated( - 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." - ) - - """ - The actor who edited the comment. - """ - editor: Actor - - """ - The Node ID of the TeamDiscussionComment object - """ - id: ID! - - """ - Check if this comment was edited and includes an edit with the creation data - """ - includesCreatedEdit: Boolean! - - """ - The moment the editor made the last edit - """ - lastEditedAt: DateTime - - """ - Identifies the comment number. - """ - number: Int! - @deprecated( - 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." - ) - - """ - Identifies when the comment was published at. - """ - publishedAt: DateTime - - """ - A list of reactions grouped by content left on the subject. - """ - reactionGroups: [ReactionGroup!] - - """ - A list of Reactions left on the Issue. - """ - reactions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! - - """ - The HTTP path for this comment - """ - resourcePath: URI! - @deprecated( - 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." - ) - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! - - """ - The HTTP URL for this comment - """ - url: URI! - @deprecated( - 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." - ) - - """ - A list of edits to this content. - """ - userContentEdits( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Can user react to this subject - """ - viewerCanReact: Boolean! - - """ - Check if the current viewer can update this object. - """ - viewerCanUpdate: Boolean! - - """ - Reasons why the current viewer can not update this comment. - """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - - """ - Did the viewer author this comment. - """ - viewerDidAuthor: Boolean! -} - -""" -The connection type for TeamDiscussionComment. -""" -type TeamDiscussionCommentConnection { - """ - A list of edges. - """ - edges: [TeamDiscussionCommentEdge] - - """ - A list of nodes. - """ - nodes: [TeamDiscussionComment] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type TeamDiscussionCommentEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: TeamDiscussionComment -} - -""" -Ways in which team discussion comment connections can be ordered. -""" -input TeamDiscussionCommentOrder { - """ - The direction in which to order nodes. - """ - direction: OrderDirection! - - """ - The field by which to order nodes. - """ - field: TeamDiscussionCommentOrderField! -} - -""" -Properties by which team discussion comment connections can be ordered. -""" -enum TeamDiscussionCommentOrderField { - """ - Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). - """ - NUMBER -} - """ The connection type for TeamDiscussion. """ @@ -67746,46 +67328,6 @@ type UpdateSubscriptionPayload { subscribable: Subscribable } -""" -Autogenerated input type of UpdateTeamDiscussionComment -""" -input UpdateTeamDiscussionCommentInput { - """ - The updated text of the comment. - """ - body: String! - - """ - The current version of the body content. - """ - bodyVersion: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the comment to modify. - """ - id: ID! @possibleTypes(concreteTypes: ["TeamDiscussionComment"]) -} - -""" -Autogenerated return type of UpdateTeamDiscussionComment. -""" -type UpdateTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The updated comment. - """ - teamDiscussionComment: TeamDiscussionComment -} - """ Autogenerated input type of UpdateTeamDiscussion """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 2473f2dce94f..2df3f25336bf 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -3701,42 +3701,6 @@ } ] }, - { - "name": "createTeamDiscussionComment", - "kind": "mutations", - "id": "createteamdiscussioncomment", - "href": "/graphql/reference/mutations#createteamdiscussioncomment", - "description": "

Creates a new team discussion comment.

", - "inputFields": [ - { - "name": "input", - "type": "CreateTeamDiscussionCommentInput!", - "id": "createteamdiscussioncommentinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#createteamdiscussioncommentinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A unique identifier for the client performing the mutation.

" - }, - { - "name": "teamDiscussionComment", - "type": "TeamDiscussionComment", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment", - "description": "

The new comment.

", - "isDeprecated": true, - "deprecationReason": "

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.

" - } - ] - }, { "name": "createUserList", "kind": "mutations", @@ -4681,32 +4645,6 @@ } ] }, - { - "name": "deleteTeamDiscussionComment", - "kind": "mutations", - "id": "deleteteamdiscussioncomment", - "href": "/graphql/reference/mutations#deleteteamdiscussioncomment", - "description": "

Deletes a team discussion comment.

", - "inputFields": [ - { - "name": "input", - "type": "DeleteTeamDiscussionCommentInput!", - "id": "deleteteamdiscussioncommentinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#deleteteamdiscussioncommentinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A unique identifier for the client performing the mutation.

" - } - ] - }, { "name": "deleteUserList", "kind": "mutations", @@ -10031,40 +9969,6 @@ } ] }, - { - "name": "updateTeamDiscussionComment", - "kind": "mutations", - "id": "updateteamdiscussioncomment", - "href": "/graphql/reference/mutations#updateteamdiscussioncomment", - "description": "

Updates a discussion comment.

", - "inputFields": [ - { - "name": "input", - "type": "UpdateTeamDiscussionCommentInput!", - "id": "updateteamdiscussioncommentinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#updateteamdiscussioncommentinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A unique identifier for the client performing the mutation.

" - }, - { - "name": "teamDiscussionComment", - "type": "TeamDiscussionComment", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment", - "description": "

The updated comment.

" - } - ] - }, { "name": "updateTeamReviewAssignment", "kind": "mutations", @@ -77889,533 +77793,7 @@ }, { "name": "bodyVersion", - "description": "

Identifies the discussion body hash.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "comments", - "description": "

A list of comments on this discussion.

", - "type": "TeamDiscussionCommentConnection!", - "id": "teamdiscussioncommentconnection", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncommentconnection", - "arguments": [ - { - "name": "after", - "description": "

Returns the elements in the list that come after the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "

Returns the elements in the list that come before the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "

Returns the first n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "fromComment", - "description": "

When provided, filters the connection such that results begin with the comment with this number.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "

Returns the last n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "orderBy", - "description": "

Order for connection.

", - "type": { - "name": "TeamDiscussionCommentOrder", - "id": "teamdiscussioncommentorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#teamdiscussioncommentorder" - } - } - ], - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "commentsResourcePath", - "description": "

The HTTP path for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "commentsUrl", - "description": "

The HTTP URL for discussion comments.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "createdAt", - "description": "

Identifies the date and time when the object was created.

", - "type": "DateTime!", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "createdViaEmail", - "description": "

Check if this comment was created via an email reply.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "databaseId", - "description": "

Identifies the primary key from the database.

", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - }, - { - "name": "editor", - "description": "

The actor who edited the comment.

", - "type": "Actor", - "id": "actor", - "kind": "interfaces", - "href": "/graphql/reference/interfaces#actor" - }, - { - "name": "id", - "description": "

The Node ID of the TeamDiscussion object.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id" - }, - { - "name": "includesCreatedEdit", - "description": "

Check if this comment was edited and includes an edit with the creation data.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "isPinned", - "description": "

Whether or not the discussion is pinned.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "isPrivate", - "description": "

Whether or not the discussion is only visible to team members and organization owners.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "lastEditedAt", - "description": "

The moment the editor made the last edit.

", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "number", - "description": "

Identifies the discussion within its team.

", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "publishedAt", - "description": "

Identifies when the comment was published at.

", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "reactionGroups", - "description": "

A list of reactions grouped by content left on the subject.

", - "type": "[ReactionGroup!]", - "id": "reactiongroup", - "kind": "objects", - "href": "/graphql/reference/objects#reactiongroup" - }, - { - "name": "reactions", - "description": "

A list of Reactions left on the Issue.

", - "type": "ReactionConnection!", - "id": "reactionconnection", - "kind": "objects", - "href": "/graphql/reference/objects#reactionconnection", - "arguments": [ - { - "name": "after", - "description": "

Returns the elements in the list that come after the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "

Returns the elements in the list that come before the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "content", - "description": "

Allows filtering Reactions by emoji.

", - "type": { - "name": "ReactionContent", - "id": "reactioncontent", - "kind": "enums", - "href": "/graphql/reference/enums#reactioncontent" - } - }, - { - "name": "first", - "description": "

Returns the first n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "

Returns the last n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "orderBy", - "description": "

Allows specifying the order in which reactions are returned.

", - "type": { - "name": "ReactionOrder", - "id": "reactionorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#reactionorder" - } - } - ] - }, - { - "name": "resourcePath", - "description": "

The HTTP path for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "team", - "description": "

The team that defines the context of this discussion.

", - "type": "Team!", - "id": "team", - "kind": "objects", - "href": "/graphql/reference/objects#team", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "title", - "description": "

The title of the discussion.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "updatedAt", - "description": "

Identifies the date and time when the object was last updated.

", - "type": "DateTime!", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "url", - "description": "

The HTTP URL for this discussion.

", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "userContentEdits", - "description": "

A list of edits to this content.

", - "type": "UserContentEditConnection", - "id": "usercontenteditconnection", - "kind": "objects", - "href": "/graphql/reference/objects#usercontenteditconnection", - "arguments": [ - { - "name": "after", - "description": "

Returns the elements in the list that come after the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "

Returns the elements in the list that come before the specified cursor.

", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "

Returns the first n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "

Returns the last n elements from the list.

", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - } - ] - }, - { - "name": "viewerCanDelete", - "description": "

Check if the current viewer can delete this object.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCanPin", - "description": "

Whether or not the current viewer can pin this discussion.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "viewerCanReact", - "description": "

Can user react to this subject.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCanSubscribe", - "description": "

Check if the viewer is able to change their subscription status for the repository.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCanUpdate", - "description": "

Check if the current viewer can update this object.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerCannotUpdateReasons", - "description": "

Reasons why the current viewer can not update this comment.

", - "type": "[CommentCannotUpdateReason!]!", - "id": "commentcannotupdatereason", - "kind": "enums", - "href": "/graphql/reference/enums#commentcannotupdatereason" - }, - { - "name": "viewerDidAuthor", - "description": "

Did the viewer author this comment.

", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "viewerSubscription", - "description": "

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

", - "type": "SubscriptionState", - "id": "subscriptionstate", - "kind": "enums", - "href": "/graphql/reference/enums#subscriptionstate" - } - ] - }, - { - "name": "TeamDiscussionComment", - "kind": "objects", - "id": "teamdiscussioncomment", - "href": "/graphql/reference/objects#teamdiscussioncomment", - "description": "

A comment on a team discussion.

", - "implements": [ - { - "name": "Comment", - "id": "comment", - "href": "/graphql/reference/interfaces#comment" - }, - { - "name": "Deletable", - "id": "deletable", - "href": "/graphql/reference/interfaces#deletable" - }, - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/interfaces#node" - }, - { - "name": "Reactable", - "id": "reactable", - "href": "/graphql/reference/interfaces#reactable" - }, - { - "name": "UniformResourceLocatable", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable" - }, - { - "name": "Updatable", - "id": "updatable", - "href": "/graphql/reference/interfaces#updatable" - }, - { - "name": "UpdatableComment", - "id": "updatablecomment", - "href": "/graphql/reference/interfaces#updatablecomment" - } - ], - "fields": [ - { - "name": "author", - "description": "

The actor who authored the comment.

", - "type": "Actor", - "id": "actor", - "kind": "interfaces", - "href": "/graphql/reference/interfaces#actor" - }, - { - "name": "authorAssociation", - "description": "

Author's association with the comment's team.

", - "type": "CommentAuthorAssociation!", - "id": "commentauthorassociation", - "kind": "enums", - "href": "/graphql/reference/enums#commentauthorassociation", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, - { - "name": "body", - "description": "

The body as Markdown.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "bodyHTML", - "description": "

The body rendered to HTML.

", - "type": "HTML!", - "id": "html", - "kind": "scalars", - "href": "/graphql/reference/scalars#html" - }, - { - "name": "bodyText", - "description": "

The body rendered to text.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "bodyVersion", - "description": "

The current version of the body content.

", + "description": "

Identifies the discussion body hash.

", "type": "String!", "id": "string", "kind": "scalars", @@ -78423,6 +77801,26 @@ "isDeprecated": true, "deprecationReason": "

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.

" }, + { + "name": "commentsResourcePath", + "description": "

The HTTP path for discussion comments.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, + { + "name": "commentsUrl", + "description": "

The HTTP URL for discussion comments.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", @@ -78447,16 +77845,6 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, - { - "name": "discussion", - "description": "

The discussion this comment is about.

", - "type": "TeamDiscussion!", - "id": "teamdiscussion", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussion", - "isDeprecated": true, - "deprecationReason": "

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.

" - }, { "name": "editor", "description": "

The actor who edited the comment.

", @@ -78467,7 +77855,7 @@ }, { "name": "id", - "description": "

The Node ID of the TeamDiscussionComment object.

", + "description": "

The Node ID of the TeamDiscussion object.

", "type": "ID!", "id": "id", "kind": "scalars", @@ -78481,6 +77869,26 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "isPinned", + "description": "

Whether or not the discussion is pinned.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, + { + "name": "isPrivate", + "description": "

Whether or not the discussion is only visible to team members and organization owners.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "lastEditedAt", "description": "

The moment the editor made the last edit.

", @@ -78491,7 +77899,7 @@ }, { "name": "number", - "description": "

Identifies the comment number.

", + "description": "

Identifies the discussion within its team.

", "type": "Int!", "id": "int", "kind": "scalars", @@ -78587,7 +77995,7 @@ }, { "name": "resourcePath", - "description": "

The HTTP path for this comment.

", + "description": "

The HTTP path for this discussion.

", "type": "URI!", "id": "uri", "kind": "scalars", @@ -78595,6 +78003,26 @@ "isDeprecated": true, "deprecationReason": "

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.

" }, + { + "name": "team", + "description": "

The team that defines the context of this discussion.

", + "type": "Team!", + "id": "team", + "kind": "objects", + "href": "/graphql/reference/objects#team", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, + { + "name": "title", + "description": "

The title of the discussion.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "updatedAt", "description": "

Identifies the date and time when the object was last updated.

", @@ -78605,7 +78033,7 @@ }, { "name": "url", - "description": "

The HTTP URL for this comment.

", + "description": "

The HTTP URL for this discussion.

", "type": "URI!", "id": "uri", "kind": "scalars", @@ -78671,6 +78099,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanPin", + "description": "

Whether or not the current viewer can pin this discussion.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "isDeprecated": true, + "deprecationReason": "

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.

" + }, { "name": "viewerCanReact", "description": "

Can user react to this subject.

", @@ -78679,6 +78117,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanSubscribe", + "description": "

Check if the viewer is able to change their subscription status for the repository.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "viewerCanUpdate", "description": "

Check if the current viewer can update this object.

", @@ -78702,72 +78148,14 @@ "id": "boolean", "kind": "scalars", "href": "/graphql/reference/scalars#boolean" - } - ] - }, - { - "name": "TeamDiscussionCommentConnection", - "kind": "objects", - "id": "teamdiscussioncommentconnection", - "href": "/graphql/reference/objects#teamdiscussioncommentconnection", - "description": "

The connection type for TeamDiscussionComment.

", - "fields": [ - { - "name": "edges", - "description": "

A list of edges.

", - "type": "[TeamDiscussionCommentEdge]", - "id": "teamdiscussioncommentedge", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncommentedge" - }, - { - "name": "nodes", - "description": "

A list of nodes.

", - "type": "[TeamDiscussionComment]", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment" - }, - { - "name": "pageInfo", - "description": "

Information to aid in pagination.

", - "type": "PageInfo!", - "id": "pageinfo", - "kind": "objects", - "href": "/graphql/reference/objects#pageinfo" }, { - "name": "totalCount", - "description": "

Identifies the total count of items in the connection.

", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, - { - "name": "TeamDiscussionCommentEdge", - "kind": "objects", - "id": "teamdiscussioncommentedge", - "href": "/graphql/reference/objects#teamdiscussioncommentedge", - "description": "

An edge in a connection.

", - "fields": [ - { - "name": "cursor", - "description": "

A cursor for use in pagination.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "node", - "description": "

The item at the end of the edge.

", - "type": "TeamDiscussionComment", - "id": "teamdiscussioncomment", - "kind": "objects", - "href": "/graphql/reference/objects#teamdiscussioncomment" + "name": "viewerSubscription", + "description": "

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

", + "type": "SubscriptionState", + "id": "subscriptionstate", + "kind": "enums", + "href": "/graphql/reference/enums#subscriptionstate" } ] }, @@ -96213,19 +95601,6 @@ } ] }, - { - "name": "TeamDiscussionCommentOrderField", - "kind": "enums", - "id": "teamdiscussioncommentorderfield", - "href": "/graphql/reference/enums#teamdiscussioncommentorderfield", - "description": "

Properties by which team discussion comment connections can be ordered.

", - "values": [ - { - "name": "NUMBER", - "description": "

Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering).

" - } - ] - }, { "name": "TeamDiscussionOrderField", "kind": "enums", @@ -103498,40 +102873,6 @@ } ] }, - { - "name": "CreateTeamDiscussionCommentInput", - "kind": "inputObjects", - "id": "createteamdiscussioncommentinput", - "href": "/graphql/reference/input-objects#createteamdiscussioncommentinput", - "description": "

Autogenerated input type of CreateTeamDiscussionComment.

", - "inputFields": [ - { - "name": "body", - "description": "

The content of the comment. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: body will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "clientMutationId", - "description": "

A unique identifier for the client performing the mutation.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "discussionId", - "description": "

The ID of the discussion to which the comment belongs. This field is required.

\n

Upcoming Change on 2024-07-01 UTC\nDescription: discussionId will be removed. Follow the guide at\nhttps://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to\nfind a suitable replacement.\nReason: The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "CreateTeamDiscussionInput", "kind": "inputObjects", @@ -104349,32 +103690,6 @@ } ] }, - { - "name": "DeleteTeamDiscussionCommentInput", - "kind": "inputObjects", - "id": "deleteteamdiscussioncommentinput", - "href": "/graphql/reference/input-objects#deleteteamdiscussioncommentinput", - "description": "

Autogenerated input type of DeleteTeamDiscussionComment.

", - "inputFields": [ - { - "name": "clientMutationId", - "description": "

A unique identifier for the client performing the mutation.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "id", - "description": "

The ID of the comment to delete.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "DeleteTeamDiscussionInput", "kind": "inputObjects", @@ -109778,31 +109093,6 @@ } ] }, - { - "name": "TeamDiscussionCommentOrder", - "kind": "inputObjects", - "id": "teamdiscussioncommentorder", - "href": "/graphql/reference/input-objects#teamdiscussioncommentorder", - "description": "

Ways in which team discussion comment connections can be ordered.

", - "inputFields": [ - { - "name": "direction", - "description": "

The direction in which to order nodes.

", - "type": "OrderDirection!", - "id": "orderdirection", - "kind": "enums", - "href": "/graphql/reference/enums#orderdirection" - }, - { - "name": "field", - "description": "

The field by which to order nodes.

", - "type": "TeamDiscussionCommentOrderField!", - "id": "teamdiscussioncommentorderfield", - "kind": "enums", - "href": "/graphql/reference/enums#teamdiscussioncommentorderfield" - } - ] - }, { "name": "TeamDiscussionOrder", "kind": "inputObjects", @@ -113373,48 +112663,6 @@ } ] }, - { - "name": "UpdateTeamDiscussionCommentInput", - "kind": "inputObjects", - "id": "updateteamdiscussioncommentinput", - "href": "/graphql/reference/input-objects#updateteamdiscussioncommentinput", - "description": "

Autogenerated input type of UpdateTeamDiscussionComment.

", - "inputFields": [ - { - "name": "body", - "description": "

The updated text of the comment.

", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "bodyVersion", - "description": "

The current version of the body content.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "clientMutationId", - "description": "

A unique identifier for the client performing the mutation.

", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "id", - "description": "

The ID of the comment to modify.

", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "UpdateTeamDiscussionInput", "kind": "inputObjects", diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index a14f4cc04e11..b502f6798ad3 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -9780,54 +9780,6 @@ } ], "2024-07-01": [ - { - "location": "TeamDiscussionComment.url", - "description": "

url will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.resourcePath", - "description": "

resourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.number", - "description": "

number will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.discussion", - "description": "

discussion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.bodyVersion", - "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "TeamDiscussionComment.authorAssociation", - "description": "

authorAssociation will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, { "location": "TeamDiscussion.viewerCanPin", "description": "

viewerCanPin will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", @@ -9908,14 +9860,6 @@ "criticality": "breaking", "owner": "deborah-digges" }, - { - "location": "TeamDiscussion.comments", - "description": "

comments will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, { "location": "TeamDiscussion.bodyVersion", "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", @@ -10003,30 +9947,6 @@ "date": "2024-07-01", "criticality": "breaking", "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionCommentPayload.teamDiscussionComment", - "description": "

teamDiscussionComment will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionCommentInput.discussionId", - "description": "

discussionId will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" - }, - { - "location": "CreateTeamDiscussionCommentInput.body", - "description": "

body will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", - "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", - "date": "2024-07-01", - "criticality": "breaking", - "owner": "deborah-digges" } ], "2024-04-01": [