@graspful/cli 0.1.0 → 0.2.0

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.
Files changed (48) hide show
  1. package/README.md +309 -0
  2. package/dist/commands/describe.js +2 -2
  3. package/dist/commands/describe.js.map +1 -1
  4. package/dist/commands/fill-concept.js +2 -2
  5. package/dist/commands/fill-concept.js.map +1 -1
  6. package/dist/commands/init.d.ts +3 -0
  7. package/dist/commands/init.d.ts.map +1 -0
  8. package/dist/commands/init.js +216 -0
  9. package/dist/commands/init.js.map +1 -0
  10. package/dist/commands/login.d.ts.map +1 -1
  11. package/dist/commands/login.js +3 -2
  12. package/dist/commands/login.js.map +1 -1
  13. package/dist/commands/register.d.ts +3 -0
  14. package/dist/commands/register.d.ts.map +1 -0
  15. package/dist/commands/register.js +52 -0
  16. package/dist/commands/register.js.map +1 -0
  17. package/dist/commands/review.d.ts.map +1 -1
  18. package/dist/commands/review.js +3 -3
  19. package/dist/commands/review.js.map +1 -1
  20. package/dist/commands/validate.js +4 -4
  21. package/dist/commands/validate.js.map +1 -1
  22. package/dist/index.js +4 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/lib/auth.d.ts +1 -0
  25. package/dist/lib/auth.d.ts.map +1 -1
  26. package/dist/lib/auth.js +13 -2
  27. package/dist/lib/auth.js.map +1 -1
  28. package/package.json +9 -2
  29. package/dist/quality-gate.d.ts +0 -21
  30. package/dist/quality-gate.d.ts.map +0 -1
  31. package/dist/quality-gate.js +0 -16
  32. package/dist/quality-gate.js.map +0 -1
  33. package/dist/schemas/academy-manifest.schema.d.ts +0 -164
  34. package/dist/schemas/academy-manifest.schema.d.ts.map +0 -1
  35. package/dist/schemas/academy-manifest.schema.js +0 -70
  36. package/dist/schemas/academy-manifest.schema.js.map +0 -1
  37. package/dist/schemas/brand-yaml.schema.d.ts +0 -652
  38. package/dist/schemas/brand-yaml.schema.d.ts.map +0 -1
  39. package/dist/schemas/brand-yaml.schema.js +0 -97
  40. package/dist/schemas/brand-yaml.schema.js.map +0 -1
  41. package/dist/schemas/course-yaml.schema.d.ts +0 -1794
  42. package/dist/schemas/course-yaml.schema.d.ts.map +0 -1
  43. package/dist/schemas/course-yaml.schema.js +0 -161
  44. package/dist/schemas/course-yaml.schema.js.map +0 -1
  45. package/dist/schemas/index.d.ts +0 -4
  46. package/dist/schemas/index.d.ts.map +0 -1
  47. package/dist/schemas/index.js +0 -20
  48. package/dist/schemas/index.js.map +0 -1
@@ -1,1794 +0,0 @@
1
- import { z } from 'zod';
2
- declare const ContentBlockYamlSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3
- type: z.ZodLiteral<"image">;
4
- url: z.ZodString;
5
- alt: z.ZodString;
6
- caption: z.ZodOptional<z.ZodString>;
7
- width: z.ZodOptional<z.ZodNumber>;
8
- }, "strip", z.ZodTypeAny, {
9
- type: "image";
10
- url: string;
11
- alt: string;
12
- caption?: string | undefined;
13
- width?: number | undefined;
14
- }, {
15
- type: "image";
16
- url: string;
17
- alt: string;
18
- caption?: string | undefined;
19
- width?: number | undefined;
20
- }>, z.ZodObject<{
21
- type: z.ZodLiteral<"video">;
22
- url: z.ZodString;
23
- title: z.ZodString;
24
- caption: z.ZodOptional<z.ZodString>;
25
- }, "strip", z.ZodTypeAny, {
26
- type: "video";
27
- url: string;
28
- title: string;
29
- caption?: string | undefined;
30
- }, {
31
- type: "video";
32
- url: string;
33
- title: string;
34
- caption?: string | undefined;
35
- }>, z.ZodObject<{
36
- type: z.ZodLiteral<"link">;
37
- url: z.ZodString;
38
- title: z.ZodString;
39
- description: z.ZodOptional<z.ZodString>;
40
- }, "strip", z.ZodTypeAny, {
41
- type: "link";
42
- url: string;
43
- title: string;
44
- description?: string | undefined;
45
- }, {
46
- type: "link";
47
- url: string;
48
- title: string;
49
- description?: string | undefined;
50
- }>, z.ZodObject<{
51
- type: z.ZodLiteral<"callout">;
52
- title: z.ZodString;
53
- body: z.ZodString;
54
- }, "strip", z.ZodTypeAny, {
55
- type: "callout";
56
- title: string;
57
- body: string;
58
- }, {
59
- type: "callout";
60
- title: string;
61
- body: string;
62
- }>]>;
63
- declare const ProblemYamlSchema: z.ZodObject<{
64
- id: z.ZodString;
65
- type: z.ZodEnum<["multiple_choice", "fill_blank", "true_false", "ordering", "matching", "scenario"]>;
66
- question: z.ZodString;
67
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
- correct: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
69
- explanation: z.ZodOptional<z.ZodString>;
70
- difficulty: z.ZodOptional<z.ZodNumber>;
71
- }, "strip", z.ZodTypeAny, {
72
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
73
- id: string;
74
- question: string;
75
- correct: string | number;
76
- options?: string[] | undefined;
77
- explanation?: string | undefined;
78
- difficulty?: number | undefined;
79
- }, {
80
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
81
- id: string;
82
- question: string;
83
- correct: string | number;
84
- options?: string[] | undefined;
85
- explanation?: string | undefined;
86
- difficulty?: number | undefined;
87
- }>;
88
- declare const KnowledgePointYamlSchema: z.ZodObject<{
89
- id: z.ZodString;
90
- instruction: z.ZodOptional<z.ZodString>;
91
- instructionContent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
92
- type: z.ZodLiteral<"image">;
93
- url: z.ZodString;
94
- alt: z.ZodString;
95
- caption: z.ZodOptional<z.ZodString>;
96
- width: z.ZodOptional<z.ZodNumber>;
97
- }, "strip", z.ZodTypeAny, {
98
- type: "image";
99
- url: string;
100
- alt: string;
101
- caption?: string | undefined;
102
- width?: number | undefined;
103
- }, {
104
- type: "image";
105
- url: string;
106
- alt: string;
107
- caption?: string | undefined;
108
- width?: number | undefined;
109
- }>, z.ZodObject<{
110
- type: z.ZodLiteral<"video">;
111
- url: z.ZodString;
112
- title: z.ZodString;
113
- caption: z.ZodOptional<z.ZodString>;
114
- }, "strip", z.ZodTypeAny, {
115
- type: "video";
116
- url: string;
117
- title: string;
118
- caption?: string | undefined;
119
- }, {
120
- type: "video";
121
- url: string;
122
- title: string;
123
- caption?: string | undefined;
124
- }>, z.ZodObject<{
125
- type: z.ZodLiteral<"link">;
126
- url: z.ZodString;
127
- title: z.ZodString;
128
- description: z.ZodOptional<z.ZodString>;
129
- }, "strip", z.ZodTypeAny, {
130
- type: "link";
131
- url: string;
132
- title: string;
133
- description?: string | undefined;
134
- }, {
135
- type: "link";
136
- url: string;
137
- title: string;
138
- description?: string | undefined;
139
- }>, z.ZodObject<{
140
- type: z.ZodLiteral<"callout">;
141
- title: z.ZodString;
142
- body: z.ZodString;
143
- }, "strip", z.ZodTypeAny, {
144
- type: "callout";
145
- title: string;
146
- body: string;
147
- }, {
148
- type: "callout";
149
- title: string;
150
- body: string;
151
- }>]>, "many">>>;
152
- workedExample: z.ZodOptional<z.ZodString>;
153
- workedExampleContent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
154
- type: z.ZodLiteral<"image">;
155
- url: z.ZodString;
156
- alt: z.ZodString;
157
- caption: z.ZodOptional<z.ZodString>;
158
- width: z.ZodOptional<z.ZodNumber>;
159
- }, "strip", z.ZodTypeAny, {
160
- type: "image";
161
- url: string;
162
- alt: string;
163
- caption?: string | undefined;
164
- width?: number | undefined;
165
- }, {
166
- type: "image";
167
- url: string;
168
- alt: string;
169
- caption?: string | undefined;
170
- width?: number | undefined;
171
- }>, z.ZodObject<{
172
- type: z.ZodLiteral<"video">;
173
- url: z.ZodString;
174
- title: z.ZodString;
175
- caption: z.ZodOptional<z.ZodString>;
176
- }, "strip", z.ZodTypeAny, {
177
- type: "video";
178
- url: string;
179
- title: string;
180
- caption?: string | undefined;
181
- }, {
182
- type: "video";
183
- url: string;
184
- title: string;
185
- caption?: string | undefined;
186
- }>, z.ZodObject<{
187
- type: z.ZodLiteral<"link">;
188
- url: z.ZodString;
189
- title: z.ZodString;
190
- description: z.ZodOptional<z.ZodString>;
191
- }, "strip", z.ZodTypeAny, {
192
- type: "link";
193
- url: string;
194
- title: string;
195
- description?: string | undefined;
196
- }, {
197
- type: "link";
198
- url: string;
199
- title: string;
200
- description?: string | undefined;
201
- }>, z.ZodObject<{
202
- type: z.ZodLiteral<"callout">;
203
- title: z.ZodString;
204
- body: z.ZodString;
205
- }, "strip", z.ZodTypeAny, {
206
- type: "callout";
207
- title: string;
208
- body: string;
209
- }, {
210
- type: "callout";
211
- title: string;
212
- body: string;
213
- }>]>, "many">>>;
214
- problems: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
215
- id: z.ZodString;
216
- type: z.ZodEnum<["multiple_choice", "fill_blank", "true_false", "ordering", "matching", "scenario"]>;
217
- question: z.ZodString;
218
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
219
- correct: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
220
- explanation: z.ZodOptional<z.ZodString>;
221
- difficulty: z.ZodOptional<z.ZodNumber>;
222
- }, "strip", z.ZodTypeAny, {
223
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
224
- id: string;
225
- question: string;
226
- correct: string | number;
227
- options?: string[] | undefined;
228
- explanation?: string | undefined;
229
- difficulty?: number | undefined;
230
- }, {
231
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
232
- id: string;
233
- question: string;
234
- correct: string | number;
235
- options?: string[] | undefined;
236
- explanation?: string | undefined;
237
- difficulty?: number | undefined;
238
- }>, "many">>>;
239
- }, "strip", z.ZodTypeAny, {
240
- id: string;
241
- instructionContent: ({
242
- type: "image";
243
- url: string;
244
- alt: string;
245
- caption?: string | undefined;
246
- width?: number | undefined;
247
- } | {
248
- type: "video";
249
- url: string;
250
- title: string;
251
- caption?: string | undefined;
252
- } | {
253
- type: "link";
254
- url: string;
255
- title: string;
256
- description?: string | undefined;
257
- } | {
258
- type: "callout";
259
- title: string;
260
- body: string;
261
- })[];
262
- workedExampleContent: ({
263
- type: "image";
264
- url: string;
265
- alt: string;
266
- caption?: string | undefined;
267
- width?: number | undefined;
268
- } | {
269
- type: "video";
270
- url: string;
271
- title: string;
272
- caption?: string | undefined;
273
- } | {
274
- type: "link";
275
- url: string;
276
- title: string;
277
- description?: string | undefined;
278
- } | {
279
- type: "callout";
280
- title: string;
281
- body: string;
282
- })[];
283
- problems: {
284
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
285
- id: string;
286
- question: string;
287
- correct: string | number;
288
- options?: string[] | undefined;
289
- explanation?: string | undefined;
290
- difficulty?: number | undefined;
291
- }[];
292
- instruction?: string | undefined;
293
- workedExample?: string | undefined;
294
- }, {
295
- id: string;
296
- instruction?: string | undefined;
297
- instructionContent?: ({
298
- type: "image";
299
- url: string;
300
- alt: string;
301
- caption?: string | undefined;
302
- width?: number | undefined;
303
- } | {
304
- type: "video";
305
- url: string;
306
- title: string;
307
- caption?: string | undefined;
308
- } | {
309
- type: "link";
310
- url: string;
311
- title: string;
312
- description?: string | undefined;
313
- } | {
314
- type: "callout";
315
- title: string;
316
- body: string;
317
- })[] | undefined;
318
- workedExample?: string | undefined;
319
- workedExampleContent?: ({
320
- type: "image";
321
- url: string;
322
- alt: string;
323
- caption?: string | undefined;
324
- width?: number | undefined;
325
- } | {
326
- type: "video";
327
- url: string;
328
- title: string;
329
- caption?: string | undefined;
330
- } | {
331
- type: "link";
332
- url: string;
333
- title: string;
334
- description?: string | undefined;
335
- } | {
336
- type: "callout";
337
- title: string;
338
- body: string;
339
- })[] | undefined;
340
- problems?: {
341
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
342
- id: string;
343
- question: string;
344
- correct: string | number;
345
- options?: string[] | undefined;
346
- explanation?: string | undefined;
347
- difficulty?: number | undefined;
348
- }[] | undefined;
349
- }>;
350
- declare const ConceptYamlSchema: z.ZodObject<{
351
- id: z.ZodString;
352
- name: z.ZodString;
353
- section: z.ZodOptional<z.ZodString>;
354
- difficulty: z.ZodNumber;
355
- estimatedMinutes: z.ZodNumber;
356
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
357
- sourceRef: z.ZodOptional<z.ZodString>;
358
- prerequisites: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
359
- encompassing: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
360
- concept: z.ZodString;
361
- weight: z.ZodNumber;
362
- }, "strip", z.ZodTypeAny, {
363
- concept: string;
364
- weight: number;
365
- }, {
366
- concept: string;
367
- weight: number;
368
- }>, "many">>>;
369
- knowledgePoints: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
370
- id: z.ZodString;
371
- instruction: z.ZodOptional<z.ZodString>;
372
- instructionContent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
373
- type: z.ZodLiteral<"image">;
374
- url: z.ZodString;
375
- alt: z.ZodString;
376
- caption: z.ZodOptional<z.ZodString>;
377
- width: z.ZodOptional<z.ZodNumber>;
378
- }, "strip", z.ZodTypeAny, {
379
- type: "image";
380
- url: string;
381
- alt: string;
382
- caption?: string | undefined;
383
- width?: number | undefined;
384
- }, {
385
- type: "image";
386
- url: string;
387
- alt: string;
388
- caption?: string | undefined;
389
- width?: number | undefined;
390
- }>, z.ZodObject<{
391
- type: z.ZodLiteral<"video">;
392
- url: z.ZodString;
393
- title: z.ZodString;
394
- caption: z.ZodOptional<z.ZodString>;
395
- }, "strip", z.ZodTypeAny, {
396
- type: "video";
397
- url: string;
398
- title: string;
399
- caption?: string | undefined;
400
- }, {
401
- type: "video";
402
- url: string;
403
- title: string;
404
- caption?: string | undefined;
405
- }>, z.ZodObject<{
406
- type: z.ZodLiteral<"link">;
407
- url: z.ZodString;
408
- title: z.ZodString;
409
- description: z.ZodOptional<z.ZodString>;
410
- }, "strip", z.ZodTypeAny, {
411
- type: "link";
412
- url: string;
413
- title: string;
414
- description?: string | undefined;
415
- }, {
416
- type: "link";
417
- url: string;
418
- title: string;
419
- description?: string | undefined;
420
- }>, z.ZodObject<{
421
- type: z.ZodLiteral<"callout">;
422
- title: z.ZodString;
423
- body: z.ZodString;
424
- }, "strip", z.ZodTypeAny, {
425
- type: "callout";
426
- title: string;
427
- body: string;
428
- }, {
429
- type: "callout";
430
- title: string;
431
- body: string;
432
- }>]>, "many">>>;
433
- workedExample: z.ZodOptional<z.ZodString>;
434
- workedExampleContent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
435
- type: z.ZodLiteral<"image">;
436
- url: z.ZodString;
437
- alt: z.ZodString;
438
- caption: z.ZodOptional<z.ZodString>;
439
- width: z.ZodOptional<z.ZodNumber>;
440
- }, "strip", z.ZodTypeAny, {
441
- type: "image";
442
- url: string;
443
- alt: string;
444
- caption?: string | undefined;
445
- width?: number | undefined;
446
- }, {
447
- type: "image";
448
- url: string;
449
- alt: string;
450
- caption?: string | undefined;
451
- width?: number | undefined;
452
- }>, z.ZodObject<{
453
- type: z.ZodLiteral<"video">;
454
- url: z.ZodString;
455
- title: z.ZodString;
456
- caption: z.ZodOptional<z.ZodString>;
457
- }, "strip", z.ZodTypeAny, {
458
- type: "video";
459
- url: string;
460
- title: string;
461
- caption?: string | undefined;
462
- }, {
463
- type: "video";
464
- url: string;
465
- title: string;
466
- caption?: string | undefined;
467
- }>, z.ZodObject<{
468
- type: z.ZodLiteral<"link">;
469
- url: z.ZodString;
470
- title: z.ZodString;
471
- description: z.ZodOptional<z.ZodString>;
472
- }, "strip", z.ZodTypeAny, {
473
- type: "link";
474
- url: string;
475
- title: string;
476
- description?: string | undefined;
477
- }, {
478
- type: "link";
479
- url: string;
480
- title: string;
481
- description?: string | undefined;
482
- }>, z.ZodObject<{
483
- type: z.ZodLiteral<"callout">;
484
- title: z.ZodString;
485
- body: z.ZodString;
486
- }, "strip", z.ZodTypeAny, {
487
- type: "callout";
488
- title: string;
489
- body: string;
490
- }, {
491
- type: "callout";
492
- title: string;
493
- body: string;
494
- }>]>, "many">>>;
495
- problems: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
496
- id: z.ZodString;
497
- type: z.ZodEnum<["multiple_choice", "fill_blank", "true_false", "ordering", "matching", "scenario"]>;
498
- question: z.ZodString;
499
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
500
- correct: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
501
- explanation: z.ZodOptional<z.ZodString>;
502
- difficulty: z.ZodOptional<z.ZodNumber>;
503
- }, "strip", z.ZodTypeAny, {
504
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
505
- id: string;
506
- question: string;
507
- correct: string | number;
508
- options?: string[] | undefined;
509
- explanation?: string | undefined;
510
- difficulty?: number | undefined;
511
- }, {
512
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
513
- id: string;
514
- question: string;
515
- correct: string | number;
516
- options?: string[] | undefined;
517
- explanation?: string | undefined;
518
- difficulty?: number | undefined;
519
- }>, "many">>>;
520
- }, "strip", z.ZodTypeAny, {
521
- id: string;
522
- instructionContent: ({
523
- type: "image";
524
- url: string;
525
- alt: string;
526
- caption?: string | undefined;
527
- width?: number | undefined;
528
- } | {
529
- type: "video";
530
- url: string;
531
- title: string;
532
- caption?: string | undefined;
533
- } | {
534
- type: "link";
535
- url: string;
536
- title: string;
537
- description?: string | undefined;
538
- } | {
539
- type: "callout";
540
- title: string;
541
- body: string;
542
- })[];
543
- workedExampleContent: ({
544
- type: "image";
545
- url: string;
546
- alt: string;
547
- caption?: string | undefined;
548
- width?: number | undefined;
549
- } | {
550
- type: "video";
551
- url: string;
552
- title: string;
553
- caption?: string | undefined;
554
- } | {
555
- type: "link";
556
- url: string;
557
- title: string;
558
- description?: string | undefined;
559
- } | {
560
- type: "callout";
561
- title: string;
562
- body: string;
563
- })[];
564
- problems: {
565
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
566
- id: string;
567
- question: string;
568
- correct: string | number;
569
- options?: string[] | undefined;
570
- explanation?: string | undefined;
571
- difficulty?: number | undefined;
572
- }[];
573
- instruction?: string | undefined;
574
- workedExample?: string | undefined;
575
- }, {
576
- id: string;
577
- instruction?: string | undefined;
578
- instructionContent?: ({
579
- type: "image";
580
- url: string;
581
- alt: string;
582
- caption?: string | undefined;
583
- width?: number | undefined;
584
- } | {
585
- type: "video";
586
- url: string;
587
- title: string;
588
- caption?: string | undefined;
589
- } | {
590
- type: "link";
591
- url: string;
592
- title: string;
593
- description?: string | undefined;
594
- } | {
595
- type: "callout";
596
- title: string;
597
- body: string;
598
- })[] | undefined;
599
- workedExample?: string | undefined;
600
- workedExampleContent?: ({
601
- type: "image";
602
- url: string;
603
- alt: string;
604
- caption?: string | undefined;
605
- width?: number | undefined;
606
- } | {
607
- type: "video";
608
- url: string;
609
- title: string;
610
- caption?: string | undefined;
611
- } | {
612
- type: "link";
613
- url: string;
614
- title: string;
615
- description?: string | undefined;
616
- } | {
617
- type: "callout";
618
- title: string;
619
- body: string;
620
- })[] | undefined;
621
- problems?: {
622
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
623
- id: string;
624
- question: string;
625
- correct: string | number;
626
- options?: string[] | undefined;
627
- explanation?: string | undefined;
628
- difficulty?: number | undefined;
629
- }[] | undefined;
630
- }>, "many">>>;
631
- }, "strip", z.ZodTypeAny, {
632
- id: string;
633
- difficulty: number;
634
- name: string;
635
- estimatedMinutes: number;
636
- tags: string[];
637
- prerequisites: string[];
638
- encompassing: {
639
- concept: string;
640
- weight: number;
641
- }[];
642
- knowledgePoints: {
643
- id: string;
644
- instructionContent: ({
645
- type: "image";
646
- url: string;
647
- alt: string;
648
- caption?: string | undefined;
649
- width?: number | undefined;
650
- } | {
651
- type: "video";
652
- url: string;
653
- title: string;
654
- caption?: string | undefined;
655
- } | {
656
- type: "link";
657
- url: string;
658
- title: string;
659
- description?: string | undefined;
660
- } | {
661
- type: "callout";
662
- title: string;
663
- body: string;
664
- })[];
665
- workedExampleContent: ({
666
- type: "image";
667
- url: string;
668
- alt: string;
669
- caption?: string | undefined;
670
- width?: number | undefined;
671
- } | {
672
- type: "video";
673
- url: string;
674
- title: string;
675
- caption?: string | undefined;
676
- } | {
677
- type: "link";
678
- url: string;
679
- title: string;
680
- description?: string | undefined;
681
- } | {
682
- type: "callout";
683
- title: string;
684
- body: string;
685
- })[];
686
- problems: {
687
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
688
- id: string;
689
- question: string;
690
- correct: string | number;
691
- options?: string[] | undefined;
692
- explanation?: string | undefined;
693
- difficulty?: number | undefined;
694
- }[];
695
- instruction?: string | undefined;
696
- workedExample?: string | undefined;
697
- }[];
698
- section?: string | undefined;
699
- sourceRef?: string | undefined;
700
- }, {
701
- id: string;
702
- difficulty: number;
703
- name: string;
704
- estimatedMinutes: number;
705
- section?: string | undefined;
706
- tags?: string[] | undefined;
707
- sourceRef?: string | undefined;
708
- prerequisites?: string[] | undefined;
709
- encompassing?: {
710
- concept: string;
711
- weight: number;
712
- }[] | undefined;
713
- knowledgePoints?: {
714
- id: string;
715
- instruction?: string | undefined;
716
- instructionContent?: ({
717
- type: "image";
718
- url: string;
719
- alt: string;
720
- caption?: string | undefined;
721
- width?: number | undefined;
722
- } | {
723
- type: "video";
724
- url: string;
725
- title: string;
726
- caption?: string | undefined;
727
- } | {
728
- type: "link";
729
- url: string;
730
- title: string;
731
- description?: string | undefined;
732
- } | {
733
- type: "callout";
734
- title: string;
735
- body: string;
736
- })[] | undefined;
737
- workedExample?: string | undefined;
738
- workedExampleContent?: ({
739
- type: "image";
740
- url: string;
741
- alt: string;
742
- caption?: string | undefined;
743
- width?: number | undefined;
744
- } | {
745
- type: "video";
746
- url: string;
747
- title: string;
748
- caption?: string | undefined;
749
- } | {
750
- type: "link";
751
- url: string;
752
- title: string;
753
- description?: string | undefined;
754
- } | {
755
- type: "callout";
756
- title: string;
757
- body: string;
758
- })[] | undefined;
759
- problems?: {
760
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
761
- id: string;
762
- question: string;
763
- correct: string | number;
764
- options?: string[] | undefined;
765
- explanation?: string | undefined;
766
- difficulty?: number | undefined;
767
- }[] | undefined;
768
- }[] | undefined;
769
- }>;
770
- declare const SectionExamBlueprintYamlSchema: z.ZodObject<{
771
- conceptId: z.ZodString;
772
- minQuestions: z.ZodNumber;
773
- }, "strip", z.ZodTypeAny, {
774
- conceptId: string;
775
- minQuestions: number;
776
- }, {
777
- conceptId: string;
778
- minQuestions: number;
779
- }>;
780
- declare const SectionExamYamlSchema: z.ZodObject<{
781
- enabled: z.ZodDefault<z.ZodBoolean>;
782
- passingScore: z.ZodDefault<z.ZodNumber>;
783
- timeLimitMinutes: z.ZodOptional<z.ZodNumber>;
784
- questionCount: z.ZodDefault<z.ZodNumber>;
785
- blueprint: z.ZodDefault<z.ZodArray<z.ZodObject<{
786
- conceptId: z.ZodString;
787
- minQuestions: z.ZodNumber;
788
- }, "strip", z.ZodTypeAny, {
789
- conceptId: string;
790
- minQuestions: number;
791
- }, {
792
- conceptId: string;
793
- minQuestions: number;
794
- }>, "many">>;
795
- instructions: z.ZodOptional<z.ZodString>;
796
- }, "strip", z.ZodTypeAny, {
797
- enabled: boolean;
798
- passingScore: number;
799
- questionCount: number;
800
- blueprint: {
801
- conceptId: string;
802
- minQuestions: number;
803
- }[];
804
- timeLimitMinutes?: number | undefined;
805
- instructions?: string | undefined;
806
- }, {
807
- enabled?: boolean | undefined;
808
- passingScore?: number | undefined;
809
- timeLimitMinutes?: number | undefined;
810
- questionCount?: number | undefined;
811
- blueprint?: {
812
- conceptId: string;
813
- minQuestions: number;
814
- }[] | undefined;
815
- instructions?: string | undefined;
816
- }>;
817
- declare const SectionYamlSchema: z.ZodObject<{
818
- id: z.ZodString;
819
- name: z.ZodString;
820
- description: z.ZodOptional<z.ZodString>;
821
- sectionExam: z.ZodOptional<z.ZodObject<{
822
- enabled: z.ZodDefault<z.ZodBoolean>;
823
- passingScore: z.ZodDefault<z.ZodNumber>;
824
- timeLimitMinutes: z.ZodOptional<z.ZodNumber>;
825
- questionCount: z.ZodDefault<z.ZodNumber>;
826
- blueprint: z.ZodDefault<z.ZodArray<z.ZodObject<{
827
- conceptId: z.ZodString;
828
- minQuestions: z.ZodNumber;
829
- }, "strip", z.ZodTypeAny, {
830
- conceptId: string;
831
- minQuestions: number;
832
- }, {
833
- conceptId: string;
834
- minQuestions: number;
835
- }>, "many">>;
836
- instructions: z.ZodOptional<z.ZodString>;
837
- }, "strip", z.ZodTypeAny, {
838
- enabled: boolean;
839
- passingScore: number;
840
- questionCount: number;
841
- blueprint: {
842
- conceptId: string;
843
- minQuestions: number;
844
- }[];
845
- timeLimitMinutes?: number | undefined;
846
- instructions?: string | undefined;
847
- }, {
848
- enabled?: boolean | undefined;
849
- passingScore?: number | undefined;
850
- timeLimitMinutes?: number | undefined;
851
- questionCount?: number | undefined;
852
- blueprint?: {
853
- conceptId: string;
854
- minQuestions: number;
855
- }[] | undefined;
856
- instructions?: string | undefined;
857
- }>>;
858
- }, "strip", z.ZodTypeAny, {
859
- id: string;
860
- name: string;
861
- description?: string | undefined;
862
- sectionExam?: {
863
- enabled: boolean;
864
- passingScore: number;
865
- questionCount: number;
866
- blueprint: {
867
- conceptId: string;
868
- minQuestions: number;
869
- }[];
870
- timeLimitMinutes?: number | undefined;
871
- instructions?: string | undefined;
872
- } | undefined;
873
- }, {
874
- id: string;
875
- name: string;
876
- description?: string | undefined;
877
- sectionExam?: {
878
- enabled?: boolean | undefined;
879
- passingScore?: number | undefined;
880
- timeLimitMinutes?: number | undefined;
881
- questionCount?: number | undefined;
882
- blueprint?: {
883
- conceptId: string;
884
- minQuestions: number;
885
- }[] | undefined;
886
- instructions?: string | undefined;
887
- } | undefined;
888
- }>;
889
- export declare const CourseYamlSchema: z.ZodEffects<z.ZodObject<{
890
- course: z.ZodObject<{
891
- id: z.ZodString;
892
- name: z.ZodString;
893
- description: z.ZodOptional<z.ZodString>;
894
- estimatedHours: z.ZodNumber;
895
- version: z.ZodString;
896
- sourceDocument: z.ZodOptional<z.ZodString>;
897
- }, "strip", z.ZodTypeAny, {
898
- id: string;
899
- name: string;
900
- estimatedHours: number;
901
- version: string;
902
- description?: string | undefined;
903
- sourceDocument?: string | undefined;
904
- }, {
905
- id: string;
906
- name: string;
907
- estimatedHours: number;
908
- version: string;
909
- description?: string | undefined;
910
- sourceDocument?: string | undefined;
911
- }>;
912
- sections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
913
- id: z.ZodString;
914
- name: z.ZodString;
915
- description: z.ZodOptional<z.ZodString>;
916
- sectionExam: z.ZodOptional<z.ZodObject<{
917
- enabled: z.ZodDefault<z.ZodBoolean>;
918
- passingScore: z.ZodDefault<z.ZodNumber>;
919
- timeLimitMinutes: z.ZodOptional<z.ZodNumber>;
920
- questionCount: z.ZodDefault<z.ZodNumber>;
921
- blueprint: z.ZodDefault<z.ZodArray<z.ZodObject<{
922
- conceptId: z.ZodString;
923
- minQuestions: z.ZodNumber;
924
- }, "strip", z.ZodTypeAny, {
925
- conceptId: string;
926
- minQuestions: number;
927
- }, {
928
- conceptId: string;
929
- minQuestions: number;
930
- }>, "many">>;
931
- instructions: z.ZodOptional<z.ZodString>;
932
- }, "strip", z.ZodTypeAny, {
933
- enabled: boolean;
934
- passingScore: number;
935
- questionCount: number;
936
- blueprint: {
937
- conceptId: string;
938
- minQuestions: number;
939
- }[];
940
- timeLimitMinutes?: number | undefined;
941
- instructions?: string | undefined;
942
- }, {
943
- enabled?: boolean | undefined;
944
- passingScore?: number | undefined;
945
- timeLimitMinutes?: number | undefined;
946
- questionCount?: number | undefined;
947
- blueprint?: {
948
- conceptId: string;
949
- minQuestions: number;
950
- }[] | undefined;
951
- instructions?: string | undefined;
952
- }>>;
953
- }, "strip", z.ZodTypeAny, {
954
- id: string;
955
- name: string;
956
- description?: string | undefined;
957
- sectionExam?: {
958
- enabled: boolean;
959
- passingScore: number;
960
- questionCount: number;
961
- blueprint: {
962
- conceptId: string;
963
- minQuestions: number;
964
- }[];
965
- timeLimitMinutes?: number | undefined;
966
- instructions?: string | undefined;
967
- } | undefined;
968
- }, {
969
- id: string;
970
- name: string;
971
- description?: string | undefined;
972
- sectionExam?: {
973
- enabled?: boolean | undefined;
974
- passingScore?: number | undefined;
975
- timeLimitMinutes?: number | undefined;
976
- questionCount?: number | undefined;
977
- blueprint?: {
978
- conceptId: string;
979
- minQuestions: number;
980
- }[] | undefined;
981
- instructions?: string | undefined;
982
- } | undefined;
983
- }>, "many">>>;
984
- concepts: z.ZodArray<z.ZodObject<{
985
- id: z.ZodString;
986
- name: z.ZodString;
987
- section: z.ZodOptional<z.ZodString>;
988
- difficulty: z.ZodNumber;
989
- estimatedMinutes: z.ZodNumber;
990
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
991
- sourceRef: z.ZodOptional<z.ZodString>;
992
- prerequisites: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
993
- encompassing: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
994
- concept: z.ZodString;
995
- weight: z.ZodNumber;
996
- }, "strip", z.ZodTypeAny, {
997
- concept: string;
998
- weight: number;
999
- }, {
1000
- concept: string;
1001
- weight: number;
1002
- }>, "many">>>;
1003
- knowledgePoints: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1004
- id: z.ZodString;
1005
- instruction: z.ZodOptional<z.ZodString>;
1006
- instructionContent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1007
- type: z.ZodLiteral<"image">;
1008
- url: z.ZodString;
1009
- alt: z.ZodString;
1010
- caption: z.ZodOptional<z.ZodString>;
1011
- width: z.ZodOptional<z.ZodNumber>;
1012
- }, "strip", z.ZodTypeAny, {
1013
- type: "image";
1014
- url: string;
1015
- alt: string;
1016
- caption?: string | undefined;
1017
- width?: number | undefined;
1018
- }, {
1019
- type: "image";
1020
- url: string;
1021
- alt: string;
1022
- caption?: string | undefined;
1023
- width?: number | undefined;
1024
- }>, z.ZodObject<{
1025
- type: z.ZodLiteral<"video">;
1026
- url: z.ZodString;
1027
- title: z.ZodString;
1028
- caption: z.ZodOptional<z.ZodString>;
1029
- }, "strip", z.ZodTypeAny, {
1030
- type: "video";
1031
- url: string;
1032
- title: string;
1033
- caption?: string | undefined;
1034
- }, {
1035
- type: "video";
1036
- url: string;
1037
- title: string;
1038
- caption?: string | undefined;
1039
- }>, z.ZodObject<{
1040
- type: z.ZodLiteral<"link">;
1041
- url: z.ZodString;
1042
- title: z.ZodString;
1043
- description: z.ZodOptional<z.ZodString>;
1044
- }, "strip", z.ZodTypeAny, {
1045
- type: "link";
1046
- url: string;
1047
- title: string;
1048
- description?: string | undefined;
1049
- }, {
1050
- type: "link";
1051
- url: string;
1052
- title: string;
1053
- description?: string | undefined;
1054
- }>, z.ZodObject<{
1055
- type: z.ZodLiteral<"callout">;
1056
- title: z.ZodString;
1057
- body: z.ZodString;
1058
- }, "strip", z.ZodTypeAny, {
1059
- type: "callout";
1060
- title: string;
1061
- body: string;
1062
- }, {
1063
- type: "callout";
1064
- title: string;
1065
- body: string;
1066
- }>]>, "many">>>;
1067
- workedExample: z.ZodOptional<z.ZodString>;
1068
- workedExampleContent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1069
- type: z.ZodLiteral<"image">;
1070
- url: z.ZodString;
1071
- alt: z.ZodString;
1072
- caption: z.ZodOptional<z.ZodString>;
1073
- width: z.ZodOptional<z.ZodNumber>;
1074
- }, "strip", z.ZodTypeAny, {
1075
- type: "image";
1076
- url: string;
1077
- alt: string;
1078
- caption?: string | undefined;
1079
- width?: number | undefined;
1080
- }, {
1081
- type: "image";
1082
- url: string;
1083
- alt: string;
1084
- caption?: string | undefined;
1085
- width?: number | undefined;
1086
- }>, z.ZodObject<{
1087
- type: z.ZodLiteral<"video">;
1088
- url: z.ZodString;
1089
- title: z.ZodString;
1090
- caption: z.ZodOptional<z.ZodString>;
1091
- }, "strip", z.ZodTypeAny, {
1092
- type: "video";
1093
- url: string;
1094
- title: string;
1095
- caption?: string | undefined;
1096
- }, {
1097
- type: "video";
1098
- url: string;
1099
- title: string;
1100
- caption?: string | undefined;
1101
- }>, z.ZodObject<{
1102
- type: z.ZodLiteral<"link">;
1103
- url: z.ZodString;
1104
- title: z.ZodString;
1105
- description: z.ZodOptional<z.ZodString>;
1106
- }, "strip", z.ZodTypeAny, {
1107
- type: "link";
1108
- url: string;
1109
- title: string;
1110
- description?: string | undefined;
1111
- }, {
1112
- type: "link";
1113
- url: string;
1114
- title: string;
1115
- description?: string | undefined;
1116
- }>, z.ZodObject<{
1117
- type: z.ZodLiteral<"callout">;
1118
- title: z.ZodString;
1119
- body: z.ZodString;
1120
- }, "strip", z.ZodTypeAny, {
1121
- type: "callout";
1122
- title: string;
1123
- body: string;
1124
- }, {
1125
- type: "callout";
1126
- title: string;
1127
- body: string;
1128
- }>]>, "many">>>;
1129
- problems: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1130
- id: z.ZodString;
1131
- type: z.ZodEnum<["multiple_choice", "fill_blank", "true_false", "ordering", "matching", "scenario"]>;
1132
- question: z.ZodString;
1133
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1134
- correct: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1135
- explanation: z.ZodOptional<z.ZodString>;
1136
- difficulty: z.ZodOptional<z.ZodNumber>;
1137
- }, "strip", z.ZodTypeAny, {
1138
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1139
- id: string;
1140
- question: string;
1141
- correct: string | number;
1142
- options?: string[] | undefined;
1143
- explanation?: string | undefined;
1144
- difficulty?: number | undefined;
1145
- }, {
1146
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1147
- id: string;
1148
- question: string;
1149
- correct: string | number;
1150
- options?: string[] | undefined;
1151
- explanation?: string | undefined;
1152
- difficulty?: number | undefined;
1153
- }>, "many">>>;
1154
- }, "strip", z.ZodTypeAny, {
1155
- id: string;
1156
- instructionContent: ({
1157
- type: "image";
1158
- url: string;
1159
- alt: string;
1160
- caption?: string | undefined;
1161
- width?: number | undefined;
1162
- } | {
1163
- type: "video";
1164
- url: string;
1165
- title: string;
1166
- caption?: string | undefined;
1167
- } | {
1168
- type: "link";
1169
- url: string;
1170
- title: string;
1171
- description?: string | undefined;
1172
- } | {
1173
- type: "callout";
1174
- title: string;
1175
- body: string;
1176
- })[];
1177
- workedExampleContent: ({
1178
- type: "image";
1179
- url: string;
1180
- alt: string;
1181
- caption?: string | undefined;
1182
- width?: number | undefined;
1183
- } | {
1184
- type: "video";
1185
- url: string;
1186
- title: string;
1187
- caption?: string | undefined;
1188
- } | {
1189
- type: "link";
1190
- url: string;
1191
- title: string;
1192
- description?: string | undefined;
1193
- } | {
1194
- type: "callout";
1195
- title: string;
1196
- body: string;
1197
- })[];
1198
- problems: {
1199
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1200
- id: string;
1201
- question: string;
1202
- correct: string | number;
1203
- options?: string[] | undefined;
1204
- explanation?: string | undefined;
1205
- difficulty?: number | undefined;
1206
- }[];
1207
- instruction?: string | undefined;
1208
- workedExample?: string | undefined;
1209
- }, {
1210
- id: string;
1211
- instruction?: string | undefined;
1212
- instructionContent?: ({
1213
- type: "image";
1214
- url: string;
1215
- alt: string;
1216
- caption?: string | undefined;
1217
- width?: number | undefined;
1218
- } | {
1219
- type: "video";
1220
- url: string;
1221
- title: string;
1222
- caption?: string | undefined;
1223
- } | {
1224
- type: "link";
1225
- url: string;
1226
- title: string;
1227
- description?: string | undefined;
1228
- } | {
1229
- type: "callout";
1230
- title: string;
1231
- body: string;
1232
- })[] | undefined;
1233
- workedExample?: string | undefined;
1234
- workedExampleContent?: ({
1235
- type: "image";
1236
- url: string;
1237
- alt: string;
1238
- caption?: string | undefined;
1239
- width?: number | undefined;
1240
- } | {
1241
- type: "video";
1242
- url: string;
1243
- title: string;
1244
- caption?: string | undefined;
1245
- } | {
1246
- type: "link";
1247
- url: string;
1248
- title: string;
1249
- description?: string | undefined;
1250
- } | {
1251
- type: "callout";
1252
- title: string;
1253
- body: string;
1254
- })[] | undefined;
1255
- problems?: {
1256
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1257
- id: string;
1258
- question: string;
1259
- correct: string | number;
1260
- options?: string[] | undefined;
1261
- explanation?: string | undefined;
1262
- difficulty?: number | undefined;
1263
- }[] | undefined;
1264
- }>, "many">>>;
1265
- }, "strip", z.ZodTypeAny, {
1266
- id: string;
1267
- difficulty: number;
1268
- name: string;
1269
- estimatedMinutes: number;
1270
- tags: string[];
1271
- prerequisites: string[];
1272
- encompassing: {
1273
- concept: string;
1274
- weight: number;
1275
- }[];
1276
- knowledgePoints: {
1277
- id: string;
1278
- instructionContent: ({
1279
- type: "image";
1280
- url: string;
1281
- alt: string;
1282
- caption?: string | undefined;
1283
- width?: number | undefined;
1284
- } | {
1285
- type: "video";
1286
- url: string;
1287
- title: string;
1288
- caption?: string | undefined;
1289
- } | {
1290
- type: "link";
1291
- url: string;
1292
- title: string;
1293
- description?: string | undefined;
1294
- } | {
1295
- type: "callout";
1296
- title: string;
1297
- body: string;
1298
- })[];
1299
- workedExampleContent: ({
1300
- type: "image";
1301
- url: string;
1302
- alt: string;
1303
- caption?: string | undefined;
1304
- width?: number | undefined;
1305
- } | {
1306
- type: "video";
1307
- url: string;
1308
- title: string;
1309
- caption?: string | undefined;
1310
- } | {
1311
- type: "link";
1312
- url: string;
1313
- title: string;
1314
- description?: string | undefined;
1315
- } | {
1316
- type: "callout";
1317
- title: string;
1318
- body: string;
1319
- })[];
1320
- problems: {
1321
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1322
- id: string;
1323
- question: string;
1324
- correct: string | number;
1325
- options?: string[] | undefined;
1326
- explanation?: string | undefined;
1327
- difficulty?: number | undefined;
1328
- }[];
1329
- instruction?: string | undefined;
1330
- workedExample?: string | undefined;
1331
- }[];
1332
- section?: string | undefined;
1333
- sourceRef?: string | undefined;
1334
- }, {
1335
- id: string;
1336
- difficulty: number;
1337
- name: string;
1338
- estimatedMinutes: number;
1339
- section?: string | undefined;
1340
- tags?: string[] | undefined;
1341
- sourceRef?: string | undefined;
1342
- prerequisites?: string[] | undefined;
1343
- encompassing?: {
1344
- concept: string;
1345
- weight: number;
1346
- }[] | undefined;
1347
- knowledgePoints?: {
1348
- id: string;
1349
- instruction?: string | undefined;
1350
- instructionContent?: ({
1351
- type: "image";
1352
- url: string;
1353
- alt: string;
1354
- caption?: string | undefined;
1355
- width?: number | undefined;
1356
- } | {
1357
- type: "video";
1358
- url: string;
1359
- title: string;
1360
- caption?: string | undefined;
1361
- } | {
1362
- type: "link";
1363
- url: string;
1364
- title: string;
1365
- description?: string | undefined;
1366
- } | {
1367
- type: "callout";
1368
- title: string;
1369
- body: string;
1370
- })[] | undefined;
1371
- workedExample?: string | undefined;
1372
- workedExampleContent?: ({
1373
- type: "image";
1374
- url: string;
1375
- alt: string;
1376
- caption?: string | undefined;
1377
- width?: number | undefined;
1378
- } | {
1379
- type: "video";
1380
- url: string;
1381
- title: string;
1382
- caption?: string | undefined;
1383
- } | {
1384
- type: "link";
1385
- url: string;
1386
- title: string;
1387
- description?: string | undefined;
1388
- } | {
1389
- type: "callout";
1390
- title: string;
1391
- body: string;
1392
- })[] | undefined;
1393
- problems?: {
1394
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1395
- id: string;
1396
- question: string;
1397
- correct: string | number;
1398
- options?: string[] | undefined;
1399
- explanation?: string | undefined;
1400
- difficulty?: number | undefined;
1401
- }[] | undefined;
1402
- }[] | undefined;
1403
- }>, "many">;
1404
- }, "strip", z.ZodTypeAny, {
1405
- course: {
1406
- id: string;
1407
- name: string;
1408
- estimatedHours: number;
1409
- version: string;
1410
- description?: string | undefined;
1411
- sourceDocument?: string | undefined;
1412
- };
1413
- sections: {
1414
- id: string;
1415
- name: string;
1416
- description?: string | undefined;
1417
- sectionExam?: {
1418
- enabled: boolean;
1419
- passingScore: number;
1420
- questionCount: number;
1421
- blueprint: {
1422
- conceptId: string;
1423
- minQuestions: number;
1424
- }[];
1425
- timeLimitMinutes?: number | undefined;
1426
- instructions?: string | undefined;
1427
- } | undefined;
1428
- }[];
1429
- concepts: {
1430
- id: string;
1431
- difficulty: number;
1432
- name: string;
1433
- estimatedMinutes: number;
1434
- tags: string[];
1435
- prerequisites: string[];
1436
- encompassing: {
1437
- concept: string;
1438
- weight: number;
1439
- }[];
1440
- knowledgePoints: {
1441
- id: string;
1442
- instructionContent: ({
1443
- type: "image";
1444
- url: string;
1445
- alt: string;
1446
- caption?: string | undefined;
1447
- width?: number | undefined;
1448
- } | {
1449
- type: "video";
1450
- url: string;
1451
- title: string;
1452
- caption?: string | undefined;
1453
- } | {
1454
- type: "link";
1455
- url: string;
1456
- title: string;
1457
- description?: string | undefined;
1458
- } | {
1459
- type: "callout";
1460
- title: string;
1461
- body: string;
1462
- })[];
1463
- workedExampleContent: ({
1464
- type: "image";
1465
- url: string;
1466
- alt: string;
1467
- caption?: string | undefined;
1468
- width?: number | undefined;
1469
- } | {
1470
- type: "video";
1471
- url: string;
1472
- title: string;
1473
- caption?: string | undefined;
1474
- } | {
1475
- type: "link";
1476
- url: string;
1477
- title: string;
1478
- description?: string | undefined;
1479
- } | {
1480
- type: "callout";
1481
- title: string;
1482
- body: string;
1483
- })[];
1484
- problems: {
1485
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1486
- id: string;
1487
- question: string;
1488
- correct: string | number;
1489
- options?: string[] | undefined;
1490
- explanation?: string | undefined;
1491
- difficulty?: number | undefined;
1492
- }[];
1493
- instruction?: string | undefined;
1494
- workedExample?: string | undefined;
1495
- }[];
1496
- section?: string | undefined;
1497
- sourceRef?: string | undefined;
1498
- }[];
1499
- }, {
1500
- course: {
1501
- id: string;
1502
- name: string;
1503
- estimatedHours: number;
1504
- version: string;
1505
- description?: string | undefined;
1506
- sourceDocument?: string | undefined;
1507
- };
1508
- concepts: {
1509
- id: string;
1510
- difficulty: number;
1511
- name: string;
1512
- estimatedMinutes: number;
1513
- section?: string | undefined;
1514
- tags?: string[] | undefined;
1515
- sourceRef?: string | undefined;
1516
- prerequisites?: string[] | undefined;
1517
- encompassing?: {
1518
- concept: string;
1519
- weight: number;
1520
- }[] | undefined;
1521
- knowledgePoints?: {
1522
- id: string;
1523
- instruction?: string | undefined;
1524
- instructionContent?: ({
1525
- type: "image";
1526
- url: string;
1527
- alt: string;
1528
- caption?: string | undefined;
1529
- width?: number | undefined;
1530
- } | {
1531
- type: "video";
1532
- url: string;
1533
- title: string;
1534
- caption?: string | undefined;
1535
- } | {
1536
- type: "link";
1537
- url: string;
1538
- title: string;
1539
- description?: string | undefined;
1540
- } | {
1541
- type: "callout";
1542
- title: string;
1543
- body: string;
1544
- })[] | undefined;
1545
- workedExample?: string | undefined;
1546
- workedExampleContent?: ({
1547
- type: "image";
1548
- url: string;
1549
- alt: string;
1550
- caption?: string | undefined;
1551
- width?: number | undefined;
1552
- } | {
1553
- type: "video";
1554
- url: string;
1555
- title: string;
1556
- caption?: string | undefined;
1557
- } | {
1558
- type: "link";
1559
- url: string;
1560
- title: string;
1561
- description?: string | undefined;
1562
- } | {
1563
- type: "callout";
1564
- title: string;
1565
- body: string;
1566
- })[] | undefined;
1567
- problems?: {
1568
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1569
- id: string;
1570
- question: string;
1571
- correct: string | number;
1572
- options?: string[] | undefined;
1573
- explanation?: string | undefined;
1574
- difficulty?: number | undefined;
1575
- }[] | undefined;
1576
- }[] | undefined;
1577
- }[];
1578
- sections?: {
1579
- id: string;
1580
- name: string;
1581
- description?: string | undefined;
1582
- sectionExam?: {
1583
- enabled?: boolean | undefined;
1584
- passingScore?: number | undefined;
1585
- timeLimitMinutes?: number | undefined;
1586
- questionCount?: number | undefined;
1587
- blueprint?: {
1588
- conceptId: string;
1589
- minQuestions: number;
1590
- }[] | undefined;
1591
- instructions?: string | undefined;
1592
- } | undefined;
1593
- }[] | undefined;
1594
- }>, {
1595
- course: {
1596
- id: string;
1597
- name: string;
1598
- estimatedHours: number;
1599
- version: string;
1600
- description?: string | undefined;
1601
- sourceDocument?: string | undefined;
1602
- };
1603
- sections: {
1604
- id: string;
1605
- name: string;
1606
- description?: string | undefined;
1607
- sectionExam?: {
1608
- enabled: boolean;
1609
- passingScore: number;
1610
- questionCount: number;
1611
- blueprint: {
1612
- conceptId: string;
1613
- minQuestions: number;
1614
- }[];
1615
- timeLimitMinutes?: number | undefined;
1616
- instructions?: string | undefined;
1617
- } | undefined;
1618
- }[];
1619
- concepts: {
1620
- id: string;
1621
- difficulty: number;
1622
- name: string;
1623
- estimatedMinutes: number;
1624
- tags: string[];
1625
- prerequisites: string[];
1626
- encompassing: {
1627
- concept: string;
1628
- weight: number;
1629
- }[];
1630
- knowledgePoints: {
1631
- id: string;
1632
- instructionContent: ({
1633
- type: "image";
1634
- url: string;
1635
- alt: string;
1636
- caption?: string | undefined;
1637
- width?: number | undefined;
1638
- } | {
1639
- type: "video";
1640
- url: string;
1641
- title: string;
1642
- caption?: string | undefined;
1643
- } | {
1644
- type: "link";
1645
- url: string;
1646
- title: string;
1647
- description?: string | undefined;
1648
- } | {
1649
- type: "callout";
1650
- title: string;
1651
- body: string;
1652
- })[];
1653
- workedExampleContent: ({
1654
- type: "image";
1655
- url: string;
1656
- alt: string;
1657
- caption?: string | undefined;
1658
- width?: number | undefined;
1659
- } | {
1660
- type: "video";
1661
- url: string;
1662
- title: string;
1663
- caption?: string | undefined;
1664
- } | {
1665
- type: "link";
1666
- url: string;
1667
- title: string;
1668
- description?: string | undefined;
1669
- } | {
1670
- type: "callout";
1671
- title: string;
1672
- body: string;
1673
- })[];
1674
- problems: {
1675
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1676
- id: string;
1677
- question: string;
1678
- correct: string | number;
1679
- options?: string[] | undefined;
1680
- explanation?: string | undefined;
1681
- difficulty?: number | undefined;
1682
- }[];
1683
- instruction?: string | undefined;
1684
- workedExample?: string | undefined;
1685
- }[];
1686
- section?: string | undefined;
1687
- sourceRef?: string | undefined;
1688
- }[];
1689
- }, {
1690
- course: {
1691
- id: string;
1692
- name: string;
1693
- estimatedHours: number;
1694
- version: string;
1695
- description?: string | undefined;
1696
- sourceDocument?: string | undefined;
1697
- };
1698
- concepts: {
1699
- id: string;
1700
- difficulty: number;
1701
- name: string;
1702
- estimatedMinutes: number;
1703
- section?: string | undefined;
1704
- tags?: string[] | undefined;
1705
- sourceRef?: string | undefined;
1706
- prerequisites?: string[] | undefined;
1707
- encompassing?: {
1708
- concept: string;
1709
- weight: number;
1710
- }[] | undefined;
1711
- knowledgePoints?: {
1712
- id: string;
1713
- instruction?: string | undefined;
1714
- instructionContent?: ({
1715
- type: "image";
1716
- url: string;
1717
- alt: string;
1718
- caption?: string | undefined;
1719
- width?: number | undefined;
1720
- } | {
1721
- type: "video";
1722
- url: string;
1723
- title: string;
1724
- caption?: string | undefined;
1725
- } | {
1726
- type: "link";
1727
- url: string;
1728
- title: string;
1729
- description?: string | undefined;
1730
- } | {
1731
- type: "callout";
1732
- title: string;
1733
- body: string;
1734
- })[] | undefined;
1735
- workedExample?: string | undefined;
1736
- workedExampleContent?: ({
1737
- type: "image";
1738
- url: string;
1739
- alt: string;
1740
- caption?: string | undefined;
1741
- width?: number | undefined;
1742
- } | {
1743
- type: "video";
1744
- url: string;
1745
- title: string;
1746
- caption?: string | undefined;
1747
- } | {
1748
- type: "link";
1749
- url: string;
1750
- title: string;
1751
- description?: string | undefined;
1752
- } | {
1753
- type: "callout";
1754
- title: string;
1755
- body: string;
1756
- })[] | undefined;
1757
- problems?: {
1758
- type: "multiple_choice" | "fill_blank" | "true_false" | "ordering" | "matching" | "scenario";
1759
- id: string;
1760
- question: string;
1761
- correct: string | number;
1762
- options?: string[] | undefined;
1763
- explanation?: string | undefined;
1764
- difficulty?: number | undefined;
1765
- }[] | undefined;
1766
- }[] | undefined;
1767
- }[];
1768
- sections?: {
1769
- id: string;
1770
- name: string;
1771
- description?: string | undefined;
1772
- sectionExam?: {
1773
- enabled?: boolean | undefined;
1774
- passingScore?: number | undefined;
1775
- timeLimitMinutes?: number | undefined;
1776
- questionCount?: number | undefined;
1777
- blueprint?: {
1778
- conceptId: string;
1779
- minQuestions: number;
1780
- }[] | undefined;
1781
- instructions?: string | undefined;
1782
- } | undefined;
1783
- }[] | undefined;
1784
- }>;
1785
- export type CourseYaml = z.infer<typeof CourseYamlSchema>;
1786
- export type SectionYaml = z.infer<typeof SectionYamlSchema>;
1787
- export type SectionExamYaml = z.infer<typeof SectionExamYamlSchema>;
1788
- export type SectionExamBlueprintYaml = z.infer<typeof SectionExamBlueprintYamlSchema>;
1789
- export type ConceptYaml = z.infer<typeof ConceptYamlSchema>;
1790
- export type KnowledgePointYaml = z.infer<typeof KnowledgePointYamlSchema>;
1791
- export type ProblemYaml = z.infer<typeof ProblemYamlSchema>;
1792
- export type ContentBlockYaml = z.infer<typeof ContentBlockYamlSchema>;
1793
- export {};
1794
- //# sourceMappingURL=course-yaml.schema.d.ts.map