16583: Add "Intermediate" to collection type filters
[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, ResourceKind, ResourceWithProperties } from 'models/resource';
6
7 export interface LinkResource extends Resource, ResourceWithProperties {
8     headUuid: string;
9     headKind: ResourceKind;
10     tailUuid: string;
11     tailKind: string;
12     linkClass: string;
13     name: string;
14     kind: ResourceKind.LINK;
15 }
16
17 export enum LinkClass {
18     STAR = 'star',
19     TAG = 'tag',
20     PERMISSION = 'permission',
21     PRESET = 'preset',
22 }