@happyvertical/smrt-education 0.60.2 → 0.60.4
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/AGENTS.md +2 -1
- package/README.md +2 -1
- package/agents/class-crunchlabs.md +21 -0
- package/agents/course-bundle-import.md +56 -1
- package/agents/lesson-materials.md +1 -1
- package/dist/catalog-service.d.ts.map +1 -1
- package/dist/chunks/{workbook-photo-service-DHP5ja82.js → workbook-photo-service-wqZZWGLb.js} +42 -6
- package/dist/chunks/workbook-photo-service-wqZZWGLb.js.map +1 -0
- package/dist/course-bundle-models.d.ts +34 -3
- package/dist/course-bundle-models.d.ts.map +1 -1
- package/dist/course-bundle-service.d.ts +43 -0
- package/dist/course-bundle-service.d.ts.map +1 -1
- package/dist/index.js +530 -31
- package/dist/index.js.map +1 -1
- package/dist/ingestion.js +1 -1
- package/dist/lesson-assets.d.ts +30 -0
- package/dist/lesson-assets.d.ts.map +1 -1
- package/dist/manifest.json +665 -46
- package/dist/smrt-knowledge.json +229 -15
- package/dist/sources/class-crunchlabs.d.ts +1 -1
- package/dist/sources/class-crunchlabs.d.ts.map +1 -1
- package/dist/submission-service.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/chunks/workbook-photo-service-DHP5ja82.js.map +0 -1
package/dist/ingestion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as normalizeWorkObservedLayout, I as normalizeWorkAnswerRegions, It as FamilyIntakeAssetCollection, Lt as FamilyIntakeCollection, M as QuestionExtractionPendingError, N as QuestionExtractionValidationError, Nt as WorkbookPhotoIntakeCollection, P as LessonWorkService, Tt as familyIntakeScopeId, Y as LearnerAuthorizationError, a as questionExtractionProposalDigest, an as aggregateWorkQuestions, kt as WorkbookPhotoAssetCollection, n as preservePhotoProposal, nn as WORK_MATH_VOCABULARY, on as validateWorkAssessment, r as validateWorkbookPhotoIdentification, rn as WorkAssessmentValidationError, sn as workAggregateFeedback, t as WorkbookPhotoService, u as QUESTION_EXTRACTION_ARGS_SCHEMA, zt as FamilyIntakeDecisionCollection } from "./chunks/workbook-photo-service-
|
|
1
|
+
import { F as normalizeWorkObservedLayout, I as normalizeWorkAnswerRegions, It as FamilyIntakeAssetCollection, Lt as FamilyIntakeCollection, M as QuestionExtractionPendingError, N as QuestionExtractionValidationError, Nt as WorkbookPhotoIntakeCollection, P as LessonWorkService, Tt as familyIntakeScopeId, Y as LearnerAuthorizationError, a as questionExtractionProposalDigest, an as aggregateWorkQuestions, kt as WorkbookPhotoAssetCollection, n as preservePhotoProposal, nn as WORK_MATH_VOCABULARY, on as validateWorkAssessment, r as validateWorkbookPhotoIdentification, rn as WorkAssessmentValidationError, sn as workAggregateFeedback, t as WorkbookPhotoService, u as QUESTION_EXTRACTION_ARGS_SCHEMA, zt as FamilyIntakeDecisionCollection } from "./chunks/workbook-photo-service-wqZZWGLb.js";
|
|
2
2
|
import { getCurrentTenant, withTenant } from "@happyvertical/smrt-tenancy";
|
|
3
3
|
import { withPrivateAssetAccess } from "@happyvertical/smrt-assets";
|
|
4
4
|
import { registerPermissionDefinitions } from "@happyvertical/smrt-users";
|
package/dist/lesson-assets.d.ts
CHANGED
|
@@ -35,6 +35,20 @@ export declare class LessonAsset extends SmrtObject {
|
|
|
35
35
|
renditionOfAssetId: string | null;
|
|
36
36
|
/** Optional first-page image of this material, recorded by the rendering step. */
|
|
37
37
|
thumbnailAssetId: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The readable material title the course bundle manifest gave this file
|
|
40
|
+
* (SMRT #4653). Both halves of an original/rendered pair carry it. Null for
|
|
41
|
+
* rows without one: readers fall back to the stored asset's name.
|
|
42
|
+
*/
|
|
43
|
+
title: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Set when a newer build of the course bundle no longer carries this
|
|
46
|
+
* material (SMRT #4645). A retired row stays (learner work may reference it)
|
|
47
|
+
* but is not part of the current material set. Null when current.
|
|
48
|
+
*/
|
|
49
|
+
retiredAt: Date | null;
|
|
50
|
+
/** The course bundle import that wrote this row, null for any other source. */
|
|
51
|
+
sourceImportId: string | null;
|
|
38
52
|
constructor(options?: Record<string, unknown>);
|
|
39
53
|
save(options?: SmrtSaveOptions): Promise<this>;
|
|
40
54
|
}
|
|
@@ -56,6 +70,14 @@ export declare class CourseAsset extends SmrtObject {
|
|
|
56
70
|
renditionOfAssetId: string | null;
|
|
57
71
|
/** Optional first-page image of this material, recorded by the rendering step. */
|
|
58
72
|
thumbnailAssetId: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Set when a newer build of the course bundle no longer carries this
|
|
75
|
+
* material (SMRT #4645). A retired row stays (learner work may reference it)
|
|
76
|
+
* but is not part of the current material set. Null when current.
|
|
77
|
+
*/
|
|
78
|
+
retiredAt: Date | null;
|
|
79
|
+
/** The course bundle import that wrote this row, null for any other source. */
|
|
80
|
+
sourceImportId: string | null;
|
|
59
81
|
constructor(options?: Record<string, unknown>);
|
|
60
82
|
save(options?: SmrtSaveOptions): Promise<this>;
|
|
61
83
|
}
|
|
@@ -86,6 +108,14 @@ export declare class LessonExternalVideo extends SmrtObject {
|
|
|
86
108
|
title: string;
|
|
87
109
|
stepOrder: number;
|
|
88
110
|
audience: MaterialAudience | '';
|
|
111
|
+
/**
|
|
112
|
+
* Set when a newer build of the course bundle no longer carries this
|
|
113
|
+
* material (SMRT #4645). A retired row stays (learner work may reference it)
|
|
114
|
+
* but is not part of the current material set. Null when current.
|
|
115
|
+
*/
|
|
116
|
+
retiredAt: Date | null;
|
|
117
|
+
/** The course bundle import that wrote this row, null for any other source. */
|
|
118
|
+
sourceImportId: string | null;
|
|
89
119
|
constructor(options?: Record<string, unknown>);
|
|
90
120
|
save(options?: SmrtSaveOptions): Promise<this>;
|
|
91
121
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lesson-assets.d.ts","sourceRoot":"","sources":["../src/lesson-assets.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,cAAc,EACd,UAAU,EACV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