catchup-library-web 2.0.10 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -2437,7 +2437,6 @@ var checkActivityAnswerState = (answerList, activity) => {
|
|
|
2437
2437
|
};
|
|
2438
2438
|
var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
|
|
2439
2439
|
const { activityTemplateDTOList, data, coterieType, categoryIdList } = activity;
|
|
2440
|
-
const parsedData = JSON.parse(data);
|
|
2441
2440
|
const {
|
|
2442
2441
|
orderingDifficulty,
|
|
2443
2442
|
dropdownDifficulty,
|
|
@@ -2448,7 +2447,7 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
|
|
|
2448
2447
|
fillInTheBlanksDifficulty,
|
|
2449
2448
|
openEndedDifficulty,
|
|
2450
2449
|
trueFalseDifficulty
|
|
2451
|
-
} =
|
|
2450
|
+
} = data;
|
|
2452
2451
|
const difficultyMap = {};
|
|
2453
2452
|
if (orderingDifficulty) {
|
|
2454
2453
|
difficultyMap["orderingDifficulty"] = orderingDifficulty;
|
package/dist/index.mjs
CHANGED
|
@@ -2215,7 +2215,6 @@ var checkActivityAnswerState = (answerList, activity) => {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
|
|
2217
2217
|
const { activityTemplateDTOList, data, coterieType, categoryIdList } = activity;
|
|
2218
|
-
const parsedData = JSON.parse(data);
|
|
2219
2218
|
const {
|
|
2220
2219
|
orderingDifficulty,
|
|
2221
2220
|
dropdownDifficulty,
|
|
@@ -2226,7 +2225,7 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
|
|
|
2226
2225
|
fillInTheBlanksDifficulty,
|
|
2227
2226
|
openEndedDifficulty,
|
|
2228
2227
|
trueFalseDifficulty
|
|
2229
|
-
} =
|
|
2228
|
+
} = data;
|
|
2230
2229
|
const difficultyMap = {};
|
|
2231
2230
|
if (orderingDifficulty) {
|
|
2232
2231
|
difficultyMap["orderingDifficulty"] = orderingDifficulty;
|
package/package.json
CHANGED
|
@@ -1295,7 +1295,6 @@ export const findBestFitActivity = (
|
|
|
1295
1295
|
) => {
|
|
1296
1296
|
const { activityTemplateDTOList, data, coterieType, categoryIdList } =
|
|
1297
1297
|
activity;
|
|
1298
|
-
const parsedData = JSON.parse(data);
|
|
1299
1298
|
const {
|
|
1300
1299
|
orderingDifficulty,
|
|
1301
1300
|
dropdownDifficulty,
|
|
@@ -1306,7 +1305,7 @@ export const findBestFitActivity = (
|
|
|
1306
1305
|
fillInTheBlanksDifficulty,
|
|
1307
1306
|
openEndedDifficulty,
|
|
1308
1307
|
trueFalseDifficulty,
|
|
1309
|
-
} =
|
|
1308
|
+
} = data;
|
|
1310
1309
|
const difficultyMap: any = {};
|
|
1311
1310
|
if (orderingDifficulty) {
|
|
1312
1311
|
difficultyMap["orderingDifficulty"] = orderingDifficulty;
|