Skip to content

An open-source, faster Devin alternative

TypeScript

Preview mock: four members and two invitations

Igor Zalutski via Computer34d8028cf5d2
diff --git a/web/src/api/mock.ts b/web/src/api/mock.ts
index d44d130a..c6e8c75d 100644
--- a/web/src/api/mock.ts
+++ b/web/src/api/mock.ts
@@ -174,6 +174,20 @@ const orgMembers = [
name: 'Alex Rivera',
role: 'member',
},
+ {
+ membershipId: 'mem_3',
+ id: 'user_4ghi',
+ email: '[email protected]',
+ name: 'Mohamed Habib',
+ role: 'admin',
+ },
+ {
+ membershipId: 'mem_4',
+ id: 'user_5jkl',
+ email: '[email protected]',
+ name: '',
+ role: 'member',
+ },
]
const orgInvitations = [
@@ -185,6 +199,14 @@ const orgInvitations = [
expiresAt: at(-5),
createdAt: at(1),
},
+ {
+ id: 'inv_2',
+ email: '[email protected]',
+ state: 'pending',
+ role: 'member',
+ expiresAt: at(-6),
+ createdAt: at(0.5),
+ },
]
type Handler = () => unknown