@@ -6,6 +6,7 @@ export interface Group {
66 about ?: string ;
77 avatar ?: string ;
88 users : string ; // user emails seperated by newline
9+ userEmails : string [ ] ;
910 usersCount ?: number ;
1011}
1112
@@ -19,6 +20,11 @@ export const mockGroups: Group[] = [
1920 avatar : "https://api.dicebear.com/7.x/initials/svg?seed=ET" ,
2021 users :
2122 "john.doe@example.com\nalice.smith@example.com\nbob.wilson@example.com" ,
23+ userEmails : [
24+ "john.doe@example.com" ,
25+ "alice.smith@example.com" ,
26+ "bob.wilson@example.com" ,
27+ ] ,
2228 } ,
2329 {
2430 id : 2 ,
@@ -28,6 +34,7 @@ export const mockGroups: Group[] = [
2834 about : "Product design and UX team" ,
2935 avatar : "https://api.dicebear.com/7.x/initials/svg?seed=DT" ,
3036 users : "sarah.designer@example.com\nmike.ux@example.com" ,
37+ userEmails : [ "sarah.designer@example.com" , "mike.ux@example.com" ] ,
3138 } ,
3239 {
3340 id : 3 ,
@@ -38,6 +45,11 @@ export const mockGroups: Group[] = [
3845 avatar : "https://api.dicebear.com/7.x/initials/svg?seed=MT" ,
3946 users :
4047 "emma.marketing@example.com\njames.growth@example.com\nlisa.social@example.com" ,
48+ userEmails : [
49+ "emma.marketing@example.com" ,
50+ "james.growth@example.com" ,
51+ "lisa.social@example.com" ,
52+ ] ,
4153 } ,
4254 {
4355 id : 4 ,
@@ -47,5 +59,6 @@ export const mockGroups: Group[] = [
4759 about : "Product management and strategy" ,
4860 avatar : "https://api.dicebear.com/7.x/initials/svg?seed=PT" ,
4961 users : "david.pm@example.com\nanna.product@example.com" ,
62+ userEmails : [ "david.pm@example.com" , "anna.product@example.com" ] ,
5063 } ,
5164] ;
0 commit comments