@contractspec/example.learning-journey-registry 1.44.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 (63) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +50 -0
  2. package/.turbo/turbo-build.log +51 -0
  3. package/CHANGELOG.md +348 -0
  4. package/LICENSE +21 -0
  5. package/README.md +25 -0
  6. package/dist/api-types.d.ts +41 -0
  7. package/dist/api-types.d.ts.map +1 -0
  8. package/dist/api-types.js +0 -0
  9. package/dist/api.d.ts +13 -0
  10. package/dist/api.d.ts.map +1 -0
  11. package/dist/api.js +171 -0
  12. package/dist/api.js.map +1 -0
  13. package/dist/docs/index.d.ts +1 -0
  14. package/dist/docs/index.js +1 -0
  15. package/dist/docs/learning-journey-registry.docblock.d.ts +1 -0
  16. package/dist/docs/learning-journey-registry.docblock.js +38 -0
  17. package/dist/docs/learning-journey-registry.docblock.js.map +1 -0
  18. package/dist/example.d.ts +33 -0
  19. package/dist/example.d.ts.map +1 -0
  20. package/dist/example.js +35 -0
  21. package/dist/example.js.map +1 -0
  22. package/dist/index.d.ts +8 -0
  23. package/dist/index.js +10 -0
  24. package/dist/learning-journey-registry.feature.d.ts +12 -0
  25. package/dist/learning-journey-registry.feature.d.ts.map +1 -0
  26. package/dist/learning-journey-registry.feature.js +68 -0
  27. package/dist/learning-journey-registry.feature.js.map +1 -0
  28. package/dist/presentations/index.d.ts +10 -0
  29. package/dist/presentations/index.d.ts.map +1 -0
  30. package/dist/presentations/index.js +71 -0
  31. package/dist/presentations/index.js.map +1 -0
  32. package/dist/progress-store.d.ts +11 -0
  33. package/dist/progress-store.d.ts.map +1 -0
  34. package/dist/progress-store.js +31 -0
  35. package/dist/progress-store.js.map +1 -0
  36. package/dist/tracks.d.ts +40 -0
  37. package/dist/tracks.d.ts.map +1 -0
  38. package/dist/tracks.js +48 -0
  39. package/dist/tracks.js.map +1 -0
  40. package/dist/ui/LearningMiniApp.d.ts +24 -0
  41. package/dist/ui/LearningMiniApp.d.ts.map +1 -0
  42. package/dist/ui/LearningMiniApp.js +80 -0
  43. package/dist/ui/LearningMiniApp.js.map +1 -0
  44. package/dist/ui/index.d.ts +2 -0
  45. package/dist/ui/index.js +3 -0
  46. package/example.ts +1 -0
  47. package/package.json +89 -0
  48. package/src/api-types.ts +43 -0
  49. package/src/api.test.ts +46 -0
  50. package/src/api.ts +301 -0
  51. package/src/docs/index.ts +1 -0
  52. package/src/docs/learning-journey-registry.docblock.ts +36 -0
  53. package/src/example.ts +24 -0
  54. package/src/index.ts +8 -0
  55. package/src/learning-journey-registry.feature.ts +64 -0
  56. package/src/presentations/index.ts +69 -0
  57. package/src/progress-store.ts +39 -0
  58. package/src/tracks.ts +91 -0
  59. package/src/ui/LearningMiniApp.tsx +121 -0
  60. package/src/ui/index.ts +5 -0
  61. package/tsconfig.json +9 -0
  62. package/tsconfig.tsbuildinfo +1 -0
  63. package/tsdown.config.js +17 -0
@@ -0,0 +1,50 @@
1
+ $ tsdown
2
+ ℹ tsdown v0.18.3 powered by rolldown v1.0.0-beta.57
3
+ ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-registry/tsdown.config.js
4
+ ℹ entry: src/api-types.ts, src/api.ts, src/example.ts, src/index.ts, src/learning-journey-registry.feature.ts, src/progress-store.ts, src/tracks.ts, src/docs/index.ts, src/docs/learning-journey-registry.docblock.ts, src/presentations/index.ts, src/ui/LearningMiniApp.tsx, src/ui/index.ts
5
+ ℹ target: esnext
6
+ ℹ tsconfig: tsconfig.json
7
+ ℹ Build start
8
+ ℹ Cleaning 43 files
9
+ ℹ dist/api.js  6.79 kB │ gzip: 1.96 kB
10
+ ℹ dist/ui/LearningMiniApp.js  2.93 kB │ gzip: 0.99 kB
11
+ ℹ dist/tracks.js  1.81 kB │ gzip: 0.60 kB
12
+ ℹ dist/presentations/index.js  1.72 kB │ gzip: 0.59 kB
13
+ ℹ dist/learning-journey-registry.feature.js  1.36 kB │ gzip: 0.50 kB
14
+ ℹ dist/docs/learning-journey-registry.docblock.js  1.36 kB │ gzip: 0.70 kB
15
+ ℹ dist/index.js  1.14 kB │ gzip: 0.34 kB
16
+ ℹ dist/progress-store.js  0.84 kB │ gzip: 0.42 kB
17
+ ℹ dist/example.js  0.77 kB │ gzip: 0.42 kB
18
+ ℹ dist/ui/index.js  0.17 kB │ gzip: 0.09 kB
19
+ ℹ dist/docs/index.js  0.05 kB │ gzip: 0.07 kB
20
+ ℹ dist/api-types.js  0.00 kB │ gzip: 0.02 kB
21
+ ℹ dist/api.js.map 13.20 kB │ gzip: 3.85 kB
22
+ ℹ dist/ui/LearningMiniApp.js.map  5.07 kB │ gzip: 1.59 kB
23
+ ℹ dist/tracks.js.map  3.68 kB │ gzip: 1.09 kB
24
+ ℹ dist/presentations/index.js.map  2.96 kB │ gzip: 0.91 kB
25
+ ℹ dist/learning-journey-registry.feature.js.map  2.58 kB │ gzip: 0.96 kB
26
+ ℹ dist/docs/learning-journey-registry.docblock.js.map  1.77 kB │ gzip: 0.86 kB
27
+ ℹ dist/progress-store.js.map  1.67 kB │ gzip: 0.76 kB
28
+ ℹ dist/example.js.map  1.12 kB │ gzip: 0.58 kB
29
+ ℹ dist/api-types.d.ts.map  0.65 kB │ gzip: 0.34 kB
30
+ ℹ dist/tracks.d.ts.map  0.58 kB │ gzip: 0.30 kB
31
+ ℹ dist/ui/LearningMiniApp.d.ts.map  0.49 kB │ gzip: 0.29 kB
32
+ ℹ dist/progress-store.d.ts.map  0.34 kB │ gzip: 0.23 kB
33
+ ℹ dist/api.d.ts.map  0.26 kB │ gzip: 0.19 kB
34
+ ℹ dist/presentations/index.d.ts.map  0.23 kB │ gzip: 0.19 kB
35
+ ℹ dist/learning-journey-registry.feature.d.ts.map  0.18 kB │ gzip: 0.14 kB
36
+ ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
37
+ ℹ dist/tracks.d.ts  1.76 kB │ gzip: 0.57 kB
38
+ ℹ dist/ui/LearningMiniApp.d.ts  1.21 kB │ gzip: 0.53 kB
39
+ ℹ dist/index.d.ts  1.17 kB │ gzip: 0.34 kB
40
+ ℹ dist/api-types.d.ts  1.08 kB │ gzip: 0.48 kB
41
+ ℹ dist/example.d.ts  1.00 kB │ gzip: 0.41 kB
42
+ ℹ dist/progress-store.d.ts  0.69 kB │ gzip: 0.31 kB
43
+ ℹ dist/presentations/index.d.ts  0.56 kB │ gzip: 0.23 kB
44
+ ℹ dist/api.d.ts  0.56 kB │ gzip: 0.30 kB
45
+ ℹ dist/learning-journey-registry.feature.d.ts  0.43 kB │ gzip: 0.24 kB
46
+ ℹ dist/ui/index.d.ts  0.17 kB │ gzip: 0.09 kB
47
+ ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
48
+ ℹ dist/docs/learning-journey-registry.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
49
+ ℹ 40 files, total: 62.51 kB
50
+ ✔ Build complete in 2904ms
@@ -0,0 +1,51 @@
1
+ $ bun build:types && bun build:bundle
2
+ $ tsc --noEmit
3
+ $ tsdown
4
+ ℹ tsdown v0.18.3 powered by rolldown v1.0.0-beta.57
5
+ ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-registry/tsdown.config.js
6
+ ℹ entry: src/api-types.ts, src/api.ts, src/example.ts, src/index.ts, src/learning-journey-registry.feature.ts, src/progress-store.ts, src/tracks.ts, src/docs/index.ts, src/docs/learning-journey-registry.docblock.ts, src/presentations/index.ts, src/ui/LearningMiniApp.tsx, src/ui/index.ts
7
+ ℹ target: esnext
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ dist/api.js  6.79 kB │ gzip: 1.96 kB
11
+ ℹ dist/ui/LearningMiniApp.js  2.93 kB │ gzip: 0.99 kB
12
+ ℹ dist/tracks.js  1.81 kB │ gzip: 0.60 kB
13
+ ℹ dist/presentations/index.js  1.72 kB │ gzip: 0.59 kB
14
+ ℹ dist/learning-journey-registry.feature.js  1.36 kB │ gzip: 0.50 kB
15
+ ℹ dist/docs/learning-journey-registry.docblock.js  1.36 kB │ gzip: 0.70 kB
16
+ ℹ dist/index.js  1.14 kB │ gzip: 0.34 kB
17
+ ℹ dist/progress-store.js  0.84 kB │ gzip: 0.42 kB
18
+ ℹ dist/example.js  0.77 kB │ gzip: 0.42 kB
19
+ ℹ dist/ui/index.js  0.17 kB │ gzip: 0.09 kB
20
+ ℹ dist/docs/index.js  0.05 kB │ gzip: 0.07 kB
21
+ ℹ dist/api-types.js  0.00 kB │ gzip: 0.02 kB
22
+ ℹ dist/api.js.map 13.20 kB │ gzip: 3.85 kB
23
+ ℹ dist/ui/LearningMiniApp.js.map  5.07 kB │ gzip: 1.59 kB
24
+ ℹ dist/tracks.js.map  3.68 kB │ gzip: 1.09 kB
25
+ ℹ dist/presentations/index.js.map  2.96 kB │ gzip: 0.91 kB
26
+ ℹ dist/learning-journey-registry.feature.js.map  2.58 kB │ gzip: 0.96 kB
27
+ ℹ dist/docs/learning-journey-registry.docblock.js.map  1.77 kB │ gzip: 0.86 kB
28
+ ℹ dist/progress-store.js.map  1.67 kB │ gzip: 0.76 kB
29
+ ℹ dist/example.js.map  1.12 kB │ gzip: 0.58 kB
30
+ ℹ dist/api-types.d.ts.map  0.65 kB │ gzip: 0.34 kB
31
+ ℹ dist/tracks.d.ts.map  0.58 kB │ gzip: 0.30 kB
32
+ ℹ dist/ui/LearningMiniApp.d.ts.map  0.49 kB │ gzip: 0.29 kB
33
+ ℹ dist/progress-store.d.ts.map  0.34 kB │ gzip: 0.23 kB
34
+ ℹ dist/api.d.ts.map  0.26 kB │ gzip: 0.19 kB
35
+ ℹ dist/presentations/index.d.ts.map  0.23 kB │ gzip: 0.19 kB
36
+ ℹ dist/learning-journey-registry.feature.d.ts.map  0.18 kB │ gzip: 0.14 kB
37
+ ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
38
+ ℹ dist/tracks.d.ts  1.76 kB │ gzip: 0.57 kB
39
+ ℹ dist/ui/LearningMiniApp.d.ts  1.21 kB │ gzip: 0.53 kB
40
+ ℹ dist/index.d.ts  1.17 kB │ gzip: 0.34 kB
41
+ ℹ dist/api-types.d.ts  1.08 kB │ gzip: 0.48 kB
42
+ ℹ dist/example.d.ts  1.00 kB │ gzip: 0.41 kB
43
+ ℹ dist/progress-store.d.ts  0.69 kB │ gzip: 0.31 kB
44
+ ℹ dist/presentations/index.d.ts  0.56 kB │ gzip: 0.23 kB
45
+ ℹ dist/api.d.ts  0.56 kB │ gzip: 0.30 kB
46
+ ℹ dist/learning-journey-registry.feature.d.ts  0.43 kB │ gzip: 0.24 kB
47
+ ℹ dist/ui/index.d.ts  0.17 kB │ gzip: 0.09 kB
48
+ ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
49
+ ℹ dist/docs/learning-journey-registry.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
50
+ ℹ 40 files, total: 62.51 kB
51
+ ✔ Build complete in 2840ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,348 @@
1
+ # @contractspec/example.learning-journey-registry
2
+
3
+ ## 1.44.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5f3a868: chore: isolate branding to contractspec.io
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [5f3a868]
12
+ - @contractspec/example.learning-journey-studio-onboarding@1.44.0
13
+ - @contractspec/example.learning-journey-quest-challenges@1.44.0
14
+ - @contractspec/example.learning-journey-crm-onboarding@1.44.0
15
+ - @contractspec/example.learning-journey-ambient-coach@1.44.0
16
+ - @contractspec/example.learning-journey-platform-tour@1.44.0
17
+ - @contractspec/example.learning-journey-ui-onboarding@1.44.0
18
+ - @contractspec/example.learning-journey-ui-coaching@1.44.0
19
+ - @contractspec/example.learning-journey-ui-gamified@1.44.0
20
+ - @contractspec/example.learning-journey-duo-drills@1.44.0
21
+ - @contractspec/example.learning-journey-ui-shared@1.44.0
22
+ - @contractspec/module.learning-journey@1.44.0
23
+ - @contractspec/lib.contracts@1.44.0
24
+ - @contractspec/lib.schema@1.44.0
25
+
26
+ ## 1.43.4
27
+
28
+ ### Patch Changes
29
+
30
+ - 9216062: fix: cross-platform compatibility
31
+ - Updated dependencies [9216062]
32
+ - @contractspec/example.learning-journey-studio-onboarding@1.43.3
33
+ - @contractspec/example.learning-journey-quest-challenges@1.43.4
34
+ - @contractspec/example.learning-journey-crm-onboarding@1.43.4
35
+ - @contractspec/example.learning-journey-ambient-coach@1.43.4
36
+ - @contractspec/example.learning-journey-platform-tour@1.43.3
37
+ - @contractspec/example.learning-journey-ui-onboarding@1.43.4
38
+ - @contractspec/example.learning-journey-ui-coaching@1.43.4
39
+ - @contractspec/example.learning-journey-ui-gamified@1.43.4
40
+ - @contractspec/example.learning-journey-duo-drills@1.43.4
41
+ - @contractspec/example.learning-journey-ui-shared@1.43.4
42
+ - @contractspec/module.learning-journey@1.43.4
43
+ - @contractspec/lib.contracts@1.43.4
44
+ - @contractspec/lib.schema@1.43.3
45
+
46
+ ## 1.43.3
47
+
48
+ ### Patch Changes
49
+
50
+ - 24d9759: improve documentation
51
+ - Updated dependencies [24d9759]
52
+ - @contractspec/example.learning-journey-studio-onboarding@1.43.2
53
+ - @contractspec/example.learning-journey-quest-challenges@1.43.3
54
+ - @contractspec/example.learning-journey-crm-onboarding@1.43.3
55
+ - @contractspec/example.learning-journey-ambient-coach@1.43.3
56
+ - @contractspec/example.learning-journey-platform-tour@1.43.2
57
+ - @contractspec/example.learning-journey-ui-onboarding@1.43.3
58
+ - @contractspec/example.learning-journey-ui-coaching@1.43.3
59
+ - @contractspec/example.learning-journey-ui-gamified@1.43.3
60
+ - @contractspec/example.learning-journey-duo-drills@1.43.3
61
+ - @contractspec/example.learning-journey-ui-shared@1.43.3
62
+ - @contractspec/module.learning-journey@1.43.3
63
+ - @contractspec/lib.contracts@1.43.3
64
+ - @contractspec/lib.schema@1.43.2
65
+
66
+ ## 1.43.2
67
+
68
+ ### Patch Changes
69
+
70
+ - e147271: fix: improve stability
71
+ - Updated dependencies [e147271]
72
+ - @contractspec/example.learning-journey-studio-onboarding@1.43.2
73
+ - @contractspec/example.learning-journey-quest-challenges@1.43.2
74
+ - @contractspec/example.learning-journey-crm-onboarding@1.43.2
75
+ - @contractspec/example.learning-journey-ambient-coach@1.43.2
76
+ - @contractspec/example.learning-journey-platform-tour@1.43.2
77
+ - @contractspec/example.learning-journey-ui-onboarding@1.43.2
78
+ - @contractspec/example.learning-journey-ui-coaching@1.43.2
79
+ - @contractspec/example.learning-journey-ui-gamified@1.43.2
80
+ - @contractspec/example.learning-journey-duo-drills@1.43.2
81
+ - @contractspec/example.learning-journey-ui-shared@1.43.2
82
+ - @contractspec/module.learning-journey@1.43.2
83
+ - @contractspec/lib.contracts@1.43.2
84
+ - @contractspec/lib.schema@1.43.1
85
+
86
+ ## 1.43.1
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [f28fdad]
91
+ - @contractspec/lib.contracts@1.43.1
92
+ - @contractspec/example.learning-journey-ambient-coach@1.43.1
93
+ - @contractspec/example.learning-journey-crm-onboarding@1.43.1
94
+ - @contractspec/example.learning-journey-duo-drills@1.43.1
95
+ - @contractspec/example.learning-journey-platform-tour@1.43.1
96
+ - @contractspec/example.learning-journey-quest-challenges@1.43.1
97
+ - @contractspec/example.learning-journey-studio-onboarding@1.43.1
98
+ - @contractspec/example.learning-journey-ui-coaching@1.43.1
99
+ - @contractspec/example.learning-journey-ui-gamified@1.43.1
100
+ - @contractspec/example.learning-journey-ui-onboarding@1.43.1
101
+ - @contractspec/example.learning-journey-ui-shared@1.43.1
102
+ - @contractspec/module.learning-journey@1.43.1
103
+
104
+ ## 1.43.0
105
+
106
+ ### Minor Changes
107
+
108
+ - 042d072: feat: schema declaration using json schema, including zod
109
+
110
+ ### Patch Changes
111
+
112
+ - Updated dependencies [042d072]
113
+ - @contractspec/example.learning-journey-studio-onboarding@1.43.0
114
+ - @contractspec/example.learning-journey-quest-challenges@1.43.0
115
+ - @contractspec/example.learning-journey-crm-onboarding@1.43.0
116
+ - @contractspec/example.learning-journey-ambient-coach@1.43.0
117
+ - @contractspec/example.learning-journey-platform-tour@1.43.0
118
+ - @contractspec/example.learning-journey-ui-onboarding@1.43.0
119
+ - @contractspec/example.learning-journey-ui-coaching@1.43.0
120
+ - @contractspec/example.learning-journey-ui-gamified@1.43.0
121
+ - @contractspec/example.learning-journey-duo-drills@1.43.0
122
+ - @contractspec/example.learning-journey-ui-shared@1.43.0
123
+ - @contractspec/module.learning-journey@1.43.0
124
+ - @contractspec/lib.contracts@1.43.0
125
+ - @contractspec/lib.schema@1.43.0
126
+
127
+ ## 1.42.10
128
+
129
+ ### Patch Changes
130
+
131
+ - 1e6a0f1: fix: mcp server
132
+ - Updated dependencies [1e6a0f1]
133
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.10
134
+ - @contractspec/example.learning-journey-quest-challenges@1.42.10
135
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.10
136
+ - @contractspec/example.learning-journey-ambient-coach@1.42.10
137
+ - @contractspec/example.learning-journey-platform-tour@1.42.9
138
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.10
139
+ - @contractspec/example.learning-journey-ui-coaching@1.42.10
140
+ - @contractspec/example.learning-journey-ui-gamified@1.42.10
141
+ - @contractspec/example.learning-journey-duo-drills@1.42.10
142
+ - @contractspec/example.learning-journey-ui-shared@1.42.10
143
+ - @contractspec/module.learning-journey@1.42.10
144
+ - @contractspec/lib.contracts@1.42.10
145
+ - @contractspec/lib.schema@1.42.10
146
+
147
+ ## 1.42.9
148
+
149
+ ### Patch Changes
150
+
151
+ - 9281db7: fix ModelRegistry
152
+ - Updated dependencies [9281db7]
153
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.9
154
+ - @contractspec/example.learning-journey-quest-challenges@1.42.9
155
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.9
156
+ - @contractspec/example.learning-journey-ambient-coach@1.42.9
157
+ - @contractspec/example.learning-journey-platform-tour@1.42.8
158
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.9
159
+ - @contractspec/example.learning-journey-ui-coaching@1.42.9
160
+ - @contractspec/example.learning-journey-ui-gamified@1.42.9
161
+ - @contractspec/example.learning-journey-duo-drills@1.42.9
162
+ - @contractspec/example.learning-journey-ui-shared@1.42.9
163
+ - @contractspec/module.learning-journey@1.42.9
164
+ - @contractspec/lib.contracts@1.42.9
165
+ - @contractspec/lib.schema@1.42.9
166
+
167
+ ## 1.42.8
168
+
169
+ ### Patch Changes
170
+
171
+ - e07b5ac: fix
172
+ - Updated dependencies [e07b5ac]
173
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.8
174
+ - @contractspec/example.learning-journey-quest-challenges@1.42.8
175
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.8
176
+ - @contractspec/example.learning-journey-ambient-coach@1.42.8
177
+ - @contractspec/example.learning-journey-platform-tour@1.42.7
178
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.8
179
+ - @contractspec/example.learning-journey-ui-coaching@1.42.8
180
+ - @contractspec/example.learning-journey-ui-gamified@1.42.8
181
+ - @contractspec/example.learning-journey-duo-drills@1.42.8
182
+ - @contractspec/example.learning-journey-ui-shared@1.42.8
183
+ - @contractspec/module.learning-journey@1.42.8
184
+ - @contractspec/lib.contracts@1.42.8
185
+ - @contractspec/lib.schema@1.42.8
186
+
187
+ ## 1.42.7
188
+
189
+ ### Patch Changes
190
+
191
+ - e9b575d: fix release
192
+ - Updated dependencies [e9b575d]
193
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.7
194
+ - @contractspec/example.learning-journey-quest-challenges@1.42.7
195
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.7
196
+ - @contractspec/example.learning-journey-ambient-coach@1.42.7
197
+ - @contractspec/example.learning-journey-platform-tour@1.42.6
198
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.7
199
+ - @contractspec/example.learning-journey-ui-coaching@1.42.7
200
+ - @contractspec/example.learning-journey-ui-gamified@1.42.7
201
+ - @contractspec/example.learning-journey-duo-drills@1.42.7
202
+ - @contractspec/example.learning-journey-ui-shared@1.42.7
203
+ - @contractspec/module.learning-journey@1.42.7
204
+ - @contractspec/lib.contracts@1.42.7
205
+ - @contractspec/lib.schema@1.42.7
206
+
207
+ ## 1.42.6
208
+
209
+ ### Patch Changes
210
+
211
+ - 1500242: fix tooling
212
+ - Updated dependencies [1500242]
213
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.6
214
+ - @contractspec/example.learning-journey-quest-challenges@1.42.6
215
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.6
216
+ - @contractspec/example.learning-journey-ambient-coach@1.42.6
217
+ - @contractspec/example.learning-journey-platform-tour@1.42.5
218
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.6
219
+ - @contractspec/example.learning-journey-ui-coaching@1.42.6
220
+ - @contractspec/example.learning-journey-ui-gamified@1.42.6
221
+ - @contractspec/example.learning-journey-duo-drills@1.42.6
222
+ - @contractspec/example.learning-journey-ui-shared@1.42.6
223
+ - @contractspec/module.learning-journey@1.42.6
224
+ - @contractspec/lib.contracts@1.42.6
225
+ - @contractspec/lib.schema@1.42.6
226
+
227
+ ## 1.42.5
228
+
229
+ ### Patch Changes
230
+
231
+ - 1299719: fix vscode
232
+ - Updated dependencies [1299719]
233
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.5
234
+ - @contractspec/example.learning-journey-quest-challenges@1.42.5
235
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.5
236
+ - @contractspec/example.learning-journey-ambient-coach@1.42.5
237
+ - @contractspec/example.learning-journey-platform-tour@1.42.4
238
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.5
239
+ - @contractspec/example.learning-journey-ui-coaching@1.42.5
240
+ - @contractspec/example.learning-journey-ui-gamified@1.42.5
241
+ - @contractspec/example.learning-journey-duo-drills@1.42.5
242
+ - @contractspec/example.learning-journey-ui-shared@1.42.5
243
+ - @contractspec/module.learning-journey@1.42.5
244
+ - @contractspec/lib.contracts@1.42.5
245
+ - @contractspec/lib.schema@1.42.5
246
+
247
+ ## 1.42.4
248
+
249
+ ### Patch Changes
250
+
251
+ - ac28b99: fix: generate from openapi
252
+ - Updated dependencies [ac28b99]
253
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.4
254
+ - @contractspec/example.learning-journey-quest-challenges@1.42.4
255
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.4
256
+ - @contractspec/example.learning-journey-ambient-coach@1.42.4
257
+ - @contractspec/example.learning-journey-platform-tour@1.42.3
258
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.4
259
+ - @contractspec/example.learning-journey-ui-coaching@1.42.4
260
+ - @contractspec/example.learning-journey-ui-gamified@1.42.4
261
+ - @contractspec/example.learning-journey-duo-drills@1.42.4
262
+ - @contractspec/example.learning-journey-ui-shared@1.42.4
263
+ - @contractspec/module.learning-journey@1.42.4
264
+ - @contractspec/lib.contracts@1.42.4
265
+ - @contractspec/lib.schema@1.42.4
266
+
267
+ ## 1.42.3
268
+
269
+ ### Patch Changes
270
+
271
+ - 3f5d015: fix(tooling): cicd
272
+ - Updated dependencies [3f5d015]
273
+ - @contractspec/example.learning-journey-ambient-coach@1.42.3
274
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.3
275
+ - @contractspec/example.learning-journey-duo-drills@1.42.3
276
+ - @contractspec/example.learning-journey-platform-tour@1.42.2
277
+ - @contractspec/example.learning-journey-quest-challenges@1.42.3
278
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.3
279
+ - @contractspec/example.learning-journey-ui-coaching@1.42.3
280
+ - @contractspec/example.learning-journey-ui-gamified@1.42.3
281
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.3
282
+ - @contractspec/example.learning-journey-ui-shared@1.42.3
283
+ - @contractspec/lib.contracts@1.42.3
284
+ - @contractspec/lib.schema@1.42.3
285
+ - @contractspec/module.learning-journey@1.42.3
286
+
287
+ ## 1.42.2
288
+
289
+ ### Patch Changes
290
+
291
+ - 1f9ac4c: fix
292
+ - Updated dependencies [1f9ac4c]
293
+ - @contractspec/example.learning-journey-ambient-coach@1.42.2
294
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.2
295
+ - @contractspec/example.learning-journey-duo-drills@1.42.2
296
+ - @contractspec/example.learning-journey-platform-tour@1.42.2
297
+ - @contractspec/example.learning-journey-quest-challenges@1.42.2
298
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.2
299
+ - @contractspec/example.learning-journey-ui-coaching@1.42.2
300
+ - @contractspec/example.learning-journey-ui-gamified@1.42.2
301
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.2
302
+ - @contractspec/example.learning-journey-ui-shared@1.42.2
303
+ - @contractspec/lib.contracts@1.42.2
304
+ - @contractspec/lib.schema@1.42.2
305
+ - @contractspec/module.learning-journey@1.42.2
306
+
307
+ ## 1.42.1
308
+
309
+ ### Patch Changes
310
+
311
+ - f043995: Fix release
312
+ - Updated dependencies [f043995]
313
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.1
314
+ - @contractspec/example.learning-journey-quest-challenges@1.42.1
315
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.1
316
+ - @contractspec/example.learning-journey-ambient-coach@1.42.1
317
+ - @contractspec/example.learning-journey-platform-tour@1.42.1
318
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.1
319
+ - @contractspec/example.learning-journey-ui-coaching@1.42.1
320
+ - @contractspec/example.learning-journey-ui-gamified@1.42.1
321
+ - @contractspec/example.learning-journey-duo-drills@1.42.1
322
+ - @contractspec/example.learning-journey-ui-shared@1.42.1
323
+ - @contractspec/module.learning-journey@1.42.1
324
+ - @contractspec/lib.contracts@1.42.1
325
+ - @contractspec/lib.schema@1.42.1
326
+
327
+ ## 1.42.0
328
+
329
+ ### Minor Changes
330
+
331
+ - 8eefd9c: initial release
332
+
333
+ ### Patch Changes
334
+
335
+ - Updated dependencies [8eefd9c]
336
+ - @contractspec/example.learning-journey-ambient-coach@1.42.0
337
+ - @contractspec/example.learning-journey-crm-onboarding@1.42.0
338
+ - @contractspec/example.learning-journey-duo-drills@1.42.0
339
+ - @contractspec/example.learning-journey-platform-tour@1.42.0
340
+ - @contractspec/example.learning-journey-quest-challenges@1.42.0
341
+ - @contractspec/example.learning-journey-studio-onboarding@1.42.0
342
+ - @contractspec/example.learning-journey-ui-coaching@1.42.0
343
+ - @contractspec/example.learning-journey-ui-gamified@1.42.0
344
+ - @contractspec/example.learning-journey-ui-onboarding@1.42.0
345
+ - @contractspec/example.learning-journey-ui-shared@1.42.0
346
+ - @contractspec/lib.contracts@1.42.0
347
+ - @contractspec/lib.schema@1.42.0
348
+ - @contractspec/module.learning-journey@1.42.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Chaman Ventures, SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @contractspec/example.learning-journey-registry
2
+
3
+ Website: https://contractspec.io/
4
+
5
+
6
+ Aggregated registry for learning journey example tracks.
7
+
8
+ ## Contents
9
+
10
+ - `learningJourneyTracks`: all track specs
11
+ - `onboardingTrackCatalog`: DTOs aligned with onboarding API outputs
12
+ - `mapTrackSpecToDto`: helper for adapters
13
+ - Re-exports per-track arrays: Studio onboarding, Platform tour, CRM first win
14
+
15
+ ## Usage
16
+
17
+ ```ts
18
+ import { onboardingTrackCatalog } from '@contractspec/example.learning-journey-registry';
19
+ // Feed into API/service that implements learning.onboarding.listTracks
20
+ ```
21
+
22
+ ## Docs
23
+
24
+ - Docblock: `src/docs/learning-journey-registry.docblock.ts`
25
+ - Route suggestion: `/docs/learning-journey/registry`
@@ -0,0 +1,41 @@
1
+ import { LearningJourneyTrackSpec } from "@contractspec/module.learning-journey/track-spec";
2
+
3
+ //#region src/api-types.d.ts
4
+ interface LearningEvent {
5
+ name: string;
6
+ version?: number;
7
+ sourceModule?: string;
8
+ payload?: Record<string, unknown>;
9
+ occurredAt?: Date;
10
+ learnerId: string;
11
+ trackId?: string;
12
+ }
13
+ type StepStatus = 'PENDING' | 'COMPLETED';
14
+ interface StepProgress {
15
+ id: string;
16
+ status: StepStatus;
17
+ xpEarned: number;
18
+ completedAt?: Date;
19
+ triggeringEvent?: string;
20
+ eventPayload?: Record<string, unknown>;
21
+ occurrences?: number;
22
+ counterStartedAt?: Date;
23
+ availableAt?: Date;
24
+ dueAt?: Date;
25
+ masteryCount?: number;
26
+ }
27
+ interface TrackProgress {
28
+ learnerId: string;
29
+ trackId: string;
30
+ progress: number;
31
+ isCompleted: boolean;
32
+ xpEarned: number;
33
+ startedAt?: Date;
34
+ completedAt?: Date;
35
+ lastActivityAt?: Date;
36
+ steps: StepProgress[];
37
+ }
38
+ type TrackResolver = (trackId: string) => LearningJourneyTrackSpec | undefined;
39
+ //#endregion
40
+ export { LearningEvent, StepProgress, StepStatus, TrackProgress, TrackResolver };
41
+ //# sourceMappingURL=api-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-types.d.ts","names":[],"sources":["../src/api-types.ts"],"sourcesContent":[],"mappings":";;;UAEiB,aAAA;;EAAA,OAAA,CAAA,EAAA,MAAa;EAUlB,YAAA,CAAU,EAAA,MAAA;EAEL,OAAA,CAAA,EARL,MAQiB,CAAA,MAAA,EAAA,OAAA,CAAA;EAEnB,UAAA,CAAA,EATK,IASL;EAEM,SAAA,EAAA,MAAA;EAEC,OAAA,CAAA,EAAA,MAAA;;AAGD,KAXJ,UAAA,GAWI,SAAA,GAAA,WAAA;AACN,UAVO,YAAA,CAUP;EAAI,EAAA,EAAA,MAAA;EAIG,MAAA,EAZP,UAYoB;EAMhB,QAAA,EAAA,MAAA;EACE,WAAA,CAAA,EAjBA,IAiBA;EACG,eAAA,CAAA,EAAA,MAAA;EACV,YAAA,CAAA,EAjBQ,MAiBR,CAAA,MAAA,EAAA,OAAA,CAAA;EAAY,WAAA,CAAA,EAAA,MAAA;EAGT,gBAAa,CAAA,EAlBJ,IAkBI;gBAjBT;UACN;;;UAIO,aAAA;;;;;;cAMH;gBACE;mBACG;SACV;;KAGG,aAAA,wBAEP"}
File without changes
package/dist/api.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { LearningEvent, TrackProgress } from "./api-types.js";
2
+ import { LearningJourneyTrackSpec } from "@contractspec/module.learning-journey/track-spec";
3
+
4
+ //#region src/api.d.ts
5
+ declare const listTracks: (learnerId?: string) => {
6
+ tracks: LearningJourneyTrackSpec[];
7
+ progress: TrackProgress[];
8
+ };
9
+ declare const getProgress: (trackId: string, learnerId: string) => TrackProgress | undefined;
10
+ declare const recordEvent: (event: LearningEvent) => TrackProgress[];
11
+ //#endregion
12
+ export { getProgress, listTracks, recordEvent };
13
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","names":[],"sources":["../src/api.ts"],"sourcesContent":[],"mappings":";;;;cAyLa;UAWZ;EAXY,QAAA,EAWZ,aAAA,EAAA;AAED,CAAA;AAUa,cAVA,WAUsB,EAAA,CAAA,OAAA,EAAa,MAAA,EAAA,SAAA,EAAA,MAAA,EAAA,GAVc,aAUd,GAAA,SAAA;cAAnC,qBAAsB,kBAAa"}