@contractspec/example.crm-pipeline 1.48.0 → 1.48.1
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 +14 -14
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +13 -0
- package/README.md +29 -9
- package/dist/docs/crm-pipeline.docblock.js +21 -1
- package/dist/docs/crm-pipeline.docblock.js.map +1 -1
- package/package.json +9 -8
- package/src/docs/crm-pipeline.docblock.ts +21 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -15,10 +15,10 @@ $ tsdown
|
|
|
15
15
|
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 4.75 kB[22m [2m│ gzip: 1.15 kB[22m
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mhandlers/mock-data.js[22m [2m 4.50 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
17
17
|
[34mℹ[39m [2mdist/[22m[1mui/renderers/pipeline.markdown.js[22m [2m 4.48 kB[22m [2m│ gzip: 1.34 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/crm-pipeline.docblock.js[22m [2m 4.36 kB[22m [2m│ gzip: 1.75 kB[22m
|
|
18
19
|
[34mℹ[39m [2mdist/[22m[1mui/CrmPipelineBoard.js[22m [2m 3.88 kB[22m [2m│ gzip: 1.39 kB[22m
|
|
19
20
|
[34mℹ[39m [2mdist/[22m[1mevents/deal.event.js[22m [2m 3.77 kB[22m [2m│ gzip: 0.67 kB[22m
|
|
20
21
|
[34mℹ[39m [2mdist/[22m[1mhandlers/deal.handlers.js[22m [2m 3.73 kB[22m [2m│ gzip: 1.06 kB[22m
|
|
21
|
-
[34mℹ[39m [2mdist/[22m[1mdocs/crm-pipeline.docblock.js[22m [2m 3.60 kB[22m [2m│ gzip: 1.44 kB[22m
|
|
22
22
|
[34mℹ[39m [2mdist/[22m[1mentities/deal.entity.js[22m [2m 3.56 kB[22m [2m│ gzip: 1.05 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22m[1mui/hooks/useDealMutations.js[22m [2m 3.49 kB[22m [2m│ gzip: 0.80 kB[22m
|
|
24
24
|
[34mℹ[39m [2mdist/[22m[1mentities/task.entity.js[22m [2m 3.41 kB[22m [2m│ gzip: 0.98 kB[22m
|
|
@@ -44,7 +44,6 @@ $ tsdown
|
|
|
44
44
|
[34mℹ[39m [2mdist/[22m[1mdeal/deal.enum.js[22m [2m 0.44 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
45
45
|
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m 0.40 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
46
46
|
[34mℹ[39m [2mdist/[22m[1mevents/index.js[22m [2m 0.32 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
47
|
-
src/ui/renderers/pipeline.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '@contractspec/example.crm-pipeline/handlers' in src/ui/renderers/pipeline.markdown.ts
|
|
48
47
|
[34mℹ[39m [2mdist/[22m[1mui/renderers/index.js[22m [2m 0.26 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
49
48
|
[34mℹ[39m [2mdist/[22m[1mui/hooks/index.js[22m [2m 0.16 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
50
49
|
[34mℹ[39m [2mdist/[22m[1mui/modals/index.js[22m [2m 0.16 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
@@ -53,32 +52,23 @@ src/ui/renderers/pipeline.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[
|
|
|
53
52
|
[34mℹ[39m [2mdist/[22m[1mshared/overlay-types.js[22m [2m 0.00 kB[22m [2m│ gzip: 0.02 kB[22m
|
|
54
53
|
[34mℹ[39m [2mdist/[22mui/modals/DealActionsModal.js.map [2m17.99 kB[22m [2m│ gzip: 4.12 kB[22m
|
|
55
54
|
[34mℹ[39m [2mdist/[22mhandlers/crm.handlers.js.map [2m13.46 kB[22m [2m│ gzip: 3.36 kB[22m
|
|
56
|
-
[38;5;246mâ•[0m[38;5;246m─[0m[38;5;246m[[0m src/ui/renderers/pipeline.markdown.ts:10:8 [38;5;246m][0m
|
|
57
|
-
[38;5;246m│[0m
|
|
58
55
|
[34mℹ[39m [2mdist/[22mui/CrmDashboard.js.map [2m13.33 kB[22m [2m│ gzip: 3.99 kB[22m
|
|
59
56
|
[34mℹ[39m [2mdist/[22mui/modals/CreateDealModal.js.map [2m 9.71 kB[22m [2m│ gzip: 3.02 kB[22m
|
|
60
57
|
[34mℹ[39m [2mdist/[22mdeal/deal.operation.js.map [2m 9.58 kB[22m [2m│ gzip: 2.06 kB[22m
|
|
61
|
-
[38;5;246m10 │[0m [38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m'@contractspec/example.crm-pipeline/handlers'[38;5;249m;[0m
|
|
62
58
|
[34mℹ[39m [2mdist/[22mdeal/deal.schema.js.map [2m 8.70 kB[22m [2m│ gzip: 1.25 kB[22m
|
|
63
|
-
[38;5;240m │[0m ──────────────────────┬──────────────────────
|
|
64
59
|
[34mℹ[39m [2mdist/[22mui/renderers/pipeline.markdown.js.map [2m 8.68 kB[22m [2m│ gzip: 2.47 kB[22m
|
|
65
60
|
[34mℹ[39m [2mdist/[22mhandlers/deal.handlers.js.map [2m 7.82 kB[22m [2m│ gzip: 2.05 kB[22m
|
|
66
61
|
[34mℹ[39m [2mdist/[22mhandlers/mock-data.js.map [2m 7.43 kB[22m [2m│ gzip: 1.54 kB[22m
|
|
67
|
-
[38;5;240m │[0m ╰──────────────────────── Module not found, treating it as an external dependency
|
|
68
|
-
[38;5;240m │[0m
|
|
69
62
|
[34mℹ[39m [2mdist/[22mui/CrmPipelineBoard.js.map [2m 6.91 kB[22m [2m│ gzip: 2.34 kB[22m
|
|
70
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
71
63
|
[34mℹ[39m [2mdist/[22mui/hooks/useDealMutations.js.map [2m 6.85 kB[22m [2m│ gzip: 1.65 kB[22m
|
|
72
64
|
[34mℹ[39m [2mdist/[22mentities/deal.entity.js.map [2m 6.68 kB[22m [2m│ gzip: 1.76 kB[22m
|
|
73
65
|
[34mℹ[39m [2mdist/[22mentities/task.entity.js.map [2m 6.10 kB[22m [2m│ gzip: 1.56 kB[22m
|
|
74
66
|
[34mℹ[39m [2mdist/[22mevents/deal.event.js.map [2m 5.88 kB[22m [2m│ gzip: 1.02 kB[22m
|
|
67
|
+
[34mℹ[39m [2mdist/[22mdocs/crm-pipeline.docblock.js.map [2m 5.26 kB[22m [2m│ gzip: 1.97 kB[22m
|
|
75
68
|
[34mℹ[39m [2mdist/[22mui/hooks/useDealList.js.map [2m 4.93 kB[22m [2m│ gzip: 1.83 kB[22m
|
|
76
69
|
[34mℹ[39m [2mdist/[22mpresentations/pipeline.presentation.js.map [2m 4.69 kB[22m [2m│ gzip: 1.22 kB[22m
|
|
77
|
-
[34mℹ[39m [2mdist/[22mdocs/crm-pipeline.docblock.js.map [2m 4.46 kB[22m [2m│ gzip: 1.65 kB[22m
|
|
78
70
|
[34mℹ[39m [2mdist/[22mcrm-pipeline.feature.js.map [2m 4.43 kB[22m [2m│ gzip: 1.20 kB[22m
|
|
79
|
-
[38;5;246m────╯[0m
|
|
80
71
|
[34mℹ[39m [2mdist/[22mentities/contact.entity.js.map [2m 4.32 kB[22m [2m│ gzip: 1.37 kB[22m
|
|
81
|
-
|
|
82
72
|
[34mℹ[39m [2mdist/[22mentities/company.entity.js.map [2m 3.58 kB[22m [2m│ gzip: 1.17 kB[22m
|
|
83
73
|
[34mℹ[39m [2mdist/[22mui/CrmDealCard.js.map [2m 3.37 kB[22m [2m│ gzip: 1.49 kB[22m
|
|
84
74
|
[34mℹ[39m [2mdist/[22mpresentations/dashboard.presentation.js.map [2m 2.40 kB[22m [2m│ gzip: 0.86 kB[22m
|
|
@@ -168,5 +158,15 @@ src/ui/renderers/pipeline.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[
|
|
|
168
158
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/index.d.ts[22m[39m [2m 0.14 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
169
159
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/crm-pipeline.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
170
160
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
171
|
-
[34mℹ[39m 152 files, total:
|
|
172
|
-
[
|
|
161
|
+
[34mℹ[39m 152 files, total: 373.29 kB
|
|
162
|
+
src/ui/renderers/pipeline.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '@contractspec/example.crm-pipeline/handlers' in src/ui/renderers/pipeline.markdown.ts
|
|
163
|
+
[38;5;246mâ•[0m[38;5;246m─[0m[38;5;246m[[0m src/ui/renderers/pipeline.markdown.ts:10:8 [38;5;246m][0m
|
|
164
|
+
[38;5;246m│[0m
|
|
165
|
+
[38;5;246m10 │[0m [38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m'@contractspec/example.crm-pipeline/handlers'[38;5;249m;[0m
|
|
166
|
+
[38;5;240m │[0m ──────────────────────┬──────────────────────
|
|
167
|
+
[38;5;240m │[0m ╰──────────────────────── Module not found, treating it as an external dependency
|
|
168
|
+
[38;5;240m │[0m
|
|
169
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
170
|
+
[38;5;246m────╯[0m
|
|
171
|
+
|
|
172
|
+
[32m✔[39m Build complete in [32m31714ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -16,10 +16,10 @@ $ tsdown
|
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 4.75 kB[22m [2m│ gzip: 1.15 kB[22m
|
|
17
17
|
[34mℹ[39m [2mdist/[22m[1mhandlers/mock-data.js[22m [2m 4.50 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
18
18
|
[34mℹ[39m [2mdist/[22m[1mui/renderers/pipeline.markdown.js[22m [2m 4.48 kB[22m [2m│ gzip: 1.34 kB[22m
|
|
19
|
+
[34mℹ[39m [2mdist/[22m[1mdocs/crm-pipeline.docblock.js[22m [2m 4.36 kB[22m [2m│ gzip: 1.75 kB[22m
|
|
19
20
|
[34mℹ[39m [2mdist/[22m[1mui/CrmPipelineBoard.js[22m [2m 3.88 kB[22m [2m│ gzip: 1.39 kB[22m
|
|
20
21
|
[34mℹ[39m [2mdist/[22m[1mevents/deal.event.js[22m [2m 3.77 kB[22m [2m│ gzip: 0.67 kB[22m
|
|
21
22
|
[34mℹ[39m [2mdist/[22m[1mhandlers/deal.handlers.js[22m [2m 3.73 kB[22m [2m│ gzip: 1.06 kB[22m
|
|
22
|
-
[34mℹ[39m [2mdist/[22m[1mdocs/crm-pipeline.docblock.js[22m [2m 3.60 kB[22m [2m│ gzip: 1.44 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22m[1mentities/deal.entity.js[22m [2m 3.56 kB[22m [2m│ gzip: 1.05 kB[22m
|
|
24
24
|
[34mℹ[39m [2mdist/[22m[1mui/hooks/useDealMutations.js[22m [2m 3.49 kB[22m [2m│ gzip: 0.80 kB[22m
|
|
25
25
|
[34mℹ[39m [2mdist/[22m[1mentities/task.entity.js[22m [2m 3.41 kB[22m [2m│ gzip: 0.98 kB[22m
|
|
@@ -65,9 +65,9 @@ $ tsdown
|
|
|
65
65
|
[34mℹ[39m [2mdist/[22mentities/deal.entity.js.map [2m 6.68 kB[22m [2m│ gzip: 1.76 kB[22m
|
|
66
66
|
[34mℹ[39m [2mdist/[22mentities/task.entity.js.map [2m 6.10 kB[22m [2m│ gzip: 1.56 kB[22m
|
|
67
67
|
[34mℹ[39m [2mdist/[22mevents/deal.event.js.map [2m 5.88 kB[22m [2m│ gzip: 1.02 kB[22m
|
|
68
|
+
[34mℹ[39m [2mdist/[22mdocs/crm-pipeline.docblock.js.map [2m 5.26 kB[22m [2m│ gzip: 1.97 kB[22m
|
|
68
69
|
[34mℹ[39m [2mdist/[22mui/hooks/useDealList.js.map [2m 4.93 kB[22m [2m│ gzip: 1.83 kB[22m
|
|
69
70
|
[34mℹ[39m [2mdist/[22mpresentations/pipeline.presentation.js.map [2m 4.69 kB[22m [2m│ gzip: 1.22 kB[22m
|
|
70
|
-
[34mℹ[39m [2mdist/[22mdocs/crm-pipeline.docblock.js.map [2m 4.46 kB[22m [2m│ gzip: 1.65 kB[22m
|
|
71
71
|
[34mℹ[39m [2mdist/[22mcrm-pipeline.feature.js.map [2m 4.43 kB[22m [2m│ gzip: 1.20 kB[22m
|
|
72
72
|
[34mℹ[39m [2mdist/[22mentities/contact.entity.js.map [2m 4.32 kB[22m [2m│ gzip: 1.37 kB[22m
|
|
73
73
|
[34mℹ[39m [2mdist/[22mentities/company.entity.js.map [2m 3.58 kB[22m [2m│ gzip: 1.17 kB[22m
|
|
@@ -97,7 +97,7 @@ $ tsdown
|
|
|
97
97
|
[34mℹ[39m [2mdist/[22mentities/task.entity.d.ts.map [2m 0.43 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
98
98
|
[34mℹ[39m [2mdist/[22mhandlers/mock-data.d.ts.map [2m 0.42 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
99
99
|
[34mℹ[39m [2mdist/[22mui/hooks/useDealList.d.ts.map [2m 0.34 kB[22m [2m│ gzip: 0.22 kB[22m
|
|
100
|
-
[34mℹ[39m [2mdist/[22mpresentations/pipeline.presentation.d.ts.map [2m 0.31 kB[22m [2m│ gzip: 0.
|
|
100
|
+
[34mℹ[39m [2mdist/[22mpresentations/pipeline.presentation.d.ts.map [2m 0.31 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
101
101
|
[34mℹ[39m [2mdist/[22mui/CrmDealCard.d.ts.map [2m 0.31 kB[22m [2m│ gzip: 0.21 kB[22m
|
|
102
102
|
[34mℹ[39m [2mdist/[22mentities/contact.entity.d.ts.map [2m 0.27 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
103
103
|
[34mℹ[39m [2mdist/[22mentities/company.entity.d.ts.map [2m 0.26 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
@@ -115,11 +115,11 @@ $ tsdown
|
|
|
115
115
|
[34mℹ[39m [2mdist/[22mseeders/index.d.ts.map [2m 0.16 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
116
116
|
[34mℹ[39m [2mdist/[22mentities/index.d.ts.map [2m 0.15 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
117
117
|
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
118
|
-
[34mℹ[39m [2mdist/[22m[32m[1mdeal/deal.operation.d.ts[22m[39m [2m14.
|
|
119
|
-
[34mℹ[39m [2mdist/[22m[32m[1mdeal/deal.schema.d.ts[22m[39m [2m 8.
|
|
118
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdeal/deal.operation.d.ts[22m[39m [2m14.01 kB[22m [2m│ gzip: 0.97 kB[22m
|
|
119
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdeal/deal.schema.d.ts[22m[39m [2m 8.27 kB[22m [2m│ gzip: 0.84 kB[22m
|
|
120
120
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 4.79 kB[22m [2m│ gzip: 1.16 kB[22m
|
|
121
|
-
[34mℹ[39m [2mdist/[22m[32m[1mentities/deal.entity.d.ts[22m[39m [2m 3.54 kB[22m [2m│ gzip: 0.
|
|
122
|
-
[34mℹ[39m [2mdist/[22m[32m[1mevents/deal.event.d.ts[22m[39m [2m 3.
|
|
121
|
+
[34mℹ[39m [2mdist/[22m[32m[1mentities/deal.entity.d.ts[22m[39m [2m 3.54 kB[22m [2m│ gzip: 0.56 kB[22m
|
|
122
|
+
[34mℹ[39m [2mdist/[22m[32m[1mevents/deal.event.d.ts[22m[39m [2m 3.31 kB[22m [2m│ gzip: 0.43 kB[22m
|
|
123
123
|
[34mℹ[39m [2mdist/[22m[32m[1mentities/task.entity.d.ts[22m[39m [2m 2.99 kB[22m [2m│ gzip: 0.51 kB[22m
|
|
124
124
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/deal.handlers.d.ts[22m[39m [2m 2.40 kB[22m [2m│ gzip: 0.69 kB[22m
|
|
125
125
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/crm.handlers.d.ts[22m[39m [2m 2.18 kB[22m [2m│ gzip: 0.69 kB[22m
|
|
@@ -131,7 +131,7 @@ $ tsdown
|
|
|
131
131
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/overlay-types.d.ts[22m[39m [2m 1.00 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
132
132
|
[34mℹ[39m [2mdist/[22m[32m[1mui/hooks/useDealList.d.ts[22m[39m [2m 0.98 kB[22m [2m│ gzip: 0.47 kB[22m
|
|
133
133
|
[34mℹ[39m [2mdist/[22m[32m[1mui/hooks/useDealMutations.d.ts[22m[39m [2m 0.96 kB[22m [2m│ gzip: 0.38 kB[22m
|
|
134
|
-
[34mℹ[39m [2mdist/[22m[32m[1mevents/contact.event.d.ts[22m[39m [2m 0.
|
|
134
|
+
[34mℹ[39m [2mdist/[22m[32m[1mevents/contact.event.d.ts[22m[39m [2m 0.94 kB[22m [2m│ gzip: 0.31 kB[22m
|
|
135
135
|
[34mℹ[39m [2mdist/[22m[32m[1mevents/task.event.d.ts[22m[39m [2m 0.93 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
136
136
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m 0.91 kB[22m [2m│ gzip: 0.28 kB[22m
|
|
137
137
|
[34mℹ[39m [2mdist/[22m[32m[1mentities/index.d.ts[22m[39m [2m 0.85 kB[22m [2m│ gzip: 0.32 kB[22m
|
|
@@ -159,7 +159,7 @@ $ tsdown
|
|
|
159
159
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/index.d.ts[22m[39m [2m 0.14 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
160
160
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/crm-pipeline.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
161
161
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
162
|
-
[34mℹ[39m 152 files, total:
|
|
162
|
+
[34mℹ[39m 152 files, total: 373.19 kB
|
|
163
163
|
src/ui/renderers/pipeline.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '@contractspec/example.crm-pipeline/handlers' in src/ui/renderers/pipeline.markdown.ts
|
|
164
164
|
[38;5;246mâ•[0m[38;5;246m─[0m[38;5;246m[[0m src/ui/renderers/pipeline.markdown.ts:10:8 [38;5;246m][0m
|
|
165
165
|
[38;5;246m│[0m
|
|
@@ -170,4 +170,4 @@ src/ui/renderers/pipeline.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[
|
|
|
170
170
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
171
171
|
[38;5;246m────╯[0m
|
|
172
172
|
|
|
173
|
-
[32m✔[39m Build complete in [
|
|
173
|
+
[32m✔[39m Build complete in [32m31791ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @contractspec/example.crm-pipeline
|
|
2
2
|
|
|
3
|
+
## 1.48.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [c560ee7]
|
|
8
|
+
- Updated dependencies [1536bf3]
|
|
9
|
+
- @contractspec/lib.design-system@1.48.1
|
|
10
|
+
- @contractspec/lib.contracts@1.48.1
|
|
11
|
+
- @contractspec/lib.example-shared-ui@1.2.1
|
|
12
|
+
- @contractspec/lib.identity-rbac@1.48.1
|
|
13
|
+
- @contractspec/module.audit-trail@1.48.1
|
|
14
|
+
- @contractspec/module.notifications@1.48.1
|
|
15
|
+
|
|
3
16
|
## 1.48.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Website: https://contractspec.io/
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
A complete CRM (Customer Relationship Management) application demonstrating ContractSpec principles.
|
|
7
6
|
|
|
8
7
|
## What's Included
|
|
@@ -116,14 +115,14 @@ const StageEntity = defineEntity({
|
|
|
116
115
|
|
|
117
116
|
## Events
|
|
118
117
|
|
|
119
|
-
| Event
|
|
120
|
-
|
|
121
|
-
| contact.created | New contact added
|
|
122
|
-
| deal.created
|
|
123
|
-
| deal.moved
|
|
124
|
-
| deal.won
|
|
125
|
-
| deal.lost
|
|
126
|
-
| task.completed
|
|
118
|
+
| Event | Description |
|
|
119
|
+
| --------------- | ----------------------- |
|
|
120
|
+
| contact.created | New contact added |
|
|
121
|
+
| deal.created | New deal created |
|
|
122
|
+
| deal.moved | Deal moved to new stage |
|
|
123
|
+
| deal.won | Deal marked as won |
|
|
124
|
+
| deal.lost | Deal marked as lost |
|
|
125
|
+
| task.completed | Task marked complete |
|
|
127
126
|
|
|
128
127
|
## Usage
|
|
129
128
|
|
|
@@ -137,3 +136,24 @@ This example is registered as `crm-pipeline` in the ContractSpec Studio.
|
|
|
137
136
|
npx degit lssm/contractspec/packages/examples/crm-pipeline my-crm-app
|
|
138
137
|
```
|
|
139
138
|
|
|
139
|
+
## Adoption narrative
|
|
140
|
+
|
|
141
|
+
### Before
|
|
142
|
+
|
|
143
|
+
- A CRM app with hand-written data models and handler logic.
|
|
144
|
+
- Pipeline stage rules live in code and drift across UI/API/events.
|
|
145
|
+
- Regeneration is risky because specs and implementations are not aligned.
|
|
146
|
+
|
|
147
|
+
### After
|
|
148
|
+
|
|
149
|
+
- Contracts define deals, stages, and tasks as the source of truth.
|
|
150
|
+
- Regeneration keeps UI/API/events in sync when stages change.
|
|
151
|
+
- Compliance surfaces (audits, notifications) stay consistent with specs.
|
|
152
|
+
|
|
153
|
+
### Minimal adoption steps
|
|
154
|
+
|
|
155
|
+
1. Add ContractSpec CLI and core libraries.
|
|
156
|
+
2. Define one operation (for example, `deal/create`).
|
|
157
|
+
3. Run `contractspec build` to generate handlers and types.
|
|
158
|
+
4. Wire the generated handler into your existing router.
|
|
159
|
+
5. Expand to events and presentations as you add surface areas.
|
|
@@ -42,7 +42,27 @@ registerDocBlocks([
|
|
|
42
42
|
## Guardrails
|
|
43
43
|
- Emit events for stage moves and task completions; log to Audit Trail.
|
|
44
44
|
- Keep required fields enforced in contracts; avoid freeform state.
|
|
45
|
-
- Redact contact PII in markdown/JSON outputs
|
|
45
|
+
- Redact contact PII in markdown/JSON outputs.
|
|
46
|
+
|
|
47
|
+
## Adoption narrative
|
|
48
|
+
|
|
49
|
+
### Before
|
|
50
|
+
- A CRM app with hand-written data models and handler logic.
|
|
51
|
+
- Pipeline stage rules live in code and drift across UI/API/events.
|
|
52
|
+
- Regeneration is risky because specs and implementations are not aligned.
|
|
53
|
+
|
|
54
|
+
### After
|
|
55
|
+
- Contracts define deals, stages, and tasks as the source of truth.
|
|
56
|
+
- Regeneration keeps UI/API/events in sync when stages change.
|
|
57
|
+
- Compliance surfaces (audits, notifications) stay consistent with specs.
|
|
58
|
+
|
|
59
|
+
### Minimal adoption steps
|
|
60
|
+
1) Add ContractSpec CLI and core libraries.
|
|
61
|
+
2) Define one operation (for example, deal/create).
|
|
62
|
+
3) Run contractspec build to generate handlers and types.
|
|
63
|
+
4) Wire the generated handler into your existing router.
|
|
64
|
+
5) Expand to events and presentations as you add surface areas.
|
|
65
|
+
`
|
|
46
66
|
},
|
|
47
67
|
{
|
|
48
68
|
id: "docs.examples.crm-pipeline.reference",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crm-pipeline.docblock.js","names":[],"sources":["../../src/docs/crm-pipeline.docblock.ts"],"sourcesContent":["import type { DocBlock } from '@contractspec/lib.contracts/docs';\nimport { registerDocBlocks } from '@contractspec/lib.contracts/docs';\n\nconst crmPipelineDocBlocks: DocBlock[] = [\n {\n id: 'docs.examples.crm-pipeline.goal',\n title: 'CRM Pipeline — Goal',\n summary:\n 'Deals, stages, contacts, companies, and tasks with auditable stage movement.',\n kind: 'goal',\n visibility: 'public',\n route: '/docs/examples/crm-pipeline/goal',\n tags: ['crm', 'goal'],\n body: `## Why it matters\n- Regenerable CRM flow for deals/stages without code drift.\n- Ensures stage movement, tasks, and contacts stay aligned across surfaces.\n\n## Business/Product goal\n- Give sales teams a governed pipeline with auditable moves and notifications.\n- Allow experimentation (feature flags) on stage definitions and task flows.\n\n## Success criteria\n- Stage/state changes emit events and remain declarative in spec.\n- PII (contacts) is scoped/redacted in presentations.`,\n },\n {\n id: 'docs.examples.crm-pipeline.usage',\n title: 'CRM Pipeline — Usage',\n summary: 'How to seed, extend, and regenerate the CRM pipeline.',\n kind: 'usage',\n visibility: 'public',\n route: '/docs/examples/crm-pipeline/usage',\n tags: ['crm', 'usage'],\n body: `## Setup\n1) Seed (if available) or create pipeline stages, deals, contacts, companies, tasks.\n2) Configure Notifications for stage changes/tasks; set policy.pii for contact data.\n\n## Extend & regenerate\n1) Adjust stage schema/order, deal fields, task fields in the spec.\n2) Regenerate to sync UI/API/events; ensure kanban/action buttons update.\n3) Use Feature Flags to trial new stages or SLA rules.\n\n## Guardrails\n- Emit events for stage moves and task completions; log to Audit Trail.\n- Keep required fields enforced in contracts; avoid freeform state.\n- Redact contact PII in markdown/JSON outputs
|
|
1
|
+
{"version":3,"file":"crm-pipeline.docblock.js","names":[],"sources":["../../src/docs/crm-pipeline.docblock.ts"],"sourcesContent":["import type { DocBlock } from '@contractspec/lib.contracts/docs';\nimport { registerDocBlocks } from '@contractspec/lib.contracts/docs';\n\nconst crmPipelineDocBlocks: DocBlock[] = [\n {\n id: 'docs.examples.crm-pipeline.goal',\n title: 'CRM Pipeline — Goal',\n summary:\n 'Deals, stages, contacts, companies, and tasks with auditable stage movement.',\n kind: 'goal',\n visibility: 'public',\n route: '/docs/examples/crm-pipeline/goal',\n tags: ['crm', 'goal'],\n body: `## Why it matters\n- Regenerable CRM flow for deals/stages without code drift.\n- Ensures stage movement, tasks, and contacts stay aligned across surfaces.\n\n## Business/Product goal\n- Give sales teams a governed pipeline with auditable moves and notifications.\n- Allow experimentation (feature flags) on stage definitions and task flows.\n\n## Success criteria\n- Stage/state changes emit events and remain declarative in spec.\n- PII (contacts) is scoped/redacted in presentations.`,\n },\n {\n id: 'docs.examples.crm-pipeline.usage',\n title: 'CRM Pipeline — Usage',\n summary: 'How to seed, extend, and regenerate the CRM pipeline.',\n kind: 'usage',\n visibility: 'public',\n route: '/docs/examples/crm-pipeline/usage',\n tags: ['crm', 'usage'],\n body: `## Setup\n1) Seed (if available) or create pipeline stages, deals, contacts, companies, tasks.\n2) Configure Notifications for stage changes/tasks; set policy.pii for contact data.\n\n## Extend & regenerate\n1) Adjust stage schema/order, deal fields, task fields in the spec.\n2) Regenerate to sync UI/API/events; ensure kanban/action buttons update.\n3) Use Feature Flags to trial new stages or SLA rules.\n\n## Guardrails\n- Emit events for stage moves and task completions; log to Audit Trail.\n- Keep required fields enforced in contracts; avoid freeform state.\n- Redact contact PII in markdown/JSON outputs.\n\n## Adoption narrative\n\n### Before\n- A CRM app with hand-written data models and handler logic.\n- Pipeline stage rules live in code and drift across UI/API/events.\n- Regeneration is risky because specs and implementations are not aligned.\n\n### After\n- Contracts define deals, stages, and tasks as the source of truth.\n- Regeneration keeps UI/API/events in sync when stages change.\n- Compliance surfaces (audits, notifications) stay consistent with specs.\n\n### Minimal adoption steps\n1) Add ContractSpec CLI and core libraries.\n2) Define one operation (for example, deal/create).\n3) Run contractspec build to generate handlers and types.\n4) Wire the generated handler into your existing router.\n5) Expand to events and presentations as you add surface areas.\n`,\n },\n {\n id: 'docs.examples.crm-pipeline.reference',\n title: 'CRM Pipeline — Reference',\n summary:\n 'Entities, contracts, events, and presentations for the CRM template.',\n kind: 'reference',\n visibility: 'public',\n route: '/docs/examples/crm-pipeline',\n tags: ['crm', 'reference'],\n body: `## Entities\n- Contact, Company, Deal, Pipeline, Stage, Task.\n\n## Contracts\n- deal/create, stage/move, contact/company CRUD, task create/complete.\n\n## Events\n- deal.created, stage.moved, task.completed, contact.updated.\n\n## Presentations\n- Pipelines/kanban, deal detail, contact/company profiles, task lists.\n\n## Notes\n- Stage definitions should be declarative; enforce via spec and regeneration.\n- Use Notifications for deal/task updates; Audit Trail for state changes.`,\n },\n {\n id: 'docs.examples.crm-pipeline.constraints',\n title: 'CRM Pipeline — Constraints & Safety',\n summary:\n 'Internal guardrails for stages, PII, and regeneration semantics in the CRM template.',\n kind: 'reference',\n visibility: 'internal',\n route: '/docs/examples/crm-pipeline/constraints',\n tags: ['crm', 'constraints', 'internal'],\n body: `## Constraints\n- Stage definitions/order must remain declarative; no imperative overrides in code.\n- Events to emit: deal.created, stage.moved, task.completed, contact.updated (minimum).\n- Regeneration should not alter stage semantics without explicit spec change.\n\n## PII\n- Mark contact/company PII (emails, phones) for redaction in presentations.\n- Ensure MCP/web outputs avoid raw PII when not needed.\n\n## Verification\n- Add fixtures for stage move rules and SLA/task changes.\n- Ensure Audit/Notifications remain wired for stage and task events.\n- Use Feature Flags for experimental stages/SLAs; default safe/off.`,\n },\n];\n\nregisterDocBlocks(crmPipelineDocBlocks);\n"],"mappings":";;;AAqHA,kBAlHyC;CACvC;EACE,IAAI;EACJ,OAAO;EACP,SACE;EACF,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM,CAAC,OAAO,OAAO;EACrB,MAAM;;;;;;;;;;;EAWP;CACD;EACE,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM,CAAC,OAAO,QAAQ;EACtB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCP;CACD;EACE,IAAI;EACJ,OAAO;EACP,SACE;EACF,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM,CAAC,OAAO,YAAY;EAC1B,MAAM;;;;;;;;;;;;;;;EAeP;CACD;EACE,IAAI;EACJ,OAAO;EACP,SACE;EACF,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GAAC;GAAO;GAAe;GAAW;EACxC,MAAM;;;;;;;;;;;;;EAaP;CACF,CAEsC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.crm-pipeline",
|
|
3
|
-
"version": "1.48.
|
|
3
|
+
"version": "1.48.1",
|
|
4
4
|
"description": "CRM Pipeline - Contacts, Companies, Deals, Tasks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -62,18 +62,19 @@
|
|
|
62
62
|
"lint": "bun lint:fix",
|
|
63
63
|
"lint:fix": "eslint src --fix",
|
|
64
64
|
"lint:check": "eslint src",
|
|
65
|
-
"test": "bun test"
|
|
65
|
+
"test": "bun test",
|
|
66
|
+
"validate": "contractspec validate"
|
|
66
67
|
},
|
|
67
68
|
"dependencies": {
|
|
68
|
-
"@contractspec/lib.contracts": "1.48.
|
|
69
|
-
"@contractspec/lib.design-system": "1.48.
|
|
70
|
-
"@contractspec/lib.example-shared-ui": "1.2.
|
|
71
|
-
"@contractspec/lib.identity-rbac": "1.48.
|
|
69
|
+
"@contractspec/lib.contracts": "1.48.1",
|
|
70
|
+
"@contractspec/lib.design-system": "1.48.1",
|
|
71
|
+
"@contractspec/lib.example-shared-ui": "1.2.1",
|
|
72
|
+
"@contractspec/lib.identity-rbac": "1.48.1",
|
|
72
73
|
"@contractspec/lib.runtime-sandbox": "0.3.0",
|
|
73
74
|
"@contractspec/lib.schema": "1.48.0",
|
|
74
75
|
"@contractspec/lib.ui-kit-web": "1.48.0",
|
|
75
|
-
"@contractspec/module.audit-trail": "1.48.
|
|
76
|
-
"@contractspec/module.notifications": "1.48.
|
|
76
|
+
"@contractspec/module.audit-trail": "1.48.1",
|
|
77
|
+
"@contractspec/module.notifications": "1.48.1",
|
|
77
78
|
"react": "19.2.3",
|
|
78
79
|
"react-dom": "19.2.3"
|
|
79
80
|
},
|
|
@@ -43,7 +43,27 @@ const crmPipelineDocBlocks: DocBlock[] = [
|
|
|
43
43
|
## Guardrails
|
|
44
44
|
- Emit events for stage moves and task completions; log to Audit Trail.
|
|
45
45
|
- Keep required fields enforced in contracts; avoid freeform state.
|
|
46
|
-
- Redact contact PII in markdown/JSON outputs
|
|
46
|
+
- Redact contact PII in markdown/JSON outputs.
|
|
47
|
+
|
|
48
|
+
## Adoption narrative
|
|
49
|
+
|
|
50
|
+
### Before
|
|
51
|
+
- A CRM app with hand-written data models and handler logic.
|
|
52
|
+
- Pipeline stage rules live in code and drift across UI/API/events.
|
|
53
|
+
- Regeneration is risky because specs and implementations are not aligned.
|
|
54
|
+
|
|
55
|
+
### After
|
|
56
|
+
- Contracts define deals, stages, and tasks as the source of truth.
|
|
57
|
+
- Regeneration keeps UI/API/events in sync when stages change.
|
|
58
|
+
- Compliance surfaces (audits, notifications) stay consistent with specs.
|
|
59
|
+
|
|
60
|
+
### Minimal adoption steps
|
|
61
|
+
1) Add ContractSpec CLI and core libraries.
|
|
62
|
+
2) Define one operation (for example, deal/create).
|
|
63
|
+
3) Run contractspec build to generate handlers and types.
|
|
64
|
+
4) Wire the generated handler into your existing router.
|
|
65
|
+
5) Expand to events and presentations as you add surface areas.
|
|
66
|
+
`,
|
|
47
67
|
},
|
|
48
68
|
{
|
|
49
69
|
id: 'docs.examples.crm-pipeline.reference',
|