@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
|
@@ -6159,9 +6159,14 @@ var init_UserDBDebugger = __esm({
|
|
|
6159
6159
|
*/
|
|
6160
6160
|
async showScheduledReviews(courseId) {
|
|
6161
6161
|
const userDB = getUserDB();
|
|
6162
|
-
if (!userDB)
|
|
6162
|
+
if (!userDB) {
|
|
6163
|
+
logger.info("[UserDB Debug] Data layer not available");
|
|
6164
|
+
return;
|
|
6165
|
+
}
|
|
6166
|
+
logger.info(`[UserDB Debug] Fetching pending reviews${courseId ? ` for course: ${courseId}` : ""}...`);
|
|
6163
6167
|
try {
|
|
6164
6168
|
const reviews = await userDB.getPendingReviews(courseId);
|
|
6169
|
+
logger.info(`[UserDB Debug] Got ${reviews.length} reviews`);
|
|
6165
6170
|
console.group(`\u{1F4C5} Scheduled Reviews${courseId ? ` (${courseId})` : ""}`);
|
|
6166
6171
|
logger.info(`Total: ${reviews.length}`);
|
|
6167
6172
|
if (reviews.length > 0) {
|