@contractspec/example.learning-journey-crm-onboarding 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.
- package/.turbo/turbo-build$colon$bundle.log +41 -0
- package/.turbo/turbo-build.log +42 -0
- package/CHANGELOG.md +195 -0
- package/LICENSE +21 -0
- package/README.md +42 -0
- package/dist/docs/crm-onboarding.docblock.d.ts +1 -0
- package/dist/docs/crm-onboarding.docblock.js +42 -0
- package/dist/docs/crm-onboarding.docblock.js.map +1 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/docs/index.js +1 -0
- package/dist/example.d.ts +33 -0
- package/dist/example.d.ts.map +1 -0
- package/dist/example.js +35 -0
- package/dist/example.js.map +1 -0
- package/dist/handlers/demo.handlers.d.ts +25 -0
- package/dist/handlers/demo.handlers.d.ts.map +1 -0
- package/dist/handlers/demo.handlers.js +26 -0
- package/dist/handlers/demo.handlers.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +9 -0
- package/dist/learning-journey-crm-onboarding.feature.d.ts +12 -0
- package/dist/learning-journey-crm-onboarding.feature.d.ts.map +1 -0
- package/dist/learning-journey-crm-onboarding.feature.js +68 -0
- package/dist/learning-journey-crm-onboarding.feature.js.map +1 -0
- package/dist/operations/index.d.ts +271 -0
- package/dist/operations/index.d.ts.map +1 -0
- package/dist/operations/index.js +176 -0
- package/dist/operations/index.js.map +1 -0
- package/dist/presentations/index.d.ts +9 -0
- package/dist/presentations/index.d.ts.map +1 -0
- package/dist/presentations/index.js +55 -0
- package/dist/presentations/index.js.map +1 -0
- package/dist/track.d.ts +8 -0
- package/dist/track.d.ts.map +1 -0
- package/dist/track.js +99 -0
- package/dist/track.js.map +1 -0
- package/example.ts +1 -0
- package/package.json +68 -0
- package/src/docs/crm-onboarding.docblock.ts +40 -0
- package/src/docs/index.ts +1 -0
- package/src/example.ts +24 -0
- package/src/handlers/demo.handlers.ts +51 -0
- package/src/index.ts +7 -0
- package/src/learning-journey-crm-onboarding.feature.ts +66 -0
- package/src/operations/index.test.ts +49 -0
- package/src/operations/index.ts +122 -0
- package/src/presentations/index.ts +55 -0
- package/src/track.ts +95 -0
- package/tsconfig.json +9 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/tsdown.config.js +17 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
$ tsdown
|
|
2
|
+
[34mℹ[39m tsdown [2mv0.18.3[22m powered by rolldown [2mv1.0.0-beta.57[22m
|
|
3
|
+
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/learning-journey-crm-onboarding/tsdown.config.js[24m
|
|
4
|
+
[34mℹ[39m entry: [34msrc/example.ts, src/index.ts, src/learning-journey-crm-onboarding.feature.ts, src/track.ts, src/docs/crm-onboarding.docblock.ts, src/docs/index.ts, src/handlers/demo.handlers.ts, src/operations/index.ts, src/presentations/index.ts[39m
|
|
5
|
+
[34mℹ[39m target: [34mesnext[39m
|
|
6
|
+
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
7
|
+
[34mℹ[39m Build start
|
|
8
|
+
[34mℹ[39m Cleaning 35 files
|
|
9
|
+
[34mℹ[39m [2mdist/[22m[1moperations/index.js[22m [2m4.22 kB[22m [2m│ gzip: 1.08 kB[22m
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1mtrack.js[22m [2m2.54 kB[22m [2m│ gzip: 0.81 kB[22m
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[1mlearning-journey-crm-onboarding.feature.js[22m [2m1.52 kB[22m [2m│ gzip: 0.56 kB[22m
|
|
12
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/crm-onboarding.docblock.js[22m [2m1.48 kB[22m [2m│ gzip: 0.75 kB[22m
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m1.39 kB[22m [2m│ gzip: 0.55 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.01 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m0.81 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[1mhandlers/demo.handlers.js[22m [2m0.77 kB[22m [2m│ gzip: 0.39 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22moperations/index.js.map [2m6.31 kB[22m [2m│ gzip: 1.59 kB[22m
|
|
19
|
+
[34mℹ[39m [2mdist/[22mtrack.js.map [2m4.15 kB[22m [2m│ gzip: 1.13 kB[22m
|
|
20
|
+
[34mℹ[39m [2mdist/[22mlearning-journey-crm-onboarding.feature.js.map [2m2.85 kB[22m [2m│ gzip: 1.04 kB[22m
|
|
21
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.js.map [2m2.38 kB[22m [2m│ gzip: 0.85 kB[22m
|
|
22
|
+
[34mℹ[39m [2mdist/[22mdocs/crm-onboarding.docblock.js.map [2m1.92 kB[22m [2m│ gzip: 0.92 kB[22m
|
|
23
|
+
[34mℹ[39m [2mdist/[22mhandlers/demo.handlers.js.map [2m1.62 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
24
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.16 kB[22m [2m│ gzip: 0.62 kB[22m
|
|
25
|
+
[34mℹ[39m [2mdist/[22moperations/index.d.ts.map [2m0.84 kB[22m [2m│ gzip: 0.32 kB[22m
|
|
26
|
+
[34mℹ[39m [2mdist/[22mhandlers/demo.handlers.d.ts.map [2m0.66 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
27
|
+
[34mℹ[39m [2mdist/[22mlearning-journey-crm-onboarding.feature.d.ts.map [2m0.20 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
28
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m0.19 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
29
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
30
|
+
[34mℹ[39m [2mdist/[22mtrack.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
31
|
+
[34mℹ[39m [2mdist/[22m[32m[1moperations/index.d.ts[22m[39m [2m8.80 kB[22m [2m│ gzip: 0.93 kB[22m
|
|
32
|
+
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m1.04 kB[22m [2m│ gzip: 0.45 kB[22m
|
|
33
|
+
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m0.97 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
34
|
+
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/demo.handlers.d.ts[22m[39m [2m0.95 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
35
|
+
[34mℹ[39m [2mdist/[22m[32m[1mlearning-journey-crm-onboarding.feature.d.ts[22m[39m [2m0.46 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
36
|
+
[34mℹ[39m [2mdist/[22m[32m[1mpresentations/index.d.ts[22m[39m [2m0.45 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
37
|
+
[34mℹ[39m [2mdist/[22m[32m[1mtrack.d.ts[22m[39m [2m0.33 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
38
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdocs/crm-onboarding.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
39
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
40
|
+
[34mℹ[39m 31 files, total: 49.35 kB
|
|
41
|
+
[32m✔[39m Build complete in [32m11635ms[39m
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
$ bun build:types && bun build:bundle
|
|
2
|
+
$ tsc --noEmit
|
|
3
|
+
$ tsdown
|
|
4
|
+
[34mℹ[39m tsdown [2mv0.18.3[22m powered by rolldown [2mv1.0.0-beta.57[22m
|
|
5
|
+
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/learning-journey-crm-onboarding/tsdown.config.js[24m
|
|
6
|
+
[34mℹ[39m entry: [34msrc/example.ts, src/index.ts, src/learning-journey-crm-onboarding.feature.ts, src/track.ts, src/docs/crm-onboarding.docblock.ts, src/docs/index.ts, src/handlers/demo.handlers.ts, src/operations/index.ts, src/presentations/index.ts[39m
|
|
7
|
+
[34mℹ[39m target: [34mesnext[39m
|
|
8
|
+
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
9
|
+
[34mℹ[39m Build start
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1moperations/index.js[22m [2m4.22 kB[22m [2m│ gzip: 1.08 kB[22m
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[1mtrack.js[22m [2m2.54 kB[22m [2m│ gzip: 0.81 kB[22m
|
|
12
|
+
[34mℹ[39m [2mdist/[22m[1mlearning-journey-crm-onboarding.feature.js[22m [2m1.52 kB[22m [2m│ gzip: 0.56 kB[22m
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/crm-onboarding.docblock.js[22m [2m1.48 kB[22m [2m│ gzip: 0.75 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m1.39 kB[22m [2m│ gzip: 0.55 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.01 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m0.81 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[1mhandlers/demo.handlers.js[22m [2m0.77 kB[22m [2m│ gzip: 0.39 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
19
|
+
[34mℹ[39m [2mdist/[22moperations/index.js.map [2m6.31 kB[22m [2m│ gzip: 1.59 kB[22m
|
|
20
|
+
[34mℹ[39m [2mdist/[22mtrack.js.map [2m4.15 kB[22m [2m│ gzip: 1.13 kB[22m
|
|
21
|
+
[34mℹ[39m [2mdist/[22mlearning-journey-crm-onboarding.feature.js.map [2m2.85 kB[22m [2m│ gzip: 1.04 kB[22m
|
|
22
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.js.map [2m2.38 kB[22m [2m│ gzip: 0.85 kB[22m
|
|
23
|
+
[34mℹ[39m [2mdist/[22mdocs/crm-onboarding.docblock.js.map [2m1.92 kB[22m [2m│ gzip: 0.92 kB[22m
|
|
24
|
+
[34mℹ[39m [2mdist/[22mhandlers/demo.handlers.js.map [2m1.62 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
25
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.16 kB[22m [2m│ gzip: 0.62 kB[22m
|
|
26
|
+
[34mℹ[39m [2mdist/[22moperations/index.d.ts.map [2m0.84 kB[22m [2m│ gzip: 0.32 kB[22m
|
|
27
|
+
[34mℹ[39m [2mdist/[22mhandlers/demo.handlers.d.ts.map [2m0.66 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
28
|
+
[34mℹ[39m [2mdist/[22mlearning-journey-crm-onboarding.feature.d.ts.map [2m0.20 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
29
|
+
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m0.19 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
30
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
31
|
+
[34mℹ[39m [2mdist/[22mtrack.d.ts.map [2m0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
32
|
+
[34mℹ[39m [2mdist/[22m[32m[1moperations/index.d.ts[22m[39m [2m8.80 kB[22m [2m│ gzip: 0.93 kB[22m
|
|
33
|
+
[34mℹ[39m [2mdist/[22m[32m[1mexample.d.ts[22m[39m [2m1.04 kB[22m [2m│ gzip: 0.45 kB[22m
|
|
34
|
+
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m0.97 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
35
|
+
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/demo.handlers.d.ts[22m[39m [2m0.95 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
36
|
+
[34mℹ[39m [2mdist/[22m[32m[1mlearning-journey-crm-onboarding.feature.d.ts[22m[39m [2m0.46 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
37
|
+
[34mℹ[39m [2mdist/[22m[32m[1mpresentations/index.d.ts[22m[39m [2m0.45 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
38
|
+
[34mℹ[39m [2mdist/[22m[32m[1mtrack.d.ts[22m[39m [2m0.33 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
39
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdocs/crm-onboarding.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
40
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
41
|
+
[34mℹ[39m 31 files, total: 49.35 kB
|
|
42
|
+
[32m✔[39m Build complete in [32m11371ms[39m
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# @contractspec/example.learning-journey-crm-onboarding
|
|
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/module.learning-journey@1.44.0
|
|
13
|
+
- @contractspec/example.crm-pipeline@1.44.0
|
|
14
|
+
- @contractspec/lib.contracts@1.44.0
|
|
15
|
+
- @contractspec/lib.schema@1.44.0
|
|
16
|
+
|
|
17
|
+
## 1.43.4
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 9216062: fix: cross-platform compatibility
|
|
22
|
+
- Updated dependencies [9216062]
|
|
23
|
+
- @contractspec/module.learning-journey@1.43.4
|
|
24
|
+
- @contractspec/example.crm-pipeline@1.43.4
|
|
25
|
+
- @contractspec/lib.contracts@1.43.4
|
|
26
|
+
- @contractspec/lib.schema@1.43.3
|
|
27
|
+
|
|
28
|
+
## 1.43.3
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- 24d9759: improve documentation
|
|
33
|
+
- Updated dependencies [24d9759]
|
|
34
|
+
- @contractspec/module.learning-journey@1.43.3
|
|
35
|
+
- @contractspec/example.crm-pipeline@1.43.3
|
|
36
|
+
- @contractspec/lib.contracts@1.43.3
|
|
37
|
+
- @contractspec/lib.schema@1.43.2
|
|
38
|
+
|
|
39
|
+
## 1.43.2
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- e147271: fix: improve stability
|
|
44
|
+
- Updated dependencies [e147271]
|
|
45
|
+
- @contractspec/module.learning-journey@1.43.2
|
|
46
|
+
- @contractspec/example.crm-pipeline@1.43.2
|
|
47
|
+
- @contractspec/lib.contracts@1.43.2
|
|
48
|
+
- @contractspec/lib.schema@1.43.1
|
|
49
|
+
|
|
50
|
+
## 1.43.1
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Updated dependencies [f28fdad]
|
|
55
|
+
- @contractspec/lib.contracts@1.43.1
|
|
56
|
+
- @contractspec/example.crm-pipeline@1.43.1
|
|
57
|
+
- @contractspec/module.learning-journey@1.43.1
|
|
58
|
+
|
|
59
|
+
## 1.43.0
|
|
60
|
+
|
|
61
|
+
### Minor Changes
|
|
62
|
+
|
|
63
|
+
- 042d072: feat: schema declaration using json schema, including zod
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Updated dependencies [042d072]
|
|
68
|
+
- @contractspec/module.learning-journey@1.43.0
|
|
69
|
+
- @contractspec/example.crm-pipeline@1.43.0
|
|
70
|
+
- @contractspec/lib.contracts@1.43.0
|
|
71
|
+
- @contractspec/lib.schema@1.43.0
|
|
72
|
+
|
|
73
|
+
## 1.42.10
|
|
74
|
+
|
|
75
|
+
### Patch Changes
|
|
76
|
+
|
|
77
|
+
- 1e6a0f1: fix: mcp server
|
|
78
|
+
- Updated dependencies [1e6a0f1]
|
|
79
|
+
- @contractspec/module.learning-journey@1.42.10
|
|
80
|
+
- @contractspec/example.crm-pipeline@1.42.10
|
|
81
|
+
- @contractspec/lib.contracts@1.42.10
|
|
82
|
+
- @contractspec/lib.schema@1.42.10
|
|
83
|
+
|
|
84
|
+
## 1.42.9
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- 9281db7: fix ModelRegistry
|
|
89
|
+
- Updated dependencies [9281db7]
|
|
90
|
+
- @contractspec/module.learning-journey@1.42.9
|
|
91
|
+
- @contractspec/example.crm-pipeline@1.42.9
|
|
92
|
+
- @contractspec/lib.contracts@1.42.9
|
|
93
|
+
- @contractspec/lib.schema@1.42.9
|
|
94
|
+
|
|
95
|
+
## 1.42.8
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- e07b5ac: fix
|
|
100
|
+
- Updated dependencies [e07b5ac]
|
|
101
|
+
- @contractspec/module.learning-journey@1.42.8
|
|
102
|
+
- @contractspec/example.crm-pipeline@1.42.8
|
|
103
|
+
- @contractspec/lib.contracts@1.42.8
|
|
104
|
+
- @contractspec/lib.schema@1.42.8
|
|
105
|
+
|
|
106
|
+
## 1.42.7
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- e9b575d: fix release
|
|
111
|
+
- Updated dependencies [e9b575d]
|
|
112
|
+
- @contractspec/module.learning-journey@1.42.7
|
|
113
|
+
- @contractspec/example.crm-pipeline@1.42.7
|
|
114
|
+
- @contractspec/lib.contracts@1.42.7
|
|
115
|
+
- @contractspec/lib.schema@1.42.7
|
|
116
|
+
|
|
117
|
+
## 1.42.6
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- 1500242: fix tooling
|
|
122
|
+
- Updated dependencies [1500242]
|
|
123
|
+
- @contractspec/module.learning-journey@1.42.6
|
|
124
|
+
- @contractspec/example.crm-pipeline@1.42.6
|
|
125
|
+
- @contractspec/lib.contracts@1.42.6
|
|
126
|
+
- @contractspec/lib.schema@1.42.6
|
|
127
|
+
|
|
128
|
+
## 1.42.5
|
|
129
|
+
|
|
130
|
+
### Patch Changes
|
|
131
|
+
|
|
132
|
+
- 1299719: fix vscode
|
|
133
|
+
- Updated dependencies [1299719]
|
|
134
|
+
- @contractspec/module.learning-journey@1.42.5
|
|
135
|
+
- @contractspec/example.crm-pipeline@1.42.5
|
|
136
|
+
- @contractspec/lib.contracts@1.42.5
|
|
137
|
+
- @contractspec/lib.schema@1.42.5
|
|
138
|
+
|
|
139
|
+
## 1.42.4
|
|
140
|
+
|
|
141
|
+
### Patch Changes
|
|
142
|
+
|
|
143
|
+
- ac28b99: fix: generate from openapi
|
|
144
|
+
- Updated dependencies [ac28b99]
|
|
145
|
+
- @contractspec/module.learning-journey@1.42.4
|
|
146
|
+
- @contractspec/example.crm-pipeline@1.42.4
|
|
147
|
+
- @contractspec/lib.contracts@1.42.4
|
|
148
|
+
- @contractspec/lib.schema@1.42.4
|
|
149
|
+
|
|
150
|
+
## 1.42.3
|
|
151
|
+
|
|
152
|
+
### Patch Changes
|
|
153
|
+
|
|
154
|
+
- 3f5d015: fix(tooling): cicd
|
|
155
|
+
- Updated dependencies [3f5d015]
|
|
156
|
+
- @contractspec/example.crm-pipeline@1.42.3
|
|
157
|
+
- @contractspec/lib.contracts@1.42.3
|
|
158
|
+
- @contractspec/lib.schema@1.42.3
|
|
159
|
+
- @contractspec/module.learning-journey@1.42.3
|
|
160
|
+
|
|
161
|
+
## 1.42.2
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- 1f9ac4c: fix
|
|
166
|
+
- Updated dependencies [1f9ac4c]
|
|
167
|
+
- @contractspec/example.crm-pipeline@1.42.2
|
|
168
|
+
- @contractspec/lib.contracts@1.42.2
|
|
169
|
+
- @contractspec/lib.schema@1.42.2
|
|
170
|
+
- @contractspec/module.learning-journey@1.42.2
|
|
171
|
+
|
|
172
|
+
## 1.42.1
|
|
173
|
+
|
|
174
|
+
### Patch Changes
|
|
175
|
+
|
|
176
|
+
- f043995: Fix release
|
|
177
|
+
- Updated dependencies [f043995]
|
|
178
|
+
- @contractspec/module.learning-journey@1.42.1
|
|
179
|
+
- @contractspec/example.crm-pipeline@1.42.1
|
|
180
|
+
- @contractspec/lib.contracts@1.42.1
|
|
181
|
+
- @contractspec/lib.schema@1.42.1
|
|
182
|
+
|
|
183
|
+
## 1.42.0
|
|
184
|
+
|
|
185
|
+
### Minor Changes
|
|
186
|
+
|
|
187
|
+
- 8eefd9c: initial release
|
|
188
|
+
|
|
189
|
+
### Patch Changes
|
|
190
|
+
|
|
191
|
+
- Updated dependencies [8eefd9c]
|
|
192
|
+
- @contractspec/example.crm-pipeline@1.42.0
|
|
193
|
+
- @contractspec/lib.contracts@1.42.0
|
|
194
|
+
- @contractspec/lib.schema@1.42.0
|
|
195
|
+
- @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,42 @@
|
|
|
1
|
+
# @contractspec/example.learning-journey-crm-onboarding
|
|
2
|
+
|
|
3
|
+
Website: https://contractspec.io/
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
Learning Journey example that guides a CRM user to first closed-won deal.
|
|
7
|
+
|
|
8
|
+
## Track
|
|
9
|
+
|
|
10
|
+
- **Key**: `crm_first_win`
|
|
11
|
+
- **Persona**: CRM adopter
|
|
12
|
+
- **XP**: 15/20/20/20/30/30 + 25 bonus
|
|
13
|
+
- **Badge**: `crm_first_win`
|
|
14
|
+
|
|
15
|
+
## Steps & Events
|
|
16
|
+
|
|
17
|
+
1. `create_pipeline` → `pipeline.created`
|
|
18
|
+
2. `create_contact_and_company` → `contact.created`
|
|
19
|
+
3. `create_first_deal` → `deal.created`
|
|
20
|
+
4. `move_deal_in_pipeline` → `deal.moved`
|
|
21
|
+
5. `close_deal_won` → `deal.won`
|
|
22
|
+
6. `setup_follow_up` → `task.completed` (type: follow_up)
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
- Import track specs:
|
|
27
|
+
`import { crmLearningTracks } from '@contractspec/example.learning-journey-crm-onboarding/track'`
|
|
28
|
+
- Contracts/handlers for demos:
|
|
29
|
+
`import { GetCrmOnboardingTrack, RecordCrmOnboardingEvent } from '@contractspec/example.learning-journey-crm-onboarding/contracts'`
|
|
30
|
+
`import { emitCrmOnboardingEvent } from '@contractspec/example.learning-journey-crm-onboarding/handlers/demo.handlers'`
|
|
31
|
+
- Presentations (react/markdown/json targets):
|
|
32
|
+
`import { crmOnboardingPresentations } from '@contractspec/example.learning-journey-crm-onboarding/presentations'`
|
|
33
|
+
- Register via onboarding API:
|
|
34
|
+
- `learning.onboarding.listTracks`
|
|
35
|
+
- `learning.onboarding.getProgress`
|
|
36
|
+
- `learning.onboarding.recordEvent` wired from CRM events
|
|
37
|
+
- Requires CRM pipeline example events to be emitted for completion.
|
|
38
|
+
|
|
39
|
+
## Docs
|
|
40
|
+
|
|
41
|
+
- Docblock: `src/docs/crm-onboarding.docblock.ts`
|
|
42
|
+
- Route suggestion: `/docs/learning-journey/crm-onboarding`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
2
|
+
|
|
3
|
+
//#region src/docs/crm-onboarding.docblock.ts
|
|
4
|
+
registerDocBlocks([{
|
|
5
|
+
id: "docs.learning-journey.crm-onboarding",
|
|
6
|
+
title: "Learning Journey — CRM First Win",
|
|
7
|
+
summary: "Onboarding track for the CRM Pipeline example that drives users to first closed-won deal.",
|
|
8
|
+
kind: "reference",
|
|
9
|
+
visibility: "public",
|
|
10
|
+
route: "/docs/learning-journey/crm-onboarding",
|
|
11
|
+
tags: [
|
|
12
|
+
"learning",
|
|
13
|
+
"crm",
|
|
14
|
+
"onboarding"
|
|
15
|
+
],
|
|
16
|
+
body: `## Track
|
|
17
|
+
- **Key**: \`crm_first_win\`
|
|
18
|
+
- **Persona**: CRM adopter
|
|
19
|
+
- **Goal**: From empty CRM to first closed-won deal with follow-up
|
|
20
|
+
|
|
21
|
+
## Steps & Events
|
|
22
|
+
1) \`create_pipeline\` → \`pipeline.created\`
|
|
23
|
+
2) \`create_contact_and_company\` → \`contact.created\`
|
|
24
|
+
3) \`create_first_deal\` → \`deal.created\`
|
|
25
|
+
4) \`move_deal_in_pipeline\` → \`deal.moved\`
|
|
26
|
+
5) \`close_deal_won\` → \`deal.won\`
|
|
27
|
+
6) \`setup_follow_up\` → \`task.completed\` (type: follow_up)
|
|
28
|
+
|
|
29
|
+
XP: 15/20/20/20/30/30 with 25 bonus within 72h. Badge: \`crm_first_win\`.
|
|
30
|
+
|
|
31
|
+
## Wiring
|
|
32
|
+
- Depends on \`@contractspec/example.crm-pipeline\` events.
|
|
33
|
+
- Tracks export from \`@contractspec/example.learning-journey-crm-onboarding/track\`.
|
|
34
|
+
- Use onboarding API:
|
|
35
|
+
- \`learning.onboarding.listTracks\`
|
|
36
|
+
- \`learning.onboarding.getProgress\`
|
|
37
|
+
- \`learning.onboarding.recordEvent\` wired from CRM event bus handlers.
|
|
38
|
+
- Surface in CRM dashboard/pipeline UI to guide new users.`
|
|
39
|
+
}]);
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
//# sourceMappingURL=crm-onboarding.docblock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crm-onboarding.docblock.js","names":[],"sources":["../../src/docs/crm-onboarding.docblock.ts"],"sourcesContent":["import type { DocBlock } from '@contractspec/lib.contracts/docs';\nimport { registerDocBlocks } from '@contractspec/lib.contracts/docs';\n\nconst crmOnboardingDocBlocks: DocBlock[] = [\n {\n id: 'docs.learning-journey.crm-onboarding',\n title: 'Learning Journey — CRM First Win',\n summary:\n 'Onboarding track for the CRM Pipeline example that drives users to first closed-won deal.',\n kind: 'reference',\n visibility: 'public',\n route: '/docs/learning-journey/crm-onboarding',\n tags: ['learning', 'crm', 'onboarding'],\n body: `## Track\n- **Key**: \\`crm_first_win\\`\n- **Persona**: CRM adopter\n- **Goal**: From empty CRM to first closed-won deal with follow-up\n\n## Steps & Events\n1) \\`create_pipeline\\` → \\`pipeline.created\\`\n2) \\`create_contact_and_company\\` → \\`contact.created\\`\n3) \\`create_first_deal\\` → \\`deal.created\\`\n4) \\`move_deal_in_pipeline\\` → \\`deal.moved\\`\n5) \\`close_deal_won\\` → \\`deal.won\\`\n6) \\`setup_follow_up\\` → \\`task.completed\\` (type: follow_up)\n\nXP: 15/20/20/20/30/30 with 25 bonus within 72h. Badge: \\`crm_first_win\\`.\n\n## Wiring\n- Depends on \\`@contractspec/example.crm-pipeline\\` events.\n- Tracks export from \\`@contractspec/example.learning-journey-crm-onboarding/track\\`.\n- Use onboarding API:\n - \\`learning.onboarding.listTracks\\`\n - \\`learning.onboarding.getProgress\\`\n - \\`learning.onboarding.recordEvent\\` wired from CRM event bus handlers.\n- Surface in CRM dashboard/pipeline UI to guide new users.`,\n },\n];\n\nregisterDocBlocks(crmOnboardingDocBlocks);\n"],"mappings":";;;AAuCA,kBApC2C,CACzC;CACE,IAAI;CACJ,OAAO;CACP,SACE;CACF,MAAM;CACN,YAAY;CACZ,OAAO;CACP,MAAM;EAAC;EAAY;EAAO;EAAa;CACvC,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBP,CACF,CAEwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./crm-onboarding.docblock.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/example.d.ts
|
|
2
|
+
declare const example: {
|
|
3
|
+
readonly id: "learning-journey-crm-onboarding";
|
|
4
|
+
readonly title: "Learning Journey — CRM First Win";
|
|
5
|
+
readonly summary: "Onboarding track for CRM Pipeline driving users from empty CRM to first closed-won deal.";
|
|
6
|
+
readonly tags: readonly ["learning", "crm", "onboarding"];
|
|
7
|
+
readonly kind: "template";
|
|
8
|
+
readonly visibility: "public";
|
|
9
|
+
readonly docs: {
|
|
10
|
+
readonly rootDocId: "docs.learning-journey.crm-onboarding";
|
|
11
|
+
};
|
|
12
|
+
readonly entrypoints: {
|
|
13
|
+
readonly packageName: "@contractspec/example.learning-journey-crm-onboarding";
|
|
14
|
+
readonly docs: "./docs";
|
|
15
|
+
};
|
|
16
|
+
readonly surfaces: {
|
|
17
|
+
readonly templates: true;
|
|
18
|
+
readonly sandbox: {
|
|
19
|
+
readonly enabled: true;
|
|
20
|
+
readonly modes: readonly ["playground", "markdown"];
|
|
21
|
+
};
|
|
22
|
+
readonly studio: {
|
|
23
|
+
readonly enabled: true;
|
|
24
|
+
readonly installable: true;
|
|
25
|
+
};
|
|
26
|
+
readonly mcp: {
|
|
27
|
+
readonly enabled: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { example as default };
|
|
33
|
+
//# sourceMappingURL=example.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";cAAM;EAAA,SAAA,EAqBI,EAAA,iCAAA"}
|
package/dist/example.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region src/example.ts
|
|
2
|
+
const example = {
|
|
3
|
+
id: "learning-journey-crm-onboarding",
|
|
4
|
+
title: "Learning Journey — CRM First Win",
|
|
5
|
+
summary: "Onboarding track for CRM Pipeline driving users from empty CRM to first closed-won deal.",
|
|
6
|
+
tags: [
|
|
7
|
+
"learning",
|
|
8
|
+
"crm",
|
|
9
|
+
"onboarding"
|
|
10
|
+
],
|
|
11
|
+
kind: "template",
|
|
12
|
+
visibility: "public",
|
|
13
|
+
docs: { rootDocId: "docs.learning-journey.crm-onboarding" },
|
|
14
|
+
entrypoints: {
|
|
15
|
+
packageName: "@contractspec/example.learning-journey-crm-onboarding",
|
|
16
|
+
docs: "./docs"
|
|
17
|
+
},
|
|
18
|
+
surfaces: {
|
|
19
|
+
templates: true,
|
|
20
|
+
sandbox: {
|
|
21
|
+
enabled: true,
|
|
22
|
+
modes: ["playground", "markdown"]
|
|
23
|
+
},
|
|
24
|
+
studio: {
|
|
25
|
+
enabled: true,
|
|
26
|
+
installable: true
|
|
27
|
+
},
|
|
28
|
+
mcp: { enabled: true }
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var example_default = example;
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { example_default as default };
|
|
35
|
+
//# sourceMappingURL=example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["const example = {\n id: 'learning-journey-crm-onboarding',\n title: 'Learning Journey — CRM First Win',\n summary:\n 'Onboarding track for CRM Pipeline driving users from empty CRM to first closed-won deal.',\n tags: ['learning', 'crm', 'onboarding'],\n kind: 'template',\n visibility: 'public',\n docs: {\n rootDocId: 'docs.learning-journey.crm-onboarding',\n },\n entrypoints: {\n packageName: '@contractspec/example.learning-journey-crm-onboarding',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['playground', 'markdown'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n} as const;\n\nexport default example;\n"],"mappings":";AAAA,MAAM,UAAU;CACd,IAAI;CACJ,OAAO;CACP,SACE;CACF,MAAM;EAAC;EAAY;EAAO;EAAa;CACvC,MAAM;CACN,YAAY;CACZ,MAAM,EACJ,WAAW,wCACZ;CACD,aAAa;EACX,aAAa;EACb,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO,CAAC,cAAc,WAAW;GAAE;EAC7D,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF;AAED,sBAAe"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region src/handlers/demo.handlers.d.ts
|
|
2
|
+
interface EmitParams {
|
|
3
|
+
learnerId: string;
|
|
4
|
+
occurredAt?: Date;
|
|
5
|
+
payload?: Record<string, unknown>;
|
|
6
|
+
}
|
|
7
|
+
interface LearningJourneyEvent {
|
|
8
|
+
learnerId: string;
|
|
9
|
+
name: string;
|
|
10
|
+
occurredAt: Date;
|
|
11
|
+
trackId: string;
|
|
12
|
+
payload?: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
type RecordEvent = (event: LearningJourneyEvent) => unknown;
|
|
15
|
+
declare const crmOnboardingEvents: readonly ["pipeline.created", "contact.created", "deal.created", "deal.moved", "deal.won", "task.completed"];
|
|
16
|
+
type CrmEvent = (typeof crmOnboardingEvents)[number];
|
|
17
|
+
declare const emitCrmOnboardingEvent: (eventName: CrmEvent, {
|
|
18
|
+
learnerId,
|
|
19
|
+
occurredAt,
|
|
20
|
+
payload
|
|
21
|
+
}: EmitParams, record?: RecordEvent) => unknown;
|
|
22
|
+
declare const emitAllCrmOnboardingEvents: (params: EmitParams, record?: RecordEvent) => unknown[];
|
|
23
|
+
//#endregion
|
|
24
|
+
export { CrmEvent, crmOnboardingEvents, emitAllCrmOnboardingEvents, emitCrmOnboardingEvent };
|
|
25
|
+
//# sourceMappingURL=demo.handlers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"demo.handlers.d.ts","names":[],"sources":["../../src/handlers/demo.handlers.ts"],"sourcesContent":[],"mappings":";UAEU,UAAA;EAAA,SAAA,EAAA,MAAU;EAMV,UAAA,CAAA,EAJK,IAIL;EAQL,OAAA,CAAA,EAXO,MAWI,CAAA,MAAA,EAAW,OAAA,CAAA;AAE3B;AASA,UAnBU,oBAAA,CAmBqB;EAElB,SAAA,EAAA,MAAA;EACA,IAAA,EAAA,MAAA;EACX,UAAA,EApBY,IAoBZ;EAAA,OAAA,EAAA,MAAA;EAAA,OAAA,CAAA,EAlBU,MAkBV,CAAA,MAAA,EAAA,OAAA,CAAA;;KAfG,WAAA,GAgBM,CAAA,KAAA,EAhBgB,oBAgBhB,EAAA,GAAA,OAAA;AAAW,cAdT,mBAcS,EAAA,SAAA,CAAA,kBAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,YAAA,EAAA,UAAA,EAAA,gBAAA,CAAA;AAYT,KAjBD,QAAA,GAiBC,CAAA,OAjBkB,mBAkBrB,CAAA,CAAA,MACC,CAAA;cAjBE,oCACA;;;;GACsC,qBACxC;cAYE,qCACH,qBACC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { crmFirstWinTrack } from "../track.js";
|
|
2
|
+
|
|
3
|
+
//#region src/handlers/demo.handlers.ts
|
|
4
|
+
const crmOnboardingEvents = [
|
|
5
|
+
"pipeline.created",
|
|
6
|
+
"contact.created",
|
|
7
|
+
"deal.created",
|
|
8
|
+
"deal.moved",
|
|
9
|
+
"deal.won",
|
|
10
|
+
"task.completed"
|
|
11
|
+
];
|
|
12
|
+
const emitCrmOnboardingEvent = (eventName, { learnerId, occurredAt = /* @__PURE__ */ new Date(), payload }, record) => {
|
|
13
|
+
const event = {
|
|
14
|
+
learnerId,
|
|
15
|
+
name: eventName,
|
|
16
|
+
occurredAt,
|
|
17
|
+
payload,
|
|
18
|
+
trackId: crmFirstWinTrack.id
|
|
19
|
+
};
|
|
20
|
+
return record ? record(event) : event;
|
|
21
|
+
};
|
|
22
|
+
const emitAllCrmOnboardingEvents = (params, record) => crmOnboardingEvents.map((name) => emitCrmOnboardingEvent(name, params, record));
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { crmOnboardingEvents, emitAllCrmOnboardingEvents, emitCrmOnboardingEvent };
|
|
26
|
+
//# sourceMappingURL=demo.handlers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"demo.handlers.js","names":["event: LearningJourneyEvent"],"sources":["../../src/handlers/demo.handlers.ts"],"sourcesContent":["import { crmFirstWinTrack } from '../track';\n\ninterface EmitParams {\n learnerId: string;\n occurredAt?: Date;\n payload?: Record<string, unknown>;\n}\n\ninterface LearningJourneyEvent {\n learnerId: string;\n name: string;\n occurredAt: Date;\n trackId: string;\n payload?: Record<string, unknown>;\n}\n\ntype RecordEvent = (event: LearningJourneyEvent) => unknown;\n\nexport const crmOnboardingEvents = [\n 'pipeline.created',\n 'contact.created',\n 'deal.created',\n 'deal.moved',\n 'deal.won',\n 'task.completed',\n] as const;\n\nexport type CrmEvent = (typeof crmOnboardingEvents)[number];\n\nexport const emitCrmOnboardingEvent = (\n eventName: CrmEvent,\n { learnerId, occurredAt = new Date(), payload }: EmitParams,\n record?: RecordEvent\n) => {\n const event: LearningJourneyEvent = {\n learnerId,\n name: eventName,\n occurredAt,\n payload,\n trackId: crmFirstWinTrack.id,\n };\n return record ? record(event) : event;\n};\n\nexport const emitAllCrmOnboardingEvents = (\n params: EmitParams,\n record?: RecordEvent\n) =>\n crmOnboardingEvents.map((name) =>\n emitCrmOnboardingEvent(name, params, record)\n );\n"],"mappings":";;;AAkBA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACD;AAID,MAAa,0BACX,WACA,EAAE,WAAW,6BAAa,IAAI,MAAM,EAAE,WACtC,WACG;CACH,MAAMA,QAA8B;EAClC;EACA,MAAM;EACN;EACA;EACA,SAAS,iBAAiB;EAC3B;AACD,QAAO,SAAS,OAAO,MAAM,GAAG;;AAGlC,MAAa,8BACX,QACA,WAEA,oBAAoB,KAAK,SACvB,uBAAuB,MAAM,QAAQ,OAAO,CAC7C"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import example from "./example.js";
|
|
2
|
+
import { CrmEvent, crmOnboardingEvents, emitAllCrmOnboardingEvents, emitCrmOnboardingEvent } from "./handlers/demo.handlers.js";
|
|
3
|
+
import { crmFirstWinTrack, crmLearningTracks } from "./track.js";
|
|
4
|
+
import { CrmOnboardingTrackModel, GetCrmOnboardingTrack, RecordCrmOnboardingEvent, crmOnboardingContracts } from "./operations/index.js";
|
|
5
|
+
import { CrmOnboardingTrackPresentation, CrmOnboardingWidgetPresentation, crmOnboardingPresentations } from "./presentations/index.js";
|
|
6
|
+
import { LearningJourneyCrmOnboardingFeature } from "./learning-journey-crm-onboarding.feature.js";
|
|
7
|
+
export { CrmEvent, CrmOnboardingTrackModel, CrmOnboardingTrackPresentation, CrmOnboardingWidgetPresentation, GetCrmOnboardingTrack, LearningJourneyCrmOnboardingFeature, RecordCrmOnboardingEvent, crmFirstWinTrack, crmLearningTracks, crmOnboardingContracts, crmOnboardingEvents, crmOnboardingPresentations, emitAllCrmOnboardingEvents, emitCrmOnboardingEvent, example };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import example_default from "./example.js";
|
|
2
|
+
import { crmFirstWinTrack, crmLearningTracks } from "./track.js";
|
|
3
|
+
import "./docs/index.js";
|
|
4
|
+
import { CrmOnboardingTrackModel, GetCrmOnboardingTrack, RecordCrmOnboardingEvent, crmOnboardingContracts } from "./operations/index.js";
|
|
5
|
+
import { crmOnboardingEvents, emitAllCrmOnboardingEvents, emitCrmOnboardingEvent } from "./handlers/demo.handlers.js";
|
|
6
|
+
import { CrmOnboardingTrackPresentation, CrmOnboardingWidgetPresentation, crmOnboardingPresentations } from "./presentations/index.js";
|
|
7
|
+
import { LearningJourneyCrmOnboardingFeature } from "./learning-journey-crm-onboarding.feature.js";
|
|
8
|
+
|
|
9
|
+
export { CrmOnboardingTrackModel, CrmOnboardingTrackPresentation, CrmOnboardingWidgetPresentation, GetCrmOnboardingTrack, LearningJourneyCrmOnboardingFeature, RecordCrmOnboardingEvent, crmFirstWinTrack, crmLearningTracks, crmOnboardingContracts, crmOnboardingEvents, crmOnboardingPresentations, emitAllCrmOnboardingEvents, emitCrmOnboardingEvent, example_default as example };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FeatureModuleSpec } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/learning-journey-crm-onboarding.feature.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Learning Journey CRM Onboarding feature module that bundles
|
|
7
|
+
* CRM-specific onboarding track operations and presentations.
|
|
8
|
+
*/
|
|
9
|
+
declare const LearningJourneyCrmOnboardingFeature: FeatureModuleSpec;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { LearningJourneyCrmOnboardingFeature };
|
|
12
|
+
//# sourceMappingURL=learning-journey-crm-onboarding.feature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"learning-journey-crm-onboarding.feature.d.ts","names":[],"sources":["../src/learning-journey-crm-onboarding.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;;cAWa,qCAAqC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//#region src/learning-journey-crm-onboarding.feature.ts
|
|
2
|
+
/**
|
|
3
|
+
* Learning Journey CRM Onboarding feature module that bundles
|
|
4
|
+
* CRM-specific onboarding track operations and presentations.
|
|
5
|
+
*/
|
|
6
|
+
const LearningJourneyCrmOnboardingFeature = {
|
|
7
|
+
meta: {
|
|
8
|
+
key: "learning-journey-crm-onboarding",
|
|
9
|
+
title: "Learning Journey: CRM Onboarding",
|
|
10
|
+
description: "CRM first-win onboarding journey with step-by-step guidance for new CRM users",
|
|
11
|
+
domain: "learning-journey",
|
|
12
|
+
owners: ["@examples.learning-journey.crm-onboarding"],
|
|
13
|
+
tags: [
|
|
14
|
+
"learning",
|
|
15
|
+
"crm",
|
|
16
|
+
"onboarding",
|
|
17
|
+
"journey"
|
|
18
|
+
],
|
|
19
|
+
stability: "experimental",
|
|
20
|
+
version: 1
|
|
21
|
+
},
|
|
22
|
+
operations: [{
|
|
23
|
+
key: "learningJourney.crmOnboarding.recordEvent",
|
|
24
|
+
version: 1
|
|
25
|
+
}, {
|
|
26
|
+
key: "learningJourney.crmOnboarding.getTrack",
|
|
27
|
+
version: 1
|
|
28
|
+
}],
|
|
29
|
+
events: [],
|
|
30
|
+
presentations: [{
|
|
31
|
+
key: "learning.journey.crm.track",
|
|
32
|
+
version: 1
|
|
33
|
+
}, {
|
|
34
|
+
key: "learning.journey.crm.widget",
|
|
35
|
+
version: 1
|
|
36
|
+
}],
|
|
37
|
+
opToPresentation: [{
|
|
38
|
+
op: {
|
|
39
|
+
key: "learningJourney.crmOnboarding.getTrack",
|
|
40
|
+
version: 1
|
|
41
|
+
},
|
|
42
|
+
pres: {
|
|
43
|
+
key: "learning.journey.crm.track",
|
|
44
|
+
version: 1
|
|
45
|
+
}
|
|
46
|
+
}],
|
|
47
|
+
presentationsTargets: [{
|
|
48
|
+
key: "learning.journey.crm.track",
|
|
49
|
+
version: 1,
|
|
50
|
+
targets: [
|
|
51
|
+
"react",
|
|
52
|
+
"markdown",
|
|
53
|
+
"application/json"
|
|
54
|
+
]
|
|
55
|
+
}, {
|
|
56
|
+
key: "learning.journey.crm.widget",
|
|
57
|
+
version: 1,
|
|
58
|
+
targets: ["react"]
|
|
59
|
+
}],
|
|
60
|
+
capabilities: { requires: [{
|
|
61
|
+
key: "identity",
|
|
62
|
+
version: 1
|
|
63
|
+
}] }
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
export { LearningJourneyCrmOnboardingFeature };
|
|
68
|
+
//# sourceMappingURL=learning-journey-crm-onboarding.feature.js.map
|