projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18315: Adds file upload test proving that the UI is correctly updated.
[arvados-workbench2.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index 0b5053dcb7c5f9cfcdba96fc9a3742ab780a03e1..f55c5ccfeaa8045d52ccf25aa90403c3eab50ddc 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-2,18
+2,21
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource
} from "./resource"
;
+import { Resource
, ResourceKind, ResourceWithProperties } from 'models/resource'
;
-export interface LinkResource extends Resource {
+export interface LinkResource extends Resource
, ResourceWithProperties
{
headUuid: string;
headUuid: string;
+ headKind: ResourceKind;
tailUuid: string;
tailUuid: string;
+ tailKind: string;
linkClass: string;
name: string;
linkClass: string;
name: string;
-
properties: any
;
+
kind: ResourceKind.LINK
;
}
export enum LinkClass {
STAR = 'star',
TAG = 'tag',
PERMISSION = 'permission',
}
export enum LinkClass {
STAR = 'star',
TAG = 'tag',
PERMISSION = 'permission',
-}
\ No newline at end of file
+ PRESET = 'preset',
+}