feat: add email filtering to team memberships endpoint (#23923)
* Controller Layer updates. * adding email filtering and pagination to team memberships endpoint.. * Minor enhancements. * Improve addressed. * refactor: update team memberships input to handle comma-separated emails - Replace array format with comma-separated string handling - Add proper email validation with BadRequestException - Remove ArrayMaxSize constraint for better flexibility - Update API documentation and examples - Align with codebase patterns from get-managed-users.input.ts * Morgan suggestions addressed. * More improvements......
This commit is contained in:
1 parent
d7d2487f6d
commit
de195a1c0f
6 files changed
+199
-7
No files matched your search
@@ -28,6 +28,7 @@ export class GetUsersInput {
|
||||
@ApiPropertyOptional({
|
||||
type: [String],
|
||||
description: "The email address or an array of email addresses to filter by",
|
||||
example: ["[email protected]", "[email protected]"],
|
||||
})
|
||||
emails?: string[];
|
||||
}
|
||||
Reference in new issue
Block a user