projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16111-ssh-help' refs #16111
[arvados-workbench2.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index 26cce6e875fb3e607027253ee485c189d847ddd1..785d531cf7d609fec3af696d16c3fbb9028753a4 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-1,13
+1,24
@@
-import { Resource } from "./resource";
-
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
-export interface Link extends Resource {
+import { TagProperty } from "~/models/tag";
+import { Resource, ResourceKind } from '~/models/resource';
+
+export interface LinkResource extends Resource {
headUuid: string;
headUuid: string;
+ headKind: ResourceKind;
tailUuid: string;
tailUuid: string;
+ tailKind: string;
linkClass: string;
name: string;
linkClass: string;
name: string;
- properties: {};
+ properties: TagProperty;
+ kind: ResourceKind.LINK;
}
}
+
+export enum LinkClass {
+ STAR = 'star',
+ TAG = 'tag',
+ PERMISSION = 'permission',
+ PRESET = 'preset',
+}
\ No newline at end of file