projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 14490-workflow-presets
[arvados.git]
/
src
/
models
/
user.ts
diff --git
a/src/models/user.ts
b/src/models/user.ts
index b0f004c31e2ad4d450628b3c96c59d7ff27d3545..a7b8458bf81fb37eb6480d33ea19c6e484b67180 100644
(file)
--- a/
src/models/user.ts
+++ b/
src/models/user.ts
@@
-4,12
+4,24
@@
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;
}
isAdmin: boolean;
}
@@
-29,14
+41,4
@@
export interface UserResource extends Resource {
defaultOwnerUuid: string;
isActive: boolean;
writableBy: string[];
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
}
\ No newline at end of file