21359: corrected owneruuid passed to creatproject function Arvados-DCO-1.1-Signed...
[arvados.git] / services / workbench2 / src / models / link-account.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 export enum LinkAccountStatus {
6     SUCCESS,
7     CANCELLED,
8     FAILED
9 }
10
11 export enum LinkAccountType {
12     ADD_OTHER_LOGIN,
13     ADD_LOCAL_TO_REMOTE,
14     ACCESS_OTHER_ACCOUNT,
15     ACCESS_OTHER_REMOTE_ACCOUNT
16 }
17
18 export interface AccountToLink {
19     type: LinkAccountType;
20     userUuid: string;
21     token: string;
22 }