projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add OPEN_DETAILS_PANEL action
[arvados-workbench2.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index 8665c9eabed78c429b9fae2fe6ef8638756b828d..785d531cf7d609fec3af696d16c3fbb9028753a4 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-2,25
+2,23
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource } from "./resource";
+import { TagProperty } from "~/models/tag";
+import { Resource, ResourceKind } from '~/models/resource';
export interface LinkResource extends Resource {
headUuid: string;
export interface LinkResource extends Resource {
headUuid: string;
+ headKind: ResourceKind;
tailUuid: string;
tailUuid: string;
+ tailKind: string;
linkClass: string;
name: string;
linkClass: string;
name: string;
- properties: {
- key?: string;
- value?: any;
- };
-}
-
-export enum TailType {
- COLLECTION = 'Collection',
- JOB = 'Job'
+ properties: TagProperty;
+ kind: ResourceKind.LINK;
}
export enum LinkClass {
STAR = 'star',
}
export enum LinkClass {
STAR = 'star',
- TAG = 'tag'
+ TAG = 'tag',
+ PERMISSION = 'permission',
+ PRESET = 'preset',
}
\ No newline at end of file
}
\ No newline at end of file