15768: button filter optimization pass Arvados-DCO-1.1-Signed-off-by: Lisa Knox ...
[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     uuid: string;
14     key: string;
15     keyID?: string;
16     value: string;
17     valueID?: string;
18 }
19
20 export enum TagTailType {
21     COLLECTION = 'Collection',
22     JOB = 'Job'
23 }