From c40e428eb2b37dec397e129437aff86207986708 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Thu, 12 Oct 2023 10:27:28 +0200
Subject: [PATCH] add more constants and type hints to cqi package
---
app/static/js/cqi/constants.js | 37 ++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/app/static/js/cqi/constants.js b/app/static/js/cqi/constants.js
index d888e240..b12fef88 100644
--- a/app/static/js/cqi/constants.js
+++ b/app/static/js/cqi/constants.js
@@ -1,6 +1,43 @@
cqi.constants = {};
+/** @type {number} */
cqi.constants.FIELD_KEYWORD = 9;
+
+/** @type {number} */
cqi.constants.FIELD_MATCH = 16;
+
+/** @type {number} */
cqi.constants.FIELD_MATCHEND = 17;
+
+/** @type {number} */
cqi.constants.FIELD_TARGET = 0;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_0 = 0;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_1 = 1;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_2 = 2;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_3 = 3;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_4 = 4;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_5 = 5;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_6 = 6;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_7 = 7;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_8 = 8;
+
+/** @type {number} */
+cqi.constants.FIELD_TARGET_9 = 9;