@contractspec/example.learning-journey-crm-onboarding 0.0.0-canary-20260113173657 → 0.0.0-canary-20260119222405

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.
@@ -19,7 +19,7 @@ $ tsdown
19
19
  ℹ dist/operations/index.js.map 6.32 kB │ gzip: 1.60 kB
20
20
  ℹ dist/track.js.map 4.06 kB │ gzip: 1.12 kB
21
21
  ℹ dist/learning-journey-crm-onboarding.feature.js.map 2.85 kB │ gzip: 1.04 kB
22
- ℹ dist/presentations/index.js.map 2.14 kB │ gzip: 0.85 kB
22
+ ℹ dist/presentations/index.js.map 2.15 kB │ gzip: 0.86 kB
23
23
  ℹ dist/docs/crm-onboarding.docblock.js.map 1.92 kB │ gzip: 0.92 kB
24
24
  ℹ dist/handlers/demo.handlers.js.map 1.59 kB │ gzip: 0.69 kB
25
25
  ℹ dist/tests/operations.test-spec.js.map 1.45 kB │ gzip: 0.62 kB
@@ -27,7 +27,7 @@ $ tsdown
27
27
  ℹ dist/operations/index.d.ts.map 0.84 kB │ gzip: 0.32 kB
28
28
  ℹ dist/handlers/demo.handlers.d.ts.map 0.66 kB │ gzip: 0.35 kB
29
29
  ℹ dist/learning-journey-crm-onboarding.feature.d.ts.map 0.21 kB │ gzip: 0.16 kB
30
- ℹ dist/presentations/index.d.ts.map 0.21 kB │ gzip: 0.16 kB
30
+ ℹ dist/presentations/index.d.ts.map 0.21 kB │ gzip: 0.17 kB
31
31
  ℹ dist/tests/operations.test-spec.d.ts.map 0.17 kB │ gzip: 0.14 kB
32
32
  ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
33
33
  ℹ dist/track.d.ts.map 0.14 kB │ gzip: 0.13 kB
@@ -41,5 +41,5 @@ $ tsdown
41
41
  ℹ dist/example.d.ts 0.25 kB │ gzip: 0.17 kB
42
42
  ℹ dist/docs/crm-onboarding.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
43
43
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
44
- ℹ 35 files, total: 51.99 kB
45
- ✔ Build complete in 10307ms
44
+ ℹ 35 files, total: 52.00 kB
45
+ ✔ Build complete in 13422ms
@@ -3,7 +3,7 @@ $ tsc --noEmit
3
3
  $ tsdown
4
4
  ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
5
5
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-crm-onboarding/tsdown.config.js
6
- ℹ entry: src/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, src/tests/operations.test-spec.ts
6
+ ℹ entry: src/example.ts, src/index.ts, src/learning-journey-crm-onboarding.feature.ts, src/track.ts, src/handlers/demo.handlers.ts, src/operations/index.ts, src/docs/crm-onboarding.docblock.ts, src/docs/index.ts, src/presentations/index.ts, src/tests/operations.test-spec.ts
7
7
  ℹ target: esnext
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
@@ -20,7 +20,7 @@ $ tsdown
20
20
  ℹ dist/operations/index.js.map 6.32 kB │ gzip: 1.60 kB
21
21
  ℹ dist/track.js.map 4.06 kB │ gzip: 1.12 kB
22
22
  ℹ dist/learning-journey-crm-onboarding.feature.js.map 2.85 kB │ gzip: 1.04 kB
23
- ℹ dist/presentations/index.js.map 2.14 kB │ gzip: 0.85 kB
23
+ ℹ dist/presentations/index.js.map 2.15 kB │ gzip: 0.86 kB
24
24
  ℹ dist/docs/crm-onboarding.docblock.js.map 1.92 kB │ gzip: 0.92 kB
25
25
  ℹ dist/handlers/demo.handlers.js.map 1.59 kB │ gzip: 0.69 kB
26
26
  ℹ dist/tests/operations.test-spec.js.map 1.45 kB │ gzip: 0.62 kB
@@ -28,7 +28,7 @@ $ tsdown
28
28
  ℹ dist/operations/index.d.ts.map 0.84 kB │ gzip: 0.32 kB
29
29
  ℹ dist/handlers/demo.handlers.d.ts.map 0.66 kB │ gzip: 0.35 kB
30
30
  ℹ dist/learning-journey-crm-onboarding.feature.d.ts.map 0.21 kB │ gzip: 0.16 kB
31
- ℹ dist/presentations/index.d.ts.map 0.21 kB │ gzip: 0.16 kB
31
+ ℹ dist/presentations/index.d.ts.map 0.21 kB │ gzip: 0.17 kB
32
32
  ℹ dist/tests/operations.test-spec.d.ts.map 0.17 kB │ gzip: 0.14 kB
33
33
  ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
34
34
  ℹ dist/track.d.ts.map 0.14 kB │ gzip: 0.13 kB
@@ -42,5 +42,5 @@ $ tsdown
42
42
  ℹ dist/example.d.ts 0.25 kB │ gzip: 0.17 kB
43
43
  ℹ dist/docs/crm-onboarding.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
44
44
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
45
- ℹ 35 files, total: 51.99 kB
46
- ✔ Build complete in 3878ms
45
+ ℹ 35 files, total: 52.00 kB
46
+ ✔ Build complete in 4455ms
package/CHANGELOG.md CHANGED
@@ -1,6 +1,29 @@
1
1
  # @contractspec/example.learning-journey-crm-onboarding
2
2
 
3
- ## 0.0.0-canary-20260113173657
3
+ ## 0.0.0-canary-20260119222405
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c560ee7]
8
+ - @contractspec/lib.contracts@0.0.0-canary-20260119222405
9
+ - @contractspec/example.crm-pipeline@0.0.0-canary-20260119222405
10
+ - @contractspec/module.learning-journey@0.0.0-canary-20260119222405
11
+
12
+ ## 1.48.0
13
+
14
+ ### Minor Changes
15
+
16
+ - b0444a4: feat: reduce adoption's friction by allowing generation of contracts from an analyse of the codebase
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [b0444a4]
21
+ - @contractspec/module.learning-journey@1.48.0
22
+ - @contractspec/example.crm-pipeline@1.48.0
23
+ - @contractspec/lib.contracts@1.48.0
24
+ - @contractspec/lib.schema@1.48.0
25
+
26
+ ## 1.47.0
4
27
 
5
28
  ### Minor Changes
6
29
 
@@ -19,10 +42,10 @@
19
42
  - Updated dependencies [c231a8b]
20
43
  - Updated dependencies [42b8d78]
21
44
  - Updated dependencies [fd38e85]
22
- - @contractspec/module.learning-journey@0.0.0-canary-20260113173657
23
- - @contractspec/example.crm-pipeline@0.0.0-canary-20260113173657
24
- - @contractspec/lib.contracts@0.0.0-canary-20260113173657
25
- - @contractspec/lib.schema@0.0.0-canary-20260113173657
45
+ - @contractspec/module.learning-journey@1.47.0
46
+ - @contractspec/example.crm-pipeline@1.47.0
47
+ - @contractspec/lib.contracts@1.47.0
48
+ - @contractspec/lib.schema@1.47.0
26
49
 
27
50
  ## 1.46.2
28
51
 
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts8.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts0.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/learning-journey-crm-onboarding.feature.d.ts
4
4
 
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
6
6
  * Learning Journey CRM Onboarding feature module that bundles
7
7
  * CRM-specific onboarding track operations and presentations.
8
8
  */
9
- declare const LearningJourneyCrmOnboardingFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
9
+ declare const LearningJourneyCrmOnboardingFeature: _contractspec_lib_contracts1.FeatureModuleSpec;
10
10
  //#endregion
11
11
  export { LearningJourneyCrmOnboardingFeature };
12
12
  //# sourceMappingURL=learning-journey-crm-onboarding.feature.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts2 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
3
  import * as _contractspec_module_learning_journey_track_spec0 from "@contractspec/module.learning-journey/track-spec";
4
4
 
@@ -71,7 +71,7 @@ declare const CrmOnboardingTrackModel: _contractspec_lib_schema0.SchemaModel<{
71
71
  isOptional: false;
72
72
  };
73
73
  }>;
74
- declare const GetCrmOnboardingTrack: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
74
+ declare const GetCrmOnboardingTrack: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
75
75
  track: {
76
76
  type: _contractspec_lib_schema0.SchemaModel<{
77
77
  id: {
@@ -144,7 +144,7 @@ declare const GetCrmOnboardingTrack: _contractspec_lib_contracts1.OperationSpec<
144
144
  isOptional: false;
145
145
  };
146
146
  }>, undefined>;
147
- declare const RecordCrmOnboardingEvent: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
147
+ declare const RecordCrmOnboardingEvent: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
148
148
  learnerId: {
149
149
  type: _contractspec_lib_schema0.FieldType<string, string>;
150
150
  isOptional: false;
@@ -168,7 +168,7 @@ declare const RecordCrmOnboardingEvent: _contractspec_lib_contracts1.OperationSp
168
168
  };
169
169
  }>, undefined>;
170
170
  declare const crmOnboardingContracts: {
171
- GetCrmOnboardingTrack: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
171
+ GetCrmOnboardingTrack: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
172
172
  track: {
173
173
  type: _contractspec_lib_schema0.SchemaModel<{
174
174
  id: {
@@ -241,7 +241,7 @@ declare const crmOnboardingContracts: {
241
241
  isOptional: false;
242
242
  };
243
243
  }>, undefined>;
244
- RecordCrmOnboardingEvent: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
244
+ RecordCrmOnboardingEvent: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
245
245
  learnerId: {
246
246
  type: _contractspec_lib_schema0.FieldType<string, string>;
247
247
  isOptional: false;
@@ -1,9 +1,9 @@
1
- import * as _contractspec_lib_contracts5 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts6 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/presentations/index.d.ts
4
- declare const CrmOnboardingTrackPresentation: _contractspec_lib_contracts5.PresentationSpec;
5
- declare const CrmOnboardingWidgetPresentation: _contractspec_lib_contracts5.PresentationSpec;
6
- declare const crmOnboardingPresentations: _contractspec_lib_contracts5.PresentationSpec[];
4
+ declare const CrmOnboardingTrackPresentation: _contractspec_lib_contracts6.PresentationSpec;
5
+ declare const CrmOnboardingWidgetPresentation: _contractspec_lib_contracts6.PresentationSpec;
6
+ declare const crmOnboardingPresentations: _contractspec_lib_contracts6.PresentationSpec[];
7
7
  //#endregion
8
8
  export { CrmOnboardingTrackPresentation, CrmOnboardingWidgetPresentation, crmOnboardingPresentations };
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";;;cAgBa,gCAcX,4BAAA,CAdyC;cAgB9B,iCAaX,4BAAA,CAb0C;cAe/B,4BAGZ,4BAAA,CAHsC,gBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";;;cAoBa,gCAcX,4BAAA,CAdyC;cAgB9B,iCAaX,4BAAA,CAb0C;cAe/B,4BAGZ,4BAAA,CAHsC,gBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["import { definePresentation, StabilityEnum, type PresentationSpecMeta } from '@contractspec/lib.contracts';\nimport { CrmOnboardingTrackModel } from '../operations';\n\nconst baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n> = {\n domain: 'learning-journey',\n title: 'CRM Onboarding',\n owners: ['@examples.learning-journey.crm-onboarding'],\n tags: ['learning', 'crm', 'onboarding'],\n stability: StabilityEnum.Experimental,\n goal: 'Guide CRM users through onboarding',\n context: 'CRM onboarding journey',\n};\n\nexport const CrmOnboardingTrackPresentation = definePresentation({\n meta: {\n key: 'learning.journey.crm.track',\n version: '1.0.0',\n description: 'CRM first win track detail',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackDetail',\n props: CrmOnboardingTrackModel,\n },\n targets: ['react', 'markdown', 'application/json'],\n});\n\nexport const CrmOnboardingWidgetPresentation = definePresentation({\n meta: {\n key: 'learning.journey.crm.widget',\n version: '1.0.0',\n description: 'Compact widget for CRM onboarding progress',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackProgressWidget',\n },\n targets: ['react'],\n});\n\nexport const crmOnboardingPresentations = [\n CrmOnboardingTrackPresentation,\n CrmOnboardingWidgetPresentation,\n];\n"],"mappings":";;;;AAGA,MAAM,WAGF;CACF,QAAQ;CACR,OAAO;CACP,QAAQ,CAAC,4CAA4C;CACrD,MAAM;EAAC;EAAY;EAAO;EAAa;CACvC,WAAW,cAAc;CACzB,MAAM;CACN,SAAS;CACV;AAED,MAAa,iCAAiC,mBAAmB;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS;EAAC;EAAS;EAAY;EAAmB;CACnD,CAAC;AAEF,MAAa,kCAAkC,mBAAmB;CAChE,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,6BAA6B,CACxC,gCACA,gCACD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["import {\n definePresentation,\n StabilityEnum,\n type PresentationSpecMeta,\n} from '@contractspec/lib.contracts';\nimport { CrmOnboardingTrackModel } from '../operations';\n\nconst baseMeta: Pick<\n PresentationSpecMeta,\n 'domain' | 'owners' | 'tags' | 'title' | 'stability' | 'goal' | 'context'\n> = {\n domain: 'learning-journey',\n title: 'CRM Onboarding',\n owners: ['@examples.learning-journey.crm-onboarding'],\n tags: ['learning', 'crm', 'onboarding'],\n stability: StabilityEnum.Experimental,\n goal: 'Guide CRM users through onboarding',\n context: 'CRM onboarding journey',\n};\n\nexport const CrmOnboardingTrackPresentation = definePresentation({\n meta: {\n key: 'learning.journey.crm.track',\n version: '1.0.0',\n description: 'CRM first win track detail',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackDetail',\n props: CrmOnboardingTrackModel,\n },\n targets: ['react', 'markdown', 'application/json'],\n});\n\nexport const CrmOnboardingWidgetPresentation = definePresentation({\n meta: {\n key: 'learning.journey.crm.widget',\n version: '1.0.0',\n description: 'Compact widget for CRM onboarding progress',\n ...baseMeta,\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'LearningTrackProgressWidget',\n },\n targets: ['react'],\n});\n\nexport const crmOnboardingPresentations = [\n CrmOnboardingTrackPresentation,\n CrmOnboardingWidgetPresentation,\n];\n"],"mappings":";;;;AAOA,MAAM,WAGF;CACF,QAAQ;CACR,OAAO;CACP,QAAQ,CAAC,4CAA4C;CACrD,MAAM;EAAC;EAAY;EAAO;EAAa;CACvC,WAAW,cAAc;CACzB,MAAM;CACN,SAAS;CACV;AAED,MAAa,iCAAiC,mBAAmB;CAC/D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS;EAAC;EAAS;EAAY;EAAmB;CACnD,CAAC;AAEF,MAAa,kCAAkC,mBAAmB;CAChE,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,GAAG;EACJ;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,6BAA6B,CACxC,gCACA,gCACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.learning-journey-crm-onboarding",
3
- "version": "0.0.0-canary-20260113173657",
3
+ "version": "0.0.0-canary-20260119222405",
4
4
  "description": "Learning journey track that onboards users to the CRM pipeline example.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -30,14 +30,14 @@
30
30
  "lint:check": "eslint src"
31
31
  },
32
32
  "dependencies": {
33
- "@contractspec/lib.contracts": "0.0.0-canary-20260113173657",
34
- "@contractspec/lib.schema": "0.0.0-canary-20260113173657",
35
- "@contractspec/module.learning-journey": "0.0.0-canary-20260113173657",
36
- "@contractspec/example.crm-pipeline": "0.0.0-canary-20260113173657"
33
+ "@contractspec/lib.contracts": "0.0.0-canary-20260119222405",
34
+ "@contractspec/lib.schema": "1.48.0",
35
+ "@contractspec/module.learning-journey": "0.0.0-canary-20260119222405",
36
+ "@contractspec/example.crm-pipeline": "0.0.0-canary-20260119222405"
37
37
  },
38
38
  "devDependencies": {
39
- "@contractspec/tool.tsdown": "0.0.0-canary-20260113173657",
40
- "@contractspec/tool.typescript": "0.0.0-canary-20260113173657",
39
+ "@contractspec/tool.tsdown": "1.48.0",
40
+ "@contractspec/tool.typescript": "1.48.0",
41
41
  "tsdown": "^0.19.0",
42
42
  "typescript": "^5.9.3"
43
43
  },
@@ -1,4 +1,8 @@
1
- import { definePresentation, StabilityEnum, type PresentationSpecMeta } from '@contractspec/lib.contracts';
1
+ import {
2
+ definePresentation,
3
+ StabilityEnum,
4
+ type PresentationSpecMeta,
5
+ } from '@contractspec/lib.contracts';
2
6
  import { CrmOnboardingTrackModel } from '../operations';
3
7
 
4
8
  const baseMeta: Pick<