@lssm/module.learning-journey 0.0.0-canary-20251217083314 → 0.0.0-canary-20251219202229

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 (215) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/dist/contracts/models.d.ts +120 -119
  4. package/dist/contracts/models.d.ts.map +1 -0
  5. package/dist/contracts/models.js +87 -88
  6. package/dist/contracts/models.js.map +1 -0
  7. package/dist/contracts/onboarding.d.ts +170 -169
  8. package/dist/contracts/onboarding.d.ts.map +1 -0
  9. package/dist/contracts/onboarding.js +71 -72
  10. package/dist/contracts/onboarding.js.map +1 -0
  11. package/dist/contracts/operations.d.ts +73 -72
  12. package/dist/contracts/operations.d.ts.map +1 -0
  13. package/dist/contracts/operations.js +2 -1
  14. package/dist/contracts/operations.js.map +1 -0
  15. package/dist/contracts/shared.d.ts +2 -1
  16. package/dist/contracts/shared.d.ts.map +1 -0
  17. package/dist/contracts/shared.js +2 -1
  18. package/dist/contracts/shared.js.map +1 -0
  19. package/dist/docs/learning-journey.docblock.js +2 -1
  20. package/dist/docs/learning-journey.docblock.js.map +1 -0
  21. package/dist/engines/srs.d.ts +2 -1
  22. package/dist/engines/srs.d.ts.map +1 -0
  23. package/dist/engines/srs.js +2 -1
  24. package/dist/engines/srs.js.map +1 -0
  25. package/dist/engines/streak.d.ts +2 -1
  26. package/dist/engines/streak.d.ts.map +1 -0
  27. package/dist/engines/streak.js +2 -1
  28. package/dist/engines/streak.js.map +1 -0
  29. package/dist/engines/xp.d.ts +2 -1
  30. package/dist/engines/xp.d.ts.map +1 -0
  31. package/dist/engines/xp.js +2 -1
  32. package/dist/engines/xp.js.map +1 -0
  33. package/dist/entities/ai.d.ts +202 -201
  34. package/dist/entities/ai.d.ts.map +1 -0
  35. package/dist/entities/ai.js +114 -114
  36. package/dist/entities/ai.js.map +1 -0
  37. package/dist/entities/course.d.ts +152 -151
  38. package/dist/entities/course.d.ts.map +1 -0
  39. package/dist/entities/course.js +86 -86
  40. package/dist/entities/course.js.map +1 -0
  41. package/dist/entities/flashcard.d.ts +147 -146
  42. package/dist/entities/flashcard.d.ts.map +1 -0
  43. package/dist/entities/flashcard.js +85 -85
  44. package/dist/entities/flashcard.js.map +1 -0
  45. package/dist/entities/gamification.d.ts +200 -199
  46. package/dist/entities/gamification.d.ts.map +1 -0
  47. package/dist/entities/gamification.js +120 -120
  48. package/dist/entities/gamification.js.map +1 -0
  49. package/dist/entities/index.d.ts +607 -606
  50. package/dist/entities/index.d.ts.map +1 -0
  51. package/dist/entities/index.js +2 -1
  52. package/dist/entities/index.js.map +1 -0
  53. package/dist/entities/learner.d.ts +194 -193
  54. package/dist/entities/learner.d.ts.map +1 -0
  55. package/dist/entities/learner.js +113 -113
  56. package/dist/entities/learner.js.map +1 -0
  57. package/dist/entities/onboarding.d.ts +167 -166
  58. package/dist/entities/onboarding.d.ts.map +1 -0
  59. package/dist/entities/onboarding.js +93 -93
  60. package/dist/entities/onboarding.js.map +1 -0
  61. package/dist/entities/quiz.d.ts +187 -186
  62. package/dist/entities/quiz.d.ts.map +1 -0
  63. package/dist/entities/quiz.js +109 -109
  64. package/dist/entities/quiz.js.map +1 -0
  65. package/dist/events.d.ts +216 -215
  66. package/dist/events.d.ts.map +1 -0
  67. package/dist/events.js +109 -110
  68. package/dist/events.js.map +1 -0
  69. package/dist/learning-journey.feature.d.ts +2 -1
  70. package/dist/learning-journey.feature.d.ts.map +1 -0
  71. package/dist/learning-journey.feature.js +2 -1
  72. package/dist/learning-journey.feature.js.map +1 -0
  73. package/dist/libs/contracts/dist/capabilities/openbanking.js +2 -1
  74. package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -0
  75. package/dist/libs/contracts/dist/contract-registry/schemas.js +2 -1
  76. package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -0
  77. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
  78. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
  79. package/dist/libs/contracts/dist/docs/index.js +2 -6
  80. package/dist/libs/contracts/dist/docs/meta.docs.js +30 -0
  81. package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -0
  82. package/dist/libs/contracts/dist/docs/presentations.js +2 -1
  83. package/dist/libs/contracts/dist/docs/presentations.js.map +1 -0
  84. package/dist/libs/contracts/dist/docs/registry.js +2 -1
  85. package/dist/libs/contracts/dist/docs/registry.js.map +1 -0
  86. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
  87. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
  88. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
  89. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
  90. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
  91. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
  92. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
  93. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
  94. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
  95. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
  96. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
  97. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
  98. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
  99. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
  100. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
  101. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
  102. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
  103. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
  104. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
  105. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
  106. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
  107. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
  108. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
  109. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
  110. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
  111. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
  112. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
  113. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
  114. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
  115. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
  116. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
  117. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
  118. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
  119. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
  120. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
  121. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
  122. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
  123. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
  124. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
  125. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
  126. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +97 -0
  127. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
  128. package/dist/libs/contracts/dist/events.js +2 -1
  129. package/dist/libs/contracts/dist/events.js.map +1 -0
  130. package/dist/libs/contracts/dist/index.js +2 -1
  131. package/dist/libs/contracts/dist/integrations/contracts.js +65 -66
  132. package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -0
  133. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
  134. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
  135. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
  136. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
  137. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
  138. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
  139. package/dist/libs/contracts/dist/integrations/openbanking/models.js +60 -61
  140. package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -0
  141. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +2 -1
  142. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
  143. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +2 -1
  144. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
  145. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +2 -1
  146. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
  147. package/dist/libs/contracts/dist/integrations/providers/gmail.js +2 -1
  148. package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -0
  149. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +2 -1
  150. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
  151. package/dist/libs/contracts/dist/integrations/providers/mistral.js +2 -1
  152. package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -0
  153. package/dist/libs/contracts/dist/integrations/providers/postmark.js +2 -1
  154. package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -0
  155. package/dist/libs/contracts/dist/integrations/providers/powens.js +2 -1
  156. package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -0
  157. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +2 -1
  158. package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -0
  159. package/dist/libs/contracts/dist/integrations/providers/stripe.js +2 -1
  160. package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -0
  161. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +2 -1
  162. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
  163. package/dist/libs/contracts/dist/knowledge/contracts.js +44 -45
  164. package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -0
  165. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +2 -1
  166. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
  167. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
  168. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
  169. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
  170. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
  171. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +2 -1
  172. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
  173. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +2 -1
  174. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
  175. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
  176. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
  177. package/dist/libs/contracts/dist/llm/exporters.js +2 -1
  178. package/dist/libs/contracts/dist/llm/exporters.js.map +1 -0
  179. package/dist/libs/contracts/dist/onboarding-base.js +22 -23
  180. package/dist/libs/contracts/dist/onboarding-base.js.map +1 -0
  181. package/dist/libs/contracts/dist/ownership.js +4 -2
  182. package/dist/libs/contracts/dist/ownership.js.map +1 -0
  183. package/dist/libs/contracts/dist/presentations.v2.js +2 -1
  184. package/dist/libs/contracts/dist/presentations.v2.js.map +1 -0
  185. package/dist/libs/contracts/dist/regenerator/service.js +2 -1
  186. package/dist/libs/contracts/dist/regenerator/service.js.map +1 -0
  187. package/dist/libs/contracts/dist/schema/dist/index.js +3873 -6
  188. package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -0
  189. package/dist/libs/contracts/dist/spec.js +2 -1
  190. package/dist/libs/contracts/dist/spec.js.map +1 -0
  191. package/dist/libs/schema/dist/index.js +4889 -6
  192. package/dist/libs/schema/dist/index.js.map +1 -0
  193. package/dist/track-spec.d.ts +2 -1
  194. package/dist/track-spec.d.ts.map +1 -0
  195. package/package.json +7 -6
  196. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  197. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  198. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  199. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  200. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  201. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  202. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  203. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  204. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  205. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
  206. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  207. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  208. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  209. package/dist/libs/schema/dist/EnumType.js +0 -2
  210. package/dist/libs/schema/dist/FieldType.js +0 -49
  211. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  212. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  213. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  214. package/dist/libs/schema/dist/entity/index.js +0 -2
  215. package/dist/libs/schema/dist/entity/types.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding.d.ts","names":[],"sources":["../../src/contracts/onboarding.ts"],"sourcesContent":[],"mappings":";;;;cAiBa,yCAAmB;;UA0B9B,mBAAA,CAAA;;EA1BW,CAAA;EA0BX,OAAA,EAAA;;;;;;;;;;;;;;;;;;;;EA1B8B,KAAA,EAAA;IA4BnB,IAAA,+BAiCX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjC+B,IAAA,+BAAA,CAAA,OAAA,EAAA,OAAA,CAAA;IAmCpB,UAAA,EAAA,IAAA;EAcX,CAAA;;;;;;;oBAdsC;EAAA,CAAA;EAgB3B,QAAA,EAAA;IAkBX,IAAA,+BAAA,CAAA,OAAA,EAAA,OAAA,CAAA;;;;cArEW,0CAAoB;;UAiC/B,mBAAA,CAAA;;;;;;;;;;;;;oBAkBkC;EAAA,CAAA;EA0EvB,iBAAA,EAAA;IAkBX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;uCAlBuC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAAA,CAAA,MAAA,EAAA,MAAA,CAAA;QAAA,UAAA,EAAA,IAAA;MAoB5B,CAAA;MAkBX,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/schema/dist/index.js";
1
+ import { E5, K5 } from "../libs/schema/dist/index.js";
4
2
  import { defineCommand, defineQuery } from "../libs/contracts/dist/spec.js";
5
3
  import "../libs/contracts/dist/index.js";
6
4
  import { LEARNING_JOURNEY_OWNERS } from "./shared.js";
7
5
  import { SuccessOutput } from "./models.js";
8
6
 
9
7
  //#region src/contracts/onboarding.ts
10
- const OnboardingStepConditionModel = defineSchemaModel({
8
+ const OnboardingStepConditionModel = K5({
11
9
  name: "OnboardingStepCondition",
12
10
  description: "Structured completion condition for onboarding steps.",
13
11
  fields: {
14
12
  eventName: {
15
- type: ScalarTypeEnum.String_unsecure(),
13
+ type: E5.String_unsecure(),
16
14
  isOptional: false
17
15
  },
18
16
  eventVersion: {
19
- type: ScalarTypeEnum.Int_unsecure(),
17
+ type: E5.Int_unsecure(),
20
18
  isOptional: true
21
19
  },
22
20
  sourceModule: {
23
- type: ScalarTypeEnum.String_unsecure(),
21
+ type: E5.String_unsecure(),
24
22
  isOptional: true
25
23
  },
26
24
  payloadFilter: {
27
- type: ScalarTypeEnum.JSON(),
25
+ type: E5.JSON(),
28
26
  isOptional: true
29
27
  }
30
28
  }
31
29
  });
32
- const OnboardingStepModel = defineSchemaModel({
30
+ const OnboardingStepModel = K5({
33
31
  name: "OnboardingStep",
34
32
  description: "Declarative onboarding step definition.",
35
33
  fields: {
36
34
  id: {
37
- type: ScalarTypeEnum.String_unsecure(),
35
+ type: E5.String_unsecure(),
38
36
  isOptional: false
39
37
  },
40
38
  trackId: {
41
- type: ScalarTypeEnum.String_unsecure(),
39
+ type: E5.String_unsecure(),
42
40
  isOptional: false
43
41
  },
44
42
  title: {
45
- type: ScalarTypeEnum.String_unsecure(),
43
+ type: E5.String_unsecure(),
46
44
  isOptional: false
47
45
  },
48
46
  description: {
49
- type: ScalarTypeEnum.String_unsecure(),
47
+ type: E5.String_unsecure(),
50
48
  isOptional: true
51
49
  },
52
50
  instructions: {
53
- type: ScalarTypeEnum.String_unsecure(),
51
+ type: E5.String_unsecure(),
54
52
  isOptional: true
55
53
  },
56
54
  helpUrl: {
57
- type: ScalarTypeEnum.String_unsecure(),
55
+ type: E5.String_unsecure(),
58
56
  isOptional: true
59
57
  },
60
58
  order: {
61
- type: ScalarTypeEnum.Int_unsecure(),
59
+ type: E5.Int_unsecure(),
62
60
  isOptional: false
63
61
  },
64
62
  completionEvent: {
65
- type: ScalarTypeEnum.String_unsecure(),
63
+ type: E5.String_unsecure(),
66
64
  isOptional: false
67
65
  },
68
66
  completionCondition: {
@@ -70,93 +68,93 @@ const OnboardingStepModel = defineSchemaModel({
70
68
  isOptional: true
71
69
  },
72
70
  xpReward: {
73
- type: ScalarTypeEnum.Int_unsecure(),
71
+ type: E5.Int_unsecure(),
74
72
  isOptional: true
75
73
  },
76
74
  isRequired: {
77
- type: ScalarTypeEnum.Boolean(),
75
+ type: E5.Boolean(),
78
76
  isOptional: true
79
77
  },
80
78
  canSkip: {
81
- type: ScalarTypeEnum.Boolean(),
79
+ type: E5.Boolean(),
82
80
  isOptional: true
83
81
  },
84
82
  actionUrl: {
85
- type: ScalarTypeEnum.String_unsecure(),
83
+ type: E5.String_unsecure(),
86
84
  isOptional: true
87
85
  },
88
86
  actionLabel: {
89
- type: ScalarTypeEnum.String_unsecure(),
87
+ type: E5.String_unsecure(),
90
88
  isOptional: true
91
89
  },
92
90
  metadata: {
93
- type: ScalarTypeEnum.JSON(),
91
+ type: E5.JSON(),
94
92
  isOptional: true
95
93
  }
96
94
  }
97
95
  });
98
- const OnboardingTrackModel = defineSchemaModel({
96
+ const OnboardingTrackModel = K5({
99
97
  name: "OnboardingTrack",
100
98
  description: "Onboarding track metadata and steps.",
101
99
  fields: {
102
100
  id: {
103
- type: ScalarTypeEnum.String_unsecure(),
101
+ type: E5.String_unsecure(),
104
102
  isOptional: false
105
103
  },
106
104
  productId: {
107
- type: ScalarTypeEnum.String_unsecure(),
105
+ type: E5.String_unsecure(),
108
106
  isOptional: true
109
107
  },
110
108
  name: {
111
- type: ScalarTypeEnum.String_unsecure(),
109
+ type: E5.String_unsecure(),
112
110
  isOptional: false
113
111
  },
114
112
  description: {
115
- type: ScalarTypeEnum.String_unsecure(),
113
+ type: E5.String_unsecure(),
116
114
  isOptional: true
117
115
  },
118
116
  targetUserSegment: {
119
- type: ScalarTypeEnum.String_unsecure(),
117
+ type: E5.String_unsecure(),
120
118
  isOptional: true
121
119
  },
122
120
  targetRole: {
123
- type: ScalarTypeEnum.String_unsecure(),
121
+ type: E5.String_unsecure(),
124
122
  isOptional: true
125
123
  },
126
124
  isActive: {
127
- type: ScalarTypeEnum.Boolean(),
125
+ type: E5.Boolean(),
128
126
  isOptional: true
129
127
  },
130
128
  isRequired: {
131
- type: ScalarTypeEnum.Boolean(),
129
+ type: E5.Boolean(),
132
130
  isOptional: true
133
131
  },
134
132
  canSkip: {
135
- type: ScalarTypeEnum.Boolean(),
133
+ type: E5.Boolean(),
136
134
  isOptional: true
137
135
  },
138
136
  totalXp: {
139
- type: ScalarTypeEnum.Int_unsecure(),
137
+ type: E5.Int_unsecure(),
140
138
  isOptional: true
141
139
  },
142
140
  completionXpBonus: {
143
- type: ScalarTypeEnum.Int_unsecure(),
141
+ type: E5.Int_unsecure(),
144
142
  isOptional: true
145
143
  },
146
144
  completionBadgeKey: {
147
- type: ScalarTypeEnum.String_unsecure(),
145
+ type: E5.String_unsecure(),
148
146
  isOptional: true
149
147
  },
150
148
  streakHoursWindow: {
151
- type: ScalarTypeEnum.Int_unsecure(),
149
+ type: E5.Int_unsecure(),
152
150
  isOptional: true
153
151
  },
154
152
  streakBonusXp: {
155
- type: ScalarTypeEnum.Int_unsecure(),
153
+ type: E5.Int_unsecure(),
156
154
  isOptional: true
157
155
  },
158
156
  metadata: {
159
- type: ScalarTypeEnum.JSON(),
157
+ type: E5.JSON(),
160
158
  isOptional: true
161
159
  },
162
160
  steps: {
@@ -166,70 +164,70 @@ const OnboardingTrackModel = defineSchemaModel({
166
164
  }
167
165
  }
168
166
  });
169
- const OnboardingStepProgressModel = defineSchemaModel({
167
+ const OnboardingStepProgressModel = K5({
170
168
  name: "OnboardingStepProgress",
171
169
  description: "Progress for a specific onboarding step.",
172
170
  fields: {
173
171
  stepId: {
174
- type: ScalarTypeEnum.String_unsecure(),
172
+ type: E5.String_unsecure(),
175
173
  isOptional: false
176
174
  },
177
175
  status: {
178
- type: ScalarTypeEnum.String_unsecure(),
176
+ type: E5.String_unsecure(),
179
177
  isOptional: false
180
178
  },
181
179
  xpEarned: {
182
- type: ScalarTypeEnum.Int_unsecure(),
180
+ type: E5.Int_unsecure(),
183
181
  isOptional: true
184
182
  },
185
183
  triggeringEvent: {
186
- type: ScalarTypeEnum.String_unsecure(),
184
+ type: E5.String_unsecure(),
187
185
  isOptional: true
188
186
  },
189
187
  eventPayload: {
190
- type: ScalarTypeEnum.JSON(),
188
+ type: E5.JSON(),
191
189
  isOptional: true
192
190
  },
193
191
  completedAt: {
194
- type: ScalarTypeEnum.DateTime(),
192
+ type: E5.DateTime(),
195
193
  isOptional: true
196
194
  }
197
195
  }
198
196
  });
199
- const OnboardingProgressModel = defineSchemaModel({
197
+ const OnboardingProgressModel = K5({
200
198
  name: "OnboardingProgress",
201
199
  description: "Aggregated progress for an onboarding track.",
202
200
  fields: {
203
201
  learnerId: {
204
- type: ScalarTypeEnum.String_unsecure(),
202
+ type: E5.String_unsecure(),
205
203
  isOptional: true
206
204
  },
207
205
  trackId: {
208
- type: ScalarTypeEnum.String_unsecure(),
206
+ type: E5.String_unsecure(),
209
207
  isOptional: false
210
208
  },
211
209
  progress: {
212
- type: ScalarTypeEnum.Int_unsecure(),
210
+ type: E5.Int_unsecure(),
213
211
  isOptional: false
214
212
  },
215
213
  isCompleted: {
216
- type: ScalarTypeEnum.Boolean(),
214
+ type: E5.Boolean(),
217
215
  isOptional: false
218
216
  },
219
217
  xpEarned: {
220
- type: ScalarTypeEnum.Int_unsecure(),
218
+ type: E5.Int_unsecure(),
221
219
  isOptional: true
222
220
  },
223
221
  startedAt: {
224
- type: ScalarTypeEnum.DateTime(),
222
+ type: E5.DateTime(),
225
223
  isOptional: true
226
224
  },
227
225
  completedAt: {
228
- type: ScalarTypeEnum.DateTime(),
226
+ type: E5.DateTime(),
229
227
  isOptional: true
230
228
  },
231
229
  lastActivityAt: {
232
- type: ScalarTypeEnum.DateTime(),
230
+ type: E5.DateTime(),
233
231
  isOptional: true
234
232
  },
235
233
  steps: {
@@ -239,30 +237,30 @@ const OnboardingProgressModel = defineSchemaModel({
239
237
  }
240
238
  }
241
239
  });
242
- const ListOnboardingTracksInput = defineSchemaModel({
240
+ const ListOnboardingTracksInput = K5({
243
241
  name: "ListOnboardingTracksInput",
244
242
  description: "Filters for listing onboarding tracks.",
245
243
  fields: {
246
244
  learnerId: {
247
- type: ScalarTypeEnum.String_unsecure(),
245
+ type: E5.String_unsecure(),
248
246
  isOptional: true
249
247
  },
250
248
  productId: {
251
- type: ScalarTypeEnum.String_unsecure(),
249
+ type: E5.String_unsecure(),
252
250
  isOptional: true
253
251
  },
254
252
  trackIds: {
255
- type: ScalarTypeEnum.String_unsecure(),
253
+ type: E5.String_unsecure(),
256
254
  isArray: true,
257
255
  isOptional: true
258
256
  },
259
257
  includeProgress: {
260
- type: ScalarTypeEnum.Boolean(),
258
+ type: E5.Boolean(),
261
259
  isOptional: true
262
260
  }
263
261
  }
264
262
  });
265
- const ListOnboardingTracksOutput = defineSchemaModel({
263
+ const ListOnboardingTracksOutput = K5({
266
264
  name: "ListOnboardingTracksOutput",
267
265
  description: "Available onboarding tracks with optional progress.",
268
266
  fields: {
@@ -278,46 +276,46 @@ const ListOnboardingTracksOutput = defineSchemaModel({
278
276
  }
279
277
  }
280
278
  });
281
- const GetOnboardingProgressInput = defineSchemaModel({
279
+ const GetOnboardingProgressInput = K5({
282
280
  name: "GetOnboardingProgressInput",
283
281
  description: "Input for fetching onboarding progress for a track.",
284
282
  fields: {
285
283
  trackId: {
286
- type: ScalarTypeEnum.String_unsecure(),
284
+ type: E5.String_unsecure(),
287
285
  isOptional: false
288
286
  },
289
287
  learnerId: {
290
- type: ScalarTypeEnum.String_unsecure(),
288
+ type: E5.String_unsecure(),
291
289
  isOptional: true
292
290
  }
293
291
  }
294
292
  });
295
- const RecordOnboardingEventInput = defineSchemaModel({
293
+ const RecordOnboardingEventInput = K5({
296
294
  name: "RecordOnboardingEventInput",
297
295
  description: "Record a domain event to advance onboarding progress via completion conditions.",
298
296
  fields: {
299
297
  learnerId: {
300
- type: ScalarTypeEnum.String_unsecure(),
298
+ type: E5.String_unsecure(),
301
299
  isOptional: false
302
300
  },
303
301
  trackId: {
304
- type: ScalarTypeEnum.String_unsecure(),
302
+ type: E5.String_unsecure(),
305
303
  isOptional: true
306
304
  },
307
305
  eventName: {
308
- type: ScalarTypeEnum.String_unsecure(),
306
+ type: E5.String_unsecure(),
309
307
  isOptional: false
310
308
  },
311
309
  eventVersion: {
312
- type: ScalarTypeEnum.Int_unsecure(),
310
+ type: E5.Int_unsecure(),
313
311
  isOptional: true
314
312
  },
315
313
  eventPayload: {
316
- type: ScalarTypeEnum.JSON(),
314
+ type: E5.JSON(),
317
315
  isOptional: true
318
316
  },
319
317
  occurredAt: {
320
- type: ScalarTypeEnum.DateTime(),
318
+ type: E5.DateTime(),
321
319
  isOptional: true
322
320
  }
323
321
  }
@@ -401,4 +399,5 @@ const RecordOnboardingEventContract = defineCommand({
401
399
  });
402
400
 
403
401
  //#endregion
404
- export { GetOnboardingProgressContract, ListOnboardingTracksContract, OnboardingProgressModel, OnboardingStepModel, OnboardingStepProgressModel, OnboardingTrackModel, RecordOnboardingEventContract };
402
+ export { GetOnboardingProgressContract, ListOnboardingTracksContract, OnboardingProgressModel, OnboardingStepModel, OnboardingStepProgressModel, OnboardingTrackModel, RecordOnboardingEventContract };
403
+ //# sourceMappingURL=onboarding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/contracts/onboarding.ts"],"sourcesContent":["import { ScalarTypeEnum, defineSchemaModel } from '@lssm/lib.schema';\nimport { defineCommand, defineQuery } from '@lssm/lib.contracts';\n\nimport { SuccessOutput } from './models';\nimport { LEARNING_JOURNEY_OWNERS } from './shared';\n\nconst OnboardingStepConditionModel = defineSchemaModel({\n name: 'OnboardingStepCondition',\n description: 'Structured completion condition for onboarding steps.',\n fields: {\n eventName: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n eventVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n sourceModule: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n payloadFilter: { type: ScalarTypeEnum.JSON(), isOptional: true },\n },\n});\n\nexport const OnboardingStepModel = defineSchemaModel({\n name: 'OnboardingStep',\n description: 'Declarative onboarding step definition.',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n trackId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n title: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n instructions: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n helpUrl: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n order: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n completionEvent: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n completionCondition: {\n type: OnboardingStepConditionModel,\n isOptional: true,\n },\n xpReward: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n isRequired: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n canSkip: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n actionUrl: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n actionLabel: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n metadata: { type: ScalarTypeEnum.JSON(), isOptional: true },\n },\n});\n\nexport const OnboardingTrackModel = defineSchemaModel({\n name: 'OnboardingTrack',\n description: 'Onboarding track metadata and steps.',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n productId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n targetUserSegment: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n targetRole: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n isActive: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n isRequired: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n canSkip: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n totalXp: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n completionXpBonus: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n },\n completionBadgeKey: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n streakHoursWindow: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n },\n streakBonusXp: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n metadata: { type: ScalarTypeEnum.JSON(), isOptional: true },\n steps: { type: OnboardingStepModel, isArray: true, isOptional: false },\n },\n});\n\nexport const OnboardingStepProgressModel = defineSchemaModel({\n name: 'OnboardingStepProgress',\n description: 'Progress for a specific onboarding step.',\n fields: {\n stepId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n xpEarned: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n triggeringEvent: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n eventPayload: { type: ScalarTypeEnum.JSON(), isOptional: true },\n completedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n },\n});\n\nexport const OnboardingProgressModel = defineSchemaModel({\n name: 'OnboardingProgress',\n description: 'Aggregated progress for an onboarding track.',\n fields: {\n learnerId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n trackId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n progress: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n isCompleted: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n xpEarned: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n startedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n completedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n lastActivityAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n steps: {\n type: OnboardingStepProgressModel,\n isArray: true,\n isOptional: true,\n },\n },\n});\n\nconst ListOnboardingTracksInput = defineSchemaModel({\n name: 'ListOnboardingTracksInput',\n description: 'Filters for listing onboarding tracks.',\n fields: {\n learnerId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n productId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n trackIds: {\n type: ScalarTypeEnum.String_unsecure(),\n isArray: true,\n isOptional: true,\n },\n includeProgress: {\n type: ScalarTypeEnum.Boolean(),\n isOptional: true,\n },\n },\n});\n\nconst ListOnboardingTracksOutput = defineSchemaModel({\n name: 'ListOnboardingTracksOutput',\n description: 'Available onboarding tracks with optional progress.',\n fields: {\n tracks: { type: OnboardingTrackModel, isArray: true, isOptional: false },\n progress: {\n type: OnboardingProgressModel,\n isArray: true,\n isOptional: true,\n },\n },\n});\n\nconst GetOnboardingProgressInput = defineSchemaModel({\n name: 'GetOnboardingProgressInput',\n description: 'Input for fetching onboarding progress for a track.',\n fields: {\n trackId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n learnerId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\nconst RecordOnboardingEventInput = defineSchemaModel({\n name: 'RecordOnboardingEventInput',\n description:\n 'Record a domain event to advance onboarding progress via completion conditions.',\n fields: {\n learnerId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n trackId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n eventName: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n eventVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n eventPayload: { type: ScalarTypeEnum.JSON(), isOptional: true },\n occurredAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n },\n});\n\nexport const ListOnboardingTracksContract = defineQuery({\n meta: {\n name: 'learning.onboarding.listTracks',\n version: 1,\n stability: 'stable',\n owners: [...LEARNING_JOURNEY_OWNERS],\n tags: ['learning', 'onboarding', 'journey'],\n description: 'List onboarding tracks available to a learner or product.',\n goal: 'Expose track catalog for UI/API surfaces.',\n context: 'Called when showing onboarding/learning journey catalog.',\n },\n io: {\n input: ListOnboardingTracksInput,\n output: ListOnboardingTracksOutput,\n },\n policy: {\n auth: 'user',\n },\n});\n\nexport const GetOnboardingProgressContract = defineQuery({\n meta: {\n name: 'learning.onboarding.getProgress',\n version: 1,\n stability: 'stable',\n owners: [...LEARNING_JOURNEY_OWNERS],\n tags: ['learning', 'onboarding', 'journey'],\n description: 'Fetch onboarding progress for a specific track.',\n goal: 'Display learner progress and remaining steps.',\n context: 'Called when rendering a track detail or widget.',\n },\n io: {\n input: GetOnboardingProgressInput,\n output: OnboardingProgressModel,\n },\n policy: {\n auth: 'user',\n },\n});\n\nexport const RecordOnboardingEventContract = defineCommand({\n meta: {\n name: 'learning.onboarding.recordEvent',\n version: 1,\n stability: 'stable',\n owners: [...LEARNING_JOURNEY_OWNERS],\n tags: ['learning', 'onboarding', 'events'],\n description:\n 'Record a domain event to evaluate onboarding step completion conditions.',\n goal: 'Advance onboarding automatically from product events.',\n context:\n 'Called by event bus handlers when relevant product events fire (e.g., deal.created).',\n },\n io: {\n input: RecordOnboardingEventInput,\n output: SuccessOutput,\n errors: {\n TRACK_NOT_FOUND: {\n description: 'Track not found for event routing',\n http: 404,\n gqlCode: 'TRACK_NOT_FOUND',\n when: 'Track ID or routing context is invalid',\n },\n STEP_NOT_FOUND: {\n description: 'Step not found for completion condition',\n http: 404,\n gqlCode: 'STEP_NOT_FOUND',\n when: 'No step matches the incoming event',\n },\n },\n },\n policy: {\n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