@vue-skuilder/db 0.2.24 → 0.2.26
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/{SyncStrategy-CCU1H81I.d.cts → SyncStrategy-BXliog1m.d.cts} +14 -1
- package/dist/{SyncStrategy-CCU1H81I.d.ts → SyncStrategy-BXliog1m.d.ts} +14 -1
- package/dist/{contentSource-jBskhS2Y.d.cts → contentSource-D3c1fMAk.d.cts} +24 -2
- package/dist/{contentSource-Z9lQOuu5.d.ts → contentSource-LPf044hY.d.ts} +24 -2
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +2508 -481
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +2498 -466
- package/dist/core/index.mjs.map +1 -1
- package/dist/{dataLayerProvider-DbA3d_Pd.d.cts → dataLayerProvider-CeLiFbHv.d.cts} +1 -1
- package/dist/{dataLayerProvider-CvSh3KW-.d.ts → dataLayerProvider-DaAootVV.d.ts} +1 -1
- package/dist/impl/couch/index.d.cts +4 -3
- package/dist/impl/couch/index.d.ts +4 -3
- package/dist/impl/couch/index.js +2266 -217
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +2260 -206
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.d.cts +3 -3
- package/dist/impl/static/index.d.ts +3 -3
- package/dist/impl/static/index.js +2353 -320
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs +2343 -305
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8211 -7961
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8095 -7846
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/core/interfaces/userDB.ts +10 -0
- package/src/impl/common/BaseUserDB.ts +53 -4
- package/src/impl/common/SyncStrategy.ts +11 -1
- package/src/impl/common/index.ts +1 -0
- package/src/impl/common/types.ts +5 -0
- package/src/impl/couch/CouchDBSyncStrategy.ts +25 -1
- package/src/study/SessionController.ts +6 -2
- package/src/study/SpacedRepetition.ts +11 -2
- package/src/study/services/EloService.ts +20 -1
- package/src/study/services/tagRecent.test.ts +101 -0
- package/src/study/services/tagRecent.ts +70 -0
|
@@ -18,6 +18,10 @@ interface AuthenticationResult {
|
|
|
18
18
|
ok: boolean;
|
|
19
19
|
error?: string;
|
|
20
20
|
}
|
|
21
|
+
interface AdoptSessionResult extends AuthenticationResult {
|
|
22
|
+
/** The adopted session's user, when ok. */
|
|
23
|
+
username?: string;
|
|
24
|
+
}
|
|
21
25
|
|
|
22
26
|
/**
|
|
23
27
|
* Strategy interface for handling user data synchronization
|
|
@@ -93,6 +97,15 @@ interface SyncStrategy {
|
|
|
93
97
|
* Log out the current user (if supported)
|
|
94
98
|
*/
|
|
95
99
|
logout?(): Promise<AuthenticationResult>;
|
|
100
|
+
/**
|
|
101
|
+
* Adopt a remote session established outside this client (e.g. a server that
|
|
102
|
+
* verified a third-party sign-in and set the session cookie), optionally
|
|
103
|
+
* migrating a guest account's local data into it (if supported).
|
|
104
|
+
* @param migrateFromGuest Guest username whose local data should be carried
|
|
105
|
+
* over. The caller must capture it BEFORE the session switched, since the
|
|
106
|
+
* remote now reports the adopted user.
|
|
107
|
+
*/
|
|
108
|
+
adoptSession?(migrateFromGuest?: string): Promise<AdoptSessionResult>;
|
|
96
109
|
/**
|
|
97
110
|
* Get the current logged-in username
|
|
98
111
|
* Returns the username if logged in, or a default guest username
|
|
@@ -100,4 +113,4 @@ interface SyncStrategy {
|
|
|
100
113
|
getCurrentUsername(): Promise<string>;
|
|
101
114
|
}
|
|
102
115
|
|
|
103
|
-
export type { AccountCreationResult as A, SyncStrategy as S, AuthenticationResult as a };
|
|
116
|
+
export type { AccountCreationResult as A, SyncStrategy as S, AuthenticationResult as a, AdoptSessionResult as b };
|
|
@@ -18,6 +18,10 @@ interface AuthenticationResult {
|
|
|
18
18
|
ok: boolean;
|
|
19
19
|
error?: string;
|
|
20
20
|
}
|
|
21
|
+
interface AdoptSessionResult extends AuthenticationResult {
|
|
22
|
+
/** The adopted session's user, when ok. */
|
|
23
|
+
username?: string;
|
|
24
|
+
}
|
|
21
25
|
|
|
22
26
|
/**
|
|
23
27
|
* Strategy interface for handling user data synchronization
|
|
@@ -93,6 +97,15 @@ interface SyncStrategy {
|
|
|
93
97
|
* Log out the current user (if supported)
|
|
94
98
|
*/
|
|
95
99
|
logout?(): Promise<AuthenticationResult>;
|
|
100
|
+
/**
|
|
101
|
+
* Adopt a remote session established outside this client (e.g. a server that
|
|
102
|
+
* verified a third-party sign-in and set the session cookie), optionally
|
|
103
|
+
* migrating a guest account's local data into it (if supported).
|
|
104
|
+
* @param migrateFromGuest Guest username whose local data should be carried
|
|
105
|
+
* over. The caller must capture it BEFORE the session switched, since the
|
|
106
|
+
* remote now reports the adopted user.
|
|
107
|
+
*/
|
|
108
|
+
adoptSession?(migrateFromGuest?: string): Promise<AdoptSessionResult>;
|
|
96
109
|
/**
|
|
97
110
|
* Get the current logged-in username
|
|
98
111
|
* Returns the username if logged in, or a default guest username
|
|
@@ -100,4 +113,4 @@ interface SyncStrategy {
|
|
|
100
113
|
getCurrentUsername(): Promise<string>;
|
|
101
114
|
}
|
|
102
115
|
|
|
103
|
-
export type { AccountCreationResult as A, SyncStrategy as S, AuthenticationResult as a };
|
|
116
|
+
export type { AccountCreationResult as A, SyncStrategy as S, AuthenticationResult as a, AdoptSessionResult as b };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CourseConfig, ClassroomConfig, Status, SkuilderCourseData as SkuilderCourseData$1, CourseElo, DataShape, TagFilter } from '@vue-skuilder/common';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
|
-
import { S as SkuilderCourseData, i as DocTypePrefixes, D as DocType, Q as QualifiedCardID, T as TagStub, a as Tag, C as CardHistory, b as CardRecord } from './types-legacy-CrwyZIvI.cjs';
|
|
3
|
+
import { S as SkuilderCourseData, i as DocTypePrefixes, D as DocType, Q as QualifiedCardID, T as TagStub, a as Tag, C as CardHistory, b as CardRecord, c as QuestionRecord } from './types-legacy-CrwyZIvI.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Admin functionality
|
|
@@ -996,6 +996,17 @@ interface DocumentUpdater {
|
|
|
996
996
|
* @param cardHistory The user's history working with the given card
|
|
997
997
|
*/
|
|
998
998
|
declare function newInterval(user: DocumentUpdater, cardHistory: CardHistory<CardRecord>): number;
|
|
999
|
+
/**
|
|
1000
|
+
* Number of trailing consecutive correct records (retries within a single
|
|
1001
|
+
* presentation count as separate records). Exported so the persisted
|
|
1002
|
+
* `CardHistory.streak` can be kept in step with this derivation.
|
|
1003
|
+
*/
|
|
1004
|
+
declare function getStreak(records: QuestionRecord[]): number;
|
|
1005
|
+
/**
|
|
1006
|
+
* Total number of incorrect records on the card. Exported so the persisted
|
|
1007
|
+
* `CardHistory.lapses` can be kept in step with this derivation.
|
|
1008
|
+
*/
|
|
1009
|
+
declare function getLapses(records: QuestionRecord[]): number;
|
|
999
1010
|
|
|
1000
1011
|
/**
|
|
1001
1012
|
* Read-only user data operations
|
|
@@ -1202,6 +1213,17 @@ interface UserDBAuthenticator {
|
|
|
1202
1213
|
logout(): Promise<{
|
|
1203
1214
|
ok: boolean;
|
|
1204
1215
|
}>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Adopt a session established outside this client (e.g. third-party
|
|
1218
|
+
* sign-in completed server-side), optionally migrating guest data.
|
|
1219
|
+
*/
|
|
1220
|
+
adoptSession(opts: {
|
|
1221
|
+
migrateGuestData: boolean;
|
|
1222
|
+
}): Promise<{
|
|
1223
|
+
ok: boolean;
|
|
1224
|
+
error?: string;
|
|
1225
|
+
username?: string;
|
|
1226
|
+
}>;
|
|
1205
1227
|
}
|
|
1206
1228
|
/**
|
|
1207
1229
|
* Complete user database interface - combines all user operations
|
|
@@ -1762,4 +1784,4 @@ interface StudyContentSource {
|
|
|
1762
1784
|
}
|
|
1763
1785
|
declare function getStudySource(source: ContentSourceID, user: UserDBInterface): Promise<StudyContentSource>;
|
|
1764
1786
|
|
|
1765
|
-
export { HYDRATION_MARKER_ID as $, type AdminDBInterface as A, type UserCourseSettings as B, type CourseDBInterface as C, type DataLayerResult as D, type UserCourseSetting as E, type UsrCrsDataInterface as F, type GeneratorResult as G, type ClassroomRegistrationDesignation as H, type ClassroomRegistration as I, type ClassroomRegistrationDoc as J, type SessionTrackingData as K, type UserConfig as L, type ActivityRecord as M, type CourseRegistration as N, type UserOutcomeRecord as O, type StudySessionDoc as P, type StudySessionRunSummary as Q, type ReplanHints as R, type StudySessionItem as S, type TeacherClassroomDBInterface as T, type UserDBInterface as U, type SessionStateSnapshot as V, type WeightedCard as W, makeStudySessionId as X, newSessionId as Y, type UserHydrationState as Z, type UserHydrationStatus as _, type UserDBReader as a, type HydrationMarker as a0, type NavigatorConstructor as a1, registerNavigator as a2, getRegisteredNavigator as a3, hasRegisteredNavigator as a4, getRegisteredNavigatorRole as a5, getRegisteredNavigatorNames as a6, initializeNavigatorRegistry as a7, type StrategyContribution as a8, getCardOrigin as a9, Navigators as aa, NavigatorRole as ab, NavigatorRoles as ac, isGenerator as ad, isFilter as ae, type CardGenerator as af, type GeneratorContext as ag, type CardGeneratorFactory as ah, pipelineDebugAPI as ai, mountPipelineDebugger as aj, getActivePipeline as ak, setDebugSessionId as al, getRunsForSession as am, drainCapturedRuns as an, type PipelineRunReport as ao, type GeneratorSummary as ap, type FilterImpact as aq, type PipelineForecaster as ar, type LearnableWeight as as, type OrchestrationContext as at, computeDeviation as au, computeSpread as av, computeEffectiveWeight as aw, createOrchestrationContext as ax, type DocumentUpdater as ay, newInterval as az, type CoursesDBInterface as b, type ClassroomDBInterface as c, type CourseInfo as d, type ContentNavigationStrategyData as e, ContentNavigator as f, type AssignedContent as g, type StudyContentSource as h, type StudentClassroomDBInterface as i, type ScheduledCard as j, type StudySessionFailedItem as k, type StudySessionFailedNewItem as l, type StudySessionFailedReviewItem as m, type StudySessionNewItem as n, type StudySessionReviewItem as o, isReview as p, type ContentSourceID as q, getStudySource as r, type CourseRegistrationDoc as s, type SessionEloEvent as t, type SessionStateSnapshotProvider as u, type AssignedTag as v, type AssignedCourse as w, type AssignedCard as x, type UserDBWriter as y, type UserDBAuthenticator as z };
|
|
1787
|
+
export { HYDRATION_MARKER_ID as $, type AdminDBInterface as A, type UserCourseSettings as B, type CourseDBInterface as C, type DataLayerResult as D, type UserCourseSetting as E, type UsrCrsDataInterface as F, type GeneratorResult as G, type ClassroomRegistrationDesignation as H, type ClassroomRegistration as I, type ClassroomRegistrationDoc as J, type SessionTrackingData as K, type UserConfig as L, type ActivityRecord as M, type CourseRegistration as N, type UserOutcomeRecord as O, type StudySessionDoc as P, type StudySessionRunSummary as Q, type ReplanHints as R, type StudySessionItem as S, type TeacherClassroomDBInterface as T, type UserDBInterface as U, type SessionStateSnapshot as V, type WeightedCard as W, makeStudySessionId as X, newSessionId as Y, type UserHydrationState as Z, type UserHydrationStatus as _, type UserDBReader as a, type HydrationMarker as a0, type NavigatorConstructor as a1, registerNavigator as a2, getRegisteredNavigator as a3, hasRegisteredNavigator as a4, getRegisteredNavigatorRole as a5, getRegisteredNavigatorNames as a6, initializeNavigatorRegistry as a7, type StrategyContribution as a8, getCardOrigin as a9, getStreak as aA, getLapses as aB, Navigators as aa, NavigatorRole as ab, NavigatorRoles as ac, isGenerator as ad, isFilter as ae, type CardGenerator as af, type GeneratorContext as ag, type CardGeneratorFactory as ah, pipelineDebugAPI as ai, mountPipelineDebugger as aj, getActivePipeline as ak, setDebugSessionId as al, getRunsForSession as am, drainCapturedRuns as an, type PipelineRunReport as ao, type GeneratorSummary as ap, type FilterImpact as aq, type PipelineForecaster as ar, type LearnableWeight as as, type OrchestrationContext as at, computeDeviation as au, computeSpread as av, computeEffectiveWeight as aw, createOrchestrationContext as ax, type DocumentUpdater as ay, newInterval as az, type CoursesDBInterface as b, type ClassroomDBInterface as c, type CourseInfo as d, type ContentNavigationStrategyData as e, ContentNavigator as f, type AssignedContent as g, type StudyContentSource as h, type StudentClassroomDBInterface as i, type ScheduledCard as j, type StudySessionFailedItem as k, type StudySessionFailedNewItem as l, type StudySessionFailedReviewItem as m, type StudySessionNewItem as n, type StudySessionReviewItem as o, isReview as p, type ContentSourceID as q, getStudySource as r, type CourseRegistrationDoc as s, type SessionEloEvent as t, type SessionStateSnapshotProvider as u, type AssignedTag as v, type AssignedCourse as w, type AssignedCard as x, type UserDBWriter as y, type UserDBAuthenticator as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CourseConfig, ClassroomConfig, Status, SkuilderCourseData as SkuilderCourseData$1, CourseElo, DataShape, TagFilter } from '@vue-skuilder/common';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
|
-
import { S as SkuilderCourseData, i as DocTypePrefixes, D as DocType, Q as QualifiedCardID, T as TagStub, a as Tag, C as CardHistory, b as CardRecord } from './types-legacy-CrwyZIvI.js';
|
|
3
|
+
import { S as SkuilderCourseData, i as DocTypePrefixes, D as DocType, Q as QualifiedCardID, T as TagStub, a as Tag, C as CardHistory, b as CardRecord, c as QuestionRecord } from './types-legacy-CrwyZIvI.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Admin functionality
|
|
@@ -996,6 +996,17 @@ interface DocumentUpdater {
|
|
|
996
996
|
* @param cardHistory The user's history working with the given card
|
|
997
997
|
*/
|
|
998
998
|
declare function newInterval(user: DocumentUpdater, cardHistory: CardHistory<CardRecord>): number;
|
|
999
|
+
/**
|
|
1000
|
+
* Number of trailing consecutive correct records (retries within a single
|
|
1001
|
+
* presentation count as separate records). Exported so the persisted
|
|
1002
|
+
* `CardHistory.streak` can be kept in step with this derivation.
|
|
1003
|
+
*/
|
|
1004
|
+
declare function getStreak(records: QuestionRecord[]): number;
|
|
1005
|
+
/**
|
|
1006
|
+
* Total number of incorrect records on the card. Exported so the persisted
|
|
1007
|
+
* `CardHistory.lapses` can be kept in step with this derivation.
|
|
1008
|
+
*/
|
|
1009
|
+
declare function getLapses(records: QuestionRecord[]): number;
|
|
999
1010
|
|
|
1000
1011
|
/**
|
|
1001
1012
|
* Read-only user data operations
|
|
@@ -1202,6 +1213,17 @@ interface UserDBAuthenticator {
|
|
|
1202
1213
|
logout(): Promise<{
|
|
1203
1214
|
ok: boolean;
|
|
1204
1215
|
}>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Adopt a session established outside this client (e.g. third-party
|
|
1218
|
+
* sign-in completed server-side), optionally migrating guest data.
|
|
1219
|
+
*/
|
|
1220
|
+
adoptSession(opts: {
|
|
1221
|
+
migrateGuestData: boolean;
|
|
1222
|
+
}): Promise<{
|
|
1223
|
+
ok: boolean;
|
|
1224
|
+
error?: string;
|
|
1225
|
+
username?: string;
|
|
1226
|
+
}>;
|
|
1205
1227
|
}
|
|
1206
1228
|
/**
|
|
1207
1229
|
* Complete user database interface - combines all user operations
|
|
@@ -1762,4 +1784,4 @@ interface StudyContentSource {
|
|
|
1762
1784
|
}
|
|
1763
1785
|
declare function getStudySource(source: ContentSourceID, user: UserDBInterface): Promise<StudyContentSource>;
|
|
1764
1786
|
|
|
1765
|
-
export { HYDRATION_MARKER_ID as $, type AdminDBInterface as A, type UserCourseSettings as B, type CourseDBInterface as C, type DataLayerResult as D, type UserCourseSetting as E, type UsrCrsDataInterface as F, type GeneratorResult as G, type ClassroomRegistrationDesignation as H, type ClassroomRegistration as I, type ClassroomRegistrationDoc as J, type SessionTrackingData as K, type UserConfig as L, type ActivityRecord as M, type CourseRegistration as N, type UserOutcomeRecord as O, type StudySessionDoc as P, type StudySessionRunSummary as Q, type ReplanHints as R, type StudySessionItem as S, type TeacherClassroomDBInterface as T, type UserDBInterface as U, type SessionStateSnapshot as V, type WeightedCard as W, makeStudySessionId as X, newSessionId as Y, type UserHydrationState as Z, type UserHydrationStatus as _, type UserDBReader as a, type HydrationMarker as a0, type NavigatorConstructor as a1, registerNavigator as a2, getRegisteredNavigator as a3, hasRegisteredNavigator as a4, getRegisteredNavigatorRole as a5, getRegisteredNavigatorNames as a6, initializeNavigatorRegistry as a7, type StrategyContribution as a8, getCardOrigin as a9, Navigators as aa, NavigatorRole as ab, NavigatorRoles as ac, isGenerator as ad, isFilter as ae, type CardGenerator as af, type GeneratorContext as ag, type CardGeneratorFactory as ah, pipelineDebugAPI as ai, mountPipelineDebugger as aj, getActivePipeline as ak, setDebugSessionId as al, getRunsForSession as am, drainCapturedRuns as an, type PipelineRunReport as ao, type GeneratorSummary as ap, type FilterImpact as aq, type PipelineForecaster as ar, type LearnableWeight as as, type OrchestrationContext as at, computeDeviation as au, computeSpread as av, computeEffectiveWeight as aw, createOrchestrationContext as ax, type DocumentUpdater as ay, newInterval as az, type CoursesDBInterface as b, type ClassroomDBInterface as c, type CourseInfo as d, type ContentNavigationStrategyData as e, ContentNavigator as f, type AssignedContent as g, type StudyContentSource as h, type StudentClassroomDBInterface as i, type ScheduledCard as j, type StudySessionFailedItem as k, type StudySessionFailedNewItem as l, type StudySessionFailedReviewItem as m, type StudySessionNewItem as n, type StudySessionReviewItem as o, isReview as p, type ContentSourceID as q, getStudySource as r, type CourseRegistrationDoc as s, type SessionEloEvent as t, type SessionStateSnapshotProvider as u, type AssignedTag as v, type AssignedCourse as w, type AssignedCard as x, type UserDBWriter as y, type UserDBAuthenticator as z };
|
|
1787
|
+
export { HYDRATION_MARKER_ID as $, type AdminDBInterface as A, type UserCourseSettings as B, type CourseDBInterface as C, type DataLayerResult as D, type UserCourseSetting as E, type UsrCrsDataInterface as F, type GeneratorResult as G, type ClassroomRegistrationDesignation as H, type ClassroomRegistration as I, type ClassroomRegistrationDoc as J, type SessionTrackingData as K, type UserConfig as L, type ActivityRecord as M, type CourseRegistration as N, type UserOutcomeRecord as O, type StudySessionDoc as P, type StudySessionRunSummary as Q, type ReplanHints as R, type StudySessionItem as S, type TeacherClassroomDBInterface as T, type UserDBInterface as U, type SessionStateSnapshot as V, type WeightedCard as W, makeStudySessionId as X, newSessionId as Y, type UserHydrationState as Z, type UserHydrationStatus as _, type UserDBReader as a, type HydrationMarker as a0, type NavigatorConstructor as a1, registerNavigator as a2, getRegisteredNavigator as a3, hasRegisteredNavigator as a4, getRegisteredNavigatorRole as a5, getRegisteredNavigatorNames as a6, initializeNavigatorRegistry as a7, type StrategyContribution as a8, getCardOrigin as a9, getStreak as aA, getLapses as aB, Navigators as aa, NavigatorRole as ab, NavigatorRoles as ac, isGenerator as ad, isFilter as ae, type CardGenerator as af, type GeneratorContext as ag, type CardGeneratorFactory as ah, pipelineDebugAPI as ai, mountPipelineDebugger as aj, getActivePipeline as ak, setDebugSessionId as al, getRunsForSession as am, drainCapturedRuns as an, type PipelineRunReport as ao, type GeneratorSummary as ap, type FilterImpact as aq, type PipelineForecaster as ar, type LearnableWeight as as, type OrchestrationContext as at, computeDeviation as au, computeSpread as av, computeEffectiveWeight as aw, createOrchestrationContext as ax, type DocumentUpdater as ay, newInterval as az, type CoursesDBInterface as b, type ClassroomDBInterface as c, type CourseInfo as d, type ContentNavigationStrategyData as e, ContentNavigator as f, type AssignedContent as g, type StudyContentSource as h, type StudentClassroomDBInterface as i, type ScheduledCard as j, type StudySessionFailedItem as k, type StudySessionFailedNewItem as l, type StudySessionFailedReviewItem as m, type StudySessionNewItem as n, type StudySessionReviewItem as o, isReview as p, type ContentSourceID as q, getStudySource as r, type CourseRegistrationDoc as s, type SessionEloEvent as t, type SessionStateSnapshotProvider as u, type AssignedTag as v, type AssignedCourse as w, type AssignedCard as x, type UserDBWriter as y, type UserDBAuthenticator as z };
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { as as LearnableWeight, O as UserOutcomeRecord, at as OrchestrationContext, W as WeightedCard, U as UserDBInterface, C as CourseDBInterface } from '../contentSource-
|
|
2
|
-
export { M as ActivityRecord, A as AdminDBInterface, x as AssignedCard, g as AssignedContent, w as AssignedCourse, v as AssignedTag, af as CardGenerator, ah as CardGeneratorFactory, c as ClassroomDBInterface, I as ClassroomRegistration, H as ClassroomRegistrationDesignation, J as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, N as CourseRegistration, s as CourseRegistrationDoc, b as CoursesDBInterface, aq as FilterImpact, ag as GeneratorContext, G as GeneratorResult, ap as GeneratorSummary, $ as HYDRATION_MARKER_ID, a0 as HydrationMarker, a1 as NavigatorConstructor, ab as NavigatorRole, ac as NavigatorRoles, aa as Navigators, ar as PipelineForecaster, ao as PipelineRunReport, R as ReplanHints, j as ScheduledCard, t as SessionEloEvent, V as SessionStateSnapshot, u as SessionStateSnapshotProvider, K as SessionTrackingData, a8 as StrategyContribution, i as StudentClassroomDBInterface, h as StudyContentSource, P as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, S as StudySessionItem, n as StudySessionNewItem, o as StudySessionReviewItem, Q as StudySessionRunSummary, T as TeacherClassroomDBInterface, L as UserConfig, E as UserCourseSetting, B as UserCourseSettings, z as UserDBAuthenticator, a as UserDBReader, y as UserDBWriter, Z as UserHydrationState, _ as UserHydrationStatus, F as UsrCrsDataInterface, au as computeDeviation, aw as computeEffectiveWeight, av as computeSpread, ax as createOrchestrationContext, an as drainCapturedRuns, ak as getActivePipeline, a9 as getCardOrigin, a3 as getRegisteredNavigator, a6 as getRegisteredNavigatorNames, a5 as getRegisteredNavigatorRole, am as getRunsForSession, r as getStudySource, a4 as hasRegisteredNavigator, a7 as initializeNavigatorRegistry, ae as isFilter, ad as isGenerator, p as isReview, X as makeStudySessionId, aj as mountPipelineDebugger, Y as newSessionId, ai as pipelineDebugAPI, a2 as registerNavigator, al as setDebugSessionId } from '../contentSource-
|
|
3
|
-
export { D as DataLayerProvider } from '../dataLayerProvider-
|
|
1
|
+
import { as as LearnableWeight, O as UserOutcomeRecord, at as OrchestrationContext, W as WeightedCard, U as UserDBInterface, C as CourseDBInterface } from '../contentSource-D3c1fMAk.cjs';
|
|
2
|
+
export { M as ActivityRecord, A as AdminDBInterface, x as AssignedCard, g as AssignedContent, w as AssignedCourse, v as AssignedTag, af as CardGenerator, ah as CardGeneratorFactory, c as ClassroomDBInterface, I as ClassroomRegistration, H as ClassroomRegistrationDesignation, J as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, N as CourseRegistration, s as CourseRegistrationDoc, b as CoursesDBInterface, aq as FilterImpact, ag as GeneratorContext, G as GeneratorResult, ap as GeneratorSummary, $ as HYDRATION_MARKER_ID, a0 as HydrationMarker, a1 as NavigatorConstructor, ab as NavigatorRole, ac as NavigatorRoles, aa as Navigators, ar as PipelineForecaster, ao as PipelineRunReport, R as ReplanHints, j as ScheduledCard, t as SessionEloEvent, V as SessionStateSnapshot, u as SessionStateSnapshotProvider, K as SessionTrackingData, a8 as StrategyContribution, i as StudentClassroomDBInterface, h as StudyContentSource, P as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, S as StudySessionItem, n as StudySessionNewItem, o as StudySessionReviewItem, Q as StudySessionRunSummary, T as TeacherClassroomDBInterface, L as UserConfig, E as UserCourseSetting, B as UserCourseSettings, z as UserDBAuthenticator, a as UserDBReader, y as UserDBWriter, Z as UserHydrationState, _ as UserHydrationStatus, F as UsrCrsDataInterface, au as computeDeviation, aw as computeEffectiveWeight, av as computeSpread, ax as createOrchestrationContext, an as drainCapturedRuns, ak as getActivePipeline, a9 as getCardOrigin, a3 as getRegisteredNavigator, a6 as getRegisteredNavigatorNames, a5 as getRegisteredNavigatorRole, am as getRunsForSession, r as getStudySource, a4 as hasRegisteredNavigator, a7 as initializeNavigatorRegistry, ae as isFilter, ad as isGenerator, p as isReview, X as makeStudySessionId, aj as mountPipelineDebugger, Y as newSessionId, ai as pipelineDebugAPI, a2 as registerNavigator, al as setDebugSessionId } from '../contentSource-D3c1fMAk.cjs';
|
|
3
|
+
export { D as DataLayerProvider } from '../dataLayerProvider-CeLiFbHv.cjs';
|
|
4
4
|
import { D as DocType, c as QuestionRecord, i as DocTypePrefixes, C as CardHistory, b as CardRecord } from '../types-legacy-CrwyZIvI.cjs';
|
|
5
5
|
export { d as CardData, e as CourseListData, g as DataShapeData, f as DisplayableData, F as Field, G as GuestUsername, Q as QualifiedCardID, h as QuestionData, S as SkuilderCourseData, a as Tag, T as TagStub, l as log } from '../types-legacy-CrwyZIvI.cjs';
|
|
6
6
|
import { DataShape, ParsedCard } from '@vue-skuilder/common';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { as as LearnableWeight, O as UserOutcomeRecord, at as OrchestrationContext, W as WeightedCard, U as UserDBInterface, C as CourseDBInterface } from '../contentSource-
|
|
2
|
-
export { M as ActivityRecord, A as AdminDBInterface, x as AssignedCard, g as AssignedContent, w as AssignedCourse, v as AssignedTag, af as CardGenerator, ah as CardGeneratorFactory, c as ClassroomDBInterface, I as ClassroomRegistration, H as ClassroomRegistrationDesignation, J as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, N as CourseRegistration, s as CourseRegistrationDoc, b as CoursesDBInterface, aq as FilterImpact, ag as GeneratorContext, G as GeneratorResult, ap as GeneratorSummary, $ as HYDRATION_MARKER_ID, a0 as HydrationMarker, a1 as NavigatorConstructor, ab as NavigatorRole, ac as NavigatorRoles, aa as Navigators, ar as PipelineForecaster, ao as PipelineRunReport, R as ReplanHints, j as ScheduledCard, t as SessionEloEvent, V as SessionStateSnapshot, u as SessionStateSnapshotProvider, K as SessionTrackingData, a8 as StrategyContribution, i as StudentClassroomDBInterface, h as StudyContentSource, P as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, S as StudySessionItem, n as StudySessionNewItem, o as StudySessionReviewItem, Q as StudySessionRunSummary, T as TeacherClassroomDBInterface, L as UserConfig, E as UserCourseSetting, B as UserCourseSettings, z as UserDBAuthenticator, a as UserDBReader, y as UserDBWriter, Z as UserHydrationState, _ as UserHydrationStatus, F as UsrCrsDataInterface, au as computeDeviation, aw as computeEffectiveWeight, av as computeSpread, ax as createOrchestrationContext, an as drainCapturedRuns, ak as getActivePipeline, a9 as getCardOrigin, a3 as getRegisteredNavigator, a6 as getRegisteredNavigatorNames, a5 as getRegisteredNavigatorRole, am as getRunsForSession, r as getStudySource, a4 as hasRegisteredNavigator, a7 as initializeNavigatorRegistry, ae as isFilter, ad as isGenerator, p as isReview, X as makeStudySessionId, aj as mountPipelineDebugger, Y as newSessionId, ai as pipelineDebugAPI, a2 as registerNavigator, al as setDebugSessionId } from '../contentSource-
|
|
3
|
-
export { D as DataLayerProvider } from '../dataLayerProvider-
|
|
1
|
+
import { as as LearnableWeight, O as UserOutcomeRecord, at as OrchestrationContext, W as WeightedCard, U as UserDBInterface, C as CourseDBInterface } from '../contentSource-LPf044hY.js';
|
|
2
|
+
export { M as ActivityRecord, A as AdminDBInterface, x as AssignedCard, g as AssignedContent, w as AssignedCourse, v as AssignedTag, af as CardGenerator, ah as CardGeneratorFactory, c as ClassroomDBInterface, I as ClassroomRegistration, H as ClassroomRegistrationDesignation, J as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, N as CourseRegistration, s as CourseRegistrationDoc, b as CoursesDBInterface, aq as FilterImpact, ag as GeneratorContext, G as GeneratorResult, ap as GeneratorSummary, $ as HYDRATION_MARKER_ID, a0 as HydrationMarker, a1 as NavigatorConstructor, ab as NavigatorRole, ac as NavigatorRoles, aa as Navigators, ar as PipelineForecaster, ao as PipelineRunReport, R as ReplanHints, j as ScheduledCard, t as SessionEloEvent, V as SessionStateSnapshot, u as SessionStateSnapshotProvider, K as SessionTrackingData, a8 as StrategyContribution, i as StudentClassroomDBInterface, h as StudyContentSource, P as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, S as StudySessionItem, n as StudySessionNewItem, o as StudySessionReviewItem, Q as StudySessionRunSummary, T as TeacherClassroomDBInterface, L as UserConfig, E as UserCourseSetting, B as UserCourseSettings, z as UserDBAuthenticator, a as UserDBReader, y as UserDBWriter, Z as UserHydrationState, _ as UserHydrationStatus, F as UsrCrsDataInterface, au as computeDeviation, aw as computeEffectiveWeight, av as computeSpread, ax as createOrchestrationContext, an as drainCapturedRuns, ak as getActivePipeline, a9 as getCardOrigin, a3 as getRegisteredNavigator, a6 as getRegisteredNavigatorNames, a5 as getRegisteredNavigatorRole, am as getRunsForSession, r as getStudySource, a4 as hasRegisteredNavigator, a7 as initializeNavigatorRegistry, ae as isFilter, ad as isGenerator, p as isReview, X as makeStudySessionId, aj as mountPipelineDebugger, Y as newSessionId, ai as pipelineDebugAPI, a2 as registerNavigator, al as setDebugSessionId } from '../contentSource-LPf044hY.js';
|
|
3
|
+
export { D as DataLayerProvider } from '../dataLayerProvider-DaAootVV.js';
|
|
4
4
|
import { D as DocType, c as QuestionRecord, i as DocTypePrefixes, C as CardHistory, b as CardRecord } from '../types-legacy-CrwyZIvI.js';
|
|
5
5
|
export { d as CardData, e as CourseListData, g as DataShapeData, f as DisplayableData, F as Field, G as GuestUsername, Q as QualifiedCardID, h as QuestionData, S as SkuilderCourseData, a as Tag, T as TagStub, l as log } from '../types-legacy-CrwyZIvI.js';
|
|
6
6
|
import { DataShape, ParsedCard } from '@vue-skuilder/common';
|