projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create FileViewersConfigService
[arvados.git]
/
src
/
models
/
link.ts
diff --git
a/src/models/link.ts
b/src/models/link.ts
index 26cce6e875fb3e607027253ee485c189d847ddd1..d931f7f21898b394b2b2efb73349838e533532a8 100644
(file)
--- a/
src/models/link.ts
+++ b/
src/models/link.ts
@@
-1,13
+1,24
@@
-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 } from "./resource";
+import { TagProperty } from "~/models/tag";
+import { ResourceKind } from '~/models/resource';
+
+export interface LinkResource extends Resource {
headUuid: string;
headUuid: string;
+ headKind: ResourceKind;
tailUuid: string;
tailUuid: string;
+ tailKind: string;
linkClass: string;
name: string;
linkClass: string;
name: string;
- properties:
{}
;
+ properties:
TagProperty
;
}
}
+
+export enum LinkClass {
+ STAR = 'star',
+ TAG = 'tag',
+ PERMISSION = 'permission',
+ PRESET = 'preset',
+}
\ No newline at end of file