forked from cerc-io/snowballtools-base
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:
@@ -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
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -249,6 +249,7 @@ export type UpdateProjectInput = {
|
||||
description?: string
|
||||
prodBranch?: string
|
||||
webhooks?: string[]
|
||||
organizationId?: string
|
||||
}
|
||||
|
||||
export type UpdateDomainInput = {
|
||||
|
||||
Reference in New Issue
Block a user