X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/2e60bb998178752c3a126f077cbb891b597ed91e..0a901d62940804d2854b2b39d2ea0199fd795ad3:/src/models/link.ts diff --git a/src/models/link.ts b/src/models/link.ts index 8665c9ea..1798e447 100644 --- a/src/models/link.ts +++ b/src/models/link.ts @@ -2,25 +2,20 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { Resource } from "./resource"; +import { Resource, ResourceKind } from "./resource"; +import { TagProperty } from "~/models/tag"; export interface LinkResource extends Resource { headUuid: string; tailUuid: string; linkClass: string; name: string; - properties: { - key?: string; - value?: any; - }; -} - -export enum TailType { - COLLECTION = 'Collection', - JOB = 'Job' + properties: TagProperty; + kind: ResourceKind.LINK; } export enum LinkClass { STAR = 'star', - TAG = 'tag' + TAG = 'tag', + PERMISSION = 'permission', } \ No newline at end of file