Add presets method to WorkflowService
[arvados.git] / src / models / link.ts
index 26cce6e875fb3e607027253ee485c189d847ddd1..c9e085be49ac34e535c34e73abae9d0d63ee13cf 100644 (file)
@@ -1,13 +1,21 @@
-import { Resource } from "./resource";
-
 // Copyright (C) The Arvados Authors. All rights reserved.
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-export interface Link extends Resource {
+import { Resource } from "./resource";
+import { TagProperty } from "~/models/tag";
+
+export interface LinkResource extends Resource {
     headUuid: string;
     tailUuid: string;
     linkClass: string;
     name: string;
-    properties: {};
+    properties: TagProperty;
 }
+
+export enum LinkClass {
+    STAR = 'star',
+    TAG = 'tag',
+    PERMISSION = 'permission',
+    PRESET = 'preset',
+}
\ No newline at end of file