@vue-skuilder/db 0.1.32-c → 0.1.32-e

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.
Files changed (55) hide show
  1. package/dist/{dataLayerProvider-BAn-LRh5.d.ts → contentSource-BMlMwSiG.d.cts} +202 -626
  2. package/dist/{dataLayerProvider-BJqBlMIl.d.cts → contentSource-Ht3N2f-y.d.ts} +202 -626
  3. package/dist/core/index.d.cts +23 -84
  4. package/dist/core/index.d.ts +23 -84
  5. package/dist/core/index.js +476 -1819
  6. package/dist/core/index.js.map +1 -1
  7. package/dist/core/index.mjs +456 -1803
  8. package/dist/core/index.mjs.map +1 -1
  9. package/dist/dataLayerProvider-BEqB8VBR.d.cts +67 -0
  10. package/dist/dataLayerProvider-DObSXjnf.d.ts +67 -0
  11. package/dist/impl/couch/index.d.cts +5 -5
  12. package/dist/impl/couch/index.d.ts +5 -5
  13. package/dist/impl/couch/index.js +484 -1827
  14. package/dist/impl/couch/index.js.map +1 -1
  15. package/dist/impl/couch/index.mjs +460 -1807
  16. package/dist/impl/couch/index.mjs.map +1 -1
  17. package/dist/impl/static/index.d.cts +5 -4
  18. package/dist/impl/static/index.d.ts +5 -4
  19. package/dist/impl/static/index.js +458 -1801
  20. package/dist/impl/static/index.js.map +1 -1
  21. package/dist/impl/static/index.mjs +437 -1784
  22. package/dist/impl/static/index.mjs.map +1 -1
  23. package/dist/{index-X6wHrURm.d.ts → index-BWvO-_rJ.d.ts} +1 -1
  24. package/dist/{index-m8MMGxxR.d.cts → index-Ba7hYbHj.d.cts} +1 -1
  25. package/dist/index.d.cts +461 -11
  26. package/dist/index.d.ts +461 -11
  27. package/dist/index.js +9239 -9159
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +9129 -9049
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/{types-DZ5dUqbL.d.ts → types-CJrLM1Ew.d.ts} +1 -1
  32. package/dist/{types-ZL8tOPQZ.d.cts → types-W8n-B6HG.d.cts} +1 -1
  33. package/dist/{types-legacy-C7r0T4OV.d.cts → types-legacy-JXDxinpU.d.cts} +1 -1
  34. package/dist/{types-legacy-C7r0T4OV.d.ts → types-legacy-JXDxinpU.d.ts} +1 -1
  35. package/dist/util/packer/index.d.cts +3 -3
  36. package/dist/util/packer/index.d.ts +3 -3
  37. package/package.json +2 -2
  38. package/src/core/interfaces/contentSource.ts +2 -3
  39. package/src/core/navigators/Pipeline.ts +60 -6
  40. package/src/core/navigators/PipelineDebugger.ts +103 -0
  41. package/src/core/navigators/filters/hierarchyDefinition.ts +2 -1
  42. package/src/core/navigators/filters/interferenceMitigator.ts +2 -1
  43. package/src/core/navigators/filters/relativePriority.ts +2 -1
  44. package/src/core/navigators/filters/userTagPreference.ts +2 -1
  45. package/src/core/navigators/generators/CompositeGenerator.ts +58 -5
  46. package/src/core/navigators/generators/elo.ts +7 -7
  47. package/src/core/navigators/generators/prescribed.ts +124 -35
  48. package/src/core/navigators/generators/srs.ts +3 -4
  49. package/src/core/navigators/generators/types.ts +48 -2
  50. package/src/core/navigators/index.ts +3 -3
  51. package/src/impl/couch/classroomDB.ts +4 -3
  52. package/src/impl/couch/courseDB.ts +3 -3
  53. package/src/impl/static/courseDB.ts +3 -3
  54. package/src/study/SessionController.ts +5 -27
  55. package/src/study/TagFilteredContentSource.ts +4 -3
@@ -1,7 +1,8 @@
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';
1
+ import { U as UserDBInterface, C as CourseDBInterface, b as CoursesDBInterface, c as ClassroomDBInterface, A as AdminDBInterface, a as UserDBReader, d as CourseInfo, S as StudySessionItem, D as DataLayerResult, e as ContentNavigationStrategyData, f as ContentNavigator, R as ReplanHints, G as GeneratorResult } from '../../contentSource-BMlMwSiG.cjs';
2
+ import { D as DataLayerProvider } from '../../dataLayerProvider-BEqB8VBR.cjs';
3
+ import { S as StaticCourseManifest } from '../../types-W8n-B6HG.cjs';
3
4
  import { CourseConfig, CourseElo, DataShape } from '@vue-skuilder/common';
4
- import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-C7r0T4OV.cjs';
5
+ import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-JXDxinpU.cjs';
5
6
  import { S as SyncStrategy, A as AccountCreationResult, a as AuthenticationResult } from '../../SyncStrategy-CyATpyLQ.cjs';
6
7
  import 'moment';
7
8
 
@@ -175,7 +176,7 @@ declare class StaticCourseDB implements CourseDBInterface {
175
176
  createNavigator(user: UserDBInterface): Promise<ContentNavigator>;
176
177
  private _pendingHints;
177
178
  setEphemeralHints(hints: ReplanHints): void;
178
- getWeightedCards(limit: number): Promise<WeightedCard[]>;
179
+ getWeightedCards(limit: number): Promise<GeneratorResult>;
179
180
  /**
180
181
  * Get attachment URL for a document and attachment name
181
182
  * Internal helper method for static attachment serving
@@ -1,7 +1,8 @@
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';
1
+ import { U as UserDBInterface, C as CourseDBInterface, b as CoursesDBInterface, c as ClassroomDBInterface, A as AdminDBInterface, a as UserDBReader, d as CourseInfo, S as StudySessionItem, D as DataLayerResult, e as ContentNavigationStrategyData, f as ContentNavigator, R as ReplanHints, G as GeneratorResult } from '../../contentSource-Ht3N2f-y.js';
2
+ import { D as DataLayerProvider } from '../../dataLayerProvider-DObSXjnf.js';
3
+ import { S as StaticCourseManifest } from '../../types-CJrLM1Ew.js';
3
4
  import { CourseConfig, CourseElo, DataShape } from '@vue-skuilder/common';
4
- import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-C7r0T4OV.js';
5
+ import { S as SkuilderCourseData, Q as QualifiedCardID, T as TagStub, a as Tag } from '../../types-legacy-JXDxinpU.js';
5
6
  import { S as SyncStrategy, A as AccountCreationResult, a as AuthenticationResult } from '../../SyncStrategy-CyATpyLQ.js';
6
7
  import 'moment';
7
8
 
@@ -175,7 +176,7 @@ declare class StaticCourseDB implements CourseDBInterface {
175
176
  createNavigator(user: UserDBInterface): Promise<ContentNavigator>;
176
177
  private _pendingHints;
177
178
  setEphemeralHints(hints: ReplanHints): void;
178
- getWeightedCards(limit: number): Promise<WeightedCard[]>;
179
+ getWeightedCards(limit: number): Promise<GeneratorResult>;
179
180
  /**
180
181
  * Get attachment URL for a document and attachment name
181
182
  * Internal helper method for static attachment serving