@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.
@@ -1137,6 +1137,12 @@ var init_provider_factory = __esm({
1137
1137
  }
1138
1138
  });
1139
1139
 
1140
+ // src/parsers/lessonFlowParser.ts
1141
+ var init_lessonFlowParser = __esm({
1142
+ "src/parsers/lessonFlowParser.ts"() {
1143
+ }
1144
+ });
1145
+
1140
1146
  // src/ai/flows/generateLessonMasterFlow.ts
1141
1147
  init_provider_factory();
1142
1148
  var LearningObjectiveRowSchema = zod.z.object({
@@ -19726,6 +19732,20 @@ function buildDomainLexiconGuardrail(techStack, hardwarePlatform) {
19726
19732
  }
19727
19733
  init_errors();
19728
19734
 
19735
+ // src/parsers/lessonEntity.ts
19736
+ init_lessonFlowParser();
19737
+ zod.z.object({
19738
+ lessonId: zod.z.string(),
19739
+ title: zod.z.string(),
19740
+ pedagogyModel: zod.z.string().default("5e"),
19741
+ estimatedDuration: zod.z.string().default(""),
19742
+ learningObjectives: zod.z.array(LearningObjectiveRowSchema).default([]),
19743
+ activitySequence: zod.z.array(ActivitySeqRowSchema).default([]),
19744
+ /** Header→cell rows straight from the A4 Assessment Map table (headers vary by template). */
19745
+ assessmentMap: zod.z.array(zod.z.record(zod.z.string())).default([]),
19746
+ tieredScaffolding: zod.z.object({ bronze: zod.z.string().default(""), silver: zod.z.string().default(""), gold: zod.z.string().default("") }).default({ bronze: "", silver: "", gold: "" })
19747
+ });
19748
+
19729
19749
  // src/services/lessonProductionService.ts
19730
19750
  var __filename$1 = typeof (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)) === "string" && typeof url.fileURLToPath === "function" ? url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))) : "";
19731
19751
  var _resolvedDir = __filename$1 ? path4__default.default.dirname(__filename$1) : typeof __dirname !== "undefined" ? __dirname : process.cwd();