aboutsummaryrefslogtreecommitdiffstats
path: root/backend/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/constants.py')
-rw-r--r--backend/constants.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py
index eb0c68f..4bb051c 100644
--- a/backend/constants.py
+++ b/backend/constants.py
@@ -56,6 +56,12 @@ QUESTION_TYPES = [
"vote",
]
+
+class TextType(Enum):
+ SHORT_TEXT = "short_text"
+ TEXT_AREA = "text_area"
+
+
REQUIRED_QUESTION_TYPE_DATA = {
"radio": {
"options": list,