Add login in/out handling, fix async validation
[arvados-workbench2.git] / src / models / link.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Resource } from "./resource";
6 import { TagProperty } from "~/models/tag";
7
8 export interface LinkResource extends Resource {
9     headUuid: string;
10     tailUuid: string;
11     linkClass: string;
12     name: string;
13     properties: TagProperty;
14 }
15
16 export enum LinkClass {
17     STAR = 'star',
18     TAG = 'tag',
19     PERMISSION = 'permission',
20 }