X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a1e2b8ba77e4a7273940a3fc542bc42e282618a7..29c0944feb7932889a5b6fcaf208eef9f5864a29:/src/models/user.ts diff --git a/src/models/user.ts b/src/models/user.ts index dfb418892e..2497864507 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -4,7 +4,7 @@ import { Resource, ResourceKind } from '~/models/resource'; -export type userPrefs = { +export type UserPrefs = { profile?: { organization?: string, organization_email?: string, @@ -20,9 +20,10 @@ export interface User { lastName: string; uuid: string; ownerUuid: string; - identityUrl: string; - prefs: userPrefs; + username: string; + prefs: UserPrefs; isAdmin: boolean; + isActive: boolean; } export const getUserFullname = (user?: User) => { @@ -35,10 +36,9 @@ export interface UserResource extends Resource { username: string; firstName: string; lastName: string; - identityUrl: string; isAdmin: boolean; - prefs: string; + prefs: UserPrefs; defaultOwnerUuid: string; isActive: boolean; writableBy: string[]; -} \ No newline at end of file +}