1
0
mirror of synced 2026-01-06 06:02:35 -05:00

GraphQL schema update (#50223)

Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com>
This commit is contained in:
docs-bot
2024-04-18 12:32:50 -04:00
committed by GitHub
parent 00c46bfb10
commit beaecf68d2
6 changed files with 12 additions and 170 deletions

View File

@@ -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"
}
]

View File

@@ -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.
"""

View File

@@ -8766,22 +8766,6 @@
"id": "updaterefs",
"href": "/graphql/reference/mutations#updaterefs",
"description": "<p>Creates, updates and/or deletes multiple refs in a repository.</p>\n<p>This mutation takes a list of <code>RefUpdate</code>s 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.</p>\n<p><code>RefUpdate.beforeOid</code> specifies that the given reference needs to point\nto the given value before performing any updates. A value of\n<code>0000000000000000000000000000000000000000</code> can be used to verify that\nthe references should not exist.</p>\n<p><code>RefUpdate.afterOid</code> specifies the value that the given reference\nwill point to after performing all updates. A value of\n<code>0000000000000000000000000000000000000000</code> can be used to delete a\nreference.</p>\n<p>If <code>RefUpdate.force</code> is set to <code>true</code>, a non-fast-forward updates\nfor the given reference will be allowed.</p>",
"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": "<p>A ref update.</p>",
"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": "<p>Autogenerated input type of UpdateRefs.</p>",
"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": "<p>A fully qualified reference name (e.g. <code>refs/heads/master</code>).</p>",
"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": "<p>A fully qualified reference name (e.g. <code>refs/heads/master</code>).</p>"
},
{
"name": "GitSSHRemote",

View File

@@ -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"
}
]

View File

@@ -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.
"""

View File

@@ -8766,22 +8766,6 @@
"id": "updaterefs",
"href": "/graphql/reference/mutations#updaterefs",
"description": "<p>Creates, updates and/or deletes multiple refs in a repository.</p>\n<p>This mutation takes a list of <code>RefUpdate</code>s 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.</p>\n<p><code>RefUpdate.beforeOid</code> specifies that the given reference needs to point\nto the given value before performing any updates. A value of\n<code>0000000000000000000000000000000000000000</code> can be used to verify that\nthe references should not exist.</p>\n<p><code>RefUpdate.afterOid</code> specifies the value that the given reference\nwill point to after performing all updates. A value of\n<code>0000000000000000000000000000000000000000</code> can be used to delete a\nreference.</p>\n<p>If <code>RefUpdate.force</code> is set to <code>true</code>, a non-fast-forward updates\nfor the given reference will be allowed.</p>",
"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": "<p>A ref update.</p>",
"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": "<p>Autogenerated input type of UpdateRefs.</p>",
"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": "<p>A fully qualified reference name (e.g. <code>refs/heads/master</code>).</p>",
"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": "<p>A fully qualified reference name (e.g. <code>refs/heads/master</code>).</p>"
},
{
"name": "GitSSHRemote",