Implement functionality to transfer project to different organization (#50)

* Add GQL mutation for transfer project

* Integrate transfer project GQL client method

* Use update project GQL method for transfer project

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
2024-02-02 14:04:26 +05:30
committed by GitHub
co-authored by neeraj
parent ef89d69577
commit 8111d34d86
10 changed files with 109 additions and 196 deletions
+6 -28
View File
@@ -27,6 +27,10 @@ query ($projectId: String!) {
repository
webhooks
icon
organization {
id
name
}
owner {
id
name
@@ -96,34 +100,8 @@ query {
organizations {
id
name
projects {
id
owner {
id
name
}
deployments {
id
}
name
repository
prodBranch
description
template
framework
webhooks
members {
id
permissions
member{
id
name
email
}
}
createdAt
updatedAt
}
createdAt
updatedAt
}
}
`;
+1
View File
@@ -249,6 +249,7 @@ export type UpdateProjectInput = {
description?: string
prodBranch?: string
webhooks?: string[]
organizationId?: string
}
export type UpdateDomainInput = {