18169: Post review changes, Cypress tests added
[arvados-workbench2.git] / src / models / link.ts
index 1798e4477634418248b4de38b399b121561df595..828dced232d61651a5ed337aec1708542a08d92b 100644 (file)
@@ -2,15 +2,16 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { Resource, ResourceKind } from "./resource";
-import { TagProperty } from "~/models/tag";
+import { Resource, ResourceKind } from 'models/resource';
 
 export interface LinkResource extends Resource {
     headUuid: string;
+    headKind: ResourceKind;
     tailUuid: string;
+    tailKind: string;
     linkClass: string;
     name: string;
-    properties: TagProperty;
+    properties: any;
     kind: ResourceKind.LINK;
 }
 
@@ -18,4 +19,5 @@ export enum LinkClass {
     STAR = 'star',
     TAG = 'tag',
     PERMISSION = 'permission',
-}
\ No newline at end of file
+    PRESET = 'preset',
+}