Set project name for repository organization and name (#57)

* Remove unused methods from backend utils

* Set project name from repo organization and name when creating project

* Rename success and project components according to routes
This commit is contained in:
2024-02-06 16:18:29 +05:30
committed by GitHub
parent afd522654c
commit c0cee2c57f
11 changed files with 22 additions and 92 deletions
+3 -1
View File
@@ -44,7 +44,9 @@ mutation ($deploymentId: String!) {
export const addProject = gql`
mutation ($data: AddProjectInput) {
addProject(data: $data)
addProject(data: $data) {
id
}
}`;
export const updateProjectMutation = gql`
+1 -1
View File
@@ -220,7 +220,7 @@ export type UpdateDeploymentToProdResponse = {
}
export type AddProjectResponse = {
addProject: boolean
addProject: Project
}
export type UpdateProjectResponse = {