@vue-skuilder/db 0.2.0 → 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
|
@@ -6185,9 +6185,14 @@ var init_UserDBDebugger = __esm({
|
|
|
6185
6185
|
*/
|
|
6186
6186
|
async showScheduledReviews(courseId) {
|
|
6187
6187
|
const userDB = getUserDB();
|
|
6188
|
-
if (!userDB)
|
|
6188
|
+
if (!userDB) {
|
|
6189
|
+
logger.info("[UserDB Debug] Data layer not available");
|
|
6190
|
+
return;
|
|
6191
|
+
}
|
|
6192
|
+
logger.info(`[UserDB Debug] Fetching pending reviews${courseId ? ` for course: ${courseId}` : ""}...`);
|
|
6189
6193
|
try {
|
|
6190
6194
|
const reviews = await userDB.getPendingReviews(courseId);
|
|
6195
|
+
logger.info(`[UserDB Debug] Got ${reviews.length} reviews`);
|
|
6191
6196
|
console.group(`\u{1F4C5} Scheduled Reviews${courseId ? ` (${courseId})` : ""}`);
|
|
6192
6197
|
logger.info(`Total: ${reviews.length}`);
|
|
6193
6198
|
if (reviews.length > 0) {
|