@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
@@ -20,12 +20,12 @@ declare const config: {
20
20
  id: z.ZodString;
21
21
  content: z.ZodAny;
22
22
  }, "strip", z.ZodTypeAny, {
23
- type: string;
24
23
  id: string;
24
+ type: string;
25
25
  content?: any;
26
26
  }, {
27
- type: string;
28
27
  id: string;
28
+ type: string;
29
29
  content?: any;
30
30
  }>, "many">>>;
31
31
  progress: z.ZodOptional<z.ZodNumber>;
@@ -35,15 +35,15 @@ declare const config: {
35
35
  }, z.UnknownKeysParam, z.ZodTypeAny, {
36
36
  type: CHAPTER_TYPE;
37
37
  remark: string;
38
- description?: string | undefined;
39
- discussionLink?: string | undefined;
40
- title?: string | undefined;
41
- learningActivityDescription?: string | undefined;
42
38
  body?: {
43
- type: string;
44
39
  id: string;
40
+ type: string;
45
41
  content?: any;
46
42
  }[] | undefined;
43
+ description?: string | undefined;
44
+ discussionLink?: string | undefined;
45
+ title?: string | undefined;
46
+ learningActivityDescription?: string | undefined;
47
47
  progress?: number | undefined;
48
48
  learningActivityOrders?: string[] | undefined;
49
49
  referenceOrders?: string[] | undefined;
@@ -51,15 +51,15 @@ declare const config: {
51
51
  }, {
52
52
  type: CHAPTER_TYPE;
53
53
  remark: string;
54
- description?: string | undefined;
55
- discussionLink?: string | undefined;
56
- title?: string | undefined;
57
- learningActivityDescription?: string | undefined;
58
54
  body?: {
59
- type: string;
60
55
  id: string;
56
+ type: string;
61
57
  content?: any;
62
58
  }[] | undefined;
59
+ description?: string | undefined;
60
+ discussionLink?: string | undefined;
61
+ title?: string | undefined;
62
+ learningActivityDescription?: string | undefined;
63
63
  progress?: number | undefined;
64
64
  learningActivityOrders?: string[] | undefined;
65
65
  referenceOrders?: string[] | undefined;
@@ -78,12 +78,12 @@ declare const config: {
78
78
  id: z.ZodString;
79
79
  content: z.ZodAny;
80
80
  }, "strip", z.ZodTypeAny, {
81
- type: string;
82
81
  id: string;
82
+ type: string;
83
83
  content?: any;
84
84
  }, {
85
- type: string;
86
85
  id: string;
86
+ type: string;
87
87
  content?: any;
88
88
  }>, "many">>>;
89
89
  progress: z.ZodOptional<z.ZodNumber>;
@@ -93,15 +93,15 @@ declare const config: {
93
93
  }, z.UnknownKeysParam, z.ZodTypeAny, {
94
94
  type: CHAPTER_TYPE;
95
95
  remark: string;
96
- description?: string | undefined;
97
- discussionLink?: string | undefined;
98
- title?: string | undefined;
99
- learningActivityDescription?: string | undefined;
100
96
  body?: {
101
- type: string;
102
97
  id: string;
98
+ type: string;
103
99
  content?: any;
104
100
  }[] | undefined;
101
+ description?: string | undefined;
102
+ discussionLink?: string | undefined;
103
+ title?: string | undefined;
104
+ learningActivityDescription?: string | undefined;
105
105
  progress?: number | undefined;
106
106
  learningActivityOrders?: string[] | undefined;
107
107
  referenceOrders?: string[] | undefined;
@@ -109,15 +109,15 @@ declare const config: {
109
109
  }, {
110
110
  type: CHAPTER_TYPE;
111
111
  remark: string;
112
- description?: string | undefined;
113
- discussionLink?: string | undefined;
114
- title?: string | undefined;
115
- learningActivityDescription?: string | undefined;
116
112
  body?: {
117
- type: string;
118
113
  id: string;
114
+ type: string;
119
115
  content?: any;
120
116
  }[] | undefined;
117
+ description?: string | undefined;
118
+ discussionLink?: string | undefined;
119
+ title?: string | undefined;
120
+ learningActivityDescription?: string | undefined;
121
121
  progress?: number | undefined;
122
122
  learningActivityOrders?: string[] | undefined;
123
123
  referenceOrders?: string[] | undefined;
@@ -125,15 +125,15 @@ declare const config: {
125
125
  }>, {
126
126
  type: CHAPTER_TYPE;
127
127
  remark: string;
128
- description?: string | undefined;
129
- discussionLink?: string | undefined;
130
- title?: string | undefined;
131
- learningActivityDescription?: string | undefined;
132
128
  body?: {
133
- type: string;
134
129
  id: string;
130
+ type: string;
135
131
  content?: any;
136
132
  }[] | undefined;
133
+ description?: string | undefined;
134
+ discussionLink?: string | undefined;
135
+ title?: string | undefined;
136
+ learningActivityDescription?: string | undefined;
137
137
  progress?: number | undefined;
138
138
  learningActivityOrders?: string[] | undefined;
139
139
  referenceOrders?: string[] | undefined;
@@ -141,15 +141,15 @@ declare const config: {
141
141
  }, {
142
142
  type: CHAPTER_TYPE;
143
143
  remark: string;
144
- description?: string | undefined;
145
- discussionLink?: string | undefined;
146
- title?: string | undefined;
147
- learningActivityDescription?: string | undefined;
148
144
  body?: {
149
- type: string;
150
145
  id: string;
146
+ type: string;
151
147
  content?: any;
152
148
  }[] | undefined;
149
+ description?: string | undefined;
150
+ discussionLink?: string | undefined;
151
+ title?: string | undefined;
152
+ learningActivityDescription?: string | undefined;
153
153
  progress?: number | undefined;
154
154
  learningActivityOrders?: string[] | undefined;
155
155
  referenceOrders?: string[] | undefined;
@@ -174,40 +174,40 @@ declare const config: {
174
174
  id: z.ZodString;
175
175
  content: z.ZodAny;
176
176
  }, "strip", z.ZodTypeAny, {
177
- type: string;
178
177
  id: string;
178
+ type: string;
179
179
  content?: any;
180
180
  }, {
181
- type: string;
182
181
  id: string;
182
+ type: string;
183
183
  content?: any;
184
184
  }>, "many">>>;
185
185
  progress: z.ZodOptional<z.ZodNumber>;
186
186
  }, z.UnknownKeysParam, z.ZodTypeAny, {
187
+ body?: {
188
+ id: string;
189
+ type: string;
190
+ content?: any;
191
+ }[] | undefined;
187
192
  type?: CHAPTER_TYPE | undefined;
188
193
  description?: string | undefined;
189
194
  discussionLink?: string | undefined;
190
195
  remark?: string | undefined;
191
196
  title?: string | undefined;
192
197
  learningActivityDescription?: string | undefined;
198
+ progress?: number | undefined;
199
+ }, {
193
200
  body?: {
194
- type: string;
195
201
  id: string;
202
+ type: string;
196
203
  content?: any;
197
204
  }[] | undefined;
198
- progress?: number | undefined;
199
- }, {
200
205
  type?: CHAPTER_TYPE | undefined;
201
206
  description?: string | undefined;
202
207
  discussionLink?: string | undefined;
203
208
  remark?: string | undefined;
204
209
  title?: string | undefined;
205
210
  learningActivityDescription?: string | undefined;
206
- body?: {
207
- type: string;
208
- id: string;
209
- content?: any;
210
- }[] | undefined;
211
211
  progress?: number | undefined;
212
212
  }>;
213
213
  createSchema?: z.ZodObject<z.objectUtil.extendShape<{
@@ -222,12 +222,12 @@ declare const config: {
222
222
  id: z.ZodString;
223
223
  content: z.ZodAny;
224
224
  }, "strip", z.ZodTypeAny, {
225
- type: string;
226
225
  id: string;
226
+ type: string;
227
227
  content?: any;
228
228
  }, {
229
- type: string;
230
229
  id: string;
230
+ type: string;
231
231
  content?: any;
232
232
  }>, "many">>>;
233
233
  progress: z.ZodOptional<z.ZodNumber>;
@@ -237,31 +237,31 @@ declare const config: {
237
237
  }>, "strip", z.ZodTypeAny, {
238
238
  type: CHAPTER_TYPE;
239
239
  remark: string;
240
- description?: string | undefined;
241
- discussionLink?: string | undefined;
242
- title?: string | undefined;
243
- learningActivityDescription?: string | undefined;
244
240
  body?: {
245
- type: string;
246
241
  id: string;
242
+ type: string;
247
243
  content?: any;
248
244
  }[] | undefined;
249
- progress?: number | undefined;
250
- }, {
251
- type: CHAPTER_TYPE;
252
- remark: string;
253
245
  description?: string | undefined;
254
246
  discussionLink?: string | undefined;
255
247
  title?: string | undefined;
256
248
  learningActivityDescription?: string | undefined;
249
+ progress?: number | undefined;
250
+ }, {
251
+ type: CHAPTER_TYPE;
252
+ remark: string;
257
253
  body?: {
258
- type: string;
259
254
  id: string;
255
+ type: string;
260
256
  content?: any;
261
257
  }[] | undefined;
258
+ description?: string | undefined;
259
+ discussionLink?: string | undefined;
260
+ title?: string | undefined;
261
+ learningActivityDescription?: string | undefined;
262
262
  progress?: number | undefined;
263
263
  }> | undefined;
264
- searchableFields?: ("type" | "description" | "discussionLink" | "remark" | "title" | "learningActivityDescription" | "body" | "progress")[] | undefined;
264
+ searchableFields?: ("body" | "type" | "description" | "discussionLink" | "remark" | "title" | "learningActivityDescription" | "progress")[] | undefined;
265
265
  mutual?: {
266
266
  subscribes?: {
267
267
  entityType: import("@monorise/base").Entity;
@@ -310,12 +310,12 @@ declare const config: {
310
310
  id: z.ZodString;
311
311
  content: z.ZodAny;
312
312
  }, "strip", z.ZodTypeAny, {
313
- type: string;
314
313
  id: string;
314
+ type: string;
315
315
  content?: any;
316
316
  }, {
317
- type: string;
318
317
  id: string;
318
+ type: string;
319
319
  content?: any;
320
320
  }>, "many">>>;
321
321
  progress: z.ZodOptional<z.ZodNumber>;
@@ -325,15 +325,15 @@ declare const config: {
325
325
  }, z.UnknownKeysParam, z.ZodTypeAny, {
326
326
  type: CHAPTER_TYPE;
327
327
  remark: string;
328
- description?: string | undefined;
329
- discussionLink?: string | undefined;
330
- title?: string | undefined;
331
- learningActivityDescription?: string | undefined;
332
328
  body?: {
333
- type: string;
334
329
  id: string;
330
+ type: string;
335
331
  content?: any;
336
332
  }[] | undefined;
333
+ description?: string | undefined;
334
+ discussionLink?: string | undefined;
335
+ title?: string | undefined;
336
+ learningActivityDescription?: string | undefined;
337
337
  progress?: number | undefined;
338
338
  learningActivityOrders?: string[] | undefined;
339
339
  referenceOrders?: string[] | undefined;
@@ -341,15 +341,15 @@ declare const config: {
341
341
  }, {
342
342
  type: CHAPTER_TYPE;
343
343
  remark: string;
344
- description?: string | undefined;
345
- discussionLink?: string | undefined;
346
- title?: string | undefined;
347
- learningActivityDescription?: string | undefined;
348
344
  body?: {
349
- type: string;
350
345
  id: string;
346
+ type: string;
351
347
  content?: any;
352
348
  }[] | undefined;
349
+ description?: string | undefined;
350
+ discussionLink?: string | undefined;
351
+ title?: string | undefined;
352
+ learningActivityDescription?: string | undefined;
353
353
  progress?: number | undefined;
354
354
  learningActivityOrders?: string[] | undefined;
355
355
  referenceOrders?: string[] | undefined;
@@ -368,12 +368,12 @@ declare const config: {
368
368
  id: z.ZodString;
369
369
  content: z.ZodAny;
370
370
  }, "strip", z.ZodTypeAny, {
371
- type: string;
372
371
  id: string;
372
+ type: string;
373
373
  content?: any;
374
374
  }, {
375
- type: string;
376
375
  id: string;
376
+ type: string;
377
377
  content?: any;
378
378
  }>, "many">>>;
379
379
  progress: z.ZodOptional<z.ZodNumber>;
@@ -383,15 +383,15 @@ declare const config: {
383
383
  }, z.UnknownKeysParam, z.ZodTypeAny, {
384
384
  type: CHAPTER_TYPE;
385
385
  remark: string;
386
- description?: string | undefined;
387
- discussionLink?: string | undefined;
388
- title?: string | undefined;
389
- learningActivityDescription?: string | undefined;
390
386
  body?: {
391
- type: string;
392
387
  id: string;
388
+ type: string;
393
389
  content?: any;
394
390
  }[] | undefined;
391
+ description?: string | undefined;
392
+ discussionLink?: string | undefined;
393
+ title?: string | undefined;
394
+ learningActivityDescription?: string | undefined;
395
395
  progress?: number | undefined;
396
396
  learningActivityOrders?: string[] | undefined;
397
397
  referenceOrders?: string[] | undefined;
@@ -399,15 +399,15 @@ declare const config: {
399
399
  }, {
400
400
  type: CHAPTER_TYPE;
401
401
  remark: string;
402
- description?: string | undefined;
403
- discussionLink?: string | undefined;
404
- title?: string | undefined;
405
- learningActivityDescription?: string | undefined;
406
402
  body?: {
407
- type: string;
408
403
  id: string;
404
+ type: string;
409
405
  content?: any;
410
406
  }[] | undefined;
407
+ description?: string | undefined;
408
+ discussionLink?: string | undefined;
409
+ title?: string | undefined;
410
+ learningActivityDescription?: string | undefined;
411
411
  progress?: number | undefined;
412
412
  learningActivityOrders?: string[] | undefined;
413
413
  referenceOrders?: string[] | undefined;
@@ -415,15 +415,15 @@ declare const config: {
415
415
  }>, {
416
416
  type: CHAPTER_TYPE;
417
417
  remark: string;
418
- description?: string | undefined;
419
- discussionLink?: string | undefined;
420
- title?: string | undefined;
421
- learningActivityDescription?: string | undefined;
422
418
  body?: {
423
- type: string;
424
419
  id: string;
420
+ type: string;
425
421
  content?: any;
426
422
  }[] | undefined;
423
+ description?: string | undefined;
424
+ discussionLink?: string | undefined;
425
+ title?: string | undefined;
426
+ learningActivityDescription?: string | undefined;
427
427
  progress?: number | undefined;
428
428
  learningActivityOrders?: string[] | undefined;
429
429
  referenceOrders?: string[] | undefined;
@@ -431,15 +431,15 @@ declare const config: {
431
431
  }, {
432
432
  type: CHAPTER_TYPE;
433
433
  remark: string;
434
- description?: string | undefined;
435
- discussionLink?: string | undefined;
436
- title?: string | undefined;
437
- learningActivityDescription?: string | undefined;
438
434
  body?: {
439
- type: string;
440
435
  id: string;
436
+ type: string;
441
437
  content?: any;
442
438
  }[] | undefined;
439
+ description?: string | undefined;
440
+ discussionLink?: string | undefined;
441
+ title?: string | undefined;
442
+ learningActivityDescription?: string | undefined;
443
443
  progress?: number | undefined;
444
444
  learningActivityOrders?: string[] | undefined;
445
445
  referenceOrders?: string[] | undefined;
@@ -447,7 +447,7 @@ declare const config: {
447
447
  }>) | undefined;
448
448
  tags?: {
449
449
  name: string;
450
- processor: (entity: import("@monorise/react").CreatedEntity<import("@monorise/base").Entity>) => {
450
+ processor: (entity: import("@monorise/base").CreatedEntity<import("@monorise/base").Entity>) => {
451
451
  group?: string;
452
452
  sortValue?: string;
453
453
  }[];
@@ -16,25 +16,25 @@ declare const config: {
16
16
  title: z.ZodString;
17
17
  }, z.UnknownKeysParam, z.ZodTypeAny, {
18
18
  title: string;
19
+ tags?: string[] | undefined;
19
20
  description?: string | undefined;
20
21
  videos?: string[] | undefined;
21
22
  categories?: string[] | undefined;
22
23
  duration?: number | undefined;
23
24
  learningOutcomes?: string[] | undefined;
24
25
  infographics?: string[] | undefined;
25
- tags?: string[] | undefined;
26
26
  moduleOrders?: string[] | undefined;
27
27
  chapters?: string[] | undefined;
28
28
  learningActivities?: string[] | undefined;
29
29
  }, {
30
30
  title: string;
31
+ tags?: string[] | undefined;
31
32
  description?: string | undefined;
32
33
  videos?: string[] | undefined;
33
34
  categories?: string[] | undefined;
34
35
  duration?: number | undefined;
35
36
  learningOutcomes?: string[] | undefined;
36
37
  infographics?: string[] | undefined;
37
- tags?: string[] | undefined;
38
38
  moduleOrders?: string[] | undefined;
39
39
  chapters?: string[] | undefined;
40
40
  learningActivities?: string[] | undefined;
@@ -54,49 +54,49 @@ declare const config: {
54
54
  title: z.ZodString;
55
55
  }, z.UnknownKeysParam, z.ZodTypeAny, {
56
56
  title: string;
57
+ tags?: string[] | undefined;
57
58
  description?: string | undefined;
58
59
  videos?: string[] | undefined;
59
60
  categories?: string[] | undefined;
60
61
  duration?: number | undefined;
61
62
  learningOutcomes?: string[] | undefined;
62
63
  infographics?: string[] | undefined;
63
- tags?: string[] | undefined;
64
64
  moduleOrders?: string[] | undefined;
65
65
  chapters?: string[] | undefined;
66
66
  learningActivities?: string[] | undefined;
67
67
  }, {
68
68
  title: string;
69
+ tags?: string[] | undefined;
69
70
  description?: string | undefined;
70
71
  videos?: string[] | undefined;
71
72
  categories?: string[] | undefined;
72
73
  duration?: number | undefined;
73
74
  learningOutcomes?: string[] | undefined;
74
75
  infographics?: string[] | undefined;
75
- tags?: string[] | undefined;
76
76
  moduleOrders?: string[] | undefined;
77
77
  chapters?: string[] | undefined;
78
78
  learningActivities?: string[] | undefined;
79
79
  }>, {
80
80
  title: string;
81
+ tags?: string[] | undefined;
81
82
  description?: string | undefined;
82
83
  videos?: string[] | undefined;
83
84
  categories?: string[] | undefined;
84
85
  duration?: number | undefined;
85
86
  learningOutcomes?: string[] | undefined;
86
87
  infographics?: string[] | undefined;
87
- tags?: string[] | undefined;
88
88
  moduleOrders?: string[] | undefined;
89
89
  chapters?: string[] | undefined;
90
90
  learningActivities?: string[] | undefined;
91
91
  }, {
92
92
  title: string;
93
+ tags?: string[] | undefined;
93
94
  description?: string | undefined;
94
95
  videos?: string[] | undefined;
95
96
  categories?: string[] | undefined;
96
97
  duration?: number | undefined;
97
98
  learningOutcomes?: string[] | undefined;
98
99
  infographics?: string[] | undefined;
99
- tags?: string[] | undefined;
100
100
  moduleOrders?: string[] | undefined;
101
101
  chapters?: string[] | undefined;
102
102
  learningActivities?: string[] | undefined;
@@ -117,21 +117,21 @@ declare const config: {
117
117
  infographics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
118
118
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
119
119
  }, z.UnknownKeysParam, z.ZodTypeAny, {
120
+ tags?: string[] | undefined;
120
121
  description?: string | undefined;
121
122
  title?: string | undefined;
122
123
  categories?: string[] | undefined;
123
124
  duration?: number | undefined;
124
125
  learningOutcomes?: string[] | undefined;
125
126
  infographics?: string[] | undefined;
126
- tags?: string[] | undefined;
127
127
  }, {
128
+ tags?: string[] | undefined;
128
129
  description?: string | undefined;
129
130
  title?: string | undefined;
130
131
  categories?: string[] | undefined;
131
132
  duration?: number | undefined;
132
133
  learningOutcomes?: string[] | undefined;
133
134
  infographics?: string[] | undefined;
134
- tags?: string[] | undefined;
135
135
  }>;
136
136
  createSchema?: z.ZodObject<z.objectUtil.extendShape<{
137
137
  title: z.ZodOptional<z.ZodString>;
@@ -145,22 +145,22 @@ declare const config: {
145
145
  title: z.ZodString;
146
146
  }>, "strip", z.ZodTypeAny, {
147
147
  title: string;
148
+ tags?: string[] | undefined;
148
149
  description?: string | undefined;
149
150
  categories?: string[] | undefined;
150
151
  duration?: number | undefined;
151
152
  learningOutcomes?: string[] | undefined;
152
153
  infographics?: string[] | undefined;
153
- tags?: string[] | undefined;
154
154
  }, {
155
155
  title: string;
156
+ tags?: string[] | undefined;
156
157
  description?: string | undefined;
157
158
  categories?: string[] | undefined;
158
159
  duration?: number | undefined;
159
160
  learningOutcomes?: string[] | undefined;
160
161
  infographics?: string[] | undefined;
161
- tags?: string[] | undefined;
162
162
  }> | undefined;
163
- searchableFields?: ("description" | "title" | "categories" | "duration" | "learningOutcomes" | "infographics" | "tags")[] | undefined;
163
+ searchableFields?: ("tags" | "description" | "title" | "categories" | "duration" | "learningOutcomes" | "infographics")[] | undefined;
164
164
  mutual?: {
165
165
  subscribes?: {
166
166
  entityType: import("@monorise/base").Entity;
@@ -214,25 +214,25 @@ declare const config: {
214
214
  title: z.ZodString;
215
215
  }, z.UnknownKeysParam, z.ZodTypeAny, {
216
216
  title: string;
217
+ tags?: string[] | undefined;
217
218
  description?: string | undefined;
218
219
  videos?: string[] | undefined;
219
220
  categories?: string[] | undefined;
220
221
  duration?: number | undefined;
221
222
  learningOutcomes?: string[] | undefined;
222
223
  infographics?: string[] | undefined;
223
- tags?: string[] | undefined;
224
224
  moduleOrders?: string[] | undefined;
225
225
  chapters?: string[] | undefined;
226
226
  learningActivities?: string[] | undefined;
227
227
  }, {
228
228
  title: string;
229
+ tags?: string[] | undefined;
229
230
  description?: string | undefined;
230
231
  videos?: string[] | undefined;
231
232
  categories?: string[] | undefined;
232
233
  duration?: number | undefined;
233
234
  learningOutcomes?: string[] | undefined;
234
235
  infographics?: string[] | undefined;
235
- tags?: string[] | undefined;
236
236
  moduleOrders?: string[] | undefined;
237
237
  chapters?: string[] | undefined;
238
238
  learningActivities?: string[] | undefined;
@@ -252,56 +252,56 @@ declare const config: {
252
252
  title: z.ZodString;
253
253
  }, z.UnknownKeysParam, z.ZodTypeAny, {
254
254
  title: string;
255
+ tags?: string[] | undefined;
255
256
  description?: string | undefined;
256
257
  videos?: string[] | undefined;
257
258
  categories?: string[] | undefined;
258
259
  duration?: number | undefined;
259
260
  learningOutcomes?: string[] | undefined;
260
261
  infographics?: string[] | undefined;
261
- tags?: string[] | undefined;
262
262
  moduleOrders?: string[] | undefined;
263
263
  chapters?: string[] | undefined;
264
264
  learningActivities?: string[] | undefined;
265
265
  }, {
266
266
  title: string;
267
+ tags?: string[] | undefined;
267
268
  description?: string | undefined;
268
269
  videos?: string[] | undefined;
269
270
  categories?: string[] | undefined;
270
271
  duration?: number | undefined;
271
272
  learningOutcomes?: string[] | undefined;
272
273
  infographics?: string[] | undefined;
273
- tags?: string[] | undefined;
274
274
  moduleOrders?: string[] | undefined;
275
275
  chapters?: string[] | undefined;
276
276
  learningActivities?: string[] | undefined;
277
277
  }>, {
278
278
  title: string;
279
+ tags?: string[] | undefined;
279
280
  description?: string | undefined;
280
281
  videos?: string[] | undefined;
281
282
  categories?: string[] | undefined;
282
283
  duration?: number | undefined;
283
284
  learningOutcomes?: string[] | undefined;
284
285
  infographics?: string[] | undefined;
285
- tags?: string[] | undefined;
286
286
  moduleOrders?: string[] | undefined;
287
287
  chapters?: string[] | undefined;
288
288
  learningActivities?: string[] | undefined;
289
289
  }, {
290
290
  title: string;
291
+ tags?: string[] | undefined;
291
292
  description?: string | undefined;
292
293
  videos?: string[] | undefined;
293
294
  categories?: string[] | undefined;
294
295
  duration?: number | undefined;
295
296
  learningOutcomes?: string[] | undefined;
296
297
  infographics?: string[] | undefined;
297
- tags?: string[] | undefined;
298
298
  moduleOrders?: string[] | undefined;
299
299
  chapters?: string[] | undefined;
300
300
  learningActivities?: string[] | undefined;
301
301
  }>) | undefined;
302
302
  tags?: {
303
303
  name: string;
304
- processor: (entity: import("@monorise/react").CreatedEntity<import("@monorise/base").Entity>) => {
304
+ processor: (entity: import("@monorise/base").CreatedEntity<import("@monorise/base").Entity>) => {
305
305
  group?: string;
306
306
  sortValue?: string;
307
307
  }[];