@thanh01.pmt/curriculum-kit 1.4.37 → 1.4.38

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.
@@ -1128,6 +1128,12 @@ var init_provider_factory = __esm({
1128
1128
  }
1129
1129
  });
1130
1130
 
1131
+ // src/parsers/lessonFlowParser.ts
1132
+ var init_lessonFlowParser = __esm({
1133
+ "src/parsers/lessonFlowParser.ts"() {
1134
+ }
1135
+ });
1136
+
1131
1137
  // src/ai/flows/generateLessonMasterFlow.ts
1132
1138
  init_provider_factory();
1133
1139
  var LearningObjectiveRowSchema = z.object({
@@ -19717,6 +19723,20 @@ function buildDomainLexiconGuardrail(techStack, hardwarePlatform) {
19717
19723
  }
19718
19724
  init_errors();
19719
19725
 
19726
+ // src/parsers/lessonEntity.ts
19727
+ init_lessonFlowParser();
19728
+ z.object({
19729
+ lessonId: z.string(),
19730
+ title: z.string(),
19731
+ pedagogyModel: z.string().default("5e"),
19732
+ estimatedDuration: z.string().default(""),
19733
+ learningObjectives: z.array(LearningObjectiveRowSchema).default([]),
19734
+ activitySequence: z.array(ActivitySeqRowSchema).default([]),
19735
+ /** Header→cell rows straight from the A4 Assessment Map table (headers vary by template). */
19736
+ assessmentMap: z.array(z.record(z.string())).default([]),
19737
+ tieredScaffolding: z.object({ bronze: z.string().default(""), silver: z.string().default(""), gold: z.string().default("") }).default({ bronze: "", silver: "", gold: "" })
19738
+ });
19739
+
19720
19740
  // src/services/lessonProductionService.ts
19721
19741
  var __filename$1 = typeof import.meta?.url === "string" && typeof fileURLToPath === "function" ? fileURLToPath(import.meta.url) : "";
19722
19742
  var _resolvedDir = __filename$1 ? path4.dirname(__filename$1) : typeof __dirname !== "undefined" ? __dirname : process.cwd();