1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Resource, ResourceKind } from '~/models/resource';
7 export type UserPrefs = {
10 organization_email?: string,
17 export interface User {
28 export const getUserFullname = (user?: User) => {
29 return user ? `${user.firstName} ${user.lastName}` : "";
32 export interface UserResource extends Resource {
33 kind: ResourceKind.USER;
41 defaultOwnerUuid: string;