@happyvertical/smrt-education 0.60.7 → 0.60.9
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.
|
@@ -9,6 +9,11 @@ export type PlanLessonView = Readonly<{
|
|
|
9
9
|
kind: string;
|
|
10
10
|
requiresOnlineResource: boolean;
|
|
11
11
|
sourceUrl?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Set only on a lesson whose work runs the release-gated workflow (book
|
|
14
|
+
* and loose-page work), by the work's effective placement: filed work
|
|
15
|
+
* belongs to the lesson it was filed into, not the one it was captured on.
|
|
16
|
+
*/
|
|
12
17
|
lessonActivityId?: string;
|
|
13
18
|
}>;
|
|
14
19
|
progress: LessonProgressView | null;
|
|
@@ -39,6 +44,13 @@ export type EnrollmentPlanView = Readonly<{
|
|
|
39
44
|
export declare class LearnerPlanService extends EnrollmentNoteService {
|
|
40
45
|
protected createTransactionService(db: DatabaseInterface): this;
|
|
41
46
|
listPlan(request: LearnerRequest): Promise<EnrollmentPlanView[]>;
|
|
47
|
+
/**
|
|
48
|
+
* The learner's release-gated activities by the lesson of this enrollment
|
|
49
|
+
* they are effectively placed in: the filing head for filed work, else the
|
|
50
|
+
* activity's own routing. Reads stay on the request's tenant and learner and
|
|
51
|
+
* on the already-authorized enrollment, so no other enrollment's work leaks.
|
|
52
|
+
*/
|
|
53
|
+
private placedReleaseGatedWork;
|
|
42
54
|
getEnrollmentPlan(request: LearnerRequest & {
|
|
43
55
|
enrollmentId: string;
|
|
44
56
|
}): Promise<EnrollmentPlanView>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"learner-plan-service.d.ts","sourceRoot":"","sources":["../src/learner-plan-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,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Ac,CAAC,CAAC;IACvC,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,uBAAuB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC/C,0FAA0F;IAC1F,gBAAgB,EAAE,QAAQ,CAAC;QACzB,IAAI,EAAE,SAAS,GAAG,WAAW,CAAC;QAC9B,EAAE,EAAE,IAAI,CAAC;QACT,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,GAAG,IAAI,CAAC;CACX,CAAC,CAAC;AAaH,kFAAkF;AAClF,qBAAa,kBAAmB,SAAQ,qBAAqB;cACxC,wBAAwB,CAAC,EAAE,EAAE,iBAAiB,GAAG,IAAI;IAQlE,QAAQ,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAetE;;;;;OAKG;YACW,sBAAsB;IAsD9B,iBAAiB,CACrB,OAAO,EAAE,cAAc,GAAG;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,GACjD,OAAO,CAAC,kBAAkB,CAAC;CA2G/B"}
|
package/dist/manifest.json
CHANGED
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-education",
|
|
6
|
-
"packageVersion": "0.60.
|
|
6
|
+
"packageVersion": "0.60.9",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "3639bb8e3b0645da356df263209a70d4f2011fdfb9b6a15fcd9bbda34be41ac2",
|
|
11
|
+
"packageJson": "43ef05416b4d14cbbce3b47eb59f1c271e6d1339912e8a6c55e38fc94a63511a",
|
|
12
12
|
"agents": "44f253815661ccb7ef613ae3a517a31c022c583940ba2afce2974017c32a972d",
|
|
13
13
|
"moduleDoc:agents/lesson-materials.md": "f58c0fc813a366c1d69bb636a67c99996996ad90d5b6b3ccc724ea1034e4d0d0",
|
|
14
14
|
"moduleDoc:agents/learner-service.md": "d7edf68000aec96b52920fb5e8dc4ff4e20b1d81b34413809e8212a885e1c3f9",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-education",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.9",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "Tenant-aware learning catalog models and authorized catalog access for SMRT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@happyvertical/smrt-assets": "0.60.
|
|
33
|
-
"@happyvertical/smrt-core": "0.60.
|
|
34
|
-
"@happyvertical/smrt-profiles": "0.60.
|
|
35
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
36
|
-
"@happyvertical/smrt-users": "0.60.
|
|
32
|
+
"@happyvertical/smrt-assets": "0.60.9",
|
|
33
|
+
"@happyvertical/smrt-core": "0.60.9",
|
|
34
|
+
"@happyvertical/smrt-profiles": "0.60.9",
|
|
35
|
+
"@happyvertical/smrt-tenancy": "0.60.9",
|
|
36
|
+
"@happyvertical/smrt-users": "0.60.9",
|
|
37
37
|
"@happyvertical/files": "^0.111.3",
|
|
38
38
|
"@happyvertical/sql": "^0.111.3",
|
|
39
39
|
"pdf-lib": "1.17.1",
|
|
40
|
-
"@happyvertical/smrt-ingestion": "0.60.
|
|
40
|
+
"@happyvertical/smrt-ingestion": "0.60.9"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
43
|
+
"@happyvertical/smrt-vitest": "0.60.9",
|
|
44
44
|
"@types/node": "24.13.6",
|
|
45
45
|
"typescript": "6.0.3",
|
|
46
46
|
"vite": "8.1.6",
|