-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(API): Refactor workspace-membership into a separate module #421
refactor(API): Refactor workspace-membership into a separate module #421
Conversation
bec47c3
to
b077ab1
Compare
Do fill up the description about with the pointers whenever you can |
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
## [2.5.0](v2.4.0...v2.5.0) (2024-09-16) ### 🚀 Features * **api-client:** Added workspace controller ([#427](#427)) ([2f4edec](2f4edec)) * **api-client:** Added workspace role controller ([#430](#430)) ([b03ce8e](b03ce8e)) * **api-client:** Synced with latest API ([27f4309](27f4309)) * **api:** Add slug in entities ([#415](#415)) ([89e2fcc](89e2fcc)) * **api:** Included default workspace details in getSelf function ([#414](#414)) ([e67bbd6](e67bbd6)) * **platform:** Add loading skeleton in the [secure]s page ([#423](#423)) ([a97681e](a97681e)) * **schema:** Added a schema package ([01ea232](01ea232)) * **web:** Update about and careers page ([e167f53](e167f53)) ### 🐛 Bug Fixes * **api:** Error messages fixed in api-key service ([#418](#418)) ([edfbce0](edfbce0)) ### 📚 Documentation * Fixed minor typo in postman workspace link ([#411](#411)) ([ed23116](ed23116)) * Updated Postman links ([444bfb1](444bfb1)) ### 🔧 Miscellaneous Chores * **api:** Suppressed version check test in [secure] ([4688e8c](4688e8c)) * **api:** Update slug generation method ([#420](#420)) ([1f864df](1f864df)) ### 🔨 Code Refactoring * **API:** Refactor workspace-membership into a separate module ([#421](#421)) ([574170f](574170f)) * **platform:** added optional chaining due to strict null check ([#413](#413)) ([907e369](907e369))
🎉 This PR is included in version 2.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
…eyshade-xyz#421) Co-authored-by: rajdip-b <agentR47@gmail.com>
## [2.5.0](keyshade-xyz/keyshade@v2.4.0...v2.5.0) (2024-09-16) ### 🚀 Features * **api-client:** Added workspace controller ([keyshade-xyz#427](keyshade-xyz#427)) ([2f4edec](keyshade-xyz@2f4edec)) * **api-client:** Added workspace role controller ([keyshade-xyz#430](keyshade-xyz#430)) ([b03ce8e](keyshade-xyz@b03ce8e)) * **api-client:** Synced with latest API ([27f4309](keyshade-xyz@27f4309)) * **api:** Add slug in entities ([keyshade-xyz#415](keyshade-xyz#415)) ([89e2fcc](keyshade-xyz@89e2fcc)) * **api:** Included default workspace details in getSelf function ([keyshade-xyz#414](keyshade-xyz#414)) ([e67bbd6](keyshade-xyz@e67bbd6)) * **platform:** Add loading skeleton in the [secure]s page ([keyshade-xyz#423](keyshade-xyz#423)) ([a97681e](keyshade-xyz@a97681e)) * **schema:** Added a schema package ([01ea232](keyshade-xyz@01ea232)) * **web:** Update about and careers page ([e167f53](keyshade-xyz@e167f53)) ### 🐛 Bug Fixes * **api:** Error messages fixed in api-key service ([keyshade-xyz#418](keyshade-xyz#418)) ([edfbce0](keyshade-xyz@edfbce0)) ### 📚 Documentation * Fixed minor typo in postman workspace link ([keyshade-xyz#411](keyshade-xyz#411)) ([ed23116](keyshade-xyz@ed23116)) * Updated Postman links ([444bfb1](keyshade-xyz@444bfb1)) ### 🔧 Miscellaneous Chores * **api:** Suppressed version check test in [secure] ([4688e8c](keyshade-xyz@4688e8c)) * **api:** Update slug generation method ([keyshade-xyz#420](keyshade-xyz#420)) ([1f864df](keyshade-xyz@1f864df)) ### 🔨 Code Refactoring * **API:** Refactor workspace-membership into a separate module ([keyshade-xyz#421](keyshade-xyz#421)) ([574170f](keyshade-xyz@574170f)) * **platform:** added optional chaining due to strict null check ([keyshade-xyz#413](keyshade-xyz#413)) ([907e369](keyshade-xyz@907e369))
User description
Description
Created seperate modulr for workspace membership
Fixes #319
Documentation Update
PR Type
enhancement, tests
Description
workspace-membership
module.WorkspaceMembershipService
for managing workspace memberships, including transferring ownership, inviting users, and updating roles.WorkspaceMembershipController
to handle HTTP requests related to workspace memberships.Changes walkthrough 📝
6 files
workspace.service.ts
Refactor workspace service to separate membership logic
apps/api/src/workspace/service/workspace.service.ts
updates.
workspace-membership.service.ts
Implement workspace membership management service
apps/api/src/workspace-membership/service/workspace-membership.service.ts
workspace-membership.controller.ts
Create controller for workspace membership operations
apps/api/src/workspace-membership/controller/workspace-membership.controller.ts
create.workspace-membership.ts
Define DTO for workspace member creation
apps/api/src/workspace-membership/dto/create.workspace/create.workspace-membership.ts
workspace-membership.module.ts
Create module for workspace membership management
apps/api/src/workspace-membership/workspace-membership.module.ts
create.workspace.ts
Simplify workspace DTO by removing membership details
apps/api/src/workspace/dto/create.workspace/create.workspace.ts
5 files
workspace-membership.e2e.spec.ts
Add end-to-end tests for workspace membership
apps/api/src/workspace-membership/workspace-membership.e2e.spec.ts
project.e2e.spec.ts
Integrate workspace membership service in project tests
apps/api/src/project/project.e2e.spec.ts
workspace-membership.controller.spec.ts
Add unit tests for workspace membership controller
apps/api/src/workspace-membership/controller/workspace-membership.controller.spec.ts
workspace-membership.service.spec.ts
Add unit tests for workspace membership service
apps/api/src/workspace-membership/service/workspace-membership.service.spec.ts
create.workspace-membership.spec.ts
Add test for CreateWorkspaceMember DTO
apps/api/src/workspace-membership/dto/create.workspace/create.workspace-membership.spec.ts