@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
@@ -1,148 +1 @@
1
- //#region src/learning-journey.feature.ts
2
- /**
3
- * Learning Journey feature module that bundles course enrollment,
4
- * onboarding tracks, flashcard review, and gamification capabilities.
5
- */
6
- const LearningJourneyFeature = {
7
- meta: {
8
- key: "learning-journey",
9
- title: "Learning Journey",
10
- description: "Learning platform with courses, onboarding, flashcards, and gamification",
11
- domain: "learning",
12
- owners: ["@platform.learning-journey"],
13
- tags: [
14
- "learning",
15
- "onboarding",
16
- "courses",
17
- "flashcards",
18
- "gamification"
19
- ],
20
- stability: "stable"
21
- },
22
- operations: [
23
- {
24
- name: "learning.onboarding.recordEvent",
25
- version: 1
26
- },
27
- {
28
- name: "learning.onboarding.listTracks",
29
- version: 1
30
- },
31
- {
32
- name: "learning.onboarding.getProgress",
33
- version: 1
34
- },
35
- {
36
- name: "learning.enroll",
37
- version: 1
38
- },
39
- {
40
- name: "learning.completeLesson",
41
- version: 1
42
- },
43
- {
44
- name: "learning.submitCardReview",
45
- version: 1
46
- },
47
- {
48
- name: "learning.getDueCards",
49
- version: 1
50
- },
51
- {
52
- name: "learning.getDashboard",
53
- version: 1
54
- }
55
- ],
56
- events: [
57
- {
58
- name: "course.published",
59
- version: 1
60
- },
61
- {
62
- name: "course.completed",
63
- version: 1
64
- },
65
- {
66
- name: "enrollment.created",
67
- version: 1
68
- },
69
- {
70
- name: "lesson.completed",
71
- version: 1
72
- },
73
- {
74
- name: "onboarding.started",
75
- version: 1
76
- },
77
- {
78
- name: "onboarding.step_completed",
79
- version: 1
80
- },
81
- {
82
- name: "onboarding.completed",
83
- version: 1
84
- },
85
- {
86
- name: "flashcard.reviewed",
87
- version: 1
88
- },
89
- {
90
- name: "quiz.started",
91
- version: 1
92
- },
93
- {
94
- name: "quiz.completed",
95
- version: 1
96
- },
97
- {
98
- name: "xp.earned",
99
- version: 1
100
- },
101
- {
102
- name: "level.up",
103
- version: 1
104
- },
105
- {
106
- name: "streak.updated",
107
- version: 1
108
- },
109
- {
110
- name: "achievement.unlocked",
111
- version: 1
112
- },
113
- {
114
- name: "daily_goal.completed",
115
- version: 1
116
- },
117
- {
118
- name: "certificate.issued",
119
- version: 1
120
- }
121
- ],
122
- presentations: [],
123
- opToPresentation: [],
124
- presentationsTargets: [],
125
- capabilities: {
126
- provides: [
127
- {
128
- key: "learning-journey",
129
- version: 1
130
- },
131
- {
132
- key: "onboarding",
133
- version: 1
134
- },
135
- {
136
- key: "gamification",
137
- version: 1
138
- }
139
- ],
140
- requires: [{
141
- key: "identity",
142
- version: 1
143
- }]
144
- }
145
- };
146
-
147
- //#endregion
148
- export { LearningJourneyFeature };
1
+ const e={meta:{key:`learning-journey`,title:`Learning Journey`,description:`Learning platform with courses, onboarding, flashcards, and gamification`,domain:`learning`,owners:[`@platform.learning-journey`],tags:[`learning`,`onboarding`,`courses`,`flashcards`,`gamification`],stability:`stable`},operations:[{name:`learning.onboarding.recordEvent`,version:1},{name:`learning.onboarding.listTracks`,version:1},{name:`learning.onboarding.getProgress`,version:1},{name:`learning.enroll`,version:1},{name:`learning.completeLesson`,version:1},{name:`learning.submitCardReview`,version:1},{name:`learning.getDueCards`,version:1},{name:`learning.getDashboard`,version:1}],events:[{name:`course.published`,version:1},{name:`course.completed`,version:1},{name:`enrollment.created`,version:1},{name:`lesson.completed`,version:1},{name:`onboarding.started`,version:1},{name:`onboarding.step_completed`,version:1},{name:`onboarding.completed`,version:1},{name:`flashcard.reviewed`,version:1},{name:`quiz.started`,version:1},{name:`quiz.completed`,version:1},{name:`xp.earned`,version:1},{name:`level.up`,version:1},{name:`streak.updated`,version:1},{name:`achievement.unlocked`,version:1},{name:`daily_goal.completed`,version:1},{name:`certificate.issued`,version:1}],presentations:[],opToPresentation:[],presentationsTargets:[],capabilities:{provides:[{key:`learning-journey`,version:1},{key:`onboarding`,version:1},{key:`gamification`,version:1}],requires:[{key:`identity`,version:1}]}};export{e as LearningJourneyFeature};
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@lssm/module.learning-journey",
3
- "version": "0.0.0-canary-20251217083314",
3
+ "version": "1.41.0",
4
4
  "description": "Comprehensive learning journey engine - onboarding, LMS, flashcards, gamification, and AI personalization",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
10
- "publish:pkg:canary": "bun publish:pkg --tag canary",
11
10
  "build": "bun build:bundle && bun build:types",
12
11
  "build:bundle": "tsdown",
13
12
  "build:types": "tsc --noEmit",
@@ -18,39 +17,39 @@
18
17
  "lint:check": "eslint src"
19
18
  },
20
19
  "dependencies": {
21
- "@lssm/lib.schema": "0.0.0-canary-20251217083314",
22
- "@lssm/lib.contracts": "0.0.0-canary-20251217083314",
20
+ "@lssm/lib.schema": "workspace:*",
21
+ "@lssm/lib.contracts": "workspace:*",
23
22
  "zod": "^4.1.13"
24
23
  },
25
24
  "devDependencies": {
26
- "@lssm/tool.typescript": "0.0.0-canary-20251217083314",
27
- "@lssm/tool.tsdown": "0.0.0-canary-20251217083314",
25
+ "@lssm/tool.typescript": "workspace:*",
26
+ "@lssm/tool.tsdown": "workspace:*",
28
27
  "typescript": "^5.9.3"
29
28
  },
30
29
  "exports": {
31
- ".": "./dist/index.js",
32
- "./contracts": "./dist/contracts/index.js",
33
- "./contracts/models": "./dist/contracts/models.js",
34
- "./contracts/onboarding": "./dist/contracts/onboarding.js",
35
- "./contracts/operations": "./dist/contracts/operations.js",
36
- "./contracts/shared": "./dist/contracts/shared.js",
37
- "./docs": "./dist/docs/index.js",
38
- "./docs/learning-journey.docblock": "./dist/docs/learning-journey.docblock.js",
39
- "./engines": "./dist/engines/index.js",
40
- "./engines/srs": "./dist/engines/srs.js",
41
- "./engines/streak": "./dist/engines/streak.js",
42
- "./engines/xp": "./dist/engines/xp.js",
43
- "./entities": "./dist/entities/index.js",
44
- "./entities/ai": "./dist/entities/ai.js",
45
- "./entities/course": "./dist/entities/course.js",
46
- "./entities/flashcard": "./dist/entities/flashcard.js",
47
- "./entities/gamification": "./dist/entities/gamification.js",
48
- "./entities/learner": "./dist/entities/learner.js",
49
- "./entities/onboarding": "./dist/entities/onboarding.js",
50
- "./entities/quiz": "./dist/entities/quiz.js",
51
- "./events": "./dist/events.js",
52
- "./learning-journey.feature": "./dist/learning-journey.feature.js",
53
- "./track-spec": "./dist/track-spec.js",
30
+ ".": "./src/index.ts",
31
+ "./contracts": "./src/contracts/index.ts",
32
+ "./contracts/models": "./src/contracts/models.ts",
33
+ "./contracts/onboarding": "./src/contracts/onboarding.ts",
34
+ "./contracts/operations": "./src/contracts/operations.ts",
35
+ "./contracts/shared": "./src/contracts/shared.ts",
36
+ "./docs": "./src/docs/index.ts",
37
+ "./docs/learning-journey.docblock": "./src/docs/learning-journey.docblock.ts",
38
+ "./engines": "./src/engines/index.ts",
39
+ "./engines/srs": "./src/engines/srs.ts",
40
+ "./engines/streak": "./src/engines/streak.ts",
41
+ "./engines/xp": "./src/engines/xp.ts",
42
+ "./entities": "./src/entities/index.ts",
43
+ "./entities/ai": "./src/entities/ai.ts",
44
+ "./entities/course": "./src/entities/course.ts",
45
+ "./entities/flashcard": "./src/entities/flashcard.ts",
46
+ "./entities/gamification": "./src/entities/gamification.ts",
47
+ "./entities/learner": "./src/entities/learner.ts",
48
+ "./entities/onboarding": "./src/entities/onboarding.ts",
49
+ "./entities/quiz": "./src/entities/quiz.ts",
50
+ "./events": "./src/events.ts",
51
+ "./learning-journey.feature": "./src/learning-journey.feature.ts",
52
+ "./track-spec": "./src/track-spec.ts",
54
53
  "./*": "./*"
55
54
  },
56
55
  "module": "./dist/index.js",
@@ -1,5 +0,0 @@
1
- import { LEARNING_JOURNEY_OWNERS } from "./shared.js";
2
- import { AchievementModel, CardModel, CompleteLessonInput, CourseModel, DeckModel, EnrollInCourseInput, EnrollmentModel, GetDueCardsInput, GetDueCardsOutput, GetLearnerDashboardInput, LearnerDashboardModel, LearnerModel, ProgressModel, SubmitCardReviewInput, SuccessOutput } from "./models.js";
3
- import { CompleteLessonContract, EnrollInCourseContract, GetDueCardsContract, GetLearnerDashboardContract, SubmitCardReviewContract } from "./operations.js";
4
- import { GetOnboardingProgressContract, ListOnboardingTracksContract, OnboardingProgressModel, OnboardingStepModel, OnboardingStepProgressModel, OnboardingTrackModel, RecordOnboardingEventContract } from "./onboarding.js";
5
- export { AchievementModel, CardModel, CompleteLessonContract, CompleteLessonInput, CourseModel, DeckModel, EnrollInCourseContract, EnrollInCourseInput, EnrollmentModel, GetDueCardsContract, GetDueCardsInput, GetDueCardsOutput, GetLearnerDashboardContract, GetLearnerDashboardInput, GetOnboardingProgressContract, LEARNING_JOURNEY_OWNERS, LearnerDashboardModel, LearnerModel, ListOnboardingTracksContract, OnboardingProgressModel, OnboardingStepModel, OnboardingStepProgressModel, OnboardingTrackModel, ProgressModel, RecordOnboardingEventContract, SubmitCardReviewContract, SubmitCardReviewInput, SuccessOutput };
@@ -1,450 +0,0 @@
1
- import * as _lssm_lib_schema603 from "@lssm/lib.schema";
2
-
3
- //#region src/contracts/models.d.ts
4
- declare const CourseModel: _lssm_lib_schema603.SchemaModel<{
5
- id: {
6
- type: _lssm_lib_schema603.FieldType<string, string>;
7
- isOptional: false;
8
- };
9
- title: {
10
- type: _lssm_lib_schema603.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- slug: {
14
- type: _lssm_lib_schema603.FieldType<string, string>;
15
- isOptional: false;
16
- };
17
- description: {
18
- type: _lssm_lib_schema603.FieldType<string, string>;
19
- isOptional: true;
20
- };
21
- difficulty: {
22
- type: _lssm_lib_schema603.FieldType<string, string>;
23
- isOptional: false;
24
- };
25
- status: {
26
- type: _lssm_lib_schema603.FieldType<string, string>;
27
- isOptional: false;
28
- };
29
- estimatedDuration: {
30
- type: _lssm_lib_schema603.FieldType<number, number>;
31
- isOptional: true;
32
- };
33
- thumbnailUrl: {
34
- type: _lssm_lib_schema603.FieldType<string, string>;
35
- isOptional: true;
36
- };
37
- createdAt: {
38
- type: _lssm_lib_schema603.FieldType<Date, string>;
39
- isOptional: false;
40
- };
41
- }>;
42
- declare const LearnerModel: _lssm_lib_schema603.SchemaModel<{
43
- id: {
44
- type: _lssm_lib_schema603.FieldType<string, string>;
45
- isOptional: false;
46
- };
47
- userId: {
48
- type: _lssm_lib_schema603.FieldType<string, string>;
49
- isOptional: false;
50
- };
51
- displayName: {
52
- type: _lssm_lib_schema603.FieldType<string, string>;
53
- isOptional: true;
54
- };
55
- level: {
56
- type: _lssm_lib_schema603.FieldType<number, number>;
57
- isOptional: false;
58
- };
59
- totalXp: {
60
- type: _lssm_lib_schema603.FieldType<number, number>;
61
- isOptional: false;
62
- };
63
- currentStreak: {
64
- type: _lssm_lib_schema603.FieldType<number, number>;
65
- isOptional: false;
66
- };
67
- longestStreak: {
68
- type: _lssm_lib_schema603.FieldType<number, number>;
69
- isOptional: false;
70
- };
71
- createdAt: {
72
- type: _lssm_lib_schema603.FieldType<Date, string>;
73
- isOptional: false;
74
- };
75
- }>;
76
- declare const EnrollmentModel: _lssm_lib_schema603.SchemaModel<{
77
- id: {
78
- type: _lssm_lib_schema603.FieldType<string, string>;
79
- isOptional: false;
80
- };
81
- learnerId: {
82
- type: _lssm_lib_schema603.FieldType<string, string>;
83
- isOptional: false;
84
- };
85
- courseId: {
86
- type: _lssm_lib_schema603.FieldType<string, string>;
87
- isOptional: false;
88
- };
89
- status: {
90
- type: _lssm_lib_schema603.FieldType<string, string>;
91
- isOptional: false;
92
- };
93
- progress: {
94
- type: _lssm_lib_schema603.FieldType<number, number>;
95
- isOptional: false;
96
- };
97
- startedAt: {
98
- type: _lssm_lib_schema603.FieldType<Date, string>;
99
- isOptional: true;
100
- };
101
- completedAt: {
102
- type: _lssm_lib_schema603.FieldType<Date, string>;
103
- isOptional: true;
104
- };
105
- }>;
106
- declare const ProgressModel: _lssm_lib_schema603.SchemaModel<{
107
- id: {
108
- type: _lssm_lib_schema603.FieldType<string, string>;
109
- isOptional: false;
110
- };
111
- learnerId: {
112
- type: _lssm_lib_schema603.FieldType<string, string>;
113
- isOptional: false;
114
- };
115
- lessonId: {
116
- type: _lssm_lib_schema603.FieldType<string, string>;
117
- isOptional: false;
118
- };
119
- status: {
120
- type: _lssm_lib_schema603.FieldType<string, string>;
121
- isOptional: false;
122
- };
123
- progress: {
124
- type: _lssm_lib_schema603.FieldType<number, number>;
125
- isOptional: false;
126
- };
127
- score: {
128
- type: _lssm_lib_schema603.FieldType<number, number>;
129
- isOptional: true;
130
- };
131
- timeSpent: {
132
- type: _lssm_lib_schema603.FieldType<number, number>;
133
- isOptional: false;
134
- };
135
- completedAt: {
136
- type: _lssm_lib_schema603.FieldType<Date, string>;
137
- isOptional: true;
138
- };
139
- }>;
140
- declare const DeckModel: _lssm_lib_schema603.SchemaModel<{
141
- id: {
142
- type: _lssm_lib_schema603.FieldType<string, string>;
143
- isOptional: false;
144
- };
145
- title: {
146
- type: _lssm_lib_schema603.FieldType<string, string>;
147
- isOptional: false;
148
- };
149
- description: {
150
- type: _lssm_lib_schema603.FieldType<string, string>;
151
- isOptional: true;
152
- };
153
- cardCount: {
154
- type: _lssm_lib_schema603.FieldType<number, number>;
155
- isOptional: false;
156
- };
157
- isPublic: {
158
- type: _lssm_lib_schema603.FieldType<boolean, boolean>;
159
- isOptional: false;
160
- };
161
- createdAt: {
162
- type: _lssm_lib_schema603.FieldType<Date, string>;
163
- isOptional: false;
164
- };
165
- }>;
166
- declare const CardModel: _lssm_lib_schema603.SchemaModel<{
167
- id: {
168
- type: _lssm_lib_schema603.FieldType<string, string>;
169
- isOptional: false;
170
- };
171
- deckId: {
172
- type: _lssm_lib_schema603.FieldType<string, string>;
173
- isOptional: false;
174
- };
175
- front: {
176
- type: _lssm_lib_schema603.FieldType<string, string>;
177
- isOptional: false;
178
- };
179
- back: {
180
- type: _lssm_lib_schema603.FieldType<string, string>;
181
- isOptional: false;
182
- };
183
- hints: {
184
- type: _lssm_lib_schema603.FieldType<unknown, unknown>;
185
- isOptional: true;
186
- };
187
- isDue: {
188
- type: _lssm_lib_schema603.FieldType<boolean, boolean>;
189
- isOptional: false;
190
- };
191
- nextReviewAt: {
192
- type: _lssm_lib_schema603.FieldType<Date, string>;
193
- isOptional: true;
194
- };
195
- }>;
196
- declare const AchievementModel: _lssm_lib_schema603.SchemaModel<{
197
- id: {
198
- type: _lssm_lib_schema603.FieldType<string, string>;
199
- isOptional: false;
200
- };
201
- key: {
202
- type: _lssm_lib_schema603.FieldType<string, string>;
203
- isOptional: false;
204
- };
205
- name: {
206
- type: _lssm_lib_schema603.FieldType<string, string>;
207
- isOptional: false;
208
- };
209
- description: {
210
- type: _lssm_lib_schema603.FieldType<string, string>;
211
- isOptional: false;
212
- };
213
- icon: {
214
- type: _lssm_lib_schema603.FieldType<string, string>;
215
- isOptional: true;
216
- };
217
- xpReward: {
218
- type: _lssm_lib_schema603.FieldType<number, number>;
219
- isOptional: false;
220
- };
221
- unlockedAt: {
222
- type: _lssm_lib_schema603.FieldType<Date, string>;
223
- isOptional: true;
224
- };
225
- }>;
226
- declare const EnrollInCourseInput: _lssm_lib_schema603.SchemaModel<{
227
- courseId: {
228
- type: _lssm_lib_schema603.FieldType<string, string>;
229
- isOptional: false;
230
- };
231
- }>;
232
- declare const CompleteLessonInput: _lssm_lib_schema603.SchemaModel<{
233
- lessonId: {
234
- type: _lssm_lib_schema603.FieldType<string, string>;
235
- isOptional: false;
236
- };
237
- score: {
238
- type: _lssm_lib_schema603.FieldType<number, number>;
239
- isOptional: true;
240
- };
241
- timeSpent: {
242
- type: _lssm_lib_schema603.FieldType<number, number>;
243
- isOptional: false;
244
- };
245
- }>;
246
- declare const SubmitCardReviewInput: _lssm_lib_schema603.SchemaModel<{
247
- cardId: {
248
- type: _lssm_lib_schema603.FieldType<string, string>;
249
- isOptional: false;
250
- };
251
- rating: {
252
- type: _lssm_lib_schema603.FieldType<string, string>;
253
- isOptional: false;
254
- };
255
- responseTimeMs: {
256
- type: _lssm_lib_schema603.FieldType<number, number>;
257
- isOptional: true;
258
- };
259
- }>;
260
- declare const GetDueCardsInput: _lssm_lib_schema603.SchemaModel<{
261
- deckId: {
262
- type: _lssm_lib_schema603.FieldType<string, string>;
263
- isOptional: true;
264
- };
265
- limit: {
266
- type: _lssm_lib_schema603.FieldType<number, number>;
267
- isOptional: true;
268
- };
269
- }>;
270
- declare const GetDueCardsOutput: _lssm_lib_schema603.SchemaModel<{
271
- cards: {
272
- type: _lssm_lib_schema603.SchemaModel<{
273
- id: {
274
- type: _lssm_lib_schema603.FieldType<string, string>;
275
- isOptional: false;
276
- };
277
- deckId: {
278
- type: _lssm_lib_schema603.FieldType<string, string>;
279
- isOptional: false;
280
- };
281
- front: {
282
- type: _lssm_lib_schema603.FieldType<string, string>;
283
- isOptional: false;
284
- };
285
- back: {
286
- type: _lssm_lib_schema603.FieldType<string, string>;
287
- isOptional: false;
288
- };
289
- hints: {
290
- type: _lssm_lib_schema603.FieldType<unknown, unknown>;
291
- isOptional: true;
292
- };
293
- isDue: {
294
- type: _lssm_lib_schema603.FieldType<boolean, boolean>;
295
- isOptional: false;
296
- };
297
- nextReviewAt: {
298
- type: _lssm_lib_schema603.FieldType<Date, string>;
299
- isOptional: true;
300
- };
301
- }>;
302
- isArray: true;
303
- isOptional: false;
304
- };
305
- total: {
306
- type: _lssm_lib_schema603.FieldType<number, number>;
307
- isOptional: false;
308
- };
309
- }>;
310
- declare const GetLearnerDashboardInput: _lssm_lib_schema603.SchemaModel<{
311
- learnerId: {
312
- type: _lssm_lib_schema603.FieldType<string, string>;
313
- isOptional: true;
314
- };
315
- }>;
316
- declare const LearnerDashboardModel: _lssm_lib_schema603.SchemaModel<{
317
- learner: {
318
- type: _lssm_lib_schema603.SchemaModel<{
319
- id: {
320
- type: _lssm_lib_schema603.FieldType<string, string>;
321
- isOptional: false;
322
- };
323
- userId: {
324
- type: _lssm_lib_schema603.FieldType<string, string>;
325
- isOptional: false;
326
- };
327
- displayName: {
328
- type: _lssm_lib_schema603.FieldType<string, string>;
329
- isOptional: true;
330
- };
331
- level: {
332
- type: _lssm_lib_schema603.FieldType<number, number>;
333
- isOptional: false;
334
- };
335
- totalXp: {
336
- type: _lssm_lib_schema603.FieldType<number, number>;
337
- isOptional: false;
338
- };
339
- currentStreak: {
340
- type: _lssm_lib_schema603.FieldType<number, number>;
341
- isOptional: false;
342
- };
343
- longestStreak: {
344
- type: _lssm_lib_schema603.FieldType<number, number>;
345
- isOptional: false;
346
- };
347
- createdAt: {
348
- type: _lssm_lib_schema603.FieldType<Date, string>;
349
- isOptional: false;
350
- };
351
- }>;
352
- isOptional: false;
353
- };
354
- currentStreak: {
355
- type: _lssm_lib_schema603.FieldType<number, number>;
356
- isOptional: false;
357
- };
358
- dailyXpGoal: {
359
- type: _lssm_lib_schema603.FieldType<number, number>;
360
- isOptional: false;
361
- };
362
- dailyXpProgress: {
363
- type: _lssm_lib_schema603.FieldType<number, number>;
364
- isOptional: false;
365
- };
366
- activeEnrollments: {
367
- type: _lssm_lib_schema603.SchemaModel<{
368
- id: {
369
- type: _lssm_lib_schema603.FieldType<string, string>;
370
- isOptional: false;
371
- };
372
- learnerId: {
373
- type: _lssm_lib_schema603.FieldType<string, string>;
374
- isOptional: false;
375
- };
376
- courseId: {
377
- type: _lssm_lib_schema603.FieldType<string, string>;
378
- isOptional: false;
379
- };
380
- status: {
381
- type: _lssm_lib_schema603.FieldType<string, string>;
382
- isOptional: false;
383
- };
384
- progress: {
385
- type: _lssm_lib_schema603.FieldType<number, number>;
386
- isOptional: false;
387
- };
388
- startedAt: {
389
- type: _lssm_lib_schema603.FieldType<Date, string>;
390
- isOptional: true;
391
- };
392
- completedAt: {
393
- type: _lssm_lib_schema603.FieldType<Date, string>;
394
- isOptional: true;
395
- };
396
- }>;
397
- isArray: true;
398
- isOptional: false;
399
- };
400
- recentAchievements: {
401
- type: _lssm_lib_schema603.SchemaModel<{
402
- id: {
403
- type: _lssm_lib_schema603.FieldType<string, string>;
404
- isOptional: false;
405
- };
406
- key: {
407
- type: _lssm_lib_schema603.FieldType<string, string>;
408
- isOptional: false;
409
- };
410
- name: {
411
- type: _lssm_lib_schema603.FieldType<string, string>;
412
- isOptional: false;
413
- };
414
- description: {
415
- type: _lssm_lib_schema603.FieldType<string, string>;
416
- isOptional: false;
417
- };
418
- icon: {
419
- type: _lssm_lib_schema603.FieldType<string, string>;
420
- isOptional: true;
421
- };
422
- xpReward: {
423
- type: _lssm_lib_schema603.FieldType<number, number>;
424
- isOptional: false;
425
- };
426
- unlockedAt: {
427
- type: _lssm_lib_schema603.FieldType<Date, string>;
428
- isOptional: true;
429
- };
430
- }>;
431
- isArray: true;
432
- isOptional: false;
433
- };
434
- dueCardCount: {
435
- type: _lssm_lib_schema603.FieldType<number, number>;
436
- isOptional: false;
437
- };
438
- }>;
439
- declare const SuccessOutput: _lssm_lib_schema603.SchemaModel<{
440
- success: {
441
- type: _lssm_lib_schema603.FieldType<boolean, boolean>;
442
- isOptional: false;
443
- };
444
- xpEarned: {
445
- type: _lssm_lib_schema603.FieldType<number, number>;
446
- isOptional: true;
447
- };
448
- }>;
449
- //#endregion
450
- export { AchievementModel, CardModel, CompleteLessonInput, CourseModel, DeckModel, EnrollInCourseInput, EnrollmentModel, GetDueCardsInput, GetDueCardsOutput, GetLearnerDashboardInput, LearnerDashboardModel, LearnerModel, ProgressModel, SubmitCardReviewInput, SuccessOutput };