@vue-skuilder/db 0.1.32-a → 0.1.32-c
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.d.cts +16 -12
- package/dist/core/index.d.ts +16 -12
- package/dist/core/index.js +2279 -227
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +2256 -200
- package/dist/core/index.mjs.map +1 -1
- package/dist/{contentSource-Bdwkvqa8.d.ts → dataLayerProvider-BAn-LRh5.d.ts} +626 -83
- package/dist/{contentSource-DF1nUbPQ.d.cts → dataLayerProvider-BJqBlMIl.d.cts} +626 -83
- package/dist/impl/couch/index.d.cts +18 -3
- package/dist/impl/couch/index.d.ts +18 -3
- package/dist/impl/couch/index.js +2323 -224
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +2311 -208
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.d.cts +5 -4
- package/dist/impl/static/index.d.ts +5 -4
- package/dist/impl/static/index.js +2283 -231
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs +2268 -212
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/{index-BWvO-_rJ.d.ts → index-X6wHrURm.d.ts} +1 -1
- package/dist/{index-Ba7hYbHj.d.cts → index-m8MMGxxR.d.cts} +1 -1
- package/dist/index.d.cts +9 -381
- package/dist/index.d.ts +9 -381
- package/dist/index.js +9626 -8815
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9559 -8748
- package/dist/index.mjs.map +1 -1
- package/dist/{types-CJrLM1Ew.d.ts → types-DZ5dUqbL.d.ts} +1 -1
- package/dist/{types-W8n-B6HG.d.cts → types-ZL8tOPQZ.d.cts} +1 -1
- package/dist/{types-legacy-JXDxinpU.d.cts → types-legacy-C7r0T4OV.d.cts} +1 -1
- package/dist/{types-legacy-JXDxinpU.d.ts → types-legacy-C7r0T4OV.d.ts} +1 -1
- package/dist/util/packer/index.d.cts +3 -3
- package/dist/util/packer/index.d.ts +3 -3
- package/docs/navigators-architecture.md +2 -2
- package/package.json +2 -2
- package/src/core/interfaces/contentSource.ts +2 -1
- package/src/core/navigators/Pipeline.ts +51 -25
- package/src/core/navigators/PipelineDebugger.ts +49 -1
- package/src/core/navigators/filters/hierarchyDefinition.ts +92 -5
- package/src/core/navigators/filters/relativePriority.ts +7 -1
- package/src/core/navigators/generators/prescribed.ts +618 -43
- package/src/core/navigators/index.ts +2 -1
- package/src/impl/couch/CourseSyncService.ts +72 -4
- package/src/impl/couch/courseDB.ts +11 -0
- package/src/impl/static/courseDB.ts +13 -0
- package/src/study/SessionController.ts +276 -24
- package/src/study/services/EloService.ts +22 -3
- package/src/study/services/ResponseProcessor.ts +7 -3
- package/dist/dataLayerProvider-BKmVoyJR.d.ts +0 -67
- package/dist/dataLayerProvider-BQdfJuBN.d.cts +0 -67
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { U as UserDBInterface, C as CourseDBInterface,
|
|
2
|
-
import {
|
|
3
|
-
import { S as StaticCourseManifest } from '../../types-W8n-B6HG.cjs';
|
|
1
|
+
import { D as DataLayerProvider, U as UserDBInterface, C as CourseDBInterface, a as CoursesDBInterface, b as ClassroomDBInterface, A as AdminDBInterface, c as UserDBReader, d as CourseInfo, S as StudySessionItem, e as DataLayerResult, f as ContentNavigationStrategyData, g as ContentNavigator, R as ReplanHints, W as WeightedCard } from '../../dataLayerProvider-BJqBlMIl.cjs';
|
|
2
|
+
import { S as StaticCourseManifest } from '../../types-ZL8tOPQZ.cjs';
|
|
4
3
|
import { CourseConfig, CourseElo, DataShape } from '@vue-skuilder/common';
|
|
5
|
-
import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-
|
|
4
|
+
import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-C7r0T4OV.cjs';
|
|
6
5
|
import { S as SyncStrategy, A as AccountCreationResult, a as AuthenticationResult } from '../../SyncStrategy-CyATpyLQ.cjs';
|
|
7
6
|
import 'moment';
|
|
8
7
|
|
|
@@ -174,6 +173,8 @@ declare class StaticCourseDB implements CourseDBInterface {
|
|
|
174
173
|
* to build a Pipeline. Falls back to default pipeline if no strategies found.
|
|
175
174
|
*/
|
|
176
175
|
createNavigator(user: UserDBInterface): Promise<ContentNavigator>;
|
|
176
|
+
private _pendingHints;
|
|
177
|
+
setEphemeralHints(hints: ReplanHints): void;
|
|
177
178
|
getWeightedCards(limit: number): Promise<WeightedCard[]>;
|
|
178
179
|
/**
|
|
179
180
|
* Get attachment URL for a document and attachment name
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { U as UserDBInterface, C as CourseDBInterface,
|
|
2
|
-
import {
|
|
3
|
-
import { S as StaticCourseManifest } from '../../types-CJrLM1Ew.js';
|
|
1
|
+
import { D as DataLayerProvider, U as UserDBInterface, C as CourseDBInterface, a as CoursesDBInterface, b as ClassroomDBInterface, A as AdminDBInterface, c as UserDBReader, d as CourseInfo, S as StudySessionItem, e as DataLayerResult, f as ContentNavigationStrategyData, g as ContentNavigator, R as ReplanHints, W as WeightedCard } from '../../dataLayerProvider-BAn-LRh5.js';
|
|
2
|
+
import { S as StaticCourseManifest } from '../../types-DZ5dUqbL.js';
|
|
4
3
|
import { CourseConfig, CourseElo, DataShape } from '@vue-skuilder/common';
|
|
5
|
-
import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-
|
|
4
|
+
import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-C7r0T4OV.js';
|
|
6
5
|
import { S as SyncStrategy, A as AccountCreationResult, a as AuthenticationResult } from '../../SyncStrategy-CyATpyLQ.js';
|
|
7
6
|
import 'moment';
|
|
8
7
|
|
|
@@ -174,6 +173,8 @@ declare class StaticCourseDB implements CourseDBInterface {
|
|
|
174
173
|
* to build a Pipeline. Falls back to default pipeline if no strategies found.
|
|
175
174
|
*/
|
|
176
175
|
createNavigator(user: UserDBInterface): Promise<ContentNavigator>;
|
|
176
|
+
private _pendingHints;
|
|
177
|
+
setEphemeralHints(hints: ReplanHints): void;
|
|
177
178
|
getWeightedCards(limit: number): Promise<WeightedCard[]>;
|
|
178
179
|
/**
|
|
179
180
|
* Get attachment URL for a document and attachment name
|