20031: Add includeDirectories flag to ProjectsTreePicker and add collection/directory...
[arvados-workbench2.git] / src / models / session.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 export enum SessionStatus {
6     INVALIDATED,
7     BEING_VALIDATED,
8     VALIDATED
9 }
10
11 export interface Session {
12     clusterId: string;
13     remoteHost: string;
14     baseUrl: string;
15     name: string;
16     email: string;
17     token: string;
18     uuid: string;
19     loggedIn: boolean;
20     status: SessionStatus;
21     active: boolean;
22     userIsActive: boolean;
23     apiRevision: number;
24 }