Create vocabulary model
authorMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Tue, 27 Nov 2018 08:03:14 +0000 (09:03 +0100)
committerMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Tue, 27 Nov 2018 08:03:14 +0000 (09:03 +0100)
Feature #14393

Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>

src/models/vocabulary.ts [new file with mode: 0644]

diff --git a/src/models/vocabulary.ts b/src/models/vocabulary.ts
new file mode 100644 (file)
index 0000000..3dbd475
--- /dev/null
@@ -0,0 +1,13 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+export interface Vocabulary {
+    strict: boolean;
+    tags: Tag[];
+}
+
+export interface Tag {
+    strict: boolean;
+    values: string[];
+}