Skip to content

Commit 2faf6bf

Browse files
authored
feat(common): more user info in team member list (#2009)
* feat(common): more user info in team member list * return email as well * t
1 parent eafdca2 commit 2faf6bf

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

common/src/models/team.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ pub struct TeamMembership {
3131
pub user_id: String,
3232
/// Role of the user in the team
3333
pub role: TeamRole,
34+
/// Auth0 display name
35+
pub nickname: Option<String>,
36+
/// URL to profile picture
37+
pub picture: Option<String>,
38+
/// Auth0 primary email
39+
pub email: Option<String>,
3440
}
3541

3642
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]

common/types.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)