Load users instead of permission into group details table
[arvados-workbench2.git] / src / models / link.ts
index da9dfd030b39217f7649d6d896f9cfd3ad639a5e..1798e4477634418248b4de38b399b121561df595 100644 (file)
@@ -2,17 +2,20 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { Resource } from "./resource";
+import { Resource, ResourceKind } from "./resource";
+import { TagProperty } from "~/models/tag";
 
 export interface LinkResource extends Resource {
     headUuid: string;
     tailUuid: string;
     linkClass: string;
     name: string;
-    properties: {};
+    properties: TagProperty;
+    kind: ResourceKind.LINK;
 }
 
 export enum LinkClass {
     STAR = 'star',
-    TAG = 'tag'
+    TAG = 'tag',
+    PERMISSION = 'permission',
 }
\ No newline at end of file