@lssm/example.crm-pipeline 0.0.0-canary-20251216033905 → 0.0.0-canary-20251216062412
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.log +5 -5
- package/CHANGELOG.md +8 -8
- package/dist/crm-pipeline.feature.js +1 -1
- package/dist/presentations/dashboard.presentation.js +1 -1
- package/dist/presentations/pipeline.presentation.js +1 -1
- package/package.json +1 -1
- package/src/crm-pipeline.feature.ts +7 -1
- package/src/presentations/dashboard.presentation.ts +2 -2
- package/src/presentations/pipeline.presentation.ts +4 -4
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,7 +2,7 @@ $ bun build:bundle && bun build:types
|
|
|
2
2
|
$ tsdown
|
|
3
3
|
[34mℹ[39m tsdown [2mv0.17.4[22m powered by rolldown [2mv1.0.0-beta.53[22m
|
|
4
4
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/crm-pipeline/tsdown.config.js[24m
|
|
5
|
-
[34mℹ[39m entry: [34msrc/crm-pipeline.feature.ts, src/example.ts, src/index.ts, src/
|
|
5
|
+
[34mℹ[39m entry: [34msrc/crm-pipeline.feature.ts, src/example.ts, src/index.ts, src/deal/deal.contracts.ts, src/deal/deal.enum.ts, src/deal/deal.schema.ts, src/deal/index.ts, src/docs/crm-pipeline.docblock.ts, src/docs/index.ts, src/contracts/index.ts, src/entities/company.entity.ts, src/entities/contact.entity.ts, src/entities/deal.entity.ts, src/entities/index.ts, src/entities/task.entity.ts, src/events/contact.event.ts, src/events/deal.event.ts, src/events/index.ts, src/events/task.event.ts, src/handlers/deal.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/presentations/dashboard.presentation.ts, src/presentations/index.ts, src/presentations/pipeline.presentation.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
@@ -16,8 +16,8 @@ $ tsdown
|
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mevents/deal.event.js[22m [2m2.07 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
17
17
|
[34mℹ[39m [2mdist/[22m[1mhandlers/deal.handlers.js[22m [2m1.85 kB[22m [2m│ gzip: 0.78 kB[22m
|
|
18
18
|
[34mℹ[39m [2mdist/[22m[1mentities/contact.entity.js[22m [2m1.68 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
19
|
-
[34mℹ[39m [2mdist/[22m[1mpresentations/pipeline.presentation.js[22m [2m1.
|
|
20
|
-
[34mℹ[39m [2mdist/[22m[1mcrm-pipeline.feature.js[22m [2m1.
|
|
19
|
+
[34mℹ[39m [2mdist/[22m[1mpresentations/pipeline.presentation.js[22m [2m1.49 kB[22m [2m│ gzip: 0.49 kB[22m
|
|
20
|
+
[34mℹ[39m [2mdist/[22m[1mcrm-pipeline.feature.js[22m [2m1.48 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
21
21
|
[34mℹ[39m [2mdist/[22m[1mentities/company.entity.js[22m [2m1.35 kB[22m [2m│ gzip: 0.59 kB[22m
|
|
22
22
|
[34mℹ[39m [2mdist/[22m[1mcontracts/index.js[22m [2m0.90 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22m[1mdeal/index.js[22m [2m0.90 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
@@ -31,6 +31,6 @@ $ tsdown
|
|
|
31
31
|
[34mℹ[39m [2mdist/[22m[1mevents/index.js[22m [2m0.35 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
32
32
|
[34mℹ[39m [2mdist/[22m[1mdeal/deal.enum.js[22m [2m0.21 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
33
33
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
34
|
-
[34mℹ[39m 25 files, total: 37.
|
|
35
|
-
[32m✔[39m Build complete in [
|
|
34
|
+
[34mℹ[39m 25 files, total: 37.42 kB
|
|
35
|
+
[32m✔[39m Build complete in [32m93ms[39m
|
|
36
36
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# @lssm/example.crm-pipeline
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251216062412
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- 3086383: refactor: dependencies upgrade
|
|
8
8
|
- Updated dependencies [3086383]
|
|
9
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
10
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
11
|
-
- @lssm/lib.jobs@0.0.0-canary-
|
|
12
|
-
- @lssm/lib.bus@0.0.0-canary-
|
|
13
|
-
- @lssm/lib.identity-rbac@0.0.0-canary-
|
|
14
|
-
- @lssm/module.audit-trail@0.0.0-canary-
|
|
15
|
-
- @lssm/module.notifications@0.0.0-canary-
|
|
9
|
+
- @lssm/lib.contracts@0.0.0-canary-20251216062412
|
|
10
|
+
- @lssm/lib.schema@0.0.0-canary-20251216062412
|
|
11
|
+
- @lssm/lib.jobs@0.0.0-canary-20251216062412
|
|
12
|
+
- @lssm/lib.bus@0.0.0-canary-20251216062412
|
|
13
|
+
- @lssm/lib.identity-rbac@0.0.0-canary-20251216062412
|
|
14
|
+
- @lssm/module.audit-trail@0.0.0-canary-20251216062412
|
|
15
|
+
- @lssm/module.notifications@0.0.0-canary-20251216062412
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={meta:{key:`crm-pipeline`,title:`CRM Pipeline`,description:`CRM and sales pipeline management with deals, contacts, and companies`,domain:`crm`,owners:[
|
|
1
|
+
const e={meta:{key:`crm-pipeline`,title:`CRM Pipeline`,description:`CRM and sales pipeline management with deals, contacts, and companies`,domain:`crm`,owners:[`@crm-team`],tags:[`crm`,`sales`,`pipeline`,`deals`],stability:`experimental`},operations:[{name:`crm.deal.create`,version:1},{name:`crm.deal.move`,version:1},{name:`crm.deal.win`,version:1},{name:`crm.deal.lose`,version:1},{name:`crm.deal.list`,version:1}],events:[{name:`deal.created`,version:1},{name:`deal.moved`,version:1},{name:`deal.won`,version:1},{name:`deal.lost`,version:1},{name:`contact.created`,version:1},{name:`task.completed`,version:1}],presentations:[{name:`crm.dashboard`,version:1},{name:`crm.pipeline.kanban`,version:1},{name:`crm.deal.list`,version:1},{name:`crm.deal.detail`,version:1},{name:`crm.deal.card`,version:1},{name:`crm.pipeline.metrics`,version:1}],opToPresentation:[{op:{name:`crm.deal.list`,version:1},pres:{name:`crm.pipeline.kanban`,version:1}},{op:{name:`crm.deal.move`,version:1},pres:{name:`crm.pipeline.kanban`,version:1}}],presentationsTargets:[{name:`crm.dashboard`,version:1,targets:[`react`,`markdown`]},{name:`crm.pipeline.kanban`,version:1,targets:[`react`,`markdown`]},{name:`crm.deal.list`,version:1,targets:[`react`,`markdown`,`application/json`]},{name:`crm.pipeline.metrics`,version:1,targets:[`react`,`markdown`]}],capabilities:{requires:[{key:`identity`,version:1},{key:`audit-trail`,version:1},{key:`notifications`,version:1}]}};export{e as CrmPipelineFeature};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={meta:{name:`crm.dashboard`,version:1,description:`Main CRM dashboard with pipeline overview, deal stats, and activities`,domain:`crm-pipeline`,owners:[
|
|
1
|
+
const e={meta:{name:`crm.dashboard`,version:1,description:`Main CRM dashboard with pipeline overview, deal stats, and activities`,domain:`crm-pipeline`,owners:[`@crm-team`],tags:[`dashboard`,`overview`]},source:{type:`component`,framework:`react`,componentKey:`CrmDashboard`},targets:[`react`,`markdown`],policy:{flags:[`crm.enabled`]}},t={meta:{name:`crm.pipeline.metrics`,version:1,description:`Pipeline metrics and forecasting view`,domain:`crm-pipeline`,owners:[`@crm-team`],tags:[`pipeline`,`metrics`,`forecast`]},source:{type:`component`,framework:`react`,componentKey:`PipelineMetricsView`},targets:[`react`,`markdown`],policy:{flags:[`crm.metrics.enabled`]}};export{e as CrmDashboardPresentation,t as PipelineMetricsPresentation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DealModel as e}from"../deal/deal.schema.js";const t={meta:{name:`crm.pipeline.kanban`,version:1,description:`Kanban board view of deals organized by stage`,domain:`crm-pipeline`,owners:[
|
|
1
|
+
import{DealModel as e}from"../deal/deal.schema.js";const t={meta:{name:`crm.pipeline.kanban`,version:1,description:`Kanban board view of deals organized by stage`,domain:`crm-pipeline`,owners:[`@crm-team`],tags:[`pipeline`,`kanban`,`deals`]},source:{type:`component`,framework:`react`,componentKey:`PipelineKanbanView`,props:e},targets:[`react`,`markdown`],policy:{flags:[`crm.pipeline.enabled`]}},n={meta:{name:`crm.deal.list`,version:1,description:`List view of deals with value, status, and owner info`,domain:`crm-pipeline`,owners:[`@crm-team`],tags:[`deal`,`list`]},source:{type:`component`,framework:`react`,componentKey:`DealListView`,props:e},targets:[`react`,`markdown`,`application/json`],policy:{flags:[`crm.deals.enabled`]}},r={meta:{name:`crm.deal.detail`,version:1,description:`Detailed view of a deal with activities, contacts, and history`,domain:`crm-pipeline`,owners:[`@crm-team`],tags:[`deal`,`detail`]},source:{type:`component`,framework:`react`,componentKey:`DealDetailView`},targets:[`react`,`markdown`],policy:{flags:[`crm.deals.enabled`]}},i={meta:{name:`crm.deal.card`,version:1,description:`Compact deal card for kanban board display`,domain:`crm-pipeline`,owners:[`@crm-team`],tags:[`deal`,`card`,`kanban`]},source:{type:`component`,framework:`react`,componentKey:`DealCard`,props:e},targets:[`react`],policy:{flags:[`crm.deals.enabled`]}};export{i as DealCardPresentation,r as DealDetailPresentation,n as DealListPresentation,t as PipelineKanbanPresentation};
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export const CrmPipelineFeature: FeatureModuleSpec = {
|
|
|
16
16
|
description:
|
|
17
17
|
'CRM and sales pipeline management with deals, contacts, and companies',
|
|
18
18
|
domain: 'crm',
|
|
19
|
-
owners: ['crm-team'],
|
|
19
|
+
owners: ['@crm-team'],
|
|
20
20
|
tags: ['crm', 'sales', 'pipeline', 'deals'],
|
|
21
21
|
stability: 'experimental',
|
|
22
22
|
},
|
|
@@ -38,6 +38,12 @@ export const CrmPipelineFeature: FeatureModuleSpec = {
|
|
|
38
38
|
{ name: 'deal.moved', version: 1 },
|
|
39
39
|
{ name: 'deal.won', version: 1 },
|
|
40
40
|
{ name: 'deal.lost', version: 1 },
|
|
41
|
+
|
|
42
|
+
// Contact events
|
|
43
|
+
{ name: 'contact.created', version: 1 },
|
|
44
|
+
|
|
45
|
+
// Task events
|
|
46
|
+
{ name: 'task.completed', version: 1 },
|
|
41
47
|
],
|
|
42
48
|
|
|
43
49
|
// Presentations associated with this feature
|
|
@@ -13,7 +13,7 @@ export const CrmDashboardPresentation: PresentationDescriptorV2 = {
|
|
|
13
13
|
description:
|
|
14
14
|
'Main CRM dashboard with pipeline overview, deal stats, and activities',
|
|
15
15
|
domain: 'crm-pipeline',
|
|
16
|
-
owners: ['crm-team'],
|
|
16
|
+
owners: ['@crm-team'],
|
|
17
17
|
tags: ['dashboard', 'overview'],
|
|
18
18
|
},
|
|
19
19
|
source: {
|
|
@@ -36,7 +36,7 @@ export const PipelineMetricsPresentation: PresentationDescriptorV2 = {
|
|
|
36
36
|
version: 1,
|
|
37
37
|
description: 'Pipeline metrics and forecasting view',
|
|
38
38
|
domain: 'crm-pipeline',
|
|
39
|
-
owners: ['crm-team'],
|
|
39
|
+
owners: ['@crm-team'],
|
|
40
40
|
tags: ['pipeline', 'metrics', 'forecast'],
|
|
41
41
|
},
|
|
42
42
|
source: {
|
|
@@ -13,7 +13,7 @@ export const PipelineKanbanPresentation: PresentationDescriptorV2 = {
|
|
|
13
13
|
version: 1,
|
|
14
14
|
description: 'Kanban board view of deals organized by stage',
|
|
15
15
|
domain: 'crm-pipeline',
|
|
16
|
-
owners: ['crm-team'],
|
|
16
|
+
owners: ['@crm-team'],
|
|
17
17
|
tags: ['pipeline', 'kanban', 'deals'],
|
|
18
18
|
},
|
|
19
19
|
source: {
|
|
@@ -37,7 +37,7 @@ export const DealListPresentation: PresentationDescriptorV2 = {
|
|
|
37
37
|
version: 1,
|
|
38
38
|
description: 'List view of deals with value, status, and owner info',
|
|
39
39
|
domain: 'crm-pipeline',
|
|
40
|
-
owners: ['crm-team'],
|
|
40
|
+
owners: ['@crm-team'],
|
|
41
41
|
tags: ['deal', 'list'],
|
|
42
42
|
},
|
|
43
43
|
source: {
|
|
@@ -62,7 +62,7 @@ export const DealDetailPresentation: PresentationDescriptorV2 = {
|
|
|
62
62
|
description:
|
|
63
63
|
'Detailed view of a deal with activities, contacts, and history',
|
|
64
64
|
domain: 'crm-pipeline',
|
|
65
|
-
owners: ['crm-team'],
|
|
65
|
+
owners: ['@crm-team'],
|
|
66
66
|
tags: ['deal', 'detail'],
|
|
67
67
|
},
|
|
68
68
|
source: {
|
|
@@ -85,7 +85,7 @@ export const DealCardPresentation: PresentationDescriptorV2 = {
|
|
|
85
85
|
version: 1,
|
|
86
86
|
description: 'Compact deal card for kanban board display',
|
|
87
87
|
domain: 'crm-pipeline',
|
|
88
|
-
owners: ['crm-team'],
|
|
88
|
+
owners: ['@crm-team'],
|
|
89
89
|
tags: ['deal', 'card', 'kanban'],
|
|
90
90
|
},
|
|
91
91
|
source: {
|