add admin links feature - model, service, dialogs and panel
[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 import { ResourceKind } from '~/models/resource';
8
9 export interface LinkResource extends Resource {
10     headUuid: string;
11     headKind: ResourceKind;
12     tailUuid: string;
13     tailKind: string;
14     linkClass: string;
15     name: string;
16     properties: TagProperty;
17 }
18
19 export enum LinkClass {
20     STAR = 'star',
21     TAG = 'tag',
22     PERMISSION = 'permission',
23 }