diff --git a/js/Modalities.js b/js/Modalities.js index 9ffb220..4e15b69 100644 --- a/js/Modalities.js +++ b/js/Modalities.js @@ -3,7 +3,10 @@ // Modalities export default { + COURSE: "COURSE", CUSTOM_NAVIGATION: "CUSTOM_NAVIGATION", + LESSON: "LESSON", QUIZ: "QUIZ", SURVEY: "SURVEY", + UNIT: "UNIT", }; diff --git a/le_utils/constants/modalities.py b/le_utils/constants/modalities.py index 257b30d..5269b79 100644 --- a/le_utils/constants/modalities.py +++ b/le_utils/constants/modalities.py @@ -4,18 +4,27 @@ # Modalities +COURSE = "COURSE" CUSTOM_NAVIGATION = "CUSTOM_NAVIGATION" +LESSON = "LESSON" QUIZ = "QUIZ" SURVEY = "SURVEY" +UNIT = "UNIT" choices = ( + (COURSE, "Course"), (CUSTOM_NAVIGATION, "Custom Navigation"), + (LESSON, "Lesson"), (QUIZ, "Quiz"), (SURVEY, "Survey"), + (UNIT, "Unit"), ) MODALITIESLIST = [ + COURSE, CUSTOM_NAVIGATION, + LESSON, QUIZ, SURVEY, + UNIT, ] diff --git a/spec/constants-modalities.json b/spec/constants-modalities.json index 8e3f988..7f22365 100644 --- a/spec/constants-modalities.json +++ b/spec/constants-modalities.json @@ -1,5 +1,8 @@ [ "QUIZ", "CUSTOM_NAVIGATION", - "SURVEY" + "SURVEY", + "COURSE", + "UNIT", + "LESSON" ]