From e8ab6c4c8fd6a5a409772d7d515ae5f4a5abde49 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:32:12 -0400 Subject: [PATCH 1/2] GraphQL schema update (#50143) Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com> --- data/graphql/ghec/graphql_previews.yml | 28 ----- data/graphql/ghec/schema.docs.graphql | 16 +-- data/graphql/graphql_previews.yml | 28 ----- data/graphql/schema.docs.graphql | 16 +-- src/graphql/data/fpt/previews.json | 31 ----- src/graphql/data/fpt/schema.json | 155 +------------------------ src/graphql/data/ghec/previews.json | 31 ----- src/graphql/data/ghec/schema.json | 155 +------------------------ 8 files changed, 24 insertions(+), 436 deletions(-) diff --git a/data/graphql/ghec/graphql_previews.yml b/data/graphql/ghec/graphql_previews.yml index c49ea6ece2d3..6efdb70138f1 100644 --- a/data/graphql/ghec/graphql_previews.yml +++ b/data/graphql/ghec/graphql_previews.yml @@ -1,14 +1,3 @@ -- title: Access to package version deletion - description: >- - This preview adds support for the DeletePackageVersion mutation which - enables deletion of private package versions. - toggled_by: ':package-deletes-preview' - announcement: null - updates: null - toggled_on: - - Mutation.deletePackageVersion - owning_teams: - - '@github/pe-package-registry' - title: Deployments description: >- This preview adds support for deployments mutations and new deployments @@ -118,20 +107,3 @@ - Mutation.importProject owning_teams: - '@github/pe-issues-projects' -- title: Team Review Assignments Preview - description: >- - This preview adds support for updating the settings for team review - assignment. - toggled_by: ':stone-crop-preview' - announcement: null - updates: null - toggled_on: - - Mutation.updateTeamReviewAssignment - - UpdateTeamReviewAssignmentInput - - TeamReviewAssignmentAlgorithm - - Team.reviewRequestDelegationEnabled - - Team.reviewRequestDelegationAlgorithm - - Team.reviewRequestDelegationMemberCount - - Team.reviewRequestDelegationNotifyTeam - owning_teams: - - '@github/pe-pull-requests' diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index b6b4caabdba0..d6df3872abd0 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -22870,7 +22870,7 @@ type Mutation { Parameters for DeletePackageVersion """ input: DeletePackageVersionInput! - ): DeletePackageVersionPayload @preview(toggledBy: "package-deletes-preview") + ): DeletePackageVersionPayload """ Deletes a project. @@ -24361,7 +24361,7 @@ type Mutation { Parameters for UpdateTeamReviewAssignment """ input: UpdateTeamReviewAssignmentInput! - ): UpdateTeamReviewAssignmentPayload @preview(toggledBy: "stone-crop-preview") + ): UpdateTeamReviewAssignmentPayload """ Update team repository. @@ -53509,22 +53509,22 @@ type Team implements MemberStatusable & Node & Subscribable { """ What algorithm is used for review assignment for this team """ - reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm """ True if review assignment is enabled for this team """ - reviewRequestDelegationEnabled: Boolean! @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationEnabled: Boolean! """ How many team members are required for review assignment for this team """ - reviewRequestDelegationMemberCount: Int @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationMemberCount: Int """ When assigning team members via delegation, whether the entire team should be notified as well. """ - reviewRequestDelegationNotifyTeam: Boolean! @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationNotifyTeam: Boolean! """ The slug corresponding to the team. @@ -55219,7 +55219,7 @@ enum TeamRepositoryOrderField { """ The possible team review assignment algorithms """ -enum TeamReviewAssignmentAlgorithm @preview(toggledBy: "stone-crop-preview") { +enum TeamReviewAssignmentAlgorithm { """ Balance review load across the entire team """ @@ -59149,7 +59149,7 @@ type UpdateTeamDiscussionPayload { """ Autogenerated input type of UpdateTeamReviewAssignment """ -input UpdateTeamReviewAssignmentInput @preview(toggledBy: "stone-crop-preview") { +input UpdateTeamReviewAssignmentInput { """ The algorithm to use for review assignment """ diff --git a/data/graphql/graphql_previews.yml b/data/graphql/graphql_previews.yml index c49ea6ece2d3..6efdb70138f1 100644 --- a/data/graphql/graphql_previews.yml +++ b/data/graphql/graphql_previews.yml @@ -1,14 +1,3 @@ -- title: Access to package version deletion - description: >- - This preview adds support for the DeletePackageVersion mutation which - enables deletion of private package versions. - toggled_by: ':package-deletes-preview' - announcement: null - updates: null - toggled_on: - - Mutation.deletePackageVersion - owning_teams: - - '@github/pe-package-registry' - title: Deployments description: >- This preview adds support for deployments mutations and new deployments @@ -118,20 +107,3 @@ - Mutation.importProject owning_teams: - '@github/pe-issues-projects' -- title: Team Review Assignments Preview - description: >- - This preview adds support for updating the settings for team review - assignment. - toggled_by: ':stone-crop-preview' - announcement: null - updates: null - toggled_on: - - Mutation.updateTeamReviewAssignment - - UpdateTeamReviewAssignmentInput - - TeamReviewAssignmentAlgorithm - - Team.reviewRequestDelegationEnabled - - Team.reviewRequestDelegationAlgorithm - - Team.reviewRequestDelegationMemberCount - - Team.reviewRequestDelegationNotifyTeam - owning_teams: - - '@github/pe-pull-requests' diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index b6b4caabdba0..d6df3872abd0 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -22870,7 +22870,7 @@ type Mutation { Parameters for DeletePackageVersion """ input: DeletePackageVersionInput! - ): DeletePackageVersionPayload @preview(toggledBy: "package-deletes-preview") + ): DeletePackageVersionPayload """ Deletes a project. @@ -24361,7 +24361,7 @@ type Mutation { Parameters for UpdateTeamReviewAssignment """ input: UpdateTeamReviewAssignmentInput! - ): UpdateTeamReviewAssignmentPayload @preview(toggledBy: "stone-crop-preview") + ): UpdateTeamReviewAssignmentPayload """ Update team repository. @@ -53509,22 +53509,22 @@ type Team implements MemberStatusable & Node & Subscribable { """ What algorithm is used for review assignment for this team """ - reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm """ True if review assignment is enabled for this team """ - reviewRequestDelegationEnabled: Boolean! @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationEnabled: Boolean! """ How many team members are required for review assignment for this team """ - reviewRequestDelegationMemberCount: Int @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationMemberCount: Int """ When assigning team members via delegation, whether the entire team should be notified as well. """ - reviewRequestDelegationNotifyTeam: Boolean! @preview(toggledBy: "stone-crop-preview") + reviewRequestDelegationNotifyTeam: Boolean! """ The slug corresponding to the team. @@ -55219,7 +55219,7 @@ enum TeamRepositoryOrderField { """ The possible team review assignment algorithms """ -enum TeamReviewAssignmentAlgorithm @preview(toggledBy: "stone-crop-preview") { +enum TeamReviewAssignmentAlgorithm { """ Balance review load across the entire team """ @@ -59149,7 +59149,7 @@ type UpdateTeamDiscussionPayload { """ Autogenerated input type of UpdateTeamReviewAssignment """ -input UpdateTeamReviewAssignmentInput @preview(toggledBy: "stone-crop-preview") { +input UpdateTeamReviewAssignmentInput { """ The algorithm to use for review assignment """ diff --git a/src/graphql/data/fpt/previews.json b/src/graphql/data/fpt/previews.json index 9b97f4399294..9475dd71a6c7 100644 --- a/src/graphql/data/fpt/previews.json +++ b/src/graphql/data/fpt/previews.json @@ -1,17 +1,4 @@ [ - { - "title": "Access to package version deletion preview", - "description": "This preview adds support for the DeletePackageVersion mutation which enables deletion of private package versions.", - "toggled_by": "package-deletes-preview", - "toggled_on": [ - "Mutation.deletePackageVersion" - ], - "owning_teams": [ - "@github/pe-package-registry" - ], - "accept_header": "application/vnd.github.package-deletes-preview+json", - "href": "/graphql/overview/schema-previews#access-to-package-version-deletion-preview" - }, { "title": "Deployments preview", "description": "This preview adds support for deployments mutations and new deployments features.", @@ -126,23 +113,5 @@ ], "accept_header": "application/vnd.github.slothette-preview+json", "href": "/graphql/overview/schema-previews#import-project-preview" - }, - { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" } ] \ No newline at end of file diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 426750e12320..ab648eba9606 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -3760,20 +3760,6 @@ "id": "deletepackageversion", "href": "/graphql/reference/mutations#deletepackageversion", "description": "
Delete a package version.
", - "isDeprecated": false, - "preview": { - "title": "Access to package version deletion preview", - "description": "This preview adds support for the DeletePackageVersion mutation which enables deletion of private package versions.", - "toggled_by": "package-deletes-preview", - "toggled_on": [ - "Mutation.deletePackageVersion" - ], - "owning_teams": [ - "@github/pe-package-registry" - ], - "accept_header": "application/vnd.github.package-deletes-preview+json", - "href": "/graphql/overview/schema-previews#access-to-package-version-deletion-preview" - }, "inputFields": [ { "name": "input", @@ -9130,25 +9116,6 @@ "id": "updateteamreviewassignment", "href": "/graphql/reference/mutations#updateteamreviewassignment", "description": "Updates team review assignment.
", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - }, "inputFields": [ { "name": "input", @@ -69888,26 +69855,7 @@ "type": "TeamReviewAssignmentAlgorithm", "id": "teamreviewassignmentalgorithm", "kind": "enums", - "href": "/graphql/reference/enums#teamreviewassignmentalgorithm", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/enums#teamreviewassignmentalgorithm" }, { "name": "reviewRequestDelegationEnabled", @@ -69915,26 +69863,7 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/scalars#boolean" }, { "name": "reviewRequestDelegationMemberCount", @@ -69942,26 +69871,7 @@ "type": "Int", "id": "int", "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/scalars#int" }, { "name": "reviewRequestDelegationNotifyTeam", @@ -69969,26 +69879,7 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/scalars#boolean" }, { "name": "slug", @@ -88358,25 +88249,6 @@ "id": "teamreviewassignmentalgorithm", "href": "/graphql/reference/enums#teamreviewassignmentalgorithm", "description": "The possible team review assignment algorithms.
", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - }, "values": [ { "name": "LOAD_BALANCE", @@ -103533,25 +103405,6 @@ "id": "updateteamreviewassignmentinput", "href": "/graphql/reference/input-objects#updateteamreviewassignmentinput", "description": "Autogenerated input type of UpdateTeamReviewAssignment.
", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - }, "inputFields": [ { "name": "algorithm", diff --git a/src/graphql/data/ghec/previews.json b/src/graphql/data/ghec/previews.json index 9b97f4399294..9475dd71a6c7 100644 --- a/src/graphql/data/ghec/previews.json +++ b/src/graphql/data/ghec/previews.json @@ -1,17 +1,4 @@ [ - { - "title": "Access to package version deletion preview", - "description": "This preview adds support for the DeletePackageVersion mutation which enables deletion of private package versions.", - "toggled_by": "package-deletes-preview", - "toggled_on": [ - "Mutation.deletePackageVersion" - ], - "owning_teams": [ - "@github/pe-package-registry" - ], - "accept_header": "application/vnd.github.package-deletes-preview+json", - "href": "/graphql/overview/schema-previews#access-to-package-version-deletion-preview" - }, { "title": "Deployments preview", "description": "This preview adds support for deployments mutations and new deployments features.", @@ -126,23 +113,5 @@ ], "accept_header": "application/vnd.github.slothette-preview+json", "href": "/graphql/overview/schema-previews#import-project-preview" - }, - { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" } ] \ No newline at end of file diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 426750e12320..ab648eba9606 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -3760,20 +3760,6 @@ "id": "deletepackageversion", "href": "/graphql/reference/mutations#deletepackageversion", "description": "Delete a package version.
", - "isDeprecated": false, - "preview": { - "title": "Access to package version deletion preview", - "description": "This preview adds support for the DeletePackageVersion mutation which enables deletion of private package versions.", - "toggled_by": "package-deletes-preview", - "toggled_on": [ - "Mutation.deletePackageVersion" - ], - "owning_teams": [ - "@github/pe-package-registry" - ], - "accept_header": "application/vnd.github.package-deletes-preview+json", - "href": "/graphql/overview/schema-previews#access-to-package-version-deletion-preview" - }, "inputFields": [ { "name": "input", @@ -9130,25 +9116,6 @@ "id": "updateteamreviewassignment", "href": "/graphql/reference/mutations#updateteamreviewassignment", "description": "Updates team review assignment.
", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - }, "inputFields": [ { "name": "input", @@ -69888,26 +69855,7 @@ "type": "TeamReviewAssignmentAlgorithm", "id": "teamreviewassignmentalgorithm", "kind": "enums", - "href": "/graphql/reference/enums#teamreviewassignmentalgorithm", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/enums#teamreviewassignmentalgorithm" }, { "name": "reviewRequestDelegationEnabled", @@ -69915,26 +69863,7 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/scalars#boolean" }, { "name": "reviewRequestDelegationMemberCount", @@ -69942,26 +69871,7 @@ "type": "Int", "id": "int", "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/scalars#int" }, { "name": "reviewRequestDelegationNotifyTeam", @@ -69969,26 +69879,7 @@ "type": "Boolean!", "id": "boolean", "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - } + "href": "/graphql/reference/scalars#boolean" }, { "name": "slug", @@ -88358,25 +88249,6 @@ "id": "teamreviewassignmentalgorithm", "href": "/graphql/reference/enums#teamreviewassignmentalgorithm", "description": "The possible team review assignment algorithms.
", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - }, "values": [ { "name": "LOAD_BALANCE", @@ -103533,25 +103405,6 @@ "id": "updateteamreviewassignmentinput", "href": "/graphql/reference/input-objects#updateteamreviewassignmentinput", "description": "Autogenerated input type of UpdateTeamReviewAssignment.
", - "isDeprecated": false, - "preview": { - "title": "Team review assignments preview", - "description": "This preview adds support for updating the settings for team review assignment.", - "toggled_by": "stone-crop-preview", - "toggled_on": [ - "Mutation.updateTeamReviewAssignment", - "TeamReviewAssignmentAlgorithm", - "Team.reviewRequestDelegationEnabled", - "Team.reviewRequestDelegationAlgorithm", - "Team.reviewRequestDelegationMemberCount", - "Team.reviewRequestDelegationNotifyTeam" - ], - "owning_teams": [ - "@github/pe-pull-requests" - ], - "accept_header": "application/vnd.github.stone-crop-preview+json", - "href": "/graphql/overview/schema-previews#team-review-assignments-preview" - }, "inputFields": [ { "name": "algorithm", From e43845a06bdb7f37cf6e93e224b6300a91601fe0 Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Mon, 15 Apr 2024 17:36:05 +0100 Subject: [PATCH 2/2] Fix typos (#50137) --- data/reusables/contributing/content-linter-rules.md | 2 +- src/content-linter/scripts/lint-content.js | 2 +- src/content-linter/style/github-docs.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/reusables/contributing/content-linter-rules.md b/data/reusables/contributing/content-linter-rules.md index 90ae73c70e5d..9896fdba4b06 100644 --- a/data/reusables/contributing/content-linter-rules.md +++ b/data/reusables/contributing/content-linter-rules.md @@ -25,7 +25,7 @@ | [MD049](https://github.com/DavidAnson/markdownlint/blob/v0.28.2/doc/md049.md) | emphasis-style | Emphasis style should be consistent | error | emphasis | | [MD050](https://github.com/DavidAnson/markdownlint/blob/v0.28.2/doc/md050.md) | strong-style | Strong style should be consistent | error | emphasis | | [search-replace](https://github.com/OnkarRuikar/markdownlint-rule-search-replace) | todocs-placeholder | Catch occurrences of TODOCS placeholder. | error | | -| [search-replace](https://github.com/OnkarRuikar/markdownlint-rule-search-replace) | docs-domain | Catch occurrences of docs.gitub.com domain. | error | | +| [search-replace](https://github.com/OnkarRuikar/markdownlint-rule-search-replace) | docs-domain | Catch occurrences of docs.github.com domain. | error | | | [search-replace](https://github.com/OnkarRuikar/markdownlint-rule-search-replace) | help-domain | Catch occurrences of help.github.com domain. | error | | | [search-replace](https://github.com/OnkarRuikar/markdownlint-rule-search-replace) | preview-domain | Catch occurrences of preview.ghdocs.com domain. | error | | | [search-replace](https://github.com/OnkarRuikar/markdownlint-rule-search-replace) | developer-domain | Catch occurrences of developer.github.com domain. | error | | diff --git a/src/content-linter/scripts/lint-content.js b/src/content-linter/scripts/lint-content.js index cd389331035f..0abed3c98c5b 100755 --- a/src/content-linter/scripts/lint-content.js +++ b/src/content-linter/scripts/lint-content.js @@ -636,7 +636,7 @@ function getCustomRule(ruleName) { ruleNames: [ 'search-replace' ], ruleDescription: 'Custom rule', ruleInformation: 'https://github.com/OnkarRuikar/markdownlint-rule-search-replace', - errorDetail: 'docs-domain: Catch occurrences of docs.gitub.com domain.', + errorDetail: 'docs-domain: Catch occurrences of docs.github.com domain.', errorContext: "column: 21 text:'docs.github.com'", errorRange: [ 21, 15 ], fixInfo: null diff --git a/src/content-linter/style/github-docs.js b/src/content-linter/style/github-docs.js index 6e4f74d75227..7462dec8e39f 100644 --- a/src/content-linter/style/github-docs.js +++ b/src/content-linter/style/github-docs.js @@ -228,7 +228,7 @@ export const searchReplaceConfig = { }, { name: 'docs-domain', - message: 'Catch occurrences of docs.gitub.com domain.', + message: 'Catch occurrences of docs.github.com domain.', search: 'docs.github.com', searchScope: 'all', severity: 'error',