projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set default api field value
[arvados-workbench2.git]
/
src
/
models
/
session.ts
diff --git
a/src/models/session.ts
b/src/models/session.ts
index 8a5002be5e6c3aa82fa41b5cb81c363f72dc0c00..9a942967370f1241de198007359d6582ac594a2a 100644
(file)
--- a/
src/models/session.ts
+++ b/
src/models/session.ts
@@
-1,9
+1,21
@@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+export enum SessionStatus {
+ INVALIDATED,
+ BEING_VALIDATED,
+ VALIDATED
+}
+
export interface Session {
clusterId: string;
remoteHost: string;
export interface Session {
clusterId: string;
remoteHost: string;
+ baseUrl: string;
username: string;
email: string;
token: string;
loggedIn: boolean;
username: string;
email: string;
token: string;
loggedIn: boolean;
- validated: boolean;
+ status: SessionStatus;
+ active: boolean;
}
}