Add presets method to WorkflowService
[arvados.git] / src / models / link.ts
index 8665c9eabed78c429b9fae2fe6ef8638756b828d..c9e085be49ac34e535c34e73abae9d0d63ee13cf 100644 (file)
@@ -3,24 +3,19 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import { Resource } from "./resource";
+import { TagProperty } from "~/models/tag";
 
 export interface LinkResource extends Resource {
     headUuid: string;
     tailUuid: string;
     linkClass: string;
     name: string;
-    properties: {
-        key?: string;
-        value?: any;
-    };
-}
-
-export enum TailType {
-    COLLECTION = 'Collection',
-    JOB = 'Job'
+    properties: TagProperty;
 }
 
 export enum LinkClass {
     STAR = 'star',
-    TAG = 'tag'
+    TAG = 'tag',
+    PERMISSION = 'permission',
+    PRESET = 'preset',
 }
\ No newline at end of file