@contractspec/example.learning-journey-registry 1.44.0 → 1.45.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.
- package/.turbo/turbo-build$colon$bundle.log +11 -11
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +57 -0
- package/dist/example.d.ts +3 -29
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +15 -10
- package/dist/example.js.map +1 -1
- package/dist/learning-journey-registry.feature.js +8 -8
- package/dist/learning-journey-registry.feature.js.map +1 -1
- package/dist/presentations/index.d.ts.map +1 -1
- package/dist/presentations/index.js +3 -3
- package/dist/presentations/index.js.map +1 -1
- package/package.json +16 -16
- package/src/example.ts +16 -9
- package/src/learning-journey-registry.feature.ts +8 -8
- package/src/presentations/index.ts +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -9,42 +9,42 @@ $ tsdown
|
|
|
9
9
|
[34mℹ[39m [2mdist/[22m[1mapi.js[22m [2m 6.79 kB[22m [2m│ gzip: 1.96 kB[22m
|
|
10
10
|
[34mℹ[39m [2mdist/[22m[1mui/LearningMiniApp.js[22m [2m 2.93 kB[22m [2m│ gzip: 0.99 kB[22m
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1mtracks.js[22m [2m 1.81 kB[22m [2m│ gzip: 0.60 kB[22m
|
|
12
|
-
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m 1.
|
|
13
|
-
[34mℹ[39m [2mdist/[22m[1mlearning-journey-registry.feature.js[22m [2m 1.
|
|
12
|
+
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m 1.73 kB[22m [2m│ gzip: 0.59 kB[22m
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mlearning-journey-registry.feature.js[22m [2m 1.41 kB[22m [2m│ gzip: 0.51 kB[22m
|
|
14
14
|
[34mℹ[39m [2mdist/[22m[1mdocs/learning-journey-registry.docblock.js[22m [2m 1.36 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
15
15
|
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 1.14 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m 0.88 kB[22m [2m│ gzip: 0.47 kB[22m
|
|
16
17
|
[34mℹ[39m [2mdist/[22m[1mprogress-store.js[22m [2m 0.84 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
17
|
-
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m 0.77 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
18
18
|
[34mℹ[39m [2mdist/[22m[1mui/index.js[22m [2m 0.17 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
19
19
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m 0.05 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
20
20
|
[34mℹ[39m [2mdist/[22m[1mapi-types.js[22m [2m 0.00 kB[22m [2m│ gzip: 0.02 kB[22m
|
|
21
21
|
[34mℹ[39m [2mdist/[22mapi.js.map [2m13.20 kB[22m [2m│ gzip: 3.85 kB[22m
|
|
22
22
|
[34mℹ[39m [2mdist/[22mui/LearningMiniApp.js.map [2m 5.07 kB[22m [2m│ gzip: 1.59 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22mtracks.js.map [2m 3.68 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
24
|
-
[34mℹ[39m [2mdist/[22mpresentations/index.js.map [2m 2.
|
|
25
|
-
[34mℹ[39m [2mdist/[22mlearning-journey-registry.feature.js.map [2m 2.
|
|
24
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.js.map [2m 2.98 kB[22m [2m│ gzip: 0.91 kB[22m
|
|
25
|
+
[34mℹ[39m [2mdist/[22mlearning-journey-registry.feature.js.map [2m 2.63 kB[22m [2m│ gzip: 0.96 kB[22m
|
|
26
26
|
[34mℹ[39m [2mdist/[22mdocs/learning-journey-registry.docblock.js.map [2m 1.77 kB[22m [2m│ gzip: 0.86 kB[22m
|
|
27
27
|
[34mℹ[39m [2mdist/[22mprogress-store.js.map [2m 1.67 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
28
|
-
[34mℹ[39m [2mdist/[22mexample.js.map [2m 1.
|
|
28
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m 1.40 kB[22m [2m│ gzip: 0.68 kB[22m
|
|
29
29
|
[34mℹ[39m [2mdist/[22mapi-types.d.ts.map [2m 0.65 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
30
30
|
[34mℹ[39m [2mdist/[22mtracks.d.ts.map [2m 0.58 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
31
31
|
[34mℹ[39m [2mdist/[22mui/LearningMiniApp.d.ts.map [2m 0.49 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
32
32
|
[34mℹ[39m [2mdist/[22mprogress-store.d.ts.map [2m 0.34 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
33
33
|
[34mℹ[39m [2mdist/[22mapi.d.ts.map [2m 0.26 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
34
|
-
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m 0.23 kB[22m [2m│ gzip: 0.
|
|
34
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m 0.23 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
35
35
|
[34mℹ[39m [2mdist/[22mlearning-journey-registry.feature.d.ts.map [2m 0.18 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
36
|
-
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.
|
|
36
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.12 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
37
37
|
[34mℹ[39m [2mdist/[22m[32m[1mtracks.d.ts[22m[39m [2m 1.76 kB[22m [2m│ gzip: 0.57 kB[22m
|
|
38
38
|
[34mℹ[39m [2mdist/[22m[32m[1mui/LearningMiniApp.d.ts[22m[39m [2m 1.21 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
39
39
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 1.17 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
40
40
|
[34mℹ[39m [2mdist/[22m[32m[1mapi-types.d.ts[22m[39m [2m 1.08 kB[22m [2m│ gzip: 0.48 kB[22m
|
|
41
|
-
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m 1.00 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
42
41
|
[34mℹ[39m [2mdist/[22m[32m[1mprogress-store.d.ts[22m[39m [2m 0.69 kB[22m [2m│ gzip: 0.31 kB[22m
|
|
43
42
|
[34mℹ[39m [2mdist/[22m[32m[1mpresentations/index.d.ts[22m[39m [2m 0.56 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
44
43
|
[34mℹ[39m [2mdist/[22m[32m[1mapi.d.ts[22m[39m [2m 0.56 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
45
44
|
[34mℹ[39m [2mdist/[22m[32m[1mlearning-journey-registry.feature.d.ts[22m[39m [2m 0.43 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
45
|
+
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m 0.20 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
46
46
|
[34mℹ[39m [2mdist/[22m[32m[1mui/index.d.ts[22m[39m [2m 0.17 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
47
47
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
48
48
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/learning-journey-registry.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
49
|
-
[34mℹ[39m 40 files, total: 62.
|
|
50
|
-
[32m✔[39m Build complete in [
|
|
49
|
+
[34mℹ[39m 40 files, total: 62.21 kB
|
|
50
|
+
[32m✔[39m Build complete in [32m3103ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -10,23 +10,23 @@ $ tsdown
|
|
|
10
10
|
[34mℹ[39m [2mdist/[22m[1mapi.js[22m [2m 6.79 kB[22m [2m│ gzip: 1.96 kB[22m
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1mui/LearningMiniApp.js[22m [2m 2.93 kB[22m [2m│ gzip: 0.99 kB[22m
|
|
12
12
|
[34mℹ[39m [2mdist/[22m[1mtracks.js[22m [2m 1.81 kB[22m [2m│ gzip: 0.60 kB[22m
|
|
13
|
-
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m 1.
|
|
14
|
-
[34mℹ[39m [2mdist/[22m[1mlearning-journey-registry.feature.js[22m [2m 1.
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m 1.73 kB[22m [2m│ gzip: 0.59 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22m[1mlearning-journey-registry.feature.js[22m [2m 1.41 kB[22m [2m│ gzip: 0.51 kB[22m
|
|
15
15
|
[34mℹ[39m [2mdist/[22m[1mdocs/learning-journey-registry.docblock.js[22m [2m 1.36 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 1.14 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m 0.88 kB[22m [2m│ gzip: 0.47 kB[22m
|
|
17
18
|
[34mℹ[39m [2mdist/[22m[1mprogress-store.js[22m [2m 0.84 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
18
|
-
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m 0.77 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
19
19
|
[34mℹ[39m [2mdist/[22m[1mui/index.js[22m [2m 0.17 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
20
20
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m 0.05 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
21
21
|
[34mℹ[39m [2mdist/[22m[1mapi-types.js[22m [2m 0.00 kB[22m [2m│ gzip: 0.02 kB[22m
|
|
22
22
|
[34mℹ[39m [2mdist/[22mapi.js.map [2m13.20 kB[22m [2m│ gzip: 3.85 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22mui/LearningMiniApp.js.map [2m 5.07 kB[22m [2m│ gzip: 1.59 kB[22m
|
|
24
24
|
[34mℹ[39m [2mdist/[22mtracks.js.map [2m 3.68 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
25
|
-
[34mℹ[39m [2mdist/[22mpresentations/index.js.map [2m 2.
|
|
26
|
-
[34mℹ[39m [2mdist/[22mlearning-journey-registry.feature.js.map [2m 2.
|
|
25
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.js.map [2m 2.98 kB[22m [2m│ gzip: 0.91 kB[22m
|
|
26
|
+
[34mℹ[39m [2mdist/[22mlearning-journey-registry.feature.js.map [2m 2.63 kB[22m [2m│ gzip: 0.96 kB[22m
|
|
27
27
|
[34mℹ[39m [2mdist/[22mdocs/learning-journey-registry.docblock.js.map [2m 1.77 kB[22m [2m│ gzip: 0.86 kB[22m
|
|
28
28
|
[34mℹ[39m [2mdist/[22mprogress-store.js.map [2m 1.67 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
29
|
-
[34mℹ[39m [2mdist/[22mexample.js.map [2m 1.
|
|
29
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m 1.40 kB[22m [2m│ gzip: 0.68 kB[22m
|
|
30
30
|
[34mℹ[39m [2mdist/[22mapi-types.d.ts.map [2m 0.65 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
31
31
|
[34mℹ[39m [2mdist/[22mtracks.d.ts.map [2m 0.58 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
32
32
|
[34mℹ[39m [2mdist/[22mui/LearningMiniApp.d.ts.map [2m 0.49 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
@@ -34,18 +34,18 @@ $ tsdown
|
|
|
34
34
|
[34mℹ[39m [2mdist/[22mapi.d.ts.map [2m 0.26 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
35
35
|
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m 0.23 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
36
36
|
[34mℹ[39m [2mdist/[22mlearning-journey-registry.feature.d.ts.map [2m 0.18 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
37
|
-
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.
|
|
37
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.12 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
38
38
|
[34mℹ[39m [2mdist/[22m[32m[1mtracks.d.ts[22m[39m [2m 1.76 kB[22m [2m│ gzip: 0.57 kB[22m
|
|
39
39
|
[34mℹ[39m [2mdist/[22m[32m[1mui/LearningMiniApp.d.ts[22m[39m [2m 1.21 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
40
40
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 1.17 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
41
41
|
[34mℹ[39m [2mdist/[22m[32m[1mapi-types.d.ts[22m[39m [2m 1.08 kB[22m [2m│ gzip: 0.48 kB[22m
|
|
42
|
-
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m 1.00 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
43
42
|
[34mℹ[39m [2mdist/[22m[32m[1mprogress-store.d.ts[22m[39m [2m 0.69 kB[22m [2m│ gzip: 0.31 kB[22m
|
|
44
43
|
[34mℹ[39m [2mdist/[22m[32m[1mpresentations/index.d.ts[22m[39m [2m 0.56 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
45
44
|
[34mℹ[39m [2mdist/[22m[32m[1mapi.d.ts[22m[39m [2m 0.56 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
46
45
|
[34mℹ[39m [2mdist/[22m[32m[1mlearning-journey-registry.feature.d.ts[22m[39m [2m 0.43 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
46
|
+
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m 0.20 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
47
47
|
[34mℹ[39m [2mdist/[22m[32m[1mui/index.d.ts[22m[39m [2m 0.17 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
48
48
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
49
49
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/learning-journey-registry.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
50
|
-
[34mℹ[39m 40 files, total: 62.
|
|
51
|
-
[32m✔[39m Build complete in [
|
|
50
|
+
[34mℹ[39m 40 files, total: 62.21 kB
|
|
51
|
+
[32m✔[39m Build complete in [32m3100ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# @contractspec/example.learning-journey-registry
|
|
2
2
|
|
|
3
|
+
## 1.45.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e73ca1d: feat: improve app config and examples contracts
|
|
8
|
+
feat: Contract layers support (features, examples, app-configs)
|
|
9
|
+
|
|
10
|
+
### New CLI Commands
|
|
11
|
+
- `contractspec list layers` - List all contract layers with filtering
|
|
12
|
+
|
|
13
|
+
### Enhanced Commands
|
|
14
|
+
- `contractspec ci` - New `layers` check category validates features/examples/config
|
|
15
|
+
- `contractspec doctor` - New `layers` health checks
|
|
16
|
+
- `contractspec integrity` - Now shows layer statistics
|
|
17
|
+
|
|
18
|
+
### New APIs
|
|
19
|
+
- `discoverLayers()` - Scan workspace for all layer files
|
|
20
|
+
- `scanExampleSource()` - Parse ExampleSpec from source code
|
|
21
|
+
- `isExampleFile()` - Check if file is an example spec
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [e73ca1d]
|
|
26
|
+
- @contractspec/example.learning-journey-studio-onboarding@1.45.0
|
|
27
|
+
- @contractspec/example.learning-journey-quest-challenges@1.45.0
|
|
28
|
+
- @contractspec/example.learning-journey-crm-onboarding@1.45.0
|
|
29
|
+
- @contractspec/example.learning-journey-ambient-coach@1.45.0
|
|
30
|
+
- @contractspec/example.learning-journey-platform-tour@1.45.0
|
|
31
|
+
- @contractspec/example.learning-journey-ui-onboarding@1.45.0
|
|
32
|
+
- @contractspec/example.learning-journey-ui-coaching@1.45.0
|
|
33
|
+
- @contractspec/example.learning-journey-ui-gamified@1.45.0
|
|
34
|
+
- @contractspec/example.learning-journey-duo-drills@1.45.0
|
|
35
|
+
- @contractspec/example.learning-journey-ui-shared@1.45.0
|
|
36
|
+
- @contractspec/module.learning-journey@1.45.0
|
|
37
|
+
- @contractspec/lib.contracts@1.45.0
|
|
38
|
+
- @contractspec/lib.schema@1.45.0
|
|
39
|
+
|
|
40
|
+
## 1.44.1
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- 3c594fb: fix
|
|
45
|
+
- Updated dependencies [3c594fb]
|
|
46
|
+
- @contractspec/example.learning-journey-studio-onboarding@1.44.1
|
|
47
|
+
- @contractspec/example.learning-journey-quest-challenges@1.44.1
|
|
48
|
+
- @contractspec/example.learning-journey-crm-onboarding@1.44.1
|
|
49
|
+
- @contractspec/example.learning-journey-ambient-coach@1.44.1
|
|
50
|
+
- @contractspec/example.learning-journey-platform-tour@1.44.1
|
|
51
|
+
- @contractspec/example.learning-journey-ui-onboarding@1.44.1
|
|
52
|
+
- @contractspec/example.learning-journey-ui-coaching@1.44.1
|
|
53
|
+
- @contractspec/example.learning-journey-ui-gamified@1.44.1
|
|
54
|
+
- @contractspec/example.learning-journey-duo-drills@1.44.1
|
|
55
|
+
- @contractspec/example.learning-journey-ui-shared@1.44.1
|
|
56
|
+
- @contractspec/module.learning-journey@1.44.1
|
|
57
|
+
- @contractspec/lib.contracts@1.44.1
|
|
58
|
+
- @contractspec/lib.schema@1.44.1
|
|
59
|
+
|
|
3
60
|
## 1.44.0
|
|
4
61
|
|
|
5
62
|
### Minor Changes
|
package/dist/example.d.ts
CHANGED
|
@@ -1,33 +1,7 @@
|
|
|
1
|
+
import { ExampleSpec } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
1
3
|
//#region src/example.d.ts
|
|
2
|
-
declare const example:
|
|
3
|
-
readonly id: "learning-journey-registry";
|
|
4
|
-
readonly title: "Learning Journey Registry";
|
|
5
|
-
readonly summary: "Registry of learning journey tracks + presentations + UI mini-app bindings.";
|
|
6
|
-
readonly tags: readonly ["learning", "journey", "registry"];
|
|
7
|
-
readonly kind: "library";
|
|
8
|
-
readonly visibility: "public";
|
|
9
|
-
readonly docs: {
|
|
10
|
-
readonly rootDocId: "docs.examples.learning-journey-registry";
|
|
11
|
-
};
|
|
12
|
-
readonly entrypoints: {
|
|
13
|
-
readonly packageName: "@contractspec/example.learning-journey-registry";
|
|
14
|
-
readonly docs: "./docs";
|
|
15
|
-
};
|
|
16
|
-
readonly surfaces: {
|
|
17
|
-
readonly templates: true;
|
|
18
|
-
readonly sandbox: {
|
|
19
|
-
readonly enabled: true;
|
|
20
|
-
readonly modes: readonly ["markdown", "specs"];
|
|
21
|
-
};
|
|
22
|
-
readonly studio: {
|
|
23
|
-
readonly enabled: true;
|
|
24
|
-
readonly installable: true;
|
|
25
|
-
};
|
|
26
|
-
readonly mcp: {
|
|
27
|
-
readonly enabled: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
4
|
+
declare const example: ExampleSpec;
|
|
31
5
|
//#endregion
|
|
32
6
|
export { example as default };
|
|
33
7
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAAS"}
|
package/dist/example.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
//#region src/example.ts
|
|
2
2
|
const example = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"learning",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
meta: {
|
|
4
|
+
key: "learning-journey-registry",
|
|
5
|
+
version: "1.0.0",
|
|
6
|
+
title: "Learning Journey Registry",
|
|
7
|
+
description: "Registry of learning journey tracks + presentations + UI mini-app bindings.",
|
|
8
|
+
kind: "library",
|
|
9
|
+
visibility: "public",
|
|
10
|
+
stability: "experimental",
|
|
11
|
+
owners: ["@platform.core"],
|
|
12
|
+
tags: [
|
|
13
|
+
"learning",
|
|
14
|
+
"journey",
|
|
15
|
+
"registry"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
13
18
|
docs: { rootDocId: "docs.examples.learning-journey-registry" },
|
|
14
19
|
entrypoints: {
|
|
15
20
|
packageName: "@contractspec/example.learning-journey-registry",
|
package/dist/example.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"example.js","names":["example: ExampleSpec"],"sources":["../src/example.ts"],"sourcesContent":["import type { ExampleSpec } from '@contractspec/lib.contracts';\n\nconst example: ExampleSpec = {\n meta: {\n key: 'learning-journey-registry',\n version: '1.0.0',\n title: 'Learning Journey Registry',\n description:\n 'Registry of learning journey tracks + presentations + UI mini-app bindings.',\n kind: 'library',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['learning', 'journey', 'registry'],\n },\n docs: {\n rootDocId: 'docs.examples.learning-journey-registry',\n },\n entrypoints: {\n packageName: '@contractspec/example.learning-journey-registry',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['markdown', 'specs'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n};\n\nexport default example;\n"],"mappings":";AAEA,MAAMA,UAAuB;CAC3B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAW;GAAW;EAC1C;CACD,MAAM,EACJ,WAAW,2CACZ;CACD,aAAa;EACX,aAAa;EACb,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO,CAAC,YAAY,QAAQ;GAAE;EACxD,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF;AAED,sBAAe"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const LearningJourneyRegistryFeature = {
|
|
7
7
|
meta: {
|
|
8
8
|
key: "learning-journey-registry",
|
|
9
|
-
version: 1,
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
title: "Learning Journey Registry",
|
|
11
11
|
description: "Shared registry and presentations for learning journey tracks",
|
|
12
12
|
domain: "learning-journey",
|
|
@@ -24,27 +24,27 @@ const LearningJourneyRegistryFeature = {
|
|
|
24
24
|
presentations: [
|
|
25
25
|
{
|
|
26
26
|
key: "learning.journey.track_list",
|
|
27
|
-
version: 1
|
|
27
|
+
version: "1.0.0"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
key: "learning.journey.track_detail",
|
|
31
|
-
version: 1
|
|
31
|
+
version: "1.0.0"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
key: "learning.journey.progress_widget",
|
|
35
|
-
version: 1
|
|
35
|
+
version: "1.0.0"
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
opToPresentation: [],
|
|
39
39
|
presentationsTargets: [
|
|
40
40
|
{
|
|
41
41
|
key: "learning.journey.track_list",
|
|
42
|
-
version: 1,
|
|
42
|
+
version: "1.0.0",
|
|
43
43
|
targets: ["react", "markdown"]
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
key: "learning.journey.track_detail",
|
|
47
|
-
version: 1,
|
|
47
|
+
version: "1.0.0",
|
|
48
48
|
targets: [
|
|
49
49
|
"react",
|
|
50
50
|
"markdown",
|
|
@@ -53,13 +53,13 @@ const LearningJourneyRegistryFeature = {
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
key: "learning.journey.progress_widget",
|
|
56
|
-
version: 1,
|
|
56
|
+
version: "1.0.0",
|
|
57
57
|
targets: ["react"]
|
|
58
58
|
}
|
|
59
59
|
],
|
|
60
60
|
capabilities: { requires: [{
|
|
61
61
|
key: "identity",
|
|
62
|
-
version: 1
|
|
62
|
+
version: "1.0.0"
|
|
63
63
|
}] }
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"learning-journey-registry.feature.js","names":["LearningJourneyRegistryFeature: FeatureModuleSpec"],"sources":["../src/learning-journey-registry.feature.ts"],"sourcesContent":["/**\n * Learning Journey Registry Feature Module Specification\n *\n * Defines the feature module for the learning journey registry.\n */\nimport type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\n/**\n * Learning Journey Registry feature module that bundles\n * the shared presentations for learning journey tracks.\n */\nexport const LearningJourneyRegistryFeature: FeatureModuleSpec = {\n meta: {\n key: 'learning-journey-registry',\n version: 1,\n title: 'Learning Journey Registry',\n description:\n 'Shared registry and presentations for learning journey tracks',\n domain: 'learning-journey',\n owners: ['@learning-team'],\n tags: ['learning', 'journey', 'onboarding', 'registry'],\n stability: 'experimental',\n },\n\n // No operations in the registry - it's presentation-only\n operations: [],\n\n // Events emitted by this feature\n events: [],\n\n // Presentations associated with this feature\n presentations: [\n { key: 'learning.journey.track_list', version: 1 },\n { key: 'learning.journey.track_detail', version: 1 },\n { key: 'learning.journey.progress_widget', version: 1 },\n ],\n\n // No op to presentation links for registry\n opToPresentation: [],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n {\n key: 'learning.journey.track_list',\n version: 1,\n targets: ['react', 'markdown'],\n },\n {\n key: 'learning.journey.track_detail',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n key: 'learning.journey.progress_widget',\n version: 1,\n targets: ['react'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [{ key: 'identity', version: 1 }],\n },\n};\n"],"mappings":";;;;;AAWA,MAAaA,iCAAoD;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAW;GAAc;GAAW;EACvD,WAAW;EACZ;CAGD,YAAY,EAAE;CAGd,QAAQ,EAAE;CAGV,eAAe;EACb;GAAE,KAAK;GAA+B,SAAS;
|
|
1
|
+
{"version":3,"file":"learning-journey-registry.feature.js","names":["LearningJourneyRegistryFeature: FeatureModuleSpec"],"sources":["../src/learning-journey-registry.feature.ts"],"sourcesContent":["/**\n * Learning Journey Registry Feature Module Specification\n *\n * Defines the feature module for the learning journey registry.\n */\nimport type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\n/**\n * Learning Journey Registry feature module that bundles\n * the shared presentations for learning journey tracks.\n */\nexport const LearningJourneyRegistryFeature: FeatureModuleSpec = {\n meta: {\n key: 'learning-journey-registry',\n version: '1.0.0',\n title: 'Learning Journey Registry',\n description:\n 'Shared registry and presentations for learning journey tracks',\n domain: 'learning-journey',\n owners: ['@learning-team'],\n tags: ['learning', 'journey', 'onboarding', 'registry'],\n stability: 'experimental',\n },\n\n // No operations in the registry - it's presentation-only\n operations: [],\n\n // Events emitted by this feature\n events: [],\n\n // Presentations associated with this feature\n presentations: [\n { key: 'learning.journey.track_list', version: '1.0.0' },\n { key: 'learning.journey.track_detail', version: '1.0.0' },\n { key: 'learning.journey.progress_widget', version: '1.0.0' },\n ],\n\n // No op to presentation links for registry\n opToPresentation: [],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n {\n key: 'learning.journey.track_list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'learning.journey.track_detail',\n version: '1.0.0',\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n key: 'learning.journey.progress_widget',\n version: '1.0.0',\n targets: ['react'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [{ key: 'identity', version: '1.0.0' }],\n },\n};\n"],"mappings":";;;;;AAWA,MAAaA,iCAAoD;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAW;GAAc;GAAW;EACvD,WAAW;EACZ;CAGD,YAAY,EAAE;CAGd,QAAQ,EAAE;CAGV,eAAe;EACb;GAAE,KAAK;GAA+B,SAAS;GAAS;EACxD;GAAE,KAAK;GAAiC,SAAS;GAAS;EAC1D;GAAE,KAAK;GAAoC,SAAS;GAAS;EAC9D;CAGD,kBAAkB,EAAE;CAGpB,sBAAsB;EACpB;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS;IAAC;IAAS;IAAY;IAAmB;GACnD;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,QAAQ;GACnB;EACF;CAGD,cAAc,EACZ,UAAU,CAAC;EAAE,KAAK;EAAY,SAAS;EAAS,CAAC,EAClD;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";;;cAmBa,+BAA+B;cAe/B,iCAAiC;AAfjC,cA8BA,uCA9B+B,EA8BU,gBAjBrD;AAEY,cA8BA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";;;cAmBa,+BAA+B;cAe/B,iCAAiC;AAfjC,cA8BA,uCA9B+B,EA8BU,gBAjBrD;AAEY,cA8BA,4BA9BiC,EA8BL,gBAjBxC,EAAA"}
|
|
@@ -17,7 +17,7 @@ const baseMeta = {
|
|
|
17
17
|
const LearningTrackListPresentation = {
|
|
18
18
|
meta: {
|
|
19
19
|
key: "learning.journey.track_list",
|
|
20
|
-
version: 1,
|
|
20
|
+
version: "1.0.0",
|
|
21
21
|
description: "List of learning journeys available to the learner.",
|
|
22
22
|
...baseMeta
|
|
23
23
|
},
|
|
@@ -31,7 +31,7 @@ const LearningTrackListPresentation = {
|
|
|
31
31
|
const LearningTrackDetailPresentation = {
|
|
32
32
|
meta: {
|
|
33
33
|
key: "learning.journey.track_detail",
|
|
34
|
-
version: 1,
|
|
34
|
+
version: "1.0.0",
|
|
35
35
|
description: "Track detail with steps and progress state.",
|
|
36
36
|
...baseMeta
|
|
37
37
|
},
|
|
@@ -49,7 +49,7 @@ const LearningTrackDetailPresentation = {
|
|
|
49
49
|
const LearningTrackProgressWidgetPresentation = {
|
|
50
50
|
meta: {
|
|
51
51
|
key: "learning.journey.progress_widget",
|
|
52
|
-
version: 1,
|
|
52
|
+
version: "1.0.0",
|
|
53
53
|
description: "Compact widget showing progress for active track.",
|
|
54
54
|
...baseMeta
|
|
55
55
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n>","LearningTrackListPresentation: PresentationSpec","LearningTrackDetailPresentation: PresentationSpec","LearningTrackProgressWidgetPresentation: PresentationSpec"],"sources":["../../src/presentations/index.ts"],"sourcesContent":["import type {\n PresentationSpecMeta,\n PresentationSpec,\n} from '@contractspec/lib.contracts';\nimport { StabilityEnum } from '@contractspec/lib.contracts';\n\nconst baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n> = {\n domain: 'learning-journey',\n title: 'Learning Journey',\n owners: ['@learning-team'] as string[],\n tags: ['learning', 'journey', 'onboarding'] as string[],\n stability: StabilityEnum.Experimental,\n goal: 'Progress through learning tracks',\n context: 'Learning journey section',\n};\n\nexport const LearningTrackListPresentation: PresentationSpec = {\n meta: {\n key: 'learning.journey.track_list',\n version: 1,\n description: 'List of learning journeys available to the learner.',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackList',\n },\n targets: ['react', 'markdown'],\n};\n\nexport const LearningTrackDetailPresentation: PresentationSpec = {\n meta: {\n key: 'learning.journey.track_detail',\n version: 1,\n description: 'Track detail with steps and progress state.',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackDetail',\n },\n targets: ['react', 'markdown', 'application/json'],\n};\n\nexport const LearningTrackProgressWidgetPresentation: PresentationSpec = {\n meta: {\n key: 'learning.journey.progress_widget',\n version: 1,\n description: 'Compact widget showing progress for active track.',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackProgressWidget',\n },\n targets: ['react'],\n};\n\nexport const learningJourneyPresentations = [\n LearningTrackListPresentation,\n LearningTrackDetailPresentation,\n LearningTrackProgressWidgetPresentation,\n];\n"],"mappings":";;;AAMA,MAAMA,WAGF;CACF,QAAQ;CACR,OAAO;CACP,QAAQ,CAAC,iBAAiB;CAC1B,MAAM;EAAC;EAAY;EAAW;EAAa;CAC3C,WAAW,cAAc;CACzB,MAAM;CACN,SAAS;CACV;AAED,MAAaC,gCAAkD;CAC7D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC/B;AAED,MAAaC,kCAAoD;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS;EAAC;EAAS;EAAY;EAAmB;CACnD;AAED,MAAaC,0CAA4D;CACvE,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB;AAED,MAAa,+BAA+B;CAC1C;CACA;CACA;CACD"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n>","LearningTrackListPresentation: PresentationSpec","LearningTrackDetailPresentation: PresentationSpec","LearningTrackProgressWidgetPresentation: PresentationSpec"],"sources":["../../src/presentations/index.ts"],"sourcesContent":["import type {\n PresentationSpecMeta,\n PresentationSpec,\n} from '@contractspec/lib.contracts';\nimport { StabilityEnum } from '@contractspec/lib.contracts';\n\nconst baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n> = {\n domain: 'learning-journey',\n title: 'Learning Journey',\n owners: ['@learning-team'] as string[],\n tags: ['learning', 'journey', 'onboarding'] as string[],\n stability: StabilityEnum.Experimental,\n goal: 'Progress through learning tracks',\n context: 'Learning journey section',\n};\n\nexport const LearningTrackListPresentation: PresentationSpec = {\n meta: {\n key: 'learning.journey.track_list',\n version: '1.0.0',\n description: 'List of learning journeys available to the learner.',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackList',\n },\n targets: ['react', 'markdown'],\n};\n\nexport const LearningTrackDetailPresentation: PresentationSpec = {\n meta: {\n key: 'learning.journey.track_detail',\n version: '1.0.0',\n description: 'Track detail with steps and progress state.',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackDetail',\n },\n targets: ['react', 'markdown', 'application/json'],\n};\n\nexport const LearningTrackProgressWidgetPresentation: PresentationSpec = {\n meta: {\n key: 'learning.journey.progress_widget',\n version: '1.0.0',\n description: 'Compact widget showing progress for active track.',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackProgressWidget',\n },\n targets: ['react'],\n};\n\nexport const learningJourneyPresentations = [\n LearningTrackListPresentation,\n LearningTrackDetailPresentation,\n LearningTrackProgressWidgetPresentation,\n];\n"],"mappings":";;;AAMA,MAAMA,WAGF;CACF,QAAQ;CACR,OAAO;CACP,QAAQ,CAAC,iBAAiB;CAC1B,MAAM;EAAC;EAAY;EAAW;EAAa;CAC3C,WAAW,cAAc;CACzB,MAAM;CACN,SAAS;CACV;AAED,MAAaC,gCAAkD;CAC7D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC/B;AAED,MAAaC,kCAAoD;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS;EAAC;EAAS;EAAY;EAAmB;CACnD;AAED,MAAaC,0CAA4D;CACvE,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB;AAED,MAAa,+BAA+B;CAC1C;CACA;CACA;CACD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.learning-journey-registry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.0",
|
|
4
4
|
"description": "Registry that aggregates learning journey example tracks.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"lint:check": "eslint src"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@contractspec/lib.schema": "1.
|
|
38
|
-
"@contractspec/lib.contracts": "1.
|
|
39
|
-
"@contractspec/example.learning-journey-ambient-coach": "1.
|
|
40
|
-
"@contractspec/example.learning-journey-duo-drills": "1.
|
|
41
|
-
"@contractspec/example.learning-journey-crm-onboarding": "1.
|
|
42
|
-
"@contractspec/example.learning-journey-platform-tour": "1.
|
|
43
|
-
"@contractspec/example.learning-journey-quest-challenges": "1.
|
|
44
|
-
"@contractspec/example.learning-journey-studio-onboarding": "1.
|
|
45
|
-
"@contractspec/example.learning-journey-ui-shared": "1.
|
|
46
|
-
"@contractspec/example.learning-journey-ui-gamified": "1.
|
|
47
|
-
"@contractspec/example.learning-journey-ui-onboarding": "1.
|
|
48
|
-
"@contractspec/example.learning-journey-ui-coaching": "1.
|
|
49
|
-
"@contractspec/module.learning-journey": "1.
|
|
37
|
+
"@contractspec/lib.schema": "1.45.0",
|
|
38
|
+
"@contractspec/lib.contracts": "1.45.0",
|
|
39
|
+
"@contractspec/example.learning-journey-ambient-coach": "1.45.0",
|
|
40
|
+
"@contractspec/example.learning-journey-duo-drills": "1.45.0",
|
|
41
|
+
"@contractspec/example.learning-journey-crm-onboarding": "1.45.0",
|
|
42
|
+
"@contractspec/example.learning-journey-platform-tour": "1.45.0",
|
|
43
|
+
"@contractspec/example.learning-journey-quest-challenges": "1.45.0",
|
|
44
|
+
"@contractspec/example.learning-journey-studio-onboarding": "1.45.0",
|
|
45
|
+
"@contractspec/example.learning-journey-ui-shared": "1.45.0",
|
|
46
|
+
"@contractspec/example.learning-journey-ui-gamified": "1.45.0",
|
|
47
|
+
"@contractspec/example.learning-journey-ui-onboarding": "1.45.0",
|
|
48
|
+
"@contractspec/example.learning-journey-ui-coaching": "1.45.0",
|
|
49
|
+
"@contractspec/module.learning-journey": "1.45.0",
|
|
50
50
|
"react": "19.2.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@contractspec/tool.tsdown": "1.
|
|
54
|
-
"@contractspec/tool.typescript": "1.
|
|
53
|
+
"@contractspec/tool.tsdown": "1.45.0",
|
|
54
|
+
"@contractspec/tool.typescript": "1.45.0",
|
|
55
55
|
"@types/react": "^19.1.6",
|
|
56
56
|
"tsdown": "^0.18.3",
|
|
57
57
|
"typescript": "^5.9.3"
|
package/src/example.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
'
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import type { ExampleSpec } from '@contractspec/lib.contracts';
|
|
2
|
+
|
|
3
|
+
const example: ExampleSpec = {
|
|
4
|
+
meta: {
|
|
5
|
+
key: 'learning-journey-registry',
|
|
6
|
+
version: '1.0.0',
|
|
7
|
+
title: 'Learning Journey Registry',
|
|
8
|
+
description:
|
|
9
|
+
'Registry of learning journey tracks + presentations + UI mini-app bindings.',
|
|
10
|
+
kind: 'library',
|
|
11
|
+
visibility: 'public',
|
|
12
|
+
stability: 'experimental',
|
|
13
|
+
owners: ['@platform.core'],
|
|
14
|
+
tags: ['learning', 'journey', 'registry'],
|
|
15
|
+
},
|
|
9
16
|
docs: {
|
|
10
17
|
rootDocId: 'docs.examples.learning-journey-registry',
|
|
11
18
|
},
|
|
@@ -19,6 +26,6 @@ const example = {
|
|
|
19
26
|
studio: { enabled: true, installable: true },
|
|
20
27
|
mcp: { enabled: true },
|
|
21
28
|
},
|
|
22
|
-
}
|
|
29
|
+
};
|
|
23
30
|
|
|
24
31
|
export default example;
|
|
@@ -12,7 +12,7 @@ import type { FeatureModuleSpec } from '@contractspec/lib.contracts';
|
|
|
12
12
|
export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
|
|
13
13
|
meta: {
|
|
14
14
|
key: 'learning-journey-registry',
|
|
15
|
-
version: 1,
|
|
15
|
+
version: '1.0.0',
|
|
16
16
|
title: 'Learning Journey Registry',
|
|
17
17
|
description:
|
|
18
18
|
'Shared registry and presentations for learning journey tracks',
|
|
@@ -30,9 +30,9 @@ export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
|
|
|
30
30
|
|
|
31
31
|
// Presentations associated with this feature
|
|
32
32
|
presentations: [
|
|
33
|
-
{ key: 'learning.journey.track_list', version: 1 },
|
|
34
|
-
{ key: 'learning.journey.track_detail', version: 1 },
|
|
35
|
-
{ key: 'learning.journey.progress_widget', version: 1 },
|
|
33
|
+
{ key: 'learning.journey.track_list', version: '1.0.0' },
|
|
34
|
+
{ key: 'learning.journey.track_detail', version: '1.0.0' },
|
|
35
|
+
{ key: 'learning.journey.progress_widget', version: '1.0.0' },
|
|
36
36
|
],
|
|
37
37
|
|
|
38
38
|
// No op to presentation links for registry
|
|
@@ -42,23 +42,23 @@ export const LearningJourneyRegistryFeature: FeatureModuleSpec = {
|
|
|
42
42
|
presentationsTargets: [
|
|
43
43
|
{
|
|
44
44
|
key: 'learning.journey.track_list',
|
|
45
|
-
version: 1,
|
|
45
|
+
version: '1.0.0',
|
|
46
46
|
targets: ['react', 'markdown'],
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
key: 'learning.journey.track_detail',
|
|
50
|
-
version: 1,
|
|
50
|
+
version: '1.0.0',
|
|
51
51
|
targets: ['react', 'markdown', 'application/json'],
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
key: 'learning.journey.progress_widget',
|
|
55
|
-
version: 1,
|
|
55
|
+
version: '1.0.0',
|
|
56
56
|
targets: ['react'],
|
|
57
57
|
},
|
|
58
58
|
],
|
|
59
59
|
|
|
60
60
|
// Capability requirements
|
|
61
61
|
capabilities: {
|
|
62
|
-
requires: [{ key: 'identity', version: 1 }],
|
|
62
|
+
requires: [{ key: 'identity', version: '1.0.0' }],
|
|
63
63
|
},
|
|
64
64
|
};
|
|
@@ -20,7 +20,7 @@ const baseMeta: Pick<
|
|
|
20
20
|
export const LearningTrackListPresentation: PresentationSpec = {
|
|
21
21
|
meta: {
|
|
22
22
|
key: 'learning.journey.track_list',
|
|
23
|
-
version: 1,
|
|
23
|
+
version: '1.0.0',
|
|
24
24
|
description: 'List of learning journeys available to the learner.',
|
|
25
25
|
...baseMeta,
|
|
26
26
|
},
|
|
@@ -35,7 +35,7 @@ export const LearningTrackListPresentation: PresentationSpec = {
|
|
|
35
35
|
export const LearningTrackDetailPresentation: PresentationSpec = {
|
|
36
36
|
meta: {
|
|
37
37
|
key: 'learning.journey.track_detail',
|
|
38
|
-
version: 1,
|
|
38
|
+
version: '1.0.0',
|
|
39
39
|
description: 'Track detail with steps and progress state.',
|
|
40
40
|
...baseMeta,
|
|
41
41
|
},
|
|
@@ -50,7 +50,7 @@ export const LearningTrackDetailPresentation: PresentationSpec = {
|
|
|
50
50
|
export const LearningTrackProgressWidgetPresentation: PresentationSpec = {
|
|
51
51
|
meta: {
|
|
52
52
|
key: 'learning.journey.progress_widget',
|
|
53
|
-
version: 1,
|
|
53
|
+
version: '1.0.0',
|
|
54
54
|
description: 'Compact widget showing progress for active track.',
|
|
55
55
|
...baseMeta,
|
|
56
56
|
},
|