@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.
@@ -2,7 +2,7 @@ $ bun build:bundle && bun build:types
2
2
  $ tsdown
3
3
  ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
4
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/crm-pipeline/tsdown.config.js
5
- ℹ entry: src/crm-pipeline.feature.ts, src/example.ts, src/index.ts, src/contracts/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/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
5
+ ℹ entry: src/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
6
6
  ℹ target: esnext
7
7
  ℹ tsconfig: tsconfig.json
8
8
  ℹ Build start
@@ -16,8 +16,8 @@ $ tsdown
16
16
  ℹ dist/events/deal.event.js 2.07 kB │ gzip: 0.50 kB
17
17
  ℹ dist/handlers/deal.handlers.js 1.85 kB │ gzip: 0.78 kB
18
18
  ℹ dist/entities/contact.entity.js 1.68 kB │ gzip: 0.70 kB
19
- ℹ dist/presentations/pipeline.presentation.js 1.48 kB │ gzip: 0.48 kB
20
- ℹ dist/crm-pipeline.feature.js 1.41 kB │ gzip: 0.44 kB
19
+ ℹ dist/presentations/pipeline.presentation.js 1.49 kB │ gzip: 0.49 kB
20
+ ℹ dist/crm-pipeline.feature.js 1.48 kB │ gzip: 0.46 kB
21
21
  ℹ dist/entities/company.entity.js 1.35 kB │ gzip: 0.59 kB
22
22
  ℹ dist/contracts/index.js 0.90 kB │ gzip: 0.30 kB
23
23
  ℹ dist/deal/index.js 0.90 kB │ gzip: 0.30 kB
@@ -31,6 +31,6 @@ $ tsdown
31
31
  ℹ dist/events/index.js 0.35 kB │ gzip: 0.17 kB
32
32
  ℹ dist/deal/deal.enum.js 0.21 kB │ gzip: 0.16 kB
33
33
  ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
34
- ℹ 25 files, total: 37.34 kB
35
- ✔ Build complete in 78ms
34
+ ℹ 25 files, total: 37.42 kB
35
+ ✔ Build complete in 93ms
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-20251216033905
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-20251216033905
10
- - @lssm/lib.schema@0.0.0-canary-20251216033905
11
- - @lssm/lib.jobs@0.0.0-canary-20251216033905
12
- - @lssm/lib.bus@0.0.0-canary-20251216033905
13
- - @lssm/lib.identity-rbac@0.0.0-canary-20251216033905
14
- - @lssm/module.audit-trail@0.0.0-canary-20251216033905
15
- - @lssm/module.notifications@0.0.0-canary-20251216033905
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:[`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}],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
+ 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:[`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
+ 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:[`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};
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.crm-pipeline",
3
- "version": "0.0.0-canary-20251216033905",
3
+ "version": "0.0.0-canary-20251216062412",
4
4
  "description": "CRM Pipeline - Contacts, Companies, Deals, Tasks",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -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: {