@contractspec/example.crm-pipeline 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.
Files changed (48) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +25 -25
  2. package/.turbo/turbo-build.log +22 -22
  3. package/CHANGELOG.md +45 -0
  4. package/dist/crm-pipeline.feature.js +29 -29
  5. package/dist/crm-pipeline.feature.js.map +1 -1
  6. package/dist/deal/deal.enum.d.ts +3 -3
  7. package/dist/deal/deal.enum.d.ts.map +1 -1
  8. package/dist/deal/deal.operation.d.ts +132 -132
  9. package/dist/deal/deal.operation.d.ts.map +1 -1
  10. package/dist/deal/deal.operation.js +9 -9
  11. package/dist/deal/deal.operation.js.map +1 -1
  12. package/dist/deal/deal.schema.d.ts +71 -71
  13. package/dist/deal/deal.schema.d.ts.map +1 -1
  14. package/dist/entities/company.entity.d.ts +28 -28
  15. package/dist/entities/company.entity.d.ts.map +1 -1
  16. package/dist/entities/contact.entity.d.ts +32 -32
  17. package/dist/entities/contact.entity.d.ts.map +1 -1
  18. package/dist/entities/deal.entity.d.ts +53 -53
  19. package/dist/entities/task.entity.d.ts +43 -43
  20. package/dist/events/contact.event.d.ts +8 -8
  21. package/dist/events/contact.event.js +1 -1
  22. package/dist/events/contact.event.js.map +1 -1
  23. package/dist/events/deal.event.d.ts +30 -30
  24. package/dist/events/deal.event.js +4 -4
  25. package/dist/events/deal.event.js.map +1 -1
  26. package/dist/events/task.event.d.ts +8 -8
  27. package/dist/events/task.event.js +1 -1
  28. package/dist/events/task.event.js.map +1 -1
  29. package/dist/example.d.ts +3 -33
  30. package/dist/example.d.ts.map +1 -1
  31. package/dist/example.js +16 -11
  32. package/dist/example.js.map +1 -1
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/presentations/dashboard.presentation.js +2 -2
  36. package/dist/presentations/dashboard.presentation.js.map +1 -1
  37. package/dist/presentations/pipeline.presentation.js +4 -4
  38. package/dist/presentations/pipeline.presentation.js.map +1 -1
  39. package/package.json +10 -10
  40. package/src/crm-pipeline.feature.ts +33 -29
  41. package/src/deal/deal.operation.ts +9 -9
  42. package/src/events/contact.event.ts +1 -1
  43. package/src/events/deal.event.ts +4 -4
  44. package/src/events/task.event.ts +1 -1
  45. package/src/example.ts +16 -8
  46. package/src/presentations/dashboard.presentation.ts +2 -2
  47. package/src/presentations/pipeline.presentation.ts +4 -4
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -7,23 +7,23 @@ $ tsdown
7
7
  ℹ Build start
8
8
  ℹ Cleaning 94 files
9
9
  ℹ dist/deal/deal.schema.js  5.86 kB │ gzip: 0.87 kB
10
- ℹ dist/deal/deal.operation.js  5.57 kB │ gzip: 1.47 kB
10
+ ℹ dist/deal/deal.operation.js  5.63 kB │ gzip: 1.47 kB
11
11
  ℹ dist/handlers/mock-data.js  4.50 kB │ gzip: 1.09 kB
12
- ℹ dist/events/deal.event.js  3.75 kB │ gzip: 0.67 kB
12
+ ℹ dist/events/deal.event.js  3.77 kB │ gzip: 0.68 kB
13
13
  ℹ dist/handlers/deal.handlers.js  3.73 kB │ gzip: 1.06 kB
14
14
  ℹ dist/index.js  3.65 kB │ gzip: 0.94 kB
15
15
  ℹ dist/docs/crm-pipeline.docblock.js  3.60 kB │ gzip: 1.44 kB
16
16
  ℹ dist/entities/deal.entity.js  3.56 kB │ gzip: 1.05 kB
17
17
  ℹ dist/entities/task.entity.js  3.41 kB │ gzip: 0.98 kB
18
- ℹ dist/presentations/pipeline.presentation.js  3.06 kB │ gzip: 0.93 kB
18
+ ℹ dist/presentations/pipeline.presentation.js  3.08 kB │ gzip: 0.94 kB
19
+ ℹ dist/crm-pipeline.feature.js  2.48 kB │ gzip: 0.64 kB
19
20
  ℹ dist/entities/contact.entity.js  2.38 kB │ gzip: 0.83 kB
20
- ℹ dist/crm-pipeline.feature.js  2.31 kB │ gzip: 0.63 kB
21
21
  ℹ dist/entities/company.entity.js  1.97 kB │ gzip: 0.72 kB
22
- ℹ dist/presentations/dashboard.presentation.js  1.55 kB │ gzip: 0.61 kB
23
- ℹ dist/events/contact.event.js  1.08 kB │ gzip: 0.45 kB
24
- ℹ dist/events/task.event.js  1.06 kB │ gzip: 0.44 kB
22
+ ℹ dist/presentations/dashboard.presentation.js  1.57 kB │ gzip: 0.62 kB
23
+ ℹ dist/events/contact.event.js  1.09 kB │ gzip: 0.45 kB
24
+ ℹ dist/events/task.event.js  1.07 kB │ gzip: 0.44 kB
25
25
  ℹ dist/entities/index.js  1.05 kB │ gzip: 0.39 kB
26
- ℹ dist/example.js  0.89 kB │ gzip: 0.47 kB
26
+ ℹ dist/example.js  1.00 kB │ gzip: 0.52 kB
27
27
  ℹ dist/operations/index.js  0.79 kB │ gzip: 0.23 kB
28
28
  ℹ dist/deal/index.js  0.78 kB │ gzip: 0.23 kB
29
29
  ℹ dist/handlers/index.js  0.52 kB │ gzip: 0.19 kB
@@ -31,24 +31,24 @@ $ tsdown
31
31
  ℹ dist/presentations/index.js  0.40 kB │ gzip: 0.15 kB
32
32
  ℹ dist/events/index.js  0.32 kB │ gzip: 0.14 kB
33
33
  ℹ dist/docs/index.js  0.04 kB │ gzip: 0.06 kB
34
- ℹ dist/deal/deal.operation.js.map  9.52 kB │ gzip: 2.05 kB
34
+ ℹ dist/deal/deal.operation.js.map  9.58 kB │ gzip: 2.06 kB
35
35
  ℹ dist/deal/deal.schema.js.map  8.70 kB │ gzip: 1.25 kB
36
36
  ℹ dist/handlers/deal.handlers.js.map  7.89 kB │ gzip: 2.07 kB
37
37
  ℹ dist/handlers/mock-data.js.map  7.48 kB │ gzip: 1.55 kB
38
38
  ℹ dist/entities/deal.entity.js.map  6.68 kB │ gzip: 1.76 kB
39
39
  ℹ dist/entities/task.entity.js.map  6.10 kB │ gzip: 1.56 kB
40
- ℹ dist/events/deal.event.js.map  5.86 kB │ gzip: 1.01 kB
41
- ℹ dist/presentations/pipeline.presentation.js.map  4.83 kB │ gzip: 1.24 kB
40
+ ℹ dist/events/deal.event.js.map  5.88 kB │ gzip: 1.02 kB
41
+ ℹ dist/presentations/pipeline.presentation.js.map  4.85 kB │ gzip: 1.24 kB
42
+ ℹ dist/crm-pipeline.feature.js.map  4.47 kB │ gzip: 1.20 kB
42
43
  ℹ dist/docs/crm-pipeline.docblock.js.map  4.46 kB │ gzip: 1.65 kB
43
44
  ℹ dist/entities/contact.entity.js.map  4.32 kB │ gzip: 1.37 kB
44
- ℹ dist/crm-pipeline.feature.js.map  4.27 kB │ gzip: 1.20 kB
45
45
  ℹ dist/entities/company.entity.js.map  3.58 kB │ gzip: 1.17 kB
46
- ℹ dist/presentations/dashboard.presentation.js.map  2.50 kB │ gzip: 0.87 kB
47
- ℹ dist/events/contact.event.js.map  1.65 kB │ gzip: 0.69 kB
48
- ℹ dist/events/task.event.js.map  1.61 kB │ gzip: 0.64 kB
46
+ ℹ dist/presentations/dashboard.presentation.js.map  2.52 kB │ gzip: 0.87 kB
47
+ ℹ dist/events/contact.event.js.map  1.65 kB │ gzip: 0.70 kB
48
+ ℹ dist/events/task.event.js.map  1.61 kB │ gzip: 0.65 kB
49
+ ℹ dist/example.js.map  1.58 kB │ gzip: 0.77 kB
49
50
  ℹ dist/entities/index.js.map  1.38 kB │ gzip: 0.49 kB
50
51
  ℹ dist/handlers/deal.handlers.d.ts.map  1.35 kB │ gzip: 0.52 kB
51
- ℹ dist/example.js.map  1.30 kB │ gzip: 0.66 kB
52
52
  ℹ dist/deal/deal.schema.d.ts.map  1.29 kB │ gzip: 0.45 kB
53
53
  ℹ dist/deal/deal.operation.d.ts.map  1.27 kB │ gzip: 0.38 kB
54
54
  ℹ dist/index.js.map  1.27 kB │ gzip: 0.54 kB
@@ -67,17 +67,16 @@ $ tsdown
67
67
  ℹ dist/index.d.ts.map  0.16 kB │ gzip: 0.13 kB
68
68
  ℹ dist/crm-pipeline.feature.d.ts.map  0.16 kB │ gzip: 0.13 kB
69
69
  ℹ dist/entities/index.d.ts.map  0.15 kB │ gzip: 0.13 kB
70
- ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
71
- ℹ dist/deal/deal.operation.d.ts 14.01 kB │ gzip: 0.98 kB
72
- ℹ dist/deal/deal.schema.d.ts  8.27 kB │ gzip: 0.84 kB
73
- ℹ dist/index.d.ts  3.56 kB │ gzip: 0.91 kB
70
+ ℹ dist/example.d.ts.map  0.12 kB │ gzip: 0.12 kB
71
+ ℹ dist/deal/deal.operation.d.ts 14.26 kB │ gzip: 0.97 kB
72
+ ℹ dist/deal/deal.schema.d.ts  8.12 kB │ gzip: 0.84 kB
73
+ ℹ dist/index.d.ts  3.57 kB │ gzip: 0.92 kB
74
74
  ℹ dist/entities/deal.entity.d.ts  3.54 kB │ gzip: 0.56 kB
75
75
  ℹ dist/events/deal.event.d.ts  3.31 kB │ gzip: 0.43 kB
76
76
  ℹ dist/entities/task.entity.d.ts  2.99 kB │ gzip: 0.51 kB
77
77
  ℹ dist/handlers/deal.handlers.d.ts  2.40 kB │ gzip: 0.69 kB
78
- ℹ dist/entities/contact.entity.d.ts  2.16 kB │ gzip: 0.45 kB
79
- ℹ dist/entities/company.entity.d.ts  1.91 kB │ gzip: 0.42 kB
80
- ℹ dist/example.d.ts  1.14 kB │ gzip: 0.46 kB
78
+ ℹ dist/entities/contact.entity.d.ts  2.13 kB │ gzip: 0.45 kB
79
+ ℹ dist/entities/company.entity.d.ts  1.88 kB │ gzip: 0.42 kB
81
80
  ℹ dist/handlers/mock-data.d.ts  1.04 kB │ gzip: 0.43 kB
82
81
  ℹ dist/events/contact.event.d.ts  0.94 kB │ gzip: 0.31 kB
83
82
  ℹ dist/events/task.event.d.ts  0.93 kB │ gzip: 0.30 kB
@@ -91,7 +90,8 @@ $ tsdown
91
90
  ℹ dist/presentations/index.d.ts  0.40 kB │ gzip: 0.15 kB
92
91
  ℹ dist/crm-pipeline.feature.d.ts  0.40 kB │ gzip: 0.24 kB
93
92
  ℹ dist/events/index.d.ts  0.32 kB │ gzip: 0.14 kB
93
+ ℹ dist/example.d.ts  0.20 kB │ gzip: 0.16 kB
94
94
  ℹ dist/docs/crm-pipeline.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
95
95
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
96
- ℹ 87 files, total: 200.69 kB
97
- ✔ Build complete in 19427ms
96
+ ℹ 87 files, total: 200.81 kB
97
+ ✔ Build complete in 25448ms
@@ -8,23 +8,23 @@ $ tsdown
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
10
  ℹ dist/deal/deal.schema.js  5.86 kB │ gzip: 0.87 kB
11
- ℹ dist/deal/deal.operation.js  5.57 kB │ gzip: 1.47 kB
11
+ ℹ dist/deal/deal.operation.js  5.63 kB │ gzip: 1.47 kB
12
12
  ℹ dist/handlers/mock-data.js  4.50 kB │ gzip: 1.09 kB
13
- ℹ dist/events/deal.event.js  3.75 kB │ gzip: 0.67 kB
13
+ ℹ dist/events/deal.event.js  3.77 kB │ gzip: 0.68 kB
14
14
  ℹ dist/handlers/deal.handlers.js  3.73 kB │ gzip: 1.06 kB
15
15
  ℹ dist/index.js  3.65 kB │ gzip: 0.94 kB
16
16
  ℹ dist/docs/crm-pipeline.docblock.js  3.60 kB │ gzip: 1.44 kB
17
17
  ℹ dist/entities/deal.entity.js  3.56 kB │ gzip: 1.05 kB
18
18
  ℹ dist/entities/task.entity.js  3.41 kB │ gzip: 0.98 kB
19
- ℹ dist/presentations/pipeline.presentation.js  3.06 kB │ gzip: 0.93 kB
19
+ ℹ dist/presentations/pipeline.presentation.js  3.08 kB │ gzip: 0.94 kB
20
+ ℹ dist/crm-pipeline.feature.js  2.48 kB │ gzip: 0.64 kB
20
21
  ℹ dist/entities/contact.entity.js  2.38 kB │ gzip: 0.83 kB
21
- ℹ dist/crm-pipeline.feature.js  2.31 kB │ gzip: 0.63 kB
22
22
  ℹ dist/entities/company.entity.js  1.97 kB │ gzip: 0.72 kB
23
- ℹ dist/presentations/dashboard.presentation.js  1.55 kB │ gzip: 0.61 kB
24
- ℹ dist/events/contact.event.js  1.08 kB │ gzip: 0.45 kB
25
- ℹ dist/events/task.event.js  1.06 kB │ gzip: 0.44 kB
23
+ ℹ dist/presentations/dashboard.presentation.js  1.57 kB │ gzip: 0.62 kB
24
+ ℹ dist/events/contact.event.js  1.09 kB │ gzip: 0.45 kB
25
+ ℹ dist/events/task.event.js  1.07 kB │ gzip: 0.44 kB
26
26
  ℹ dist/entities/index.js  1.05 kB │ gzip: 0.39 kB
27
- ℹ dist/example.js  0.89 kB │ gzip: 0.47 kB
27
+ ℹ dist/example.js  1.00 kB │ gzip: 0.52 kB
28
28
  ℹ dist/operations/index.js  0.79 kB │ gzip: 0.23 kB
29
29
  ℹ dist/deal/index.js  0.78 kB │ gzip: 0.23 kB
30
30
  ℹ dist/handlers/index.js  0.52 kB │ gzip: 0.19 kB
@@ -32,24 +32,24 @@ $ tsdown
32
32
  ℹ dist/presentations/index.js  0.40 kB │ gzip: 0.15 kB
33
33
  ℹ dist/events/index.js  0.32 kB │ gzip: 0.14 kB
34
34
  ℹ dist/docs/index.js  0.04 kB │ gzip: 0.06 kB
35
- ℹ dist/deal/deal.operation.js.map  9.52 kB │ gzip: 2.05 kB
35
+ ℹ dist/deal/deal.operation.js.map  9.58 kB │ gzip: 2.06 kB
36
36
  ℹ dist/deal/deal.schema.js.map  8.70 kB │ gzip: 1.25 kB
37
37
  ℹ dist/handlers/deal.handlers.js.map  7.89 kB │ gzip: 2.07 kB
38
38
  ℹ dist/handlers/mock-data.js.map  7.48 kB │ gzip: 1.55 kB
39
39
  ℹ dist/entities/deal.entity.js.map  6.68 kB │ gzip: 1.76 kB
40
40
  ℹ dist/entities/task.entity.js.map  6.10 kB │ gzip: 1.56 kB
41
- ℹ dist/events/deal.event.js.map  5.86 kB │ gzip: 1.01 kB
42
- ℹ dist/presentations/pipeline.presentation.js.map  4.83 kB │ gzip: 1.24 kB
41
+ ℹ dist/events/deal.event.js.map  5.88 kB │ gzip: 1.02 kB
42
+ ℹ dist/presentations/pipeline.presentation.js.map  4.85 kB │ gzip: 1.24 kB
43
+ ℹ dist/crm-pipeline.feature.js.map  4.47 kB │ gzip: 1.20 kB
43
44
  ℹ dist/docs/crm-pipeline.docblock.js.map  4.46 kB │ gzip: 1.65 kB
44
45
  ℹ dist/entities/contact.entity.js.map  4.32 kB │ gzip: 1.37 kB
45
- ℹ dist/crm-pipeline.feature.js.map  4.27 kB │ gzip: 1.20 kB
46
46
  ℹ dist/entities/company.entity.js.map  3.58 kB │ gzip: 1.17 kB
47
- ℹ dist/presentations/dashboard.presentation.js.map  2.50 kB │ gzip: 0.87 kB
48
- ℹ dist/events/contact.event.js.map  1.65 kB │ gzip: 0.69 kB
49
- ℹ dist/events/task.event.js.map  1.61 kB │ gzip: 0.64 kB
47
+ ℹ dist/presentations/dashboard.presentation.js.map  2.52 kB │ gzip: 0.87 kB
48
+ ℹ dist/events/contact.event.js.map  1.65 kB │ gzip: 0.70 kB
49
+ ℹ dist/events/task.event.js.map  1.61 kB │ gzip: 0.65 kB
50
+ ℹ dist/example.js.map  1.58 kB │ gzip: 0.77 kB
50
51
  ℹ dist/entities/index.js.map  1.38 kB │ gzip: 0.49 kB
51
52
  ℹ dist/handlers/deal.handlers.d.ts.map  1.35 kB │ gzip: 0.52 kB
52
- ℹ dist/example.js.map  1.30 kB │ gzip: 0.66 kB
53
53
  ℹ dist/deal/deal.schema.d.ts.map  1.29 kB │ gzip: 0.45 kB
54
54
  ℹ dist/deal/deal.operation.d.ts.map  1.27 kB │ gzip: 0.38 kB
55
55
  ℹ dist/index.js.map  1.27 kB │ gzip: 0.54 kB
@@ -68,17 +68,16 @@ $ tsdown
68
68
  ℹ dist/index.d.ts.map  0.16 kB │ gzip: 0.13 kB
69
69
  ℹ dist/crm-pipeline.feature.d.ts.map  0.16 kB │ gzip: 0.13 kB
70
70
  ℹ dist/entities/index.d.ts.map  0.15 kB │ gzip: 0.13 kB
71
- ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
72
- ℹ dist/deal/deal.operation.d.ts 14.01 kB │ gzip: 0.98 kB
71
+ ℹ dist/example.d.ts.map  0.12 kB │ gzip: 0.12 kB
72
+ ℹ dist/deal/deal.operation.d.ts 14.01 kB │ gzip: 0.97 kB
73
73
  ℹ dist/deal/deal.schema.d.ts  8.27 kB │ gzip: 0.84 kB
74
74
  ℹ dist/index.d.ts  3.56 kB │ gzip: 0.91 kB
75
- ℹ dist/entities/deal.entity.d.ts  3.54 kB │ gzip: 0.55 kB
75
+ ℹ dist/entities/deal.entity.d.ts  3.54 kB │ gzip: 0.56 kB
76
76
  ℹ dist/events/deal.event.d.ts  3.31 kB │ gzip: 0.43 kB
77
77
  ℹ dist/entities/task.entity.d.ts  2.99 kB │ gzip: 0.51 kB
78
78
  ℹ dist/handlers/deal.handlers.d.ts  2.40 kB │ gzip: 0.69 kB
79
79
  ℹ dist/entities/contact.entity.d.ts  2.16 kB │ gzip: 0.45 kB
80
80
  ℹ dist/entities/company.entity.d.ts  1.91 kB │ gzip: 0.42 kB
81
- ℹ dist/example.d.ts  1.14 kB │ gzip: 0.46 kB
82
81
  ℹ dist/handlers/mock-data.d.ts  1.04 kB │ gzip: 0.43 kB
83
82
  ℹ dist/events/contact.event.d.ts  0.94 kB │ gzip: 0.31 kB
84
83
  ℹ dist/events/task.event.d.ts  0.93 kB │ gzip: 0.30 kB
@@ -92,7 +91,8 @@ $ tsdown
92
91
  ℹ dist/presentations/index.d.ts  0.40 kB │ gzip: 0.15 kB
93
92
  ℹ dist/crm-pipeline.feature.d.ts  0.40 kB │ gzip: 0.24 kB
94
93
  ℹ dist/events/index.d.ts  0.32 kB │ gzip: 0.14 kB
94
+ ℹ dist/example.d.ts  0.20 kB │ gzip: 0.16 kB
95
95
  ℹ dist/docs/crm-pipeline.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
96
96
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
97
- ℹ 87 files, total: 200.69 kB
98
- ✔ Build complete in 24010ms
97
+ ℹ 87 files, total: 200.75 kB
98
+ ✔ Build complete in 26049ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @contractspec/example.crm-pipeline
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/module.notifications@1.45.0
27
+ - @contractspec/module.audit-trail@1.45.0
28
+ - @contractspec/lib.identity-rbac@1.45.0
29
+ - @contractspec/lib.contracts@1.45.0
30
+ - @contractspec/lib.schema@1.45.0
31
+ - @contractspec/lib.jobs@1.45.0
32
+ - @contractspec/lib.bus@1.45.0
33
+
34
+ ## 1.44.1
35
+
36
+ ### Patch Changes
37
+
38
+ - 3c594fb: fix
39
+ - Updated dependencies [3c594fb]
40
+ - @contractspec/module.notifications@1.44.1
41
+ - @contractspec/module.audit-trail@1.44.1
42
+ - @contractspec/lib.identity-rbac@1.44.1
43
+ - @contractspec/lib.contracts@1.44.1
44
+ - @contractspec/lib.schema@1.44.1
45
+ - @contractspec/lib.jobs@1.44.1
46
+ - @contractspec/lib.bus@1.44.1
47
+
3
48
  ## 1.44.0
4
49
 
5
50
  ### Minor Changes
@@ -17,115 +17,115 @@ const CrmPipelineFeature = {
17
17
  "deals"
18
18
  ],
19
19
  stability: "experimental",
20
- version: 1
20
+ version: "1.0.0"
21
21
  },
22
22
  operations: [
23
23
  {
24
24
  key: "crm.deal.create",
25
- version: 1
25
+ version: "1.0.0"
26
26
  },
27
27
  {
28
28
  key: "crm.deal.move",
29
- version: 1
29
+ version: "1.0.0"
30
30
  },
31
31
  {
32
32
  key: "crm.deal.win",
33
- version: 1
33
+ version: "1.0.0"
34
34
  },
35
35
  {
36
36
  key: "crm.deal.lose",
37
- version: 1
37
+ version: "1.0.0"
38
38
  },
39
39
  {
40
40
  key: "crm.deal.list",
41
- version: 1
41
+ version: "1.0.0"
42
42
  }
43
43
  ],
44
44
  events: [
45
45
  {
46
46
  key: "deal.created",
47
- version: 1
47
+ version: "1.0.0"
48
48
  },
49
49
  {
50
50
  key: "deal.moved",
51
- version: 1
51
+ version: "1.0.0"
52
52
  },
53
53
  {
54
54
  key: "deal.won",
55
- version: 1
55
+ version: "1.0.0"
56
56
  },
57
57
  {
58
58
  key: "deal.lost",
59
- version: 1
59
+ version: "1.0.0"
60
60
  },
61
61
  {
62
62
  key: "contact.created",
63
- version: 1
63
+ version: "1.0.0"
64
64
  },
65
65
  {
66
66
  key: "task.completed",
67
- version: 1
67
+ version: "1.0.0"
68
68
  }
69
69
  ],
70
70
  presentations: [
71
71
  {
72
72
  key: "crm.dashboard",
73
- version: 1
73
+ version: "1.0.0"
74
74
  },
75
75
  {
76
76
  key: "crm.pipeline.kanban",
77
- version: 1
77
+ version: "1.0.0"
78
78
  },
79
79
  {
80
80
  key: "crm.deal.list",
81
- version: 1
81
+ version: "1.0.0"
82
82
  },
83
83
  {
84
84
  key: "crm.deal.detail",
85
- version: 1
85
+ version: "1.0.0"
86
86
  },
87
87
  {
88
88
  key: "crm.deal.card",
89
- version: 1
89
+ version: "1.0.0"
90
90
  },
91
91
  {
92
92
  key: "crm.pipeline.metrics",
93
- version: 1
93
+ version: "1.0.0"
94
94
  }
95
95
  ],
96
96
  opToPresentation: [{
97
97
  op: {
98
98
  key: "crm.deal.list",
99
- version: 1
99
+ version: "1.0.0"
100
100
  },
101
101
  pres: {
102
102
  key: "crm.pipeline.kanban",
103
- version: 1
103
+ version: "1.0.0"
104
104
  }
105
105
  }, {
106
106
  op: {
107
107
  key: "crm.deal.move",
108
- version: 1
108
+ version: "1.0.0"
109
109
  },
110
110
  pres: {
111
111
  key: "crm.pipeline.kanban",
112
- version: 1
112
+ version: "1.0.0"
113
113
  }
114
114
  }],
115
115
  presentationsTargets: [
116
116
  {
117
117
  key: "crm.dashboard",
118
- version: 1,
118
+ version: "1.0.0",
119
119
  targets: ["react", "markdown"]
120
120
  },
121
121
  {
122
122
  key: "crm.pipeline.kanban",
123
- version: 1,
123
+ version: "1.0.0",
124
124
  targets: ["react", "markdown"]
125
125
  },
126
126
  {
127
127
  key: "crm.deal.list",
128
- version: 1,
128
+ version: "1.0.0",
129
129
  targets: [
130
130
  "react",
131
131
  "markdown",
@@ -134,22 +134,22 @@ const CrmPipelineFeature = {
134
134
  },
135
135
  {
136
136
  key: "crm.pipeline.metrics",
137
- version: 1,
137
+ version: "1.0.0",
138
138
  targets: ["react", "markdown"]
139
139
  }
140
140
  ],
141
141
  capabilities: { requires: [
142
142
  {
143
143
  key: "identity",
144
- version: 1
144
+ version: "1.0.0"
145
145
  },
146
146
  {
147
147
  key: "audit-trail",
148
- version: 1
148
+ version: "1.0.0"
149
149
  },
150
150
  {
151
151
  key: "notifications",
152
- version: 1
152
+ version: "1.0.0"
153
153
  }
154
154
  ] }
155
155
  };
@@ -1 +1 @@
1
- {"version":3,"file":"crm-pipeline.feature.js","names":["CrmPipelineFeature: FeatureModuleSpec"],"sources":["../src/crm-pipeline.feature.ts"],"sourcesContent":["/**\n * CRM Pipeline Feature Module Specification\n *\n * Defines the feature module for CRM and sales pipeline capabilities.\n */\nimport type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\n/**\n * CRM Pipeline feature module that bundles deal management,\n * pipeline operations, and contact management into an installable feature.\n */\nexport const CrmPipelineFeature: FeatureModuleSpec = {\n meta: {\n key: 'crm-pipeline',\n title: 'CRM Pipeline',\n description:\n 'CRM and sales pipeline management with deals, contacts, and companies',\n domain: 'crm',\n owners: ['@crm-team'],\n tags: ['crm', 'sales', 'pipeline', 'deals'],\n stability: 'experimental',\n version: 1,\n },\n\n // All contract operations included in this feature\n operations: [\n // Deal operations\n { key: 'crm.deal.create', version: 1 },\n { key: 'crm.deal.move', version: 1 },\n { key: 'crm.deal.win', version: 1 },\n { key: 'crm.deal.lose', version: 1 },\n { key: 'crm.deal.list', version: 1 },\n ],\n\n // Events emitted by this feature\n events: [\n // Deal events\n { key: 'deal.created', version: 1 },\n { key: 'deal.moved', version: 1 },\n { key: 'deal.won', version: 1 },\n { key: 'deal.lost', version: 1 },\n\n // Contact events\n { key: 'contact.created', version: 1 },\n\n // Task events\n { key: 'task.completed', version: 1 },\n ],\n\n // Presentations associated with this feature\n presentations: [\n { key: 'crm.dashboard', version: 1 },\n { key: 'crm.pipeline.kanban', version: 1 },\n { key: 'crm.deal.list', version: 1 },\n { key: 'crm.deal.detail', version: 1 },\n { key: 'crm.deal.card', version: 1 },\n { key: 'crm.pipeline.metrics', version: 1 },\n ],\n\n // Link operations to their primary presentations\n opToPresentation: [\n {\n op: { key: 'crm.deal.list', version: 1 },\n pres: { key: 'crm.pipeline.kanban', version: 1 },\n },\n {\n op: { key: 'crm.deal.move', version: 1 },\n pres: { key: 'crm.pipeline.kanban', version: 1 },\n },\n ],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n { key: 'crm.dashboard', version: 1, targets: ['react', 'markdown'] },\n { key: 'crm.pipeline.kanban', version: 1, targets: ['react', 'markdown'] },\n {\n key: 'crm.deal.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n key: 'crm.pipeline.metrics',\n version: 1,\n targets: ['react', 'markdown'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [\n { key: 'identity', version: 1 },\n { key: 'audit-trail', version: 1 },\n { key: 'notifications', version: 1 },\n ],\n },\n};\n"],"mappings":";;;;;AAWA,MAAaA,qBAAwC;CACnD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAO;GAAS;GAAY;GAAQ;EAC3C,WAAW;EACX,SAAS;EACV;CAGD,YAAY;EAEV;GAAE,KAAK;GAAmB,SAAS;GAAG;EACtC;GAAE,KAAK;GAAiB,SAAS;GAAG;EACpC;GAAE,KAAK;GAAgB,SAAS;GAAG;EACnC;GAAE,KAAK;GAAiB,SAAS;GAAG;EACpC;GAAE,KAAK;GAAiB,SAAS;GAAG;EACrC;CAGD,QAAQ;EAEN;GAAE,KAAK;GAAgB,SAAS;GAAG;EACnC;GAAE,KAAK;GAAc,SAAS;GAAG;EACjC;GAAE,KAAK;GAAY,SAAS;GAAG;EAC/B;GAAE,KAAK;GAAa,SAAS;GAAG;EAGhC;GAAE,KAAK;GAAmB,SAAS;GAAG;EAGtC;GAAE,KAAK;GAAkB,SAAS;GAAG;EACtC;CAGD,eAAe;EACb;GAAE,KAAK;GAAiB,SAAS;GAAG;EACpC;GAAE,KAAK;GAAuB,SAAS;GAAG;EAC1C;GAAE,KAAK;GAAiB,SAAS;GAAG;EACpC;GAAE,KAAK;GAAmB,SAAS;GAAG;EACtC;GAAE,KAAK;GAAiB,SAAS;GAAG;EACpC;GAAE,KAAK;GAAwB,SAAS;GAAG;EAC5C;CAGD,kBAAkB,CAChB;EACE,IAAI;GAAE,KAAK;GAAiB,SAAS;GAAG;EACxC,MAAM;GAAE,KAAK;GAAuB,SAAS;GAAG;EACjD,EACD;EACE,IAAI;GAAE,KAAK;GAAiB,SAAS;GAAG;EACxC,MAAM;GAAE,KAAK;GAAuB,SAAS;GAAG;EACjD,CACF;CAGD,sBAAsB;EACpB;GAAE,KAAK;GAAiB,SAAS;GAAG,SAAS,CAAC,SAAS,WAAW;GAAE;EACpE;GAAE,KAAK;GAAuB,SAAS;GAAG,SAAS,CAAC,SAAS,WAAW;GAAE;EAC1E;GACE,KAAK;GACL,SAAS;GACT,SAAS;IAAC;IAAS;IAAY;IAAmB;GACnD;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACF;CAGD,cAAc,EACZ,UAAU;EACR;GAAE,KAAK;GAAY,SAAS;GAAG;EAC/B;GAAE,KAAK;GAAe,SAAS;GAAG;EAClC;GAAE,KAAK;GAAiB,SAAS;GAAG;EACrC,EACF;CACF"}
1
+ {"version":3,"file":"crm-pipeline.feature.js","names":["CrmPipelineFeature: FeatureModuleSpec"],"sources":["../src/crm-pipeline.feature.ts"],"sourcesContent":["/**\n * CRM Pipeline Feature Module Specification\n *\n * Defines the feature module for CRM and sales pipeline capabilities.\n */\nimport type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\n/**\n * CRM Pipeline feature module that bundles deal management,\n * pipeline operations, and contact management into an installable feature.\n */\nexport const CrmPipelineFeature: FeatureModuleSpec = {\n meta: {\n key: 'crm-pipeline',\n title: 'CRM Pipeline',\n description:\n 'CRM and sales pipeline management with deals, contacts, and companies',\n domain: 'crm',\n owners: ['@crm-team'],\n tags: ['crm', 'sales', 'pipeline', 'deals'],\n stability: 'experimental',\n version: '1.0.0',\n },\n\n // All contract operations included in this feature\n operations: [\n // Deal operations\n { key: 'crm.deal.create', version: '1.0.0' },\n { key: 'crm.deal.move', version: '1.0.0' },\n { key: 'crm.deal.win', version: '1.0.0' },\n { key: 'crm.deal.lose', version: '1.0.0' },\n { key: 'crm.deal.list', version: '1.0.0' },\n ],\n\n // Events emitted by this feature\n events: [\n // Deal events\n { key: 'deal.created', version: '1.0.0' },\n { key: 'deal.moved', version: '1.0.0' },\n { key: 'deal.won', version: '1.0.0' },\n { key: 'deal.lost', version: '1.0.0' },\n\n // Contact events\n { key: 'contact.created', version: '1.0.0' },\n\n // Task events\n { key: 'task.completed', version: '1.0.0' },\n ],\n\n // Presentations associated with this feature\n presentations: [\n { key: 'crm.dashboard', version: '1.0.0' },\n { key: 'crm.pipeline.kanban', version: '1.0.0' },\n { key: 'crm.deal.list', version: '1.0.0' },\n { key: 'crm.deal.detail', version: '1.0.0' },\n { key: 'crm.deal.card', version: '1.0.0' },\n { key: 'crm.pipeline.metrics', version: '1.0.0' },\n ],\n\n // Link operations to their primary presentations\n opToPresentation: [\n {\n op: { key: 'crm.deal.list', version: '1.0.0' },\n pres: { key: 'crm.pipeline.kanban', version: '1.0.0' },\n },\n {\n op: { key: 'crm.deal.move', version: '1.0.0' },\n pres: { key: 'crm.pipeline.kanban', version: '1.0.0' },\n },\n ],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n { key: 'crm.dashboard', version: '1.0.0', targets: ['react', 'markdown'] },\n {\n key: 'crm.pipeline.kanban',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'crm.deal.list',\n version: '1.0.0',\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n key: 'crm.pipeline.metrics',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n ],\n },\n};\n"],"mappings":";;;;;AAWA,MAAaA,qBAAwC;CACnD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAO;GAAS;GAAY;GAAQ;EAC3C,WAAW;EACX,SAAS;EACV;CAGD,YAAY;EAEV;GAAE,KAAK;GAAmB,SAAS;GAAS;EAC5C;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC1C;GAAE,KAAK;GAAgB,SAAS;GAAS;EACzC;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC1C;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC3C;CAGD,QAAQ;EAEN;GAAE,KAAK;GAAgB,SAAS;GAAS;EACzC;GAAE,KAAK;GAAc,SAAS;GAAS;EACvC;GAAE,KAAK;GAAY,SAAS;GAAS;EACrC;GAAE,KAAK;GAAa,SAAS;GAAS;EAGtC;GAAE,KAAK;GAAmB,SAAS;GAAS;EAG5C;GAAE,KAAK;GAAkB,SAAS;GAAS;EAC5C;CAGD,eAAe;EACb;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC1C;GAAE,KAAK;GAAuB,SAAS;GAAS;EAChD;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC1C;GAAE,KAAK;GAAmB,SAAS;GAAS;EAC5C;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC1C;GAAE,KAAK;GAAwB,SAAS;GAAS;EAClD;CAGD,kBAAkB,CAChB;EACE,IAAI;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC9C,MAAM;GAAE,KAAK;GAAuB,SAAS;GAAS;EACvD,EACD;EACE,IAAI;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC9C,MAAM;GAAE,KAAK;GAAuB,SAAS;GAAS;EACvD,CACF;CAGD,sBAAsB;EACpB;GAAE,KAAK;GAAiB,SAAS;GAAS,SAAS,CAAC,SAAS,WAAW;GAAE;EAC1E;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,SAAS,WAAW;GAC/B;EACF;CAGD,cAAc,EACZ,UAAU;EACR;GAAE,KAAK;GAAY,SAAS;GAAS;EACrC;GAAE,KAAK;GAAe,SAAS;GAAS;EACxC;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC3C,EACF;CACF"}
@@ -1,14 +1,14 @@
1
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema234 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/deal/deal.enum.d.ts
4
4
  /**
5
5
  * Deal status enum.
6
6
  */
7
- declare const DealStatusEnum: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
7
+ declare const DealStatusEnum: _contractspec_lib_schema234.EnumType<[string, string, string, string]>;
8
8
  /**
9
9
  * Deal status filter enum.
10
10
  */
11
- declare const DealStatusFilterEnum: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
11
+ declare const DealStatusFilterEnum: _contractspec_lib_schema234.EnumType<[string, string, string, string]>;
12
12
  //#endregion
13
13
  export { DealStatusEnum, DealStatusFilterEnum };
14
14
  //# sourceMappingURL=deal.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deal.enum.d.ts","names":[],"sources":["../../src/deal/deal.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,cAKX,EAAA,yBAAA,CALyB,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAU3B;;;cAAa,sBAKX,yBAAA,CAL+B"}
1
+ {"version":3,"file":"deal.enum.d.ts","names":[],"sources":["../../src/deal/deal.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,cAKX,EAAA,2BAAA,CALyB,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAU3B;;;cAAa,sBAKX,2BAAA,CAL+B"}