Create FileViewersConfigService
[arvados.git] / src / models / link.ts
index 0b5053dcb7c5f9cfcdba96fc9a3742ab780a03e1..d931f7f21898b394b2b2efb73349838e533532a8 100644 (file)
@@ -3,17 +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: any;
+    properties: TagProperty;
 }
 
 export enum LinkClass {
     STAR = 'star',
     TAG = 'tag',
     PERMISSION = 'permission',
+    PRESET = 'preset',
 }
\ No newline at end of file