Skip to content

Commit

Permalink
Merge pull request #233 from seungkyua/20240215_modify_project
Browse files Browse the repository at this point in the history
Modify the logic that manages the project
  • Loading branch information
cho4036 authored Feb 15, 2024
2 parents ff35f44 + 5b90ba9 commit bb41255
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 235 deletions.
100 changes: 36 additions & 64 deletions api/swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5921,9 +5921,6 @@ const docTemplate = `{
},
"projectLeaderId": {
"type": "string"
},
"projectRoleId": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -6572,7 +6569,7 @@ const docTemplate = `{
"type": "object",
"properties": {
"projectMember": {
"$ref": "#/definitions/domain.ProjectMember"
"$ref": "#/definitions/domain.ProjectMemberResponse"
}
}
},
Expand All @@ -6582,7 +6579,7 @@ const docTemplate = `{
"projectMembers": {
"type": "array",
"items": {
"$ref": "#/definitions/domain.ProjectMember"
"$ref": "#/definitions/domain.ProjectMemberResponse"
}
}
}
Expand Down Expand Up @@ -7019,10 +7016,8 @@ const docTemplate = `{
"domain.ProjectDetailResponse": {
"type": "object",
"properties": {
"appCount": {
"type": "integer"
},
"createdAt": {
"description": "NamespaceCount int ` + "`" + `json:\"namespaceCount\"` + "`" + `\nAppCount int ` + "`" + `json:\"appCount\"` + "`" + `\nMemberCount int ` + "`" + `json:\"memberCount\"` + "`" + `",
"type": "string"
},
"description": {
Expand All @@ -7031,15 +7026,9 @@ const docTemplate = `{
"id": {
"type": "string"
},
"memberCount": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespaceCount": {
"type": "integer"
},
"organizationId": {
"type": "string"
},
Expand All @@ -7055,18 +7044,36 @@ const docTemplate = `{
"projectLeaderName": {
"type": "string"
},
"projectRoleId": {
"type": "string"
},
"projectRoleName": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"domain.ProjectMember": {
"domain.ProjectMemberRequest": {
"type": "object",
"required": [
"projectRoleId",
"projectUserId"
],
"properties": {
"createdAt": {
"projectRoleId": {
"type": "string"
},
"deletedAt": {
"projectUserId": {
"type": "string"
}
}
},
"domain.ProjectMemberResponse": {
"type": "object",
"properties": {
"createdAt": {
"type": "string"
},
"id": {
Expand All @@ -7075,35 +7082,29 @@ const docTemplate = `{
"projectId": {
"type": "string"
},
"projectRole": {
"$ref": "#/definitions/domain.ProjectRole"
},
"projectRoleId": {
"type": "string"
},
"projectUser": {
"$ref": "#/definitions/domain.ProjectUser"
"projectRoleName": {
"type": "string"
},
"projectUserId": {
"projectUserAccountId": {
"type": "string"
},
"updatedAt": {
"projectUserDepartment": {
"type": "string"
}
}
},
"domain.ProjectMemberRequest": {
"type": "object",
"required": [
"projectRoleId",
"projectUserId"
],
"properties": {
"projectRoleId": {
},
"projectUserEmail": {
"type": "string"
},
"projectUserId": {
"type": "string"
},
"projectUserName": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -7198,35 +7199,6 @@ const docTemplate = `{
}
}
},
"domain.ProjectUser": {
"type": "object",
"properties": {
"accountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"department": {
"type": "string"
},
"description": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"domain.RemoveProjectMemberRequest": {
"type": "object",
"properties": {
Expand Down
100 changes: 36 additions & 64 deletions api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5914,9 +5914,6 @@
},
"projectLeaderId": {
"type": "string"
},
"projectRoleId": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -6565,7 +6562,7 @@
"type": "object",
"properties": {
"projectMember": {
"$ref": "#/definitions/domain.ProjectMember"
"$ref": "#/definitions/domain.ProjectMemberResponse"
}
}
},
Expand All @@ -6575,7 +6572,7 @@
"projectMembers": {
"type": "array",
"items": {
"$ref": "#/definitions/domain.ProjectMember"
"$ref": "#/definitions/domain.ProjectMemberResponse"
}
}
}
Expand Down Expand Up @@ -7012,10 +7009,8 @@
"domain.ProjectDetailResponse": {
"type": "object",
"properties": {
"appCount": {
"type": "integer"
},
"createdAt": {
"description": "NamespaceCount int `json:\"namespaceCount\"`\nAppCount int `json:\"appCount\"`\nMemberCount int `json:\"memberCount\"`",
"type": "string"
},
"description": {
Expand All @@ -7024,15 +7019,9 @@
"id": {
"type": "string"
},
"memberCount": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespaceCount": {
"type": "integer"
},
"organizationId": {
"type": "string"
},
Expand All @@ -7048,18 +7037,36 @@
"projectLeaderName": {
"type": "string"
},
"projectRoleId": {
"type": "string"
},
"projectRoleName": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"domain.ProjectMember": {
"domain.ProjectMemberRequest": {
"type": "object",
"required": [
"projectRoleId",
"projectUserId"
],
"properties": {
"createdAt": {
"projectRoleId": {
"type": "string"
},
"deletedAt": {
"projectUserId": {
"type": "string"
}
}
},
"domain.ProjectMemberResponse": {
"type": "object",
"properties": {
"createdAt": {
"type": "string"
},
"id": {
Expand All @@ -7068,35 +7075,29 @@
"projectId": {
"type": "string"
},
"projectRole": {
"$ref": "#/definitions/domain.ProjectRole"
},
"projectRoleId": {
"type": "string"
},
"projectUser": {
"$ref": "#/definitions/domain.ProjectUser"
"projectRoleName": {
"type": "string"
},
"projectUserId": {
"projectUserAccountId": {
"type": "string"
},
"updatedAt": {
"projectUserDepartment": {
"type": "string"
}
}
},
"domain.ProjectMemberRequest": {
"type": "object",
"required": [
"projectRoleId",
"projectUserId"
],
"properties": {
"projectRoleId": {
},
"projectUserEmail": {
"type": "string"
},
"projectUserId": {
"type": "string"
},
"projectUserName": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -7191,35 +7192,6 @@
}
}
},
"domain.ProjectUser": {
"type": "object",
"properties": {
"accountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"department": {
"type": "string"
},
"description": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"domain.RemoveProjectMemberRequest": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit bb41255

Please sign in to comment.