diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 00734b1a1f..88fd2d8cf0 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -8528,6 +8528,21 @@ type DeleteProjectPayload { owner: ProjectOwner } +""" +Autogenerated input type of DeleteProjectV2 +""" +input DeleteProjectV2Input { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Project to delete. + """ + projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"]) +} + """ Autogenerated input type of DeleteProjectV2Item """ @@ -8563,6 +8578,21 @@ type DeleteProjectV2ItemPayload { deletedItemId: ID } +""" +Autogenerated return type of DeleteProjectV2 +""" +type DeleteProjectV2Payload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The deleted Project. + """ + projectV2: ProjectV2 +} + """ Autogenerated input type of DeletePullRequestReviewComment """ @@ -20737,6 +20767,16 @@ type Mutation { input: DeleteProjectColumnInput! ): DeleteProjectColumnPayload + """ + Delete a project. + """ + deleteProjectV2( + """ + Parameters for DeleteProjectV2 + """ + input: DeleteProjectV2Input! + ): DeleteProjectV2Payload + """ Deletes an item from a Project. """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 00734b1a1f..88fd2d8cf0 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -8528,6 +8528,21 @@ type DeleteProjectPayload { owner: ProjectOwner } +""" +Autogenerated input type of DeleteProjectV2 +""" +input DeleteProjectV2Input { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Project to delete. + """ + projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"]) +} + """ Autogenerated input type of DeleteProjectV2Item """ @@ -8563,6 +8578,21 @@ type DeleteProjectV2ItemPayload { deletedItemId: ID } +""" +Autogenerated return type of DeleteProjectV2 +""" +type DeleteProjectV2Payload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The deleted Project. + """ + projectV2: ProjectV2 +} + """ Autogenerated input type of DeletePullRequestReviewComment """ @@ -20737,6 +20767,16 @@ type Mutation { input: DeleteProjectColumnInput! ): DeleteProjectColumnPayload + """ + Delete a project. + """ + deleteProjectV2( + """ + Parameters for DeleteProjectV2 + """ + input: DeleteProjectV2Input! + ): DeleteProjectV2Payload + """ Deletes an item from a Project. """ diff --git a/src/graphql/data/changelog.json b/src/graphql/data/changelog.json index 37c0f11c5f..f6f2288fc4 100644 --- a/src/graphql/data/changelog.json +++ b/src/graphql/data/changelog.json @@ -1,4 +1,19 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type 'DeleteProjectV2Input' was added
", + "Type 'DeleteProjectV2Payload' was added
", + "Field 'deleteProjectV2was added to object typeMutation'
Delete a project.
", + "inputFields": [ + { + "name": "input", + "type": "DeleteProjectV2Input!", + "id": "deleteprojectv2input", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleteprojectv2input" + } + ], + "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": "projectV2", + "type": "ProjectV2", + "id": "projectv2", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2", + "description": "The deleted Project.
" + } + ] + }, { "name": "deleteProjectV2Item", "kind": "mutations", @@ -86286,6 +86320,32 @@ } ] }, + { + "name": "DeleteProjectV2Input", + "kind": "inputObjects", + "id": "deleteprojectv2input", + "href": "/graphql/reference/input-objects#deleteprojectv2input", + "description": "Autogenerated input type of DeleteProjectV2.
", + "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": "projectId", + "description": "The ID of the Project to delete.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteProjectV2ItemInput", "kind": "inputObjects", diff --git a/src/graphql/data/schema-ghec.json b/src/graphql/data/schema-ghec.json index 6171247152..265f4ac615 100644 --- a/src/graphql/data/schema-ghec.json +++ b/src/graphql/data/schema-ghec.json @@ -3658,6 +3658,40 @@ } ] }, + { + "name": "deleteProjectV2", + "kind": "mutations", + "id": "deleteprojectv2", + "href": "/graphql/reference/mutations#deleteprojectv2", + "description": "Delete a project.
", + "inputFields": [ + { + "name": "input", + "type": "DeleteProjectV2Input!", + "id": "deleteprojectv2input", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleteprojectv2input" + } + ], + "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": "projectV2", + "type": "ProjectV2", + "id": "projectv2", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2", + "description": "The deleted Project.
" + } + ] + }, { "name": "deleteProjectV2Item", "kind": "mutations", @@ -86286,6 +86320,32 @@ } ] }, + { + "name": "DeleteProjectV2Input", + "kind": "inputObjects", + "id": "deleteprojectv2input", + "href": "/graphql/reference/input-objects#deleteprojectv2input", + "description": "Autogenerated input type of DeleteProjectV2.
", + "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": "projectId", + "description": "The ID of the Project to delete.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteProjectV2ItemInput", "kind": "inputObjects",