feat: support for new group managers and teams features#582
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #582 +/- ##
==========================================
- Coverage 90.04% 89.89% -0.14%
==========================================
Files 40 40
Lines 1996 2017 +21
Branches 208 213 +5
==========================================
+ Hits 1797 1813 +16
Misses 82 82
- Partials 117 122 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for managing group managers and group teams in the Crowdin Enterprise API. It introduces three new API methods for each resource: listing, updating via PATCH operations, and retrieving individual items.
- Added methods to list, update, and get group managers in the Users API
- Added methods to list, update, and get group teams in the Teams API
- Added comprehensive test coverage for all new methods
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/users/index.ts | Added listGroupManagers, updateGroupManagers, and getGroupManager methods with corresponding TypeScript interfaces |
| src/teams/index.ts | Added listGroupTeams, updateGroupTeams, and getGroupTeam methods with corresponding TypeScript interfaces |
| tests/users/api.test.ts | Added test cases for group manager operations with nock mocks |
| tests/teams/api.test.ts | Added test cases for group team operations with nock mocks |
Comments suppressed due to low confidence (1)
tests/teams/api.test.ts:4
- The describe block is named 'Tasks API' but this test file is for the Teams API. It should be 'Teams API' to accurately reflect what is being tested.
describe('Tasks API', () => {
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
Resolves #468