projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use required attribute for required fields in my account
[arvados.git]
/
src
/
models
/
user.ts
diff --git
a/src/models/user.ts
b/src/models/user.ts
index c2f21e582798dacd5597872696ff7fc1685d62e7..60d598d57bd637c0728476f6b6b5f18a77909270 100644
(file)
--- a/
src/models/user.ts
+++ b/
src/models/user.ts
@@
-4,12
+4,25
@@
import { Resource, ResourceKind } from '~/models/resource';
import { Resource, ResourceKind } from '~/models/resource';
+export type UserPrefs = {
+ profile?: {
+ organization?: string,
+ organization_email?: string,
+ lab?: string,
+ website_url?: string,
+ role?: string
+ }
+};
+
export interface User {
email: string;
firstName: string;
lastName: string;
uuid: string;
ownerUuid: string;
export interface User {
email: string;
firstName: string;
lastName: string;
uuid: string;
ownerUuid: string;
+ identityUrl: string;
+ prefs: UserPrefs;
+ isAdmin: boolean;
}
export const getUserFullname = (user?: User) => {
}
export const getUserFullname = (user?: User) => {