user-admin-panel-init
[arvados-workbench2.git] / src / models / user.ts
index 9f9c534763ca86ee40190c2361c89b4e81da2f95..b0f004c31e2ad4d450628b3c96c59d7ff27d3545 100644 (file)
@@ -25,8 +25,18 @@ export interface UserResource extends Resource {
     lastName: string;
     identityUrl: string;
     isAdmin: boolean;
-    prefs: string;
+    prefs: UserPrefs;
     defaultOwnerUuid: string;
     isActive: boolean;
     writableBy: string[];
+}
+
+export interface UserPrefs {
+    profile: {
+        lab: string;
+        organization: string;
+        organizationEmail: string;
+        role: string;
+        websiteUrl: string;
+    };
 }
\ No newline at end of file