X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/4ea2ff188ec745966387ce8bbe14880bfeede863..4b961d16b8f8ef8afbd13697a79fe4684acd0416:/src/models/user.ts diff --git a/src/models/user.ts b/src/models/user.ts index dfb41889..24978645 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 +}