@vue-skuilder/db 0.1.40 → 0.2.1
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 +6 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +6 -1
- package/dist/core/index.mjs.map +1 -1
- package/dist/impl/couch/index.js +6 -1
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +6 -1
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.js +6 -1
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs +6 -1
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/core/UserDBDebugger.ts +7 -1
- package/src/study/SessionController.ts +23 -1
|
@@ -6421,9 +6421,14 @@ var init_UserDBDebugger = __esm({
|
|
|
6421
6421
|
*/
|
|
6422
6422
|
async showScheduledReviews(courseId) {
|
|
6423
6423
|
const userDB = getUserDB();
|
|
6424
|
-
if (!userDB)
|
|
6424
|
+
if (!userDB) {
|
|
6425
|
+
logger.info("[UserDB Debug] Data layer not available");
|
|
6426
|
+
return;
|
|
6427
|
+
}
|
|
6428
|
+
logger.info(`[UserDB Debug] Fetching pending reviews${courseId ? ` for course: ${courseId}` : ""}...`);
|
|
6425
6429
|
try {
|
|
6426
6430
|
const reviews = await userDB.getPendingReviews(courseId);
|
|
6431
|
+
logger.info(`[UserDB Debug] Got ${reviews.length} reviews`);
|
|
6427
6432
|
console.group(`\u{1F4C5} Scheduled Reviews${courseId ? ` (${courseId})` : ""}`);
|
|
6428
6433
|
logger.info(`Total: ${reviews.length}`);
|
|
6429
6434
|
if (reviews.length > 0) {
|