projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18368-notification-banner' into 19836-new-tooltip-impl
[arvados.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index 26cce6e875fb3e607027253ee485c189d847ddd1..f55c5ccfeaa8045d52ccf25aa90403c3eab50ddc 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-1,13
+1,22
@@
-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 { Resource, ResourceKind, ResourceWithProperties } from 'models/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: {};
+ kind: ResourceKind.LINK;
+}
+
+export enum LinkClass {
+ STAR = 'star',
+ TAG = 'tag',
+ PERMISSION = 'permission',
+ PRESET = 'preset',
}
}