@monorise/core 1.0.2 → 1.0.3

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 (128) hide show
  1. package/controllers/entity/create-entity.controller.ts +2 -2
  2. package/controllers/entity/delete-entity.controller.ts +2 -2
  3. package/controllers/entity/get-entity.controller.ts +1 -1
  4. package/controllers/entity/list-entities.controller.ts +3 -3
  5. package/controllers/entity/update-entity.controller.ts +2 -2
  6. package/controllers/entity/upsert-entity.controller.ts +4 -4
  7. package/controllers/mutual/create-mutual.controller.ts +4 -4
  8. package/controllers/mutual/delete-mutual.controller.ts +2 -2
  9. package/controllers/mutual/get-mutual.controller.ts +1 -1
  10. package/controllers/mutual/list-entities-by-entity.controller.ts +1 -1
  11. package/controllers/mutual/update-mutual.controller.ts +2 -2
  12. package/controllers/setupRoutes.ts +1 -1
  13. package/controllers/tag/list-tags.controller.ts +3 -3
  14. package/data/DbUtils.ts +1 -1
  15. package/data/Entity.ts +1 -1
  16. package/data/EventUtils.ts +2 -2
  17. package/data/Mutual.ts +3 -3
  18. package/data/Tag.ts +1 -1
  19. package/dist/controllers/entity/create-entity.controller.d.ts +1 -1
  20. package/dist/controllers/entity/create-entity.controller.d.ts.map +1 -1
  21. package/dist/controllers/entity/create-entity.controller.js +1 -1
  22. package/dist/controllers/entity/create-entity.controller.js.map +1 -1
  23. package/dist/controllers/entity/delete-entity.controller.d.ts +1 -1
  24. package/dist/controllers/entity/delete-entity.controller.d.ts.map +1 -1
  25. package/dist/controllers/entity/delete-entity.controller.js +1 -1
  26. package/dist/controllers/entity/delete-entity.controller.js.map +1 -1
  27. package/dist/controllers/entity/get-entity.controller.d.ts +1 -1
  28. package/dist/controllers/entity/get-entity.controller.d.ts.map +1 -1
  29. package/dist/controllers/entity/list-entities.controller.d.ts +1 -1
  30. package/dist/controllers/entity/list-entities.controller.d.ts.map +1 -1
  31. package/dist/controllers/entity/list-entities.controller.js +2 -2
  32. package/dist/controllers/entity/list-entities.controller.js.map +1 -1
  33. package/dist/controllers/entity/update-entity.controller.d.ts +1 -1
  34. package/dist/controllers/entity/update-entity.controller.d.ts.map +1 -1
  35. package/dist/controllers/entity/update-entity.controller.js +1 -1
  36. package/dist/controllers/entity/update-entity.controller.js.map +1 -1
  37. package/dist/controllers/entity/upsert-entity.controller.d.ts +2 -2
  38. package/dist/controllers/entity/upsert-entity.controller.d.ts.map +1 -1
  39. package/dist/controllers/entity/upsert-entity.controller.js +2 -2
  40. package/dist/controllers/entity/upsert-entity.controller.js.map +1 -1
  41. package/dist/controllers/mutual/create-mutual.controller.d.ts +2 -2
  42. package/dist/controllers/mutual/create-mutual.controller.d.ts.map +1 -1
  43. package/dist/controllers/mutual/create-mutual.controller.js +2 -2
  44. package/dist/controllers/mutual/create-mutual.controller.js.map +1 -1
  45. package/dist/controllers/mutual/delete-mutual.controller.d.ts +1 -1
  46. package/dist/controllers/mutual/delete-mutual.controller.d.ts.map +1 -1
  47. package/dist/controllers/mutual/delete-mutual.controller.js +1 -1
  48. package/dist/controllers/mutual/delete-mutual.controller.js.map +1 -1
  49. package/dist/controllers/mutual/get-mutual.controller.d.ts +1 -1
  50. package/dist/controllers/mutual/get-mutual.controller.d.ts.map +1 -1
  51. package/dist/controllers/mutual/list-entities-by-entity.controller.d.ts +1 -1
  52. package/dist/controllers/mutual/list-entities-by-entity.controller.d.ts.map +1 -1
  53. package/dist/controllers/mutual/update-mutual.controller.d.ts +1 -1
  54. package/dist/controllers/mutual/update-mutual.controller.d.ts.map +1 -1
  55. package/dist/controllers/mutual/update-mutual.controller.js +1 -1
  56. package/dist/controllers/mutual/update-mutual.controller.js.map +1 -1
  57. package/dist/controllers/setupRoutes.js +1 -1
  58. package/dist/controllers/setupRoutes.js.map +1 -1
  59. package/dist/controllers/tag/list-tags.controller.d.ts +1 -1
  60. package/dist/controllers/tag/list-tags.controller.d.ts.map +1 -1
  61. package/dist/controllers/tag/list-tags.controller.js +2 -2
  62. package/dist/controllers/tag/list-tags.controller.js.map +1 -1
  63. package/dist/data/DbUtils.js +1 -1
  64. package/dist/data/DbUtils.js.map +1 -1
  65. package/dist/data/Entity.js +1 -1
  66. package/dist/data/Entity.js.map +1 -1
  67. package/dist/data/EventUtils.d.ts +1 -1
  68. package/dist/data/EventUtils.d.ts.map +1 -1
  69. package/dist/data/EventUtils.js +1 -1
  70. package/dist/data/EventUtils.js.map +1 -1
  71. package/dist/data/Mutual.d.ts +1 -1
  72. package/dist/data/Mutual.d.ts.map +1 -1
  73. package/dist/data/Mutual.js +2 -2
  74. package/dist/data/Mutual.js.map +1 -1
  75. package/dist/data/Tag.js +1 -1
  76. package/dist/data/Tag.js.map +1 -1
  77. package/dist/helpers/event.d.ts +1 -1
  78. package/dist/helpers/event.d.ts.map +1 -1
  79. package/dist/helpers/event.js +2 -2
  80. package/dist/helpers/event.js.map +1 -1
  81. package/dist/mock/monorise/chapter.d.ts +92 -92
  82. package/dist/mock/monorise/course.d.ts +18 -18
  83. package/dist/mock/monorise/index.d.ts +186 -186
  84. package/dist/mock/monorise/learning-journey-config.d.ts +1 -1
  85. package/dist/mock/monorise/module.d.ts +1 -1
  86. package/dist/mock/monorise/organization.d.ts +1 -1
  87. package/dist/mock/monorise/video.d.ts +28 -28
  88. package/dist/processors/create-entity-processor.js +3 -3
  89. package/dist/processors/create-entity-processor.js.map +1 -1
  90. package/dist/processors/mutual-processor.js +5 -5
  91. package/dist/processors/mutual-processor.js.map +1 -1
  92. package/dist/processors/prejoin-processor.js +4 -4
  93. package/dist/processors/prejoin-processor.js.map +1 -1
  94. package/dist/processors/replication-processor.js +3 -3
  95. package/dist/processors/replication-processor.js.map +1 -1
  96. package/dist/processors/tag-processor.js +2 -2
  97. package/dist/processors/tag-processor.js.map +1 -1
  98. package/dist/services/DependencyContainer.d.ts +18 -18
  99. package/dist/services/DependencyContainer.d.ts.map +1 -1
  100. package/dist/services/DependencyContainer.js +19 -19
  101. package/dist/services/DependencyContainer.js.map +1 -1
  102. package/dist/services/entity-service-lifecycle.d.ts +3 -3
  103. package/dist/services/entity-service-lifecycle.d.ts.map +1 -1
  104. package/dist/services/entity-service-lifecycle.js +1 -1
  105. package/dist/services/entity-service-lifecycle.js.map +1 -1
  106. package/dist/services/entity.service.d.ts +5 -5
  107. package/dist/services/entity.service.d.ts.map +1 -1
  108. package/dist/services/entity.service.js +2 -2
  109. package/dist/services/entity.service.js.map +1 -1
  110. package/dist/services/mutual.service.d.ts +5 -5
  111. package/dist/services/mutual.service.d.ts.map +1 -1
  112. package/dist/services/mutual.service.js +3 -3
  113. package/dist/services/mutual.service.js.map +1 -1
  114. package/dist/types/entity.type.d.ts +1 -1
  115. package/dist/types/entity.type.d.ts.map +1 -1
  116. package/helpers/event.ts +2 -2
  117. package/package.json +1 -1
  118. package/processors/create-entity-processor.ts +3 -3
  119. package/processors/mutual-processor.ts +5 -5
  120. package/processors/prejoin-processor.ts +8 -8
  121. package/processors/replication-processor.ts +3 -3
  122. package/processors/tag-processor.ts +4 -4
  123. package/services/DependencyContainer.ts +22 -22
  124. package/services/entity-service-lifecycle.ts +4 -4
  125. package/services/entity.service.ts +6 -6
  126. package/services/mutual.service.ts +6 -6
  127. package/tsconfig.json +4 -2
  128. package/types/entity.type.ts +2 -2
@@ -183,12 +183,12 @@ declare const EntityConfig: {
183
183
  id: z.ZodString;
184
184
  content: z.ZodAny;
185
185
  }, "strip", z.ZodTypeAny, {
186
- type: string;
187
186
  id: string;
187
+ type: string;
188
188
  content?: any;
189
189
  }, {
190
- type: string;
191
190
  id: string;
191
+ type: string;
192
192
  content?: any;
193
193
  }>, "many">>>;
194
194
  progress: z.ZodOptional<z.ZodNumber>;
@@ -198,15 +198,15 @@ declare const EntityConfig: {
198
198
  }, z.UnknownKeysParam, z.ZodTypeAny, {
199
199
  type: import("./chapter").CHAPTER_TYPE;
200
200
  remark: string;
201
- description?: string | undefined;
202
- discussionLink?: string | undefined;
203
- title?: string | undefined;
204
- learningActivityDescription?: string | undefined;
205
201
  body?: {
206
- type: string;
207
202
  id: string;
203
+ type: string;
208
204
  content?: any;
209
205
  }[] | undefined;
206
+ description?: string | undefined;
207
+ discussionLink?: string | undefined;
208
+ title?: string | undefined;
209
+ learningActivityDescription?: string | undefined;
210
210
  progress?: number | undefined;
211
211
  learningActivityOrders?: string[] | undefined;
212
212
  referenceOrders?: string[] | undefined;
@@ -214,15 +214,15 @@ declare const EntityConfig: {
214
214
  }, {
215
215
  type: import("./chapter").CHAPTER_TYPE;
216
216
  remark: string;
217
- description?: string | undefined;
218
- discussionLink?: string | undefined;
219
- title?: string | undefined;
220
- learningActivityDescription?: string | undefined;
221
217
  body?: {
222
- type: string;
223
218
  id: string;
219
+ type: string;
224
220
  content?: any;
225
221
  }[] | undefined;
222
+ description?: string | undefined;
223
+ discussionLink?: string | undefined;
224
+ title?: string | undefined;
225
+ learningActivityDescription?: string | undefined;
226
226
  progress?: number | undefined;
227
227
  learningActivityOrders?: string[] | undefined;
228
228
  referenceOrders?: string[] | undefined;
@@ -241,12 +241,12 @@ declare const EntityConfig: {
241
241
  id: z.ZodString;
242
242
  content: z.ZodAny;
243
243
  }, "strip", z.ZodTypeAny, {
244
- type: string;
245
244
  id: string;
245
+ type: string;
246
246
  content?: any;
247
247
  }, {
248
- type: string;
249
248
  id: string;
249
+ type: string;
250
250
  content?: any;
251
251
  }>, "many">>>;
252
252
  progress: z.ZodOptional<z.ZodNumber>;
@@ -256,15 +256,15 @@ declare const EntityConfig: {
256
256
  }, z.UnknownKeysParam, z.ZodTypeAny, {
257
257
  type: import("./chapter").CHAPTER_TYPE;
258
258
  remark: string;
259
- description?: string | undefined;
260
- discussionLink?: string | undefined;
261
- title?: string | undefined;
262
- learningActivityDescription?: string | undefined;
263
259
  body?: {
264
- type: string;
265
260
  id: string;
261
+ type: string;
266
262
  content?: any;
267
263
  }[] | undefined;
264
+ description?: string | undefined;
265
+ discussionLink?: string | undefined;
266
+ title?: string | undefined;
267
+ learningActivityDescription?: string | undefined;
268
268
  progress?: number | undefined;
269
269
  learningActivityOrders?: string[] | undefined;
270
270
  referenceOrders?: string[] | undefined;
@@ -272,15 +272,15 @@ declare const EntityConfig: {
272
272
  }, {
273
273
  type: import("./chapter").CHAPTER_TYPE;
274
274
  remark: string;
275
- description?: string | undefined;
276
- discussionLink?: string | undefined;
277
- title?: string | undefined;
278
- learningActivityDescription?: string | undefined;
279
275
  body?: {
280
- type: string;
281
276
  id: string;
277
+ type: string;
282
278
  content?: any;
283
279
  }[] | undefined;
280
+ description?: string | undefined;
281
+ discussionLink?: string | undefined;
282
+ title?: string | undefined;
283
+ learningActivityDescription?: string | undefined;
284
284
  progress?: number | undefined;
285
285
  learningActivityOrders?: string[] | undefined;
286
286
  referenceOrders?: string[] | undefined;
@@ -288,15 +288,15 @@ declare const EntityConfig: {
288
288
  }>, {
289
289
  type: import("./chapter").CHAPTER_TYPE;
290
290
  remark: string;
291
- description?: string | undefined;
292
- discussionLink?: string | undefined;
293
- title?: string | undefined;
294
- learningActivityDescription?: string | undefined;
295
291
  body?: {
296
- type: string;
297
292
  id: string;
293
+ type: string;
298
294
  content?: any;
299
295
  }[] | undefined;
296
+ description?: string | undefined;
297
+ discussionLink?: string | undefined;
298
+ title?: string | undefined;
299
+ learningActivityDescription?: string | undefined;
300
300
  progress?: number | undefined;
301
301
  learningActivityOrders?: string[] | undefined;
302
302
  referenceOrders?: string[] | undefined;
@@ -304,15 +304,15 @@ declare const EntityConfig: {
304
304
  }, {
305
305
  type: import("./chapter").CHAPTER_TYPE;
306
306
  remark: string;
307
- description?: string | undefined;
308
- discussionLink?: string | undefined;
309
- title?: string | undefined;
310
- learningActivityDescription?: string | undefined;
311
307
  body?: {
312
- type: string;
313
308
  id: string;
309
+ type: string;
314
310
  content?: any;
315
311
  }[] | undefined;
312
+ description?: string | undefined;
313
+ discussionLink?: string | undefined;
314
+ title?: string | undefined;
315
+ learningActivityDescription?: string | undefined;
316
316
  progress?: number | undefined;
317
317
  learningActivityOrders?: string[] | undefined;
318
318
  referenceOrders?: string[] | undefined;
@@ -337,40 +337,40 @@ declare const EntityConfig: {
337
337
  id: z.ZodString;
338
338
  content: z.ZodAny;
339
339
  }, "strip", z.ZodTypeAny, {
340
- type: string;
341
340
  id: string;
341
+ type: string;
342
342
  content?: any;
343
343
  }, {
344
- type: string;
345
344
  id: string;
345
+ type: string;
346
346
  content?: any;
347
347
  }>, "many">>>;
348
348
  progress: z.ZodOptional<z.ZodNumber>;
349
349
  }, z.UnknownKeysParam, z.ZodTypeAny, {
350
+ body?: {
351
+ id: string;
352
+ type: string;
353
+ content?: any;
354
+ }[] | undefined;
350
355
  type?: import("./chapter").CHAPTER_TYPE | undefined;
351
356
  description?: string | undefined;
352
357
  discussionLink?: string | undefined;
353
358
  remark?: string | undefined;
354
359
  title?: string | undefined;
355
360
  learningActivityDescription?: string | undefined;
361
+ progress?: number | undefined;
362
+ }, {
356
363
  body?: {
357
- type: string;
358
364
  id: string;
365
+ type: string;
359
366
  content?: any;
360
367
  }[] | undefined;
361
- progress?: number | undefined;
362
- }, {
363
368
  type?: import("./chapter").CHAPTER_TYPE | undefined;
364
369
  description?: string | undefined;
365
370
  discussionLink?: string | undefined;
366
371
  remark?: string | undefined;
367
372
  title?: string | undefined;
368
373
  learningActivityDescription?: string | undefined;
369
- body?: {
370
- type: string;
371
- id: string;
372
- content?: any;
373
- }[] | undefined;
374
374
  progress?: number | undefined;
375
375
  }>;
376
376
  createSchema?: z.ZodObject<z.objectUtil.extendShape<{
@@ -385,12 +385,12 @@ declare const EntityConfig: {
385
385
  id: z.ZodString;
386
386
  content: z.ZodAny;
387
387
  }, "strip", z.ZodTypeAny, {
388
- type: string;
389
388
  id: string;
389
+ type: string;
390
390
  content?: any;
391
391
  }, {
392
- type: string;
393
392
  id: string;
393
+ type: string;
394
394
  content?: any;
395
395
  }>, "many">>>;
396
396
  progress: z.ZodOptional<z.ZodNumber>;
@@ -400,31 +400,31 @@ declare const EntityConfig: {
400
400
  }>, "strip", z.ZodTypeAny, {
401
401
  type: import("./chapter").CHAPTER_TYPE;
402
402
  remark: string;
403
- description?: string | undefined;
404
- discussionLink?: string | undefined;
405
- title?: string | undefined;
406
- learningActivityDescription?: string | undefined;
407
403
  body?: {
408
- type: string;
409
404
  id: string;
405
+ type: string;
410
406
  content?: any;
411
407
  }[] | undefined;
412
- progress?: number | undefined;
413
- }, {
414
- type: import("./chapter").CHAPTER_TYPE;
415
- remark: string;
416
408
  description?: string | undefined;
417
409
  discussionLink?: string | undefined;
418
410
  title?: string | undefined;
419
411
  learningActivityDescription?: string | undefined;
412
+ progress?: number | undefined;
413
+ }, {
414
+ type: import("./chapter").CHAPTER_TYPE;
415
+ remark: string;
420
416
  body?: {
421
- type: string;
422
417
  id: string;
418
+ type: string;
423
419
  content?: any;
424
420
  }[] | undefined;
421
+ description?: string | undefined;
422
+ discussionLink?: string | undefined;
423
+ title?: string | undefined;
424
+ learningActivityDescription?: string | undefined;
425
425
  progress?: number | undefined;
426
426
  }> | undefined;
427
- searchableFields?: ("type" | "description" | "discussionLink" | "remark" | "title" | "learningActivityDescription" | "body" | "progress")[] | undefined;
427
+ searchableFields?: ("body" | "type" | "description" | "discussionLink" | "remark" | "title" | "learningActivityDescription" | "progress")[] | undefined;
428
428
  mutual?: {
429
429
  subscribes?: {
430
430
  entityType: import("@monorise/base").Entity;
@@ -473,12 +473,12 @@ declare const EntityConfig: {
473
473
  id: z.ZodString;
474
474
  content: z.ZodAny;
475
475
  }, "strip", z.ZodTypeAny, {
476
- type: string;
477
476
  id: string;
477
+ type: string;
478
478
  content?: any;
479
479
  }, {
480
- type: string;
481
480
  id: string;
481
+ type: string;
482
482
  content?: any;
483
483
  }>, "many">>>;
484
484
  progress: z.ZodOptional<z.ZodNumber>;
@@ -488,15 +488,15 @@ declare const EntityConfig: {
488
488
  }, z.UnknownKeysParam, z.ZodTypeAny, {
489
489
  type: import("./chapter").CHAPTER_TYPE;
490
490
  remark: string;
491
- description?: string | undefined;
492
- discussionLink?: string | undefined;
493
- title?: string | undefined;
494
- learningActivityDescription?: string | undefined;
495
491
  body?: {
496
- type: string;
497
492
  id: string;
493
+ type: string;
498
494
  content?: any;
499
495
  }[] | undefined;
496
+ description?: string | undefined;
497
+ discussionLink?: string | undefined;
498
+ title?: string | undefined;
499
+ learningActivityDescription?: string | undefined;
500
500
  progress?: number | undefined;
501
501
  learningActivityOrders?: string[] | undefined;
502
502
  referenceOrders?: string[] | undefined;
@@ -504,15 +504,15 @@ declare const EntityConfig: {
504
504
  }, {
505
505
  type: import("./chapter").CHAPTER_TYPE;
506
506
  remark: string;
507
- description?: string | undefined;
508
- discussionLink?: string | undefined;
509
- title?: string | undefined;
510
- learningActivityDescription?: string | undefined;
511
507
  body?: {
512
- type: string;
513
508
  id: string;
509
+ type: string;
514
510
  content?: any;
515
511
  }[] | undefined;
512
+ description?: string | undefined;
513
+ discussionLink?: string | undefined;
514
+ title?: string | undefined;
515
+ learningActivityDescription?: string | undefined;
516
516
  progress?: number | undefined;
517
517
  learningActivityOrders?: string[] | undefined;
518
518
  referenceOrders?: string[] | undefined;
@@ -531,12 +531,12 @@ declare const EntityConfig: {
531
531
  id: z.ZodString;
532
532
  content: z.ZodAny;
533
533
  }, "strip", z.ZodTypeAny, {
534
- type: string;
535
534
  id: string;
535
+ type: string;
536
536
  content?: any;
537
537
  }, {
538
- type: string;
539
538
  id: string;
539
+ type: string;
540
540
  content?: any;
541
541
  }>, "many">>>;
542
542
  progress: z.ZodOptional<z.ZodNumber>;
@@ -546,15 +546,15 @@ declare const EntityConfig: {
546
546
  }, z.UnknownKeysParam, z.ZodTypeAny, {
547
547
  type: import("./chapter").CHAPTER_TYPE;
548
548
  remark: string;
549
- description?: string | undefined;
550
- discussionLink?: string | undefined;
551
- title?: string | undefined;
552
- learningActivityDescription?: string | undefined;
553
549
  body?: {
554
- type: string;
555
550
  id: string;
551
+ type: string;
556
552
  content?: any;
557
553
  }[] | undefined;
554
+ description?: string | undefined;
555
+ discussionLink?: string | undefined;
556
+ title?: string | undefined;
557
+ learningActivityDescription?: string | undefined;
558
558
  progress?: number | undefined;
559
559
  learningActivityOrders?: string[] | undefined;
560
560
  referenceOrders?: string[] | undefined;
@@ -562,15 +562,15 @@ declare const EntityConfig: {
562
562
  }, {
563
563
  type: import("./chapter").CHAPTER_TYPE;
564
564
  remark: string;
565
- description?: string | undefined;
566
- discussionLink?: string | undefined;
567
- title?: string | undefined;
568
- learningActivityDescription?: string | undefined;
569
565
  body?: {
570
- type: string;
571
566
  id: string;
567
+ type: string;
572
568
  content?: any;
573
569
  }[] | undefined;
570
+ description?: string | undefined;
571
+ discussionLink?: string | undefined;
572
+ title?: string | undefined;
573
+ learningActivityDescription?: string | undefined;
574
574
  progress?: number | undefined;
575
575
  learningActivityOrders?: string[] | undefined;
576
576
  referenceOrders?: string[] | undefined;
@@ -578,15 +578,15 @@ declare const EntityConfig: {
578
578
  }>, {
579
579
  type: import("./chapter").CHAPTER_TYPE;
580
580
  remark: string;
581
- description?: string | undefined;
582
- discussionLink?: string | undefined;
583
- title?: string | undefined;
584
- learningActivityDescription?: string | undefined;
585
581
  body?: {
586
- type: string;
587
582
  id: string;
583
+ type: string;
588
584
  content?: any;
589
585
  }[] | undefined;
586
+ description?: string | undefined;
587
+ discussionLink?: string | undefined;
588
+ title?: string | undefined;
589
+ learningActivityDescription?: string | undefined;
590
590
  progress?: number | undefined;
591
591
  learningActivityOrders?: string[] | undefined;
592
592
  referenceOrders?: string[] | undefined;
@@ -594,15 +594,15 @@ declare const EntityConfig: {
594
594
  }, {
595
595
  type: import("./chapter").CHAPTER_TYPE;
596
596
  remark: string;
597
- description?: string | undefined;
598
- discussionLink?: string | undefined;
599
- title?: string | undefined;
600
- learningActivityDescription?: string | undefined;
601
597
  body?: {
602
- type: string;
603
598
  id: string;
599
+ type: string;
604
600
  content?: any;
605
601
  }[] | undefined;
602
+ description?: string | undefined;
603
+ discussionLink?: string | undefined;
604
+ title?: string | undefined;
605
+ learningActivityDescription?: string | undefined;
606
606
  progress?: number | undefined;
607
607
  learningActivityOrders?: string[] | undefined;
608
608
  referenceOrders?: string[] | undefined;
@@ -633,25 +633,25 @@ declare const EntityConfig: {
633
633
  title: z.ZodString;
634
634
  }, z.UnknownKeysParam, z.ZodTypeAny, {
635
635
  title: string;
636
+ tags?: string[] | undefined;
636
637
  description?: string | undefined;
637
638
  videos?: string[] | undefined;
638
639
  categories?: string[] | undefined;
639
640
  duration?: number | undefined;
640
641
  learningOutcomes?: string[] | undefined;
641
642
  infographics?: string[] | undefined;
642
- tags?: string[] | undefined;
643
643
  moduleOrders?: string[] | undefined;
644
644
  chapters?: string[] | undefined;
645
645
  learningActivities?: string[] | undefined;
646
646
  }, {
647
647
  title: string;
648
+ tags?: string[] | undefined;
648
649
  description?: string | undefined;
649
650
  videos?: string[] | undefined;
650
651
  categories?: string[] | undefined;
651
652
  duration?: number | undefined;
652
653
  learningOutcomes?: string[] | undefined;
653
654
  infographics?: string[] | undefined;
654
- tags?: string[] | undefined;
655
655
  moduleOrders?: string[] | undefined;
656
656
  chapters?: string[] | undefined;
657
657
  learningActivities?: string[] | undefined;
@@ -671,49 +671,49 @@ declare const EntityConfig: {
671
671
  title: z.ZodString;
672
672
  }, z.UnknownKeysParam, z.ZodTypeAny, {
673
673
  title: string;
674
+ tags?: string[] | undefined;
674
675
  description?: string | undefined;
675
676
  videos?: string[] | undefined;
676
677
  categories?: string[] | undefined;
677
678
  duration?: number | undefined;
678
679
  learningOutcomes?: string[] | undefined;
679
680
  infographics?: string[] | undefined;
680
- tags?: string[] | undefined;
681
681
  moduleOrders?: string[] | undefined;
682
682
  chapters?: string[] | undefined;
683
683
  learningActivities?: string[] | undefined;
684
684
  }, {
685
685
  title: string;
686
+ tags?: string[] | undefined;
686
687
  description?: string | undefined;
687
688
  videos?: string[] | undefined;
688
689
  categories?: string[] | undefined;
689
690
  duration?: number | undefined;
690
691
  learningOutcomes?: string[] | undefined;
691
692
  infographics?: string[] | undefined;
692
- tags?: string[] | undefined;
693
693
  moduleOrders?: string[] | undefined;
694
694
  chapters?: string[] | undefined;
695
695
  learningActivities?: string[] | undefined;
696
696
  }>, {
697
697
  title: string;
698
+ tags?: string[] | undefined;
698
699
  description?: string | undefined;
699
700
  videos?: string[] | undefined;
700
701
  categories?: string[] | undefined;
701
702
  duration?: number | undefined;
702
703
  learningOutcomes?: string[] | undefined;
703
704
  infographics?: string[] | undefined;
704
- tags?: string[] | undefined;
705
705
  moduleOrders?: string[] | undefined;
706
706
  chapters?: string[] | undefined;
707
707
  learningActivities?: string[] | undefined;
708
708
  }, {
709
709
  title: string;
710
+ tags?: string[] | undefined;
710
711
  description?: string | undefined;
711
712
  videos?: string[] | undefined;
712
713
  categories?: string[] | undefined;
713
714
  duration?: number | undefined;
714
715
  learningOutcomes?: string[] | undefined;
715
716
  infographics?: string[] | undefined;
716
- tags?: string[] | undefined;
717
717
  moduleOrders?: string[] | undefined;
718
718
  chapters?: string[] | undefined;
719
719
  learningActivities?: string[] | undefined;
@@ -734,21 +734,21 @@ declare const EntityConfig: {
734
734
  infographics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
735
735
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
736
736
  }, z.UnknownKeysParam, z.ZodTypeAny, {
737
+ tags?: string[] | undefined;
737
738
  description?: string | undefined;
738
739
  title?: string | undefined;
739
740
  categories?: string[] | undefined;
740
741
  duration?: number | undefined;
741
742
  learningOutcomes?: string[] | undefined;
742
743
  infographics?: string[] | undefined;
743
- tags?: string[] | undefined;
744
744
  }, {
745
+ tags?: string[] | undefined;
745
746
  description?: string | undefined;
746
747
  title?: string | undefined;
747
748
  categories?: string[] | undefined;
748
749
  duration?: number | undefined;
749
750
  learningOutcomes?: string[] | undefined;
750
751
  infographics?: string[] | undefined;
751
- tags?: string[] | undefined;
752
752
  }>;
753
753
  createSchema?: z.ZodObject<z.objectUtil.extendShape<{
754
754
  title: z.ZodOptional<z.ZodString>;
@@ -762,22 +762,22 @@ declare const EntityConfig: {
762
762
  title: z.ZodString;
763
763
  }>, "strip", z.ZodTypeAny, {
764
764
  title: string;
765
+ tags?: string[] | undefined;
765
766
  description?: string | undefined;
766
767
  categories?: string[] | undefined;
767
768
  duration?: number | undefined;
768
769
  learningOutcomes?: string[] | undefined;
769
770
  infographics?: string[] | undefined;
770
- tags?: string[] | undefined;
771
771
  }, {
772
772
  title: string;
773
+ tags?: string[] | undefined;
773
774
  description?: string | undefined;
774
775
  categories?: string[] | undefined;
775
776
  duration?: number | undefined;
776
777
  learningOutcomes?: string[] | undefined;
777
778
  infographics?: string[] | undefined;
778
- tags?: string[] | undefined;
779
779
  }> | undefined;
780
- searchableFields?: ("description" | "title" | "categories" | "duration" | "learningOutcomes" | "infographics" | "tags")[] | undefined;
780
+ searchableFields?: ("tags" | "description" | "title" | "categories" | "duration" | "learningOutcomes" | "infographics")[] | undefined;
781
781
  mutual?: {
782
782
  subscribes?: {
783
783
  entityType: import("@monorise/base").Entity;
@@ -831,25 +831,25 @@ declare const EntityConfig: {
831
831
  title: z.ZodString;
832
832
  }, z.UnknownKeysParam, z.ZodTypeAny, {
833
833
  title: string;
834
+ tags?: string[] | undefined;
834
835
  description?: string | undefined;
835
836
  videos?: string[] | undefined;
836
837
  categories?: string[] | undefined;
837
838
  duration?: number | undefined;
838
839
  learningOutcomes?: string[] | undefined;
839
840
  infographics?: string[] | undefined;
840
- tags?: string[] | undefined;
841
841
  moduleOrders?: string[] | undefined;
842
842
  chapters?: string[] | undefined;
843
843
  learningActivities?: string[] | undefined;
844
844
  }, {
845
845
  title: string;
846
+ tags?: string[] | undefined;
846
847
  description?: string | undefined;
847
848
  videos?: string[] | undefined;
848
849
  categories?: string[] | undefined;
849
850
  duration?: number | undefined;
850
851
  learningOutcomes?: string[] | undefined;
851
852
  infographics?: string[] | undefined;
852
- tags?: string[] | undefined;
853
853
  moduleOrders?: string[] | undefined;
854
854
  chapters?: string[] | undefined;
855
855
  learningActivities?: string[] | undefined;
@@ -869,49 +869,49 @@ declare const EntityConfig: {
869
869
  title: z.ZodString;
870
870
  }, z.UnknownKeysParam, z.ZodTypeAny, {
871
871
  title: string;
872
+ tags?: string[] | undefined;
872
873
  description?: string | undefined;
873
874
  videos?: string[] | undefined;
874
875
  categories?: string[] | undefined;
875
876
  duration?: number | undefined;
876
877
  learningOutcomes?: string[] | undefined;
877
878
  infographics?: string[] | undefined;
878
- tags?: string[] | undefined;
879
879
  moduleOrders?: string[] | undefined;
880
880
  chapters?: string[] | undefined;
881
881
  learningActivities?: string[] | undefined;
882
882
  }, {
883
883
  title: string;
884
+ tags?: string[] | undefined;
884
885
  description?: string | undefined;
885
886
  videos?: string[] | undefined;
886
887
  categories?: string[] | undefined;
887
888
  duration?: number | undefined;
888
889
  learningOutcomes?: string[] | undefined;
889
890
  infographics?: string[] | undefined;
890
- tags?: string[] | undefined;
891
891
  moduleOrders?: string[] | undefined;
892
892
  chapters?: string[] | undefined;
893
893
  learningActivities?: string[] | undefined;
894
894
  }>, {
895
895
  title: string;
896
+ tags?: string[] | undefined;
896
897
  description?: string | undefined;
897
898
  videos?: string[] | undefined;
898
899
  categories?: string[] | undefined;
899
900
  duration?: number | undefined;
900
901
  learningOutcomes?: string[] | undefined;
901
902
  infographics?: string[] | undefined;
902
- tags?: string[] | undefined;
903
903
  moduleOrders?: string[] | undefined;
904
904
  chapters?: string[] | undefined;
905
905
  learningActivities?: string[] | undefined;
906
906
  }, {
907
907
  title: string;
908
+ tags?: string[] | undefined;
908
909
  description?: string | undefined;
909
910
  videos?: string[] | undefined;
910
911
  categories?: string[] | undefined;
911
912
  duration?: number | undefined;
912
913
  learningOutcomes?: string[] | undefined;
913
914
  infographics?: string[] | undefined;
914
- tags?: string[] | undefined;
915
915
  moduleOrders?: string[] | undefined;
916
916
  chapters?: string[] | undefined;
917
917
  learningActivities?: string[] | undefined;
@@ -2378,12 +2378,12 @@ declare const EntityConfig: {
2378
2378
  id: z.ZodString;
2379
2379
  content: z.ZodAny;
2380
2380
  }, "strip", z.ZodTypeAny, {
2381
- type: string;
2382
2381
  id: string;
2382
+ type: string;
2383
2383
  content?: any;
2384
2384
  }, {
2385
- type: string;
2386
2385
  id: string;
2386
+ type: string;
2387
2387
  content?: any;
2388
2388
  }>, "many">>>;
2389
2389
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -2397,8 +2397,8 @@ declare const EntityConfig: {
2397
2397
  categories?: string[] | undefined;
2398
2398
  duration?: number | undefined;
2399
2399
  additionalFiles?: {
2400
- type: string;
2401
2400
  id: string;
2401
+ type: string;
2402
2402
  content?: any;
2403
2403
  }[] | undefined;
2404
2404
  keyTakeaway?: string | undefined;
@@ -2408,8 +2408,8 @@ declare const EntityConfig: {
2408
2408
  categories?: string[] | undefined;
2409
2409
  duration?: number | undefined;
2410
2410
  additionalFiles?: {
2411
- type: string;
2412
2411
  id: string;
2412
+ type: string;
2413
2413
  content?: any;
2414
2414
  }[] | undefined;
2415
2415
  keyTakeaway?: string | undefined;
@@ -2421,12 +2421,12 @@ declare const EntityConfig: {
2421
2421
  id: z.ZodString;
2422
2422
  content: z.ZodAny;
2423
2423
  }, "strip", z.ZodTypeAny, {
2424
- type: string;
2425
2424
  id: string;
2425
+ type: string;
2426
2426
  content?: any;
2427
2427
  }, {
2428
- type: string;
2429
2428
  id: string;
2429
+ type: string;
2430
2430
  content?: any;
2431
2431
  }>, "many">>>;
2432
2432
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -2440,8 +2440,8 @@ declare const EntityConfig: {
2440
2440
  categories?: string[] | undefined;
2441
2441
  duration?: number | undefined;
2442
2442
  additionalFiles?: {
2443
- type: string;
2444
2443
  id: string;
2444
+ type: string;
2445
2445
  content?: any;
2446
2446
  }[] | undefined;
2447
2447
  keyTakeaway?: string | undefined;
@@ -2451,8 +2451,8 @@ declare const EntityConfig: {
2451
2451
  categories?: string[] | undefined;
2452
2452
  duration?: number | undefined;
2453
2453
  additionalFiles?: {
2454
- type: string;
2455
2454
  id: string;
2455
+ type: string;
2456
2456
  content?: any;
2457
2457
  }[] | undefined;
2458
2458
  keyTakeaway?: string | undefined;
@@ -2462,8 +2462,8 @@ declare const EntityConfig: {
2462
2462
  categories?: string[] | undefined;
2463
2463
  duration?: number | undefined;
2464
2464
  additionalFiles?: {
2465
- type: string;
2466
2465
  id: string;
2466
+ type: string;
2467
2467
  content?: any;
2468
2468
  }[] | undefined;
2469
2469
  keyTakeaway?: string | undefined;
@@ -2473,8 +2473,8 @@ declare const EntityConfig: {
2473
2473
  categories?: string[] | undefined;
2474
2474
  duration?: number | undefined;
2475
2475
  additionalFiles?: {
2476
- type: string;
2477
2476
  id: string;
2477
+ type: string;
2478
2478
  content?: any;
2479
2479
  }[] | undefined;
2480
2480
  keyTakeaway?: string | undefined;
@@ -2494,12 +2494,12 @@ declare const EntityConfig: {
2494
2494
  id: z.ZodString;
2495
2495
  content: z.ZodAny;
2496
2496
  }, "strip", z.ZodTypeAny, {
2497
- type: string;
2498
2497
  id: string;
2498
+ type: string;
2499
2499
  content?: any;
2500
2500
  }, {
2501
- type: string;
2502
2501
  id: string;
2502
+ type: string;
2503
2503
  content?: any;
2504
2504
  }>, "many">>>;
2505
2505
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -2511,8 +2511,8 @@ declare const EntityConfig: {
2511
2511
  categories?: string[] | undefined;
2512
2512
  duration?: number | undefined;
2513
2513
  additionalFiles?: {
2514
- type: string;
2515
2514
  id: string;
2515
+ type: string;
2516
2516
  content?: any;
2517
2517
  }[] | undefined;
2518
2518
  keyTakeaway?: string | undefined;
@@ -2522,8 +2522,8 @@ declare const EntityConfig: {
2522
2522
  categories?: string[] | undefined;
2523
2523
  duration?: number | undefined;
2524
2524
  additionalFiles?: {
2525
- type: string;
2526
2525
  id: string;
2526
+ type: string;
2527
2527
  content?: any;
2528
2528
  }[] | undefined;
2529
2529
  keyTakeaway?: string | undefined;
@@ -2536,12 +2536,12 @@ declare const EntityConfig: {
2536
2536
  id: z.ZodString;
2537
2537
  content: z.ZodAny;
2538
2538
  }, "strip", z.ZodTypeAny, {
2539
- type: string;
2540
2539
  id: string;
2540
+ type: string;
2541
2541
  content?: any;
2542
2542
  }, {
2543
- type: string;
2544
2543
  id: string;
2544
+ type: string;
2545
2545
  content?: any;
2546
2546
  }>, "many">>>;
2547
2547
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -2555,8 +2555,8 @@ declare const EntityConfig: {
2555
2555
  categories?: string[] | undefined;
2556
2556
  duration?: number | undefined;
2557
2557
  additionalFiles?: {
2558
- type: string;
2559
2558
  id: string;
2559
+ type: string;
2560
2560
  content?: any;
2561
2561
  }[] | undefined;
2562
2562
  keyTakeaway?: string | undefined;
@@ -2566,8 +2566,8 @@ declare const EntityConfig: {
2566
2566
  categories?: string[] | undefined;
2567
2567
  duration?: number | undefined;
2568
2568
  additionalFiles?: {
2569
- type: string;
2570
2569
  id: string;
2570
+ type: string;
2571
2571
  content?: any;
2572
2572
  }[] | undefined;
2573
2573
  keyTakeaway?: string | undefined;
@@ -2603,12 +2603,12 @@ declare const EntityConfig: {
2603
2603
  id: z.ZodString;
2604
2604
  content: z.ZodAny;
2605
2605
  }, "strip", z.ZodTypeAny, {
2606
- type: string;
2607
2606
  id: string;
2607
+ type: string;
2608
2608
  content?: any;
2609
2609
  }, {
2610
- type: string;
2611
2610
  id: string;
2611
+ type: string;
2612
2612
  content?: any;
2613
2613
  }>, "many">>>;
2614
2614
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -2622,8 +2622,8 @@ declare const EntityConfig: {
2622
2622
  categories?: string[] | undefined;
2623
2623
  duration?: number | undefined;
2624
2624
  additionalFiles?: {
2625
- type: string;
2626
2625
  id: string;
2626
+ type: string;
2627
2627
  content?: any;
2628
2628
  }[] | undefined;
2629
2629
  keyTakeaway?: string | undefined;
@@ -2633,8 +2633,8 @@ declare const EntityConfig: {
2633
2633
  categories?: string[] | undefined;
2634
2634
  duration?: number | undefined;
2635
2635
  additionalFiles?: {
2636
- type: string;
2637
2636
  id: string;
2637
+ type: string;
2638
2638
  content?: any;
2639
2639
  }[] | undefined;
2640
2640
  keyTakeaway?: string | undefined;
@@ -2646,12 +2646,12 @@ declare const EntityConfig: {
2646
2646
  id: z.ZodString;
2647
2647
  content: z.ZodAny;
2648
2648
  }, "strip", z.ZodTypeAny, {
2649
- type: string;
2650
2649
  id: string;
2650
+ type: string;
2651
2651
  content?: any;
2652
2652
  }, {
2653
- type: string;
2654
2653
  id: string;
2654
+ type: string;
2655
2655
  content?: any;
2656
2656
  }>, "many">>>;
2657
2657
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -2665,8 +2665,8 @@ declare const EntityConfig: {
2665
2665
  categories?: string[] | undefined;
2666
2666
  duration?: number | undefined;
2667
2667
  additionalFiles?: {
2668
- type: string;
2669
2668
  id: string;
2669
+ type: string;
2670
2670
  content?: any;
2671
2671
  }[] | undefined;
2672
2672
  keyTakeaway?: string | undefined;
@@ -2676,8 +2676,8 @@ declare const EntityConfig: {
2676
2676
  categories?: string[] | undefined;
2677
2677
  duration?: number | undefined;
2678
2678
  additionalFiles?: {
2679
- type: string;
2680
2679
  id: string;
2680
+ type: string;
2681
2681
  content?: any;
2682
2682
  }[] | undefined;
2683
2683
  keyTakeaway?: string | undefined;
@@ -2687,8 +2687,8 @@ declare const EntityConfig: {
2687
2687
  categories?: string[] | undefined;
2688
2688
  duration?: number | undefined;
2689
2689
  additionalFiles?: {
2690
- type: string;
2691
2690
  id: string;
2691
+ type: string;
2692
2692
  content?: any;
2693
2693
  }[] | undefined;
2694
2694
  keyTakeaway?: string | undefined;
@@ -2698,8 +2698,8 @@ declare const EntityConfig: {
2698
2698
  categories?: string[] | undefined;
2699
2699
  duration?: number | undefined;
2700
2700
  additionalFiles?: {
2701
- type: string;
2702
2701
  id: string;
2702
+ type: string;
2703
2703
  content?: any;
2704
2704
  }[] | undefined;
2705
2705
  keyTakeaway?: string | undefined;
@@ -2759,12 +2759,12 @@ declare const FormSchema: {
2759
2759
  id: z.ZodString;
2760
2760
  content: z.ZodAny;
2761
2761
  }, "strip", z.ZodTypeAny, {
2762
- type: string;
2763
2762
  id: string;
2763
+ type: string;
2764
2764
  content?: any;
2765
2765
  }, {
2766
- type: string;
2767
2766
  id: string;
2767
+ type: string;
2768
2768
  content?: any;
2769
2769
  }>, "many">>>;
2770
2770
  progress: z.ZodOptional<z.ZodNumber>;
@@ -2774,15 +2774,15 @@ declare const FormSchema: {
2774
2774
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2775
2775
  type: import("./chapter").CHAPTER_TYPE;
2776
2776
  remark: string;
2777
- description?: string | undefined;
2778
- discussionLink?: string | undefined;
2779
- title?: string | undefined;
2780
- learningActivityDescription?: string | undefined;
2781
2777
  body?: {
2782
- type: string;
2783
2778
  id: string;
2779
+ type: string;
2784
2780
  content?: any;
2785
2781
  }[] | undefined;
2782
+ description?: string | undefined;
2783
+ discussionLink?: string | undefined;
2784
+ title?: string | undefined;
2785
+ learningActivityDescription?: string | undefined;
2786
2786
  progress?: number | undefined;
2787
2787
  learningActivityOrders?: string[] | undefined;
2788
2788
  referenceOrders?: string[] | undefined;
@@ -2790,15 +2790,15 @@ declare const FormSchema: {
2790
2790
  }, {
2791
2791
  type: import("./chapter").CHAPTER_TYPE;
2792
2792
  remark: string;
2793
- description?: string | undefined;
2794
- discussionLink?: string | undefined;
2795
- title?: string | undefined;
2796
- learningActivityDescription?: string | undefined;
2797
2793
  body?: {
2798
- type: string;
2799
2794
  id: string;
2795
+ type: string;
2800
2796
  content?: any;
2801
2797
  }[] | undefined;
2798
+ description?: string | undefined;
2799
+ discussionLink?: string | undefined;
2800
+ title?: string | undefined;
2801
+ learningActivityDescription?: string | undefined;
2802
2802
  progress?: number | undefined;
2803
2803
  learningActivityOrders?: string[] | undefined;
2804
2804
  referenceOrders?: string[] | undefined;
@@ -2817,12 +2817,12 @@ declare const FormSchema: {
2817
2817
  id: z.ZodString;
2818
2818
  content: z.ZodAny;
2819
2819
  }, "strip", z.ZodTypeAny, {
2820
- type: string;
2821
2820
  id: string;
2821
+ type: string;
2822
2822
  content?: any;
2823
2823
  }, {
2824
- type: string;
2825
2824
  id: string;
2825
+ type: string;
2826
2826
  content?: any;
2827
2827
  }>, "many">>>;
2828
2828
  progress: z.ZodOptional<z.ZodNumber>;
@@ -2832,15 +2832,15 @@ declare const FormSchema: {
2832
2832
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2833
2833
  type: import("./chapter").CHAPTER_TYPE;
2834
2834
  remark: string;
2835
- description?: string | undefined;
2836
- discussionLink?: string | undefined;
2837
- title?: string | undefined;
2838
- learningActivityDescription?: string | undefined;
2839
2835
  body?: {
2840
- type: string;
2841
2836
  id: string;
2837
+ type: string;
2842
2838
  content?: any;
2843
2839
  }[] | undefined;
2840
+ description?: string | undefined;
2841
+ discussionLink?: string | undefined;
2842
+ title?: string | undefined;
2843
+ learningActivityDescription?: string | undefined;
2844
2844
  progress?: number | undefined;
2845
2845
  learningActivityOrders?: string[] | undefined;
2846
2846
  referenceOrders?: string[] | undefined;
@@ -2848,15 +2848,15 @@ declare const FormSchema: {
2848
2848
  }, {
2849
2849
  type: import("./chapter").CHAPTER_TYPE;
2850
2850
  remark: string;
2851
- description?: string | undefined;
2852
- discussionLink?: string | undefined;
2853
- title?: string | undefined;
2854
- learningActivityDescription?: string | undefined;
2855
2851
  body?: {
2856
- type: string;
2857
2852
  id: string;
2853
+ type: string;
2858
2854
  content?: any;
2859
2855
  }[] | undefined;
2856
+ description?: string | undefined;
2857
+ discussionLink?: string | undefined;
2858
+ title?: string | undefined;
2859
+ learningActivityDescription?: string | undefined;
2860
2860
  progress?: number | undefined;
2861
2861
  learningActivityOrders?: string[] | undefined;
2862
2862
  referenceOrders?: string[] | undefined;
@@ -2864,15 +2864,15 @@ declare const FormSchema: {
2864
2864
  }>, {
2865
2865
  type: import("./chapter").CHAPTER_TYPE;
2866
2866
  remark: string;
2867
- description?: string | undefined;
2868
- discussionLink?: string | undefined;
2869
- title?: string | undefined;
2870
- learningActivityDescription?: string | undefined;
2871
2867
  body?: {
2872
- type: string;
2873
2868
  id: string;
2869
+ type: string;
2874
2870
  content?: any;
2875
2871
  }[] | undefined;
2872
+ description?: string | undefined;
2873
+ discussionLink?: string | undefined;
2874
+ title?: string | undefined;
2875
+ learningActivityDescription?: string | undefined;
2876
2876
  progress?: number | undefined;
2877
2877
  learningActivityOrders?: string[] | undefined;
2878
2878
  referenceOrders?: string[] | undefined;
@@ -2880,15 +2880,15 @@ declare const FormSchema: {
2880
2880
  }, {
2881
2881
  type: import("./chapter").CHAPTER_TYPE;
2882
2882
  remark: string;
2883
- description?: string | undefined;
2884
- discussionLink?: string | undefined;
2885
- title?: string | undefined;
2886
- learningActivityDescription?: string | undefined;
2887
2883
  body?: {
2888
- type: string;
2889
2884
  id: string;
2885
+ type: string;
2890
2886
  content?: any;
2891
2887
  }[] | undefined;
2888
+ description?: string | undefined;
2889
+ discussionLink?: string | undefined;
2890
+ title?: string | undefined;
2891
+ learningActivityDescription?: string | undefined;
2892
2892
  progress?: number | undefined;
2893
2893
  learningActivityOrders?: string[] | undefined;
2894
2894
  referenceOrders?: string[] | undefined;
@@ -2910,25 +2910,25 @@ declare const FormSchema: {
2910
2910
  title: z.ZodString;
2911
2911
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2912
2912
  title: string;
2913
+ tags?: string[] | undefined;
2913
2914
  description?: string | undefined;
2914
2915
  videos?: string[] | undefined;
2915
2916
  categories?: string[] | undefined;
2916
2917
  duration?: number | undefined;
2917
2918
  learningOutcomes?: string[] | undefined;
2918
2919
  infographics?: string[] | undefined;
2919
- tags?: string[] | undefined;
2920
2920
  moduleOrders?: string[] | undefined;
2921
2921
  chapters?: string[] | undefined;
2922
2922
  learningActivities?: string[] | undefined;
2923
2923
  }, {
2924
2924
  title: string;
2925
+ tags?: string[] | undefined;
2925
2926
  description?: string | undefined;
2926
2927
  videos?: string[] | undefined;
2927
2928
  categories?: string[] | undefined;
2928
2929
  duration?: number | undefined;
2929
2930
  learningOutcomes?: string[] | undefined;
2930
2931
  infographics?: string[] | undefined;
2931
- tags?: string[] | undefined;
2932
2932
  moduleOrders?: string[] | undefined;
2933
2933
  chapters?: string[] | undefined;
2934
2934
  learningActivities?: string[] | undefined;
@@ -2948,49 +2948,49 @@ declare const FormSchema: {
2948
2948
  title: z.ZodString;
2949
2949
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2950
2950
  title: string;
2951
+ tags?: string[] | undefined;
2951
2952
  description?: string | undefined;
2952
2953
  videos?: string[] | undefined;
2953
2954
  categories?: string[] | undefined;
2954
2955
  duration?: number | undefined;
2955
2956
  learningOutcomes?: string[] | undefined;
2956
2957
  infographics?: string[] | undefined;
2957
- tags?: string[] | undefined;
2958
2958
  moduleOrders?: string[] | undefined;
2959
2959
  chapters?: string[] | undefined;
2960
2960
  learningActivities?: string[] | undefined;
2961
2961
  }, {
2962
2962
  title: string;
2963
+ tags?: string[] | undefined;
2963
2964
  description?: string | undefined;
2964
2965
  videos?: string[] | undefined;
2965
2966
  categories?: string[] | undefined;
2966
2967
  duration?: number | undefined;
2967
2968
  learningOutcomes?: string[] | undefined;
2968
2969
  infographics?: string[] | undefined;
2969
- tags?: string[] | undefined;
2970
2970
  moduleOrders?: string[] | undefined;
2971
2971
  chapters?: string[] | undefined;
2972
2972
  learningActivities?: string[] | undefined;
2973
2973
  }>, {
2974
2974
  title: string;
2975
+ tags?: string[] | undefined;
2975
2976
  description?: string | undefined;
2976
2977
  videos?: string[] | undefined;
2977
2978
  categories?: string[] | undefined;
2978
2979
  duration?: number | undefined;
2979
2980
  learningOutcomes?: string[] | undefined;
2980
2981
  infographics?: string[] | undefined;
2981
- tags?: string[] | undefined;
2982
2982
  moduleOrders?: string[] | undefined;
2983
2983
  chapters?: string[] | undefined;
2984
2984
  learningActivities?: string[] | undefined;
2985
2985
  }, {
2986
2986
  title: string;
2987
+ tags?: string[] | undefined;
2987
2988
  description?: string | undefined;
2988
2989
  videos?: string[] | undefined;
2989
2990
  categories?: string[] | undefined;
2990
2991
  duration?: number | undefined;
2991
2992
  learningOutcomes?: string[] | undefined;
2992
2993
  infographics?: string[] | undefined;
2993
- tags?: string[] | undefined;
2994
2994
  moduleOrders?: string[] | undefined;
2995
2995
  chapters?: string[] | undefined;
2996
2996
  learningActivities?: string[] | undefined;
@@ -3455,12 +3455,12 @@ declare const FormSchema: {
3455
3455
  id: z.ZodString;
3456
3456
  content: z.ZodAny;
3457
3457
  }, "strip", z.ZodTypeAny, {
3458
- type: string;
3459
3458
  id: string;
3459
+ type: string;
3460
3460
  content?: any;
3461
3461
  }, {
3462
- type: string;
3463
3462
  id: string;
3463
+ type: string;
3464
3464
  content?: any;
3465
3465
  }>, "many">>>;
3466
3466
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -3474,8 +3474,8 @@ declare const FormSchema: {
3474
3474
  categories?: string[] | undefined;
3475
3475
  duration?: number | undefined;
3476
3476
  additionalFiles?: {
3477
- type: string;
3478
3477
  id: string;
3478
+ type: string;
3479
3479
  content?: any;
3480
3480
  }[] | undefined;
3481
3481
  keyTakeaway?: string | undefined;
@@ -3485,8 +3485,8 @@ declare const FormSchema: {
3485
3485
  categories?: string[] | undefined;
3486
3486
  duration?: number | undefined;
3487
3487
  additionalFiles?: {
3488
- type: string;
3489
3488
  id: string;
3489
+ type: string;
3490
3490
  content?: any;
3491
3491
  }[] | undefined;
3492
3492
  keyTakeaway?: string | undefined;
@@ -3498,12 +3498,12 @@ declare const FormSchema: {
3498
3498
  id: z.ZodString;
3499
3499
  content: z.ZodAny;
3500
3500
  }, "strip", z.ZodTypeAny, {
3501
- type: string;
3502
3501
  id: string;
3502
+ type: string;
3503
3503
  content?: any;
3504
3504
  }, {
3505
- type: string;
3506
3505
  id: string;
3506
+ type: string;
3507
3507
  content?: any;
3508
3508
  }>, "many">>>;
3509
3509
  keyTakeaway: z.ZodOptional<z.ZodString>;
@@ -3517,8 +3517,8 @@ declare const FormSchema: {
3517
3517
  categories?: string[] | undefined;
3518
3518
  duration?: number | undefined;
3519
3519
  additionalFiles?: {
3520
- type: string;
3521
3520
  id: string;
3521
+ type: string;
3522
3522
  content?: any;
3523
3523
  }[] | undefined;
3524
3524
  keyTakeaway?: string | undefined;
@@ -3528,8 +3528,8 @@ declare const FormSchema: {
3528
3528
  categories?: string[] | undefined;
3529
3529
  duration?: number | undefined;
3530
3530
  additionalFiles?: {
3531
- type: string;
3532
3531
  id: string;
3532
+ type: string;
3533
3533
  content?: any;
3534
3534
  }[] | undefined;
3535
3535
  keyTakeaway?: string | undefined;
@@ -3539,8 +3539,8 @@ declare const FormSchema: {
3539
3539
  categories?: string[] | undefined;
3540
3540
  duration?: number | undefined;
3541
3541
  additionalFiles?: {
3542
- type: string;
3543
3542
  id: string;
3543
+ type: string;
3544
3544
  content?: any;
3545
3545
  }[] | undefined;
3546
3546
  keyTakeaway?: string | undefined;
@@ -3550,8 +3550,8 @@ declare const FormSchema: {
3550
3550
  categories?: string[] | undefined;
3551
3551
  duration?: number | undefined;
3552
3552
  additionalFiles?: {
3553
- type: string;
3554
3553
  id: string;
3554
+ type: string;
3555
3555
  content?: any;
3556
3556
  }[] | undefined;
3557
3557
  keyTakeaway?: string | undefined;