diff options
Diffstat (limited to 'backend/constants.py')
-rw-r--r-- | backend/constants.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py index c7db8e6..1816354 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -26,3 +26,21 @@ QUESTION_TYPES = [ "range", "section", ] + +REQUIRED_QUESTION_TYPE_DATA = { + "radio": { + "options": list, + }, + "select": { + "options": list, + }, + "code": { + "language": str, + }, + "range": { + "options": list, + }, + "section": { + "text": str, + }, +} |