Merge branch '14512_admin_links'
[arvados-workbench2.git] / src / models / link.ts
index 868652809c6485b3a1d90e96e6d19d088f46f0df..d931f7f21898b394b2b2efb73349838e533532a8 100644 (file)
@@ -3,15 +3,22 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import { Resource } from "./resource";
+import { TagProperty } from "~/models/tag";
+import { ResourceKind } from '~/models/resource';
 
 export interface LinkResource extends Resource {
     headUuid: string;
+    headKind: ResourceKind;
     tailUuid: string;
+    tailKind: string;
     linkClass: string;
     name: string;
-    properties: {};
+    properties: TagProperty;
 }
 
 export enum LinkClass {
-    STAR = 'star'
+    STAR = 'star',
+    TAG = 'tag',
+    PERMISSION = 'permission',
+    PRESET = 'preset',
 }
\ No newline at end of file