projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17119: The "+ New" button should be disabled when viewing a filter
[arvados.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index 868652809c6485b3a1d90e96e6d19d088f46f0df..785d531cf7d609fec3af696d16c3fbb9028753a4 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-2,16
+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: {};
+ properties: TagProperty;
+ kind: ResourceKind.LINK;
}
export enum LinkClass {
}
export enum LinkClass {
- STAR = 'star'
+ STAR = 'star',
+ TAG = 'tag',
+ PERMISSION = 'permission',
+ PRESET = 'preset',
}
\ No newline at end of file
}
\ No newline at end of file