Merge remote-tracking branch 'origin/main' into 18207-Workbench2-is-not-clearing...
[arvados-workbench2.git] / src / models / tag.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { LinkResource } from "./link";
6
7 export interface TagResource extends LinkResource {
8     tailUuid: TagTailType;
9     properties: TagProperty;
10 }
11
12 export interface TagProperty {
13     key: string;
14     keyID?: string;
15     value: string;
16     valueID?: string;
17 }
18
19 export enum TagTailType {
20     COLLECTION = 'Collection',
21     JOB = 'Job'
22 }