projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
collection-creation-without-tests+fixed-disabling-button-on-validation
[arvados.git]
/
src
/
models
/
user.ts
1
// Copyright (C) The Arvados Authors. All rights reserved.
2
//
3
// SPDX-License-Identifier: AGPL-3.0
4
5
export interface User {
6
email: string;
7
firstName: string;
8
lastName: string;
9
uuid: string;
10
ownerUuid: string;
11
}
12
13
export const getUserFullname = (user?: User) => {
14
return user ? `${user.firstName} ${user.lastName}` : "";
15
};