@lssm/module.learning-journey 0.0.0-canary-20251217083314 → 1.41.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 (167) hide show
  1. package/dist/contracts/index.js +1 -6
  2. package/dist/contracts/models.js +1 -389
  3. package/dist/contracts/onboarding.js +1 -404
  4. package/dist/contracts/operations.js +1 -151
  5. package/dist/contracts/shared.js +1 -5
  6. package/dist/docs/index.js +1 -1
  7. package/dist/docs/learning-journey.docblock.js +5 -61
  8. package/dist/engines/index.js +1 -5
  9. package/dist/engines/srs.js +1 -219
  10. package/dist/engines/streak.js +1 -193
  11. package/dist/engines/xp.js +1 -212
  12. package/dist/entities/ai.js +1 -376
  13. package/dist/entities/course.js +1 -316
  14. package/dist/entities/flashcard.js +1 -249
  15. package/dist/entities/gamification.js +1 -392
  16. package/dist/entities/index.js +1 -44
  17. package/dist/entities/learner.js +1 -365
  18. package/dist/entities/onboarding.js +1 -307
  19. package/dist/entities/quiz.js +1 -370
  20. package/dist/events.js +1 -583
  21. package/dist/index.js +1 -22
  22. package/dist/learning-journey.feature.js +1 -148
  23. package/package.json +28 -29
  24. package/dist/contracts/index.d.ts +0 -5
  25. package/dist/contracts/models.d.ts +0 -450
  26. package/dist/contracts/onboarding.d.ts +0 -665
  27. package/dist/contracts/operations.d.ts +0 -279
  28. package/dist/contracts/shared.d.ts +0 -4
  29. package/dist/docs/index.d.ts +0 -1
  30. package/dist/docs/learning-journey.docblock.d.ts +0 -1
  31. package/dist/engines/index.d.ts +0 -4
  32. package/dist/engines/srs.d.ts +0 -110
  33. package/dist/engines/streak.d.ts +0 -99
  34. package/dist/engines/xp.d.ts +0 -96
  35. package/dist/entities/ai.d.ts +0 -231
  36. package/dist/entities/course.d.ts +0 -183
  37. package/dist/entities/flashcard.d.ts +0 -169
  38. package/dist/entities/gamification.d.ts +0 -237
  39. package/dist/entities/index.d.ts +0 -628
  40. package/dist/entities/learner.d.ts +0 -223
  41. package/dist/entities/onboarding.d.ts +0 -189
  42. package/dist/entities/quiz.d.ts +0 -219
  43. package/dist/events.d.ts +0 -795
  44. package/dist/index.d.ts +0 -19
  45. package/dist/learning-journey.feature.d.ts +0 -11
  46. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
  47. package/dist/libs/contracts/dist/client/index.js +0 -5
  48. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
  49. package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
  50. package/dist/libs/contracts/dist/client/react/index.js +0 -4
  51. package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
  52. package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
  53. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  54. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  55. package/dist/libs/contracts/dist/docs/index.js +0 -29
  56. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  57. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  58. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  59. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  60. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  61. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  62. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  63. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  64. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  65. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  66. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  67. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  68. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  69. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  70. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  71. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  72. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  73. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  74. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  75. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  76. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  77. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  78. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  79. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  80. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  81. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  82. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  83. package/dist/libs/contracts/dist/events.js +0 -10
  84. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  85. package/dist/libs/contracts/dist/index.js +0 -71
  86. package/dist/libs/contracts/dist/install.js +0 -2
  87. package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
  88. package/dist/libs/contracts/dist/integrations/index.js +0 -18
  89. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
  90. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
  91. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
  92. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
  93. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
  94. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
  95. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
  96. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
  97. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
  98. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
  99. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
  100. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
  101. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
  102. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
  103. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
  104. package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
  105. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
  106. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
  107. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  108. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
  109. package/dist/libs/contracts/dist/knowledge/index.js +0 -7
  110. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
  111. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
  112. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
  113. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
  114. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
  115. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
  116. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
  117. package/dist/libs/contracts/dist/llm/exporters.js +0 -19
  118. package/dist/libs/contracts/dist/llm/index.js +0 -2
  119. package/dist/libs/contracts/dist/llm/prompts.js +0 -1
  120. package/dist/libs/contracts/dist/onboarding-base.js +0 -196
  121. package/dist/libs/contracts/dist/openapi.js +0 -1
  122. package/dist/libs/contracts/dist/ownership.js +0 -21
  123. package/dist/libs/contracts/dist/presentations.js +0 -1
  124. package/dist/libs/contracts/dist/presentations.v2.js +0 -11
  125. package/dist/libs/contracts/dist/prompt.js +0 -1
  126. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  127. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  128. package/dist/libs/contracts/dist/regenerator/service.js +0 -6
  129. package/dist/libs/contracts/dist/registry.js +0 -2
  130. package/dist/libs/contracts/dist/resources.js +0 -1
  131. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  132. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  133. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  134. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
  135. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  136. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  137. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  138. package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
  139. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
  140. package/dist/libs/contracts/dist/server/index.js +0 -8
  141. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
  142. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
  143. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
  144. package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
  145. package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
  146. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  147. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  148. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  149. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  150. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  151. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  152. package/dist/libs/contracts/dist/spec.js +0 -34
  153. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  154. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  155. package/dist/libs/contracts/dist/tests/index.js +0 -1
  156. package/dist/libs/contracts/dist/tests/runner.js +0 -2
  157. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  158. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  159. package/dist/libs/schema/dist/EnumType.js +0 -2
  160. package/dist/libs/schema/dist/FieldType.js +0 -49
  161. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  162. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  163. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  164. package/dist/libs/schema/dist/entity/index.js +0 -2
  165. package/dist/libs/schema/dist/entity/types.js +0 -1
  166. package/dist/libs/schema/dist/index.js +0 -6
  167. package/dist/track-spec.d.ts +0 -128
package/dist/events.d.ts DELETED
@@ -1,795 +0,0 @@
1
- import * as _lssm_lib_schema1108 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
3
-
4
- //#region src/events.d.ts
5
- declare const CoursePublishedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
6
- courseId: {
7
- type: _lssm_lib_schema1108.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- title: {
11
- type: _lssm_lib_schema1108.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- authorId: {
15
- type: _lssm_lib_schema1108.FieldType<string, string>;
16
- isOptional: false;
17
- };
18
- publishedAt: {
19
- type: _lssm_lib_schema1108.FieldType<Date, string>;
20
- isOptional: false;
21
- };
22
- }>>;
23
- declare const EnrollmentCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
24
- enrollmentId: {
25
- type: _lssm_lib_schema1108.FieldType<string, string>;
26
- isOptional: false;
27
- };
28
- learnerId: {
29
- type: _lssm_lib_schema1108.FieldType<string, string>;
30
- isOptional: false;
31
- };
32
- courseId: {
33
- type: _lssm_lib_schema1108.FieldType<string, string>;
34
- isOptional: false;
35
- };
36
- enrolledAt: {
37
- type: _lssm_lib_schema1108.FieldType<Date, string>;
38
- isOptional: false;
39
- };
40
- }>>;
41
- declare const LessonCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
42
- learnerId: {
43
- type: _lssm_lib_schema1108.FieldType<string, string>;
44
- isOptional: false;
45
- };
46
- lessonId: {
47
- type: _lssm_lib_schema1108.FieldType<string, string>;
48
- isOptional: false;
49
- };
50
- courseId: {
51
- type: _lssm_lib_schema1108.FieldType<string, string>;
52
- isOptional: false;
53
- };
54
- score: {
55
- type: _lssm_lib_schema1108.FieldType<number, number>;
56
- isOptional: true;
57
- };
58
- xpEarned: {
59
- type: _lssm_lib_schema1108.FieldType<number, number>;
60
- isOptional: false;
61
- };
62
- timeSpent: {
63
- type: _lssm_lib_schema1108.FieldType<number, number>;
64
- isOptional: false;
65
- };
66
- completedAt: {
67
- type: _lssm_lib_schema1108.FieldType<Date, string>;
68
- isOptional: false;
69
- };
70
- }>>;
71
- declare const CourseCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
72
- learnerId: {
73
- type: _lssm_lib_schema1108.FieldType<string, string>;
74
- isOptional: false;
75
- };
76
- courseId: {
77
- type: _lssm_lib_schema1108.FieldType<string, string>;
78
- isOptional: false;
79
- };
80
- enrollmentId: {
81
- type: _lssm_lib_schema1108.FieldType<string, string>;
82
- isOptional: false;
83
- };
84
- score: {
85
- type: _lssm_lib_schema1108.FieldType<number, number>;
86
- isOptional: true;
87
- };
88
- xpEarned: {
89
- type: _lssm_lib_schema1108.FieldType<number, number>;
90
- isOptional: false;
91
- };
92
- certificateId: {
93
- type: _lssm_lib_schema1108.FieldType<string, string>;
94
- isOptional: true;
95
- };
96
- completedAt: {
97
- type: _lssm_lib_schema1108.FieldType<Date, string>;
98
- isOptional: false;
99
- };
100
- }>>;
101
- declare const OnboardingStartedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
102
- learnerId: {
103
- type: _lssm_lib_schema1108.FieldType<string, string>;
104
- isOptional: false;
105
- };
106
- trackId: {
107
- type: _lssm_lib_schema1108.FieldType<string, string>;
108
- isOptional: false;
109
- };
110
- productId: {
111
- type: _lssm_lib_schema1108.FieldType<string, string>;
112
- isOptional: false;
113
- };
114
- startedAt: {
115
- type: _lssm_lib_schema1108.FieldType<Date, string>;
116
- isOptional: false;
117
- };
118
- }>>;
119
- declare const OnboardingStepCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
120
- learnerId: {
121
- type: _lssm_lib_schema1108.FieldType<string, string>;
122
- isOptional: false;
123
- };
124
- trackId: {
125
- type: _lssm_lib_schema1108.FieldType<string, string>;
126
- isOptional: false;
127
- };
128
- stepId: {
129
- type: _lssm_lib_schema1108.FieldType<string, string>;
130
- isOptional: false;
131
- };
132
- triggeringEvent: {
133
- type: _lssm_lib_schema1108.FieldType<string, string>;
134
- isOptional: true;
135
- };
136
- xpEarned: {
137
- type: _lssm_lib_schema1108.FieldType<number, number>;
138
- isOptional: false;
139
- };
140
- completedAt: {
141
- type: _lssm_lib_schema1108.FieldType<Date, string>;
142
- isOptional: false;
143
- };
144
- }>>;
145
- declare const OnboardingCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
146
- learnerId: {
147
- type: _lssm_lib_schema1108.FieldType<string, string>;
148
- isOptional: false;
149
- };
150
- trackId: {
151
- type: _lssm_lib_schema1108.FieldType<string, string>;
152
- isOptional: false;
153
- };
154
- productId: {
155
- type: _lssm_lib_schema1108.FieldType<string, string>;
156
- isOptional: false;
157
- };
158
- xpEarned: {
159
- type: _lssm_lib_schema1108.FieldType<number, number>;
160
- isOptional: false;
161
- };
162
- completedAt: {
163
- type: _lssm_lib_schema1108.FieldType<Date, string>;
164
- isOptional: false;
165
- };
166
- }>>;
167
- declare const CardReviewedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
168
- learnerId: {
169
- type: _lssm_lib_schema1108.FieldType<string, string>;
170
- isOptional: false;
171
- };
172
- cardId: {
173
- type: _lssm_lib_schema1108.FieldType<string, string>;
174
- isOptional: false;
175
- };
176
- deckId: {
177
- type: _lssm_lib_schema1108.FieldType<string, string>;
178
- isOptional: false;
179
- };
180
- rating: {
181
- type: _lssm_lib_schema1108.FieldType<string, string>;
182
- isOptional: false;
183
- };
184
- responseTimeMs: {
185
- type: _lssm_lib_schema1108.FieldType<number, number>;
186
- isOptional: true;
187
- };
188
- reviewedAt: {
189
- type: _lssm_lib_schema1108.FieldType<Date, string>;
190
- isOptional: false;
191
- };
192
- }>>;
193
- declare const QuizStartedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
194
- learnerId: {
195
- type: _lssm_lib_schema1108.FieldType<string, string>;
196
- isOptional: false;
197
- };
198
- quizId: {
199
- type: _lssm_lib_schema1108.FieldType<string, string>;
200
- isOptional: false;
201
- };
202
- attemptId: {
203
- type: _lssm_lib_schema1108.FieldType<string, string>;
204
- isOptional: false;
205
- };
206
- attemptNumber: {
207
- type: _lssm_lib_schema1108.FieldType<number, number>;
208
- isOptional: false;
209
- };
210
- startedAt: {
211
- type: _lssm_lib_schema1108.FieldType<Date, string>;
212
- isOptional: false;
213
- };
214
- }>>;
215
- declare const QuizCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
216
- learnerId: {
217
- type: _lssm_lib_schema1108.FieldType<string, string>;
218
- isOptional: false;
219
- };
220
- quizId: {
221
- type: _lssm_lib_schema1108.FieldType<string, string>;
222
- isOptional: false;
223
- };
224
- attemptId: {
225
- type: _lssm_lib_schema1108.FieldType<string, string>;
226
- isOptional: false;
227
- };
228
- score: {
229
- type: _lssm_lib_schema1108.FieldType<number, number>;
230
- isOptional: false;
231
- };
232
- percentageScore: {
233
- type: _lssm_lib_schema1108.FieldType<number, number>;
234
- isOptional: false;
235
- };
236
- passed: {
237
- type: _lssm_lib_schema1108.FieldType<boolean, boolean>;
238
- isOptional: false;
239
- };
240
- xpEarned: {
241
- type: _lssm_lib_schema1108.FieldType<number, number>;
242
- isOptional: false;
243
- };
244
- timeSpent: {
245
- type: _lssm_lib_schema1108.FieldType<number, number>;
246
- isOptional: false;
247
- };
248
- completedAt: {
249
- type: _lssm_lib_schema1108.FieldType<Date, string>;
250
- isOptional: false;
251
- };
252
- }>>;
253
- declare const XpEarnedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
254
- learnerId: {
255
- type: _lssm_lib_schema1108.FieldType<string, string>;
256
- isOptional: false;
257
- };
258
- amount: {
259
- type: _lssm_lib_schema1108.FieldType<number, number>;
260
- isOptional: false;
261
- };
262
- source: {
263
- type: _lssm_lib_schema1108.FieldType<string, string>;
264
- isOptional: false;
265
- };
266
- sourceId: {
267
- type: _lssm_lib_schema1108.FieldType<string, string>;
268
- isOptional: true;
269
- };
270
- totalXp: {
271
- type: _lssm_lib_schema1108.FieldType<number, number>;
272
- isOptional: false;
273
- };
274
- earnedAt: {
275
- type: _lssm_lib_schema1108.FieldType<Date, string>;
276
- isOptional: false;
277
- };
278
- }>>;
279
- declare const LevelUpEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
280
- learnerId: {
281
- type: _lssm_lib_schema1108.FieldType<string, string>;
282
- isOptional: false;
283
- };
284
- previousLevel: {
285
- type: _lssm_lib_schema1108.FieldType<number, number>;
286
- isOptional: false;
287
- };
288
- newLevel: {
289
- type: _lssm_lib_schema1108.FieldType<number, number>;
290
- isOptional: false;
291
- };
292
- totalXp: {
293
- type: _lssm_lib_schema1108.FieldType<number, number>;
294
- isOptional: false;
295
- };
296
- leveledUpAt: {
297
- type: _lssm_lib_schema1108.FieldType<Date, string>;
298
- isOptional: false;
299
- };
300
- }>>;
301
- declare const StreakUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
302
- learnerId: {
303
- type: _lssm_lib_schema1108.FieldType<string, string>;
304
- isOptional: false;
305
- };
306
- previousStreak: {
307
- type: _lssm_lib_schema1108.FieldType<number, number>;
308
- isOptional: false;
309
- };
310
- currentStreak: {
311
- type: _lssm_lib_schema1108.FieldType<number, number>;
312
- isOptional: false;
313
- };
314
- longestStreak: {
315
- type: _lssm_lib_schema1108.FieldType<number, number>;
316
- isOptional: false;
317
- };
318
- freezeUsed: {
319
- type: _lssm_lib_schema1108.FieldType<boolean, boolean>;
320
- isOptional: false;
321
- };
322
- updatedAt: {
323
- type: _lssm_lib_schema1108.FieldType<Date, string>;
324
- isOptional: false;
325
- };
326
- }>>;
327
- declare const AchievementUnlockedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
328
- learnerId: {
329
- type: _lssm_lib_schema1108.FieldType<string, string>;
330
- isOptional: false;
331
- };
332
- achievementId: {
333
- type: _lssm_lib_schema1108.FieldType<string, string>;
334
- isOptional: false;
335
- };
336
- achievementKey: {
337
- type: _lssm_lib_schema1108.FieldType<string, string>;
338
- isOptional: false;
339
- };
340
- achievementName: {
341
- type: _lssm_lib_schema1108.FieldType<string, string>;
342
- isOptional: false;
343
- };
344
- xpEarned: {
345
- type: _lssm_lib_schema1108.FieldType<number, number>;
346
- isOptional: false;
347
- };
348
- unlockedAt: {
349
- type: _lssm_lib_schema1108.FieldType<Date, string>;
350
- isOptional: false;
351
- };
352
- }>>;
353
- declare const DailyGoalCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
354
- learnerId: {
355
- type: _lssm_lib_schema1108.FieldType<string, string>;
356
- isOptional: false;
357
- };
358
- date: {
359
- type: _lssm_lib_schema1108.FieldType<string, string>;
360
- isOptional: false;
361
- };
362
- targetXp: {
363
- type: _lssm_lib_schema1108.FieldType<number, number>;
364
- isOptional: false;
365
- };
366
- actualXp: {
367
- type: _lssm_lib_schema1108.FieldType<number, number>;
368
- isOptional: false;
369
- };
370
- completedAt: {
371
- type: _lssm_lib_schema1108.FieldType<Date, string>;
372
- isOptional: false;
373
- };
374
- }>>;
375
- declare const CertificateIssuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
376
- certificateId: {
377
- type: _lssm_lib_schema1108.FieldType<string, string>;
378
- isOptional: false;
379
- };
380
- learnerId: {
381
- type: _lssm_lib_schema1108.FieldType<string, string>;
382
- isOptional: false;
383
- };
384
- courseId: {
385
- type: _lssm_lib_schema1108.FieldType<string, string>;
386
- isOptional: false;
387
- };
388
- certificateNumber: {
389
- type: _lssm_lib_schema1108.FieldType<string, string>;
390
- isOptional: false;
391
- };
392
- issuedAt: {
393
- type: _lssm_lib_schema1108.FieldType<Date, string>;
394
- isOptional: false;
395
- };
396
- }>>;
397
- /**
398
- * All learning journey events.
399
- */
400
- declare const LearningJourneyEvents: {
401
- CoursePublishedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
402
- courseId: {
403
- type: _lssm_lib_schema1108.FieldType<string, string>;
404
- isOptional: false;
405
- };
406
- title: {
407
- type: _lssm_lib_schema1108.FieldType<string, string>;
408
- isOptional: false;
409
- };
410
- authorId: {
411
- type: _lssm_lib_schema1108.FieldType<string, string>;
412
- isOptional: false;
413
- };
414
- publishedAt: {
415
- type: _lssm_lib_schema1108.FieldType<Date, string>;
416
- isOptional: false;
417
- };
418
- }>>;
419
- EnrollmentCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
420
- enrollmentId: {
421
- type: _lssm_lib_schema1108.FieldType<string, string>;
422
- isOptional: false;
423
- };
424
- learnerId: {
425
- type: _lssm_lib_schema1108.FieldType<string, string>;
426
- isOptional: false;
427
- };
428
- courseId: {
429
- type: _lssm_lib_schema1108.FieldType<string, string>;
430
- isOptional: false;
431
- };
432
- enrolledAt: {
433
- type: _lssm_lib_schema1108.FieldType<Date, string>;
434
- isOptional: false;
435
- };
436
- }>>;
437
- LessonCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
438
- learnerId: {
439
- type: _lssm_lib_schema1108.FieldType<string, string>;
440
- isOptional: false;
441
- };
442
- lessonId: {
443
- type: _lssm_lib_schema1108.FieldType<string, string>;
444
- isOptional: false;
445
- };
446
- courseId: {
447
- type: _lssm_lib_schema1108.FieldType<string, string>;
448
- isOptional: false;
449
- };
450
- score: {
451
- type: _lssm_lib_schema1108.FieldType<number, number>;
452
- isOptional: true;
453
- };
454
- xpEarned: {
455
- type: _lssm_lib_schema1108.FieldType<number, number>;
456
- isOptional: false;
457
- };
458
- timeSpent: {
459
- type: _lssm_lib_schema1108.FieldType<number, number>;
460
- isOptional: false;
461
- };
462
- completedAt: {
463
- type: _lssm_lib_schema1108.FieldType<Date, string>;
464
- isOptional: false;
465
- };
466
- }>>;
467
- CourseCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
468
- learnerId: {
469
- type: _lssm_lib_schema1108.FieldType<string, string>;
470
- isOptional: false;
471
- };
472
- courseId: {
473
- type: _lssm_lib_schema1108.FieldType<string, string>;
474
- isOptional: false;
475
- };
476
- enrollmentId: {
477
- type: _lssm_lib_schema1108.FieldType<string, string>;
478
- isOptional: false;
479
- };
480
- score: {
481
- type: _lssm_lib_schema1108.FieldType<number, number>;
482
- isOptional: true;
483
- };
484
- xpEarned: {
485
- type: _lssm_lib_schema1108.FieldType<number, number>;
486
- isOptional: false;
487
- };
488
- certificateId: {
489
- type: _lssm_lib_schema1108.FieldType<string, string>;
490
- isOptional: true;
491
- };
492
- completedAt: {
493
- type: _lssm_lib_schema1108.FieldType<Date, string>;
494
- isOptional: false;
495
- };
496
- }>>;
497
- OnboardingStartedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
498
- learnerId: {
499
- type: _lssm_lib_schema1108.FieldType<string, string>;
500
- isOptional: false;
501
- };
502
- trackId: {
503
- type: _lssm_lib_schema1108.FieldType<string, string>;
504
- isOptional: false;
505
- };
506
- productId: {
507
- type: _lssm_lib_schema1108.FieldType<string, string>;
508
- isOptional: false;
509
- };
510
- startedAt: {
511
- type: _lssm_lib_schema1108.FieldType<Date, string>;
512
- isOptional: false;
513
- };
514
- }>>;
515
- OnboardingStepCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
516
- learnerId: {
517
- type: _lssm_lib_schema1108.FieldType<string, string>;
518
- isOptional: false;
519
- };
520
- trackId: {
521
- type: _lssm_lib_schema1108.FieldType<string, string>;
522
- isOptional: false;
523
- };
524
- stepId: {
525
- type: _lssm_lib_schema1108.FieldType<string, string>;
526
- isOptional: false;
527
- };
528
- triggeringEvent: {
529
- type: _lssm_lib_schema1108.FieldType<string, string>;
530
- isOptional: true;
531
- };
532
- xpEarned: {
533
- type: _lssm_lib_schema1108.FieldType<number, number>;
534
- isOptional: false;
535
- };
536
- completedAt: {
537
- type: _lssm_lib_schema1108.FieldType<Date, string>;
538
- isOptional: false;
539
- };
540
- }>>;
541
- OnboardingCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
542
- learnerId: {
543
- type: _lssm_lib_schema1108.FieldType<string, string>;
544
- isOptional: false;
545
- };
546
- trackId: {
547
- type: _lssm_lib_schema1108.FieldType<string, string>;
548
- isOptional: false;
549
- };
550
- productId: {
551
- type: _lssm_lib_schema1108.FieldType<string, string>;
552
- isOptional: false;
553
- };
554
- xpEarned: {
555
- type: _lssm_lib_schema1108.FieldType<number, number>;
556
- isOptional: false;
557
- };
558
- completedAt: {
559
- type: _lssm_lib_schema1108.FieldType<Date, string>;
560
- isOptional: false;
561
- };
562
- }>>;
563
- CardReviewedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
564
- learnerId: {
565
- type: _lssm_lib_schema1108.FieldType<string, string>;
566
- isOptional: false;
567
- };
568
- cardId: {
569
- type: _lssm_lib_schema1108.FieldType<string, string>;
570
- isOptional: false;
571
- };
572
- deckId: {
573
- type: _lssm_lib_schema1108.FieldType<string, string>;
574
- isOptional: false;
575
- };
576
- rating: {
577
- type: _lssm_lib_schema1108.FieldType<string, string>;
578
- isOptional: false;
579
- };
580
- responseTimeMs: {
581
- type: _lssm_lib_schema1108.FieldType<number, number>;
582
- isOptional: true;
583
- };
584
- reviewedAt: {
585
- type: _lssm_lib_schema1108.FieldType<Date, string>;
586
- isOptional: false;
587
- };
588
- }>>;
589
- QuizStartedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
590
- learnerId: {
591
- type: _lssm_lib_schema1108.FieldType<string, string>;
592
- isOptional: false;
593
- };
594
- quizId: {
595
- type: _lssm_lib_schema1108.FieldType<string, string>;
596
- isOptional: false;
597
- };
598
- attemptId: {
599
- type: _lssm_lib_schema1108.FieldType<string, string>;
600
- isOptional: false;
601
- };
602
- attemptNumber: {
603
- type: _lssm_lib_schema1108.FieldType<number, number>;
604
- isOptional: false;
605
- };
606
- startedAt: {
607
- type: _lssm_lib_schema1108.FieldType<Date, string>;
608
- isOptional: false;
609
- };
610
- }>>;
611
- QuizCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
612
- learnerId: {
613
- type: _lssm_lib_schema1108.FieldType<string, string>;
614
- isOptional: false;
615
- };
616
- quizId: {
617
- type: _lssm_lib_schema1108.FieldType<string, string>;
618
- isOptional: false;
619
- };
620
- attemptId: {
621
- type: _lssm_lib_schema1108.FieldType<string, string>;
622
- isOptional: false;
623
- };
624
- score: {
625
- type: _lssm_lib_schema1108.FieldType<number, number>;
626
- isOptional: false;
627
- };
628
- percentageScore: {
629
- type: _lssm_lib_schema1108.FieldType<number, number>;
630
- isOptional: false;
631
- };
632
- passed: {
633
- type: _lssm_lib_schema1108.FieldType<boolean, boolean>;
634
- isOptional: false;
635
- };
636
- xpEarned: {
637
- type: _lssm_lib_schema1108.FieldType<number, number>;
638
- isOptional: false;
639
- };
640
- timeSpent: {
641
- type: _lssm_lib_schema1108.FieldType<number, number>;
642
- isOptional: false;
643
- };
644
- completedAt: {
645
- type: _lssm_lib_schema1108.FieldType<Date, string>;
646
- isOptional: false;
647
- };
648
- }>>;
649
- XpEarnedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
650
- learnerId: {
651
- type: _lssm_lib_schema1108.FieldType<string, string>;
652
- isOptional: false;
653
- };
654
- amount: {
655
- type: _lssm_lib_schema1108.FieldType<number, number>;
656
- isOptional: false;
657
- };
658
- source: {
659
- type: _lssm_lib_schema1108.FieldType<string, string>;
660
- isOptional: false;
661
- };
662
- sourceId: {
663
- type: _lssm_lib_schema1108.FieldType<string, string>;
664
- isOptional: true;
665
- };
666
- totalXp: {
667
- type: _lssm_lib_schema1108.FieldType<number, number>;
668
- isOptional: false;
669
- };
670
- earnedAt: {
671
- type: _lssm_lib_schema1108.FieldType<Date, string>;
672
- isOptional: false;
673
- };
674
- }>>;
675
- LevelUpEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
676
- learnerId: {
677
- type: _lssm_lib_schema1108.FieldType<string, string>;
678
- isOptional: false;
679
- };
680
- previousLevel: {
681
- type: _lssm_lib_schema1108.FieldType<number, number>;
682
- isOptional: false;
683
- };
684
- newLevel: {
685
- type: _lssm_lib_schema1108.FieldType<number, number>;
686
- isOptional: false;
687
- };
688
- totalXp: {
689
- type: _lssm_lib_schema1108.FieldType<number, number>;
690
- isOptional: false;
691
- };
692
- leveledUpAt: {
693
- type: _lssm_lib_schema1108.FieldType<Date, string>;
694
- isOptional: false;
695
- };
696
- }>>;
697
- StreakUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
698
- learnerId: {
699
- type: _lssm_lib_schema1108.FieldType<string, string>;
700
- isOptional: false;
701
- };
702
- previousStreak: {
703
- type: _lssm_lib_schema1108.FieldType<number, number>;
704
- isOptional: false;
705
- };
706
- currentStreak: {
707
- type: _lssm_lib_schema1108.FieldType<number, number>;
708
- isOptional: false;
709
- };
710
- longestStreak: {
711
- type: _lssm_lib_schema1108.FieldType<number, number>;
712
- isOptional: false;
713
- };
714
- freezeUsed: {
715
- type: _lssm_lib_schema1108.FieldType<boolean, boolean>;
716
- isOptional: false;
717
- };
718
- updatedAt: {
719
- type: _lssm_lib_schema1108.FieldType<Date, string>;
720
- isOptional: false;
721
- };
722
- }>>;
723
- AchievementUnlockedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
724
- learnerId: {
725
- type: _lssm_lib_schema1108.FieldType<string, string>;
726
- isOptional: false;
727
- };
728
- achievementId: {
729
- type: _lssm_lib_schema1108.FieldType<string, string>;
730
- isOptional: false;
731
- };
732
- achievementKey: {
733
- type: _lssm_lib_schema1108.FieldType<string, string>;
734
- isOptional: false;
735
- };
736
- achievementName: {
737
- type: _lssm_lib_schema1108.FieldType<string, string>;
738
- isOptional: false;
739
- };
740
- xpEarned: {
741
- type: _lssm_lib_schema1108.FieldType<number, number>;
742
- isOptional: false;
743
- };
744
- unlockedAt: {
745
- type: _lssm_lib_schema1108.FieldType<Date, string>;
746
- isOptional: false;
747
- };
748
- }>>;
749
- DailyGoalCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
750
- learnerId: {
751
- type: _lssm_lib_schema1108.FieldType<string, string>;
752
- isOptional: false;
753
- };
754
- date: {
755
- type: _lssm_lib_schema1108.FieldType<string, string>;
756
- isOptional: false;
757
- };
758
- targetXp: {
759
- type: _lssm_lib_schema1108.FieldType<number, number>;
760
- isOptional: false;
761
- };
762
- actualXp: {
763
- type: _lssm_lib_schema1108.FieldType<number, number>;
764
- isOptional: false;
765
- };
766
- completedAt: {
767
- type: _lssm_lib_schema1108.FieldType<Date, string>;
768
- isOptional: false;
769
- };
770
- }>>;
771
- CertificateIssuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema1108.SchemaModel<{
772
- certificateId: {
773
- type: _lssm_lib_schema1108.FieldType<string, string>;
774
- isOptional: false;
775
- };
776
- learnerId: {
777
- type: _lssm_lib_schema1108.FieldType<string, string>;
778
- isOptional: false;
779
- };
780
- courseId: {
781
- type: _lssm_lib_schema1108.FieldType<string, string>;
782
- isOptional: false;
783
- };
784
- certificateNumber: {
785
- type: _lssm_lib_schema1108.FieldType<string, string>;
786
- isOptional: false;
787
- };
788
- issuedAt: {
789
- type: _lssm_lib_schema1108.FieldType<Date, string>;
790
- isOptional: false;
791
- };
792
- }>>;
793
- };
794
- //#endregion
795
- export { AchievementUnlockedEvent, CardReviewedEvent, CertificateIssuedEvent, CourseCompletedEvent, CoursePublishedEvent, DailyGoalCompletedEvent, EnrollmentCreatedEvent, LearningJourneyEvents, LessonCompletedEvent, LevelUpEvent, OnboardingCompletedEvent, OnboardingStartedEvent, OnboardingStepCompletedEvent, QuizCompletedEvent, QuizStartedEvent, StreakUpdatedEvent, XpEarnedEvent };