X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8cc7e7304d11fb7940a9c68092c7f614e4e5fcea..9f9072365214fbf9d19f0359df90bbf2ab7ae3c9:/src/models/link.ts diff --git a/src/models/link.ts b/src/models/link.ts index 26cce6e875..d931f7f218 100644 --- 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 -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; + headKind: ResourceKind; tailUuid: string; + tailKind: 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