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 {
29 export const getUserFullname = (user?: User) => {
30 return user ? `${user.firstName} ${user.lastName}` : "";
33 export interface UserResource extends Resource {
34 kind: ResourceKind.USER;
41 defaultOwnerUuid: string;