diff --git a/src/graphql/data/fpt/previews.json b/src/graphql/data/fpt/previews.json index 10b77badf4..c2133f8a85 100644 --- a/src/graphql/data/fpt/previews.json +++ b/src/graphql/data/fpt/previews.json @@ -13,20 +13,5 @@ ], "accept_header": "application/vnd.github.flash-preview+json", "href": "/graphql/overview/schema-previews#deployments-preview" - }, - { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" } ] \ No newline at end of file diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 8209e8c977..ba64a44018 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -16694,7 +16694,7 @@ scalar GitObjectID """ A fully qualified reference name (e.g. `refs/heads/master`). """ -scalar GitRefname @preview(toggledBy: "update-refs-preview") +scalar GitRefname """ Git SSH string @@ -24282,7 +24282,7 @@ type Mutation { Parameters for UpdateRefs """ input: UpdateRefsInput! - ): UpdateRefsPayload @preview(toggledBy: "update-refs-preview") + ): UpdateRefsPayload """ Update information about a repository. @@ -39516,7 +39516,7 @@ enum RefOrderField { """ A ref update """ -input RefUpdate @preview(toggledBy: "update-refs-preview") { +input RefUpdate { """ The value this ref should be updated to. """ @@ -58756,7 +58756,7 @@ type UpdateRefPayload { """ Autogenerated input type of UpdateRefs """ -input UpdateRefsInput @preview(toggledBy: "update-refs-preview") { +input UpdateRefsInput { """ A unique identifier for the client performing the mutation. """ @@ -58776,7 +58776,7 @@ input UpdateRefsInput @preview(toggledBy: "update-refs-preview") { """ Autogenerated return type of UpdateRefs """ -type UpdateRefsPayload @preview(toggledBy: "update-refs-preview") { +type UpdateRefsPayload { """ A unique identifier for the client performing the mutation. """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 79f45ecd9b..e5915e2496 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -8766,22 +8766,6 @@ "id": "updaterefs", "href": "/graphql/reference/mutations#updaterefs", "description": "

Creates, updates and/or deletes multiple refs in a repository.

\n

This mutation takes a list of RefUpdates and performs these updates\non the repository. All updates are performed atomically, meaning that\nif one of them is rejected, no other ref will be modified.

\n

RefUpdate.beforeOid specifies that the given reference needs to point\nto the given value before performing any updates. A value of\n0000000000000000000000000000000000000000 can be used to verify that\nthe references should not exist.

\n

RefUpdate.afterOid specifies the value that the given reference\nwill point to after performing all updates. A value of\n0000000000000000000000000000000000000000 can be used to delete a\nreference.

\n

If RefUpdate.force is set to true, a non-fast-forward updates\nfor the given reference will be allowed.

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - }, "inputFields": [ { "name": "input", @@ -97350,22 +97334,6 @@ "id": "refupdate", "href": "/graphql/reference/input-objects#refupdate", "description": "

A ref update.

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - }, "inputFields": [ { "name": "afterOid", @@ -102368,22 +102336,6 @@ "id": "updaterefsinput", "href": "/graphql/reference/input-objects#updaterefsinput", "description": "

Autogenerated input type of UpdateRefs.

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - }, "inputFields": [ { "name": "clientMutationId", @@ -103294,23 +103246,7 @@ "kind": "scalars", "id": "gitrefname", "href": "/graphql/reference/scalars#gitrefname", - "description": "

A fully qualified reference name (e.g. refs/heads/master).

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - } + "description": "

A fully qualified reference name (e.g. refs/heads/master).

" }, { "name": "GitSSHRemote", diff --git a/src/graphql/data/ghec/previews.json b/src/graphql/data/ghec/previews.json index 10b77badf4..c2133f8a85 100644 --- a/src/graphql/data/ghec/previews.json +++ b/src/graphql/data/ghec/previews.json @@ -13,20 +13,5 @@ ], "accept_header": "application/vnd.github.flash-preview+json", "href": "/graphql/overview/schema-previews#deployments-preview" - }, - { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" } ] \ No newline at end of file diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 8209e8c977..ba64a44018 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -16694,7 +16694,7 @@ scalar GitObjectID """ A fully qualified reference name (e.g. `refs/heads/master`). """ -scalar GitRefname @preview(toggledBy: "update-refs-preview") +scalar GitRefname """ Git SSH string @@ -24282,7 +24282,7 @@ type Mutation { Parameters for UpdateRefs """ input: UpdateRefsInput! - ): UpdateRefsPayload @preview(toggledBy: "update-refs-preview") + ): UpdateRefsPayload """ Update information about a repository. @@ -39516,7 +39516,7 @@ enum RefOrderField { """ A ref update """ -input RefUpdate @preview(toggledBy: "update-refs-preview") { +input RefUpdate { """ The value this ref should be updated to. """ @@ -58756,7 +58756,7 @@ type UpdateRefPayload { """ Autogenerated input type of UpdateRefs """ -input UpdateRefsInput @preview(toggledBy: "update-refs-preview") { +input UpdateRefsInput { """ A unique identifier for the client performing the mutation. """ @@ -58776,7 +58776,7 @@ input UpdateRefsInput @preview(toggledBy: "update-refs-preview") { """ Autogenerated return type of UpdateRefs """ -type UpdateRefsPayload @preview(toggledBy: "update-refs-preview") { +type UpdateRefsPayload { """ A unique identifier for the client performing the mutation. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 79f45ecd9b..e5915e2496 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -8766,22 +8766,6 @@ "id": "updaterefs", "href": "/graphql/reference/mutations#updaterefs", "description": "

Creates, updates and/or deletes multiple refs in a repository.

\n

This mutation takes a list of RefUpdates and performs these updates\non the repository. All updates are performed atomically, meaning that\nif one of them is rejected, no other ref will be modified.

\n

RefUpdate.beforeOid specifies that the given reference needs to point\nto the given value before performing any updates. A value of\n0000000000000000000000000000000000000000 can be used to verify that\nthe references should not exist.

\n

RefUpdate.afterOid specifies the value that the given reference\nwill point to after performing all updates. A value of\n0000000000000000000000000000000000000000 can be used to delete a\nreference.

\n

If RefUpdate.force is set to true, a non-fast-forward updates\nfor the given reference will be allowed.

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - }, "inputFields": [ { "name": "input", @@ -97350,22 +97334,6 @@ "id": "refupdate", "href": "/graphql/reference/input-objects#refupdate", "description": "

A ref update.

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - }, "inputFields": [ { "name": "afterOid", @@ -102368,22 +102336,6 @@ "id": "updaterefsinput", "href": "/graphql/reference/input-objects#updaterefsinput", "description": "

Autogenerated input type of UpdateRefs.

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - }, "inputFields": [ { "name": "clientMutationId", @@ -103294,23 +103246,7 @@ "kind": "scalars", "id": "gitrefname", "href": "/graphql/reference/scalars#gitrefname", - "description": "

A fully qualified reference name (e.g. refs/heads/master).

", - "isDeprecated": false, - "preview": { - "title": "Update refs preview update multiple refs in a single operation preview", - "description": "This preview adds support for updating multiple refs in a single operation.", - "toggled_by": "update-refs-preview", - "toggled_on": [ - "Mutation.updateRefs", - "GitRefname", - "RefUpdate" - ], - "owning_teams": [ - "@github/repos" - ], - "accept_header": "application/vnd.github.update-refs-preview+json", - "href": "/graphql/overview/schema-previews#update-refs-preview-update-multiple-refs-in-a-single-operation-preview" - } + "description": "

A fully qualified reference name (e.g. refs/heads/master).

" }, { "name": "GitSSHRemote",