@vue-skuilder/db 0.2.32 → 0.2.34
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/core/index.js +2 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +2 -1
- package/dist/core/index.mjs.map +1 -1
- package/dist/impl/couch/index.d.cts +9 -0
- package/dist/impl/couch/index.d.ts +9 -0
- package/dist/impl/couch/index.js +2 -1
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +2 -1
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.js +2 -1
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs +2 -1
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +65 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/courseConfigRegistration.ts +22 -10
- package/src/study/SpacedRepetition.ts +23 -6
- package/src/study/services/EloService.ts +49 -4
|
@@ -5794,7 +5794,7 @@ function getStreak(records) {
|
|
|
5794
5794
|
function getLapses(records) {
|
|
5795
5795
|
return records.filter((r) => r.isCorrect === false).length;
|
|
5796
5796
|
}
|
|
5797
|
-
var import_moment4, import_common14, duration;
|
|
5797
|
+
var import_moment4, import_common14, duration, SLOW_CORRECT_MAX_INTERVAL;
|
|
5798
5798
|
var init_SpacedRepetition = __esm({
|
|
5799
5799
|
"src/study/SpacedRepetition.ts"() {
|
|
5800
5800
|
"use strict";
|
|
@@ -5803,6 +5803,7 @@ var init_SpacedRepetition = __esm({
|
|
|
5803
5803
|
import_common14 = require("@vue-skuilder/common");
|
|
5804
5804
|
init_logger();
|
|
5805
5805
|
duration = import_moment4.default.duration;
|
|
5806
|
+
SLOW_CORRECT_MAX_INTERVAL = 20 * 60 * 60;
|
|
5806
5807
|
}
|
|
5807
5808
|
});
|
|
5808
5809
|
|