projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18866: Fixes the bug.
[arvados-workbench2.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index d931f7f21898b394b2b2efb73349838e533532a8..f55c5ccfeaa8045d52ccf25aa90403c3eab50ddc 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-2,18
+2,16
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource } from "./resource";
-import { TagProperty } from "~/models/tag";
-import { ResourceKind } from '~/models/resource';
+import { Resource, ResourceKind, ResourceWithProperties } from 'models/resource';
-export interface LinkResource extends Resource {
+export interface LinkResource extends Resource
, ResourceWithProperties
{
headUuid: string;
headKind: ResourceKind;
tailUuid: string;
tailKind: string;
linkClass: string;
name: string;
headUuid: string;
headKind: ResourceKind;
tailUuid: string;
tailKind: string;
linkClass: string;
name: string;
-
properties: TagProperty
;
+
kind: ResourceKind.LINK
;
}
export enum LinkClass {
}
export enum LinkClass {
@@
-21,4
+19,4
@@
export enum LinkClass {
TAG = 'tag',
PERMISSION = 'permission',
PRESET = 'preset',
TAG = 'tag',
PERMISSION = 'permission',
PRESET = 'preset',
-}
\ No newline at end of file
+}