-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
feat: Create back-end for the new users panel page #31898
Conversation
Created a helper function named isSMTPConfigured.ts to run when calling the smtp.check endpoint of the misc.ts group.
🦋 Changeset detectedLatest commit: d203d48 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #31898 +/- ##
===========================================
- Coverage 55.01% 54.68% -0.33%
===========================================
Files 2278 2299 +21
Lines 50402 50919 +517
Branches 10264 10423 +159
===========================================
+ Hits 27729 27846 +117
- Misses 20195 20606 +411
+ Partials 2478 2467 -11
Flags with carried forward coverage won't be shown. Click here to find out more. |
Created the two new endpoints that represent the back-end for the new users page.
packages/rest-typings/src/v1/users/UsersSendWelcomeEmailParamsPOST.ts
Outdated
Show resolved
Hide resolved
packages/rest-typings/src/v1/users/UsersSendWelcomeEmailParamsPOST.ts
Outdated
Show resolved
Hide resolved
fbb307b
Looks like this PR is ready to merge! 🎉 |
Proposed changes (including videos or screenshots)
This pull request introduces the necessary backend elements for the new users page. These include:
New endpoints with JSON schema validation for their payloads:
api/v1/users.listByStatus: Returns a paginated and/or filtered list of users with the following query parameters:
api/v1/users.sendWelcomeEmail: Sends the welcome email template to the provided email address with the following query parameters:
Created API tests for the aforementioned endpoints.
Improved typing for the
users.ts
rest-typings.Issue(s)
Steps to test or reproduce
Further comments
Related to: #30236
Jira: WM-51