[PR #4019] HSB-149 refactor: backend team module #4631

Open
opened 2026-03-17 02:09:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4019
Author: @mirarifhasan
Created: 4/30/2024
Status: 🔄 Open

Base: mainHead: refactor/team


📝 Commits (6)

  • 23e7f6b chore: getTeamWithIDTE function removed
  • e0f3930 refactor: getMembersOfTeam function improved
  • df062aa refactor: getTeamMemberTE function removed
  • 78ba905 refactor: getTeamsOfUser function
  • 362881d refactor: remove unused imports
  • cb4e83a test: fix test cases

📊 Changes

4 files changed (+45 additions, -88 deletions)

View changed files

📝 packages/hoppscotch-backend/src/admin/admin.service.ts (+7 -6)
📝 packages/hoppscotch-backend/src/team-invitation/team-invitation.resolver.ts (+8 -5)
📝 packages/hoppscotch-backend/src/team/team.service.spec.ts (+5 -0)
📝 packages/hoppscotch-backend/src/team/team.service.ts (+25 -77)

📄 Description

Closes HSB-149

Description

This PR refactored in team-module in hoppscotch-backend package.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Nil


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4019 **Author:** [@mirarifhasan](https://github.com/mirarifhasan) **Created:** 4/30/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `refactor/team` --- ### 📝 Commits (6) - [`23e7f6b`](https://github.com/hoppscotch/hoppscotch/commit/23e7f6b50c1c6c4e354ca37cd2d35cdbb2ce8606) chore: getTeamWithIDTE function removed - [`e0f3930`](https://github.com/hoppscotch/hoppscotch/commit/e0f393021886afd9b6850ed36c9f1888f484dd27) refactor: getMembersOfTeam function improved - [`df062aa`](https://github.com/hoppscotch/hoppscotch/commit/df062aa6f9f476f467a9be7872f58f43e833ca8c) refactor: getTeamMemberTE function removed - [`78ba905`](https://github.com/hoppscotch/hoppscotch/commit/78ba9058e7d515a25d0d7590829d5b98f2928e42) refactor: getTeamsOfUser function - [`362881d`](https://github.com/hoppscotch/hoppscotch/commit/362881d53bb5484ce565319c78038c3408365dab) refactor: remove unused imports - [`cb4e83a`](https://github.com/hoppscotch/hoppscotch/commit/cb4e83a7b4acec88fc2eb8bbd330390aff25cf46) test: fix test cases ### 📊 Changes **4 files changed** (+45 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/admin/admin.service.ts` (+7 -6) 📝 `packages/hoppscotch-backend/src/team-invitation/team-invitation.resolver.ts` (+8 -5) 📝 `packages/hoppscotch-backend/src/team/team.service.spec.ts` (+5 -0) 📝 `packages/hoppscotch-backend/src/team/team.service.ts` (+25 -77) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> <!-- Issue # here --> Closes HSB-149 ### Description <!-- Add a brief description of the pull request --> This PR refactored in `team-module` in `hoppscotch-backend` package. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> Nil --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4631
No description provided.