This commit is contained in:
louiscklaw
2025-04-21 06:39:13 +08:00
parent 72bc7a67e2
commit 3e73668a3f
27 changed files with 298 additions and 142 deletions

View File

@@ -1,4 +1,6 @@
// RULES: COL_<COLLECTION_NAME> = "<name in dbml file>"
// RULES:
// COL_<COLLECTION_NAME> = "<table name in dbml file>"
// e.g. COL_APPLE = "Apple" table in dbml
const COL_LESSON_TYPES = 'LessonsTypes';
const COL_LESSON_CATEGORIES = 'LessonsCategories';
const NO_VALUE = 'NO_VALUE';
@@ -7,10 +9,12 @@ const NS_LESSON_CATEGORY = 'lesson_category';
const COL_USERS = 'users';
const COL_USER_METAS = 'UserMetas';
// do not use LP_CATEGORIES
const COL_LISTENINGS_PRACTICE_CATEGORIES = 'QuizLPCategories';
// RULES:
// do not use LP_CATEGORIES anymore
const COL_QUIZ_LP_CATEGORIES = 'QuizLPCategories';
const COL_QUIZ_LP_QUESTIONS = 'QuizLPQuestions';
const COL_MF_CATEGORIES = 'QuizMFCategories';
//
const COL_QUIZ_MF_CATEGORIES = 'QuizMFCategories';
export {
COL_LESSON_TYPES,
@@ -21,9 +25,9 @@ export {
COL_USERS,
COL_USER_METAS,
//
COL_LISTENINGS_PRACTICE_CATEGORIES,
COL_QUIZ_LP_CATEGORIES,
COL_QUIZ_LP_QUESTIONS,
//
COL_MF_CATEGORIES,
COL_QUIZ_MF_CATEGORIES,
//
};