@vue-skuilder/db 0.2.33 → 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.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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +27 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -18
- 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/dist/core/index.js
CHANGED
|
@@ -7172,7 +7172,7 @@ function getStreak(records) {
|
|
|
7172
7172
|
function getLapses(records) {
|
|
7173
7173
|
return records.filter((r) => r.isCorrect === false).length;
|
|
7174
7174
|
}
|
|
7175
|
-
var import_moment4, import_common14, duration;
|
|
7175
|
+
var import_moment4, import_common14, duration, SLOW_CORRECT_MAX_INTERVAL;
|
|
7176
7176
|
var init_SpacedRepetition = __esm({
|
|
7177
7177
|
"src/study/SpacedRepetition.ts"() {
|
|
7178
7178
|
"use strict";
|
|
@@ -7181,6 +7181,7 @@ var init_SpacedRepetition = __esm({
|
|
|
7181
7181
|
import_common14 = require("@vue-skuilder/common");
|
|
7182
7182
|
init_logger();
|
|
7183
7183
|
duration = import_moment4.default.duration;
|
|
7184
|
+
SLOW_CORRECT_MAX_INTERVAL = 20 * 60 * 60;
|
|
7184
7185
|
}
|
|
7185
7186
|
});
|
|
7186
7187
|
|