@lssm/example.crm-pipeline 0.0.0-canary-20251212224228 → 0.0.0-canary-20251213172311
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 -4
- package/CHANGELOG.md +8 -8
- package/dist/example.js +1 -0
- package/dist/index.js +1 -1
- package/example.ts +1 -0
- package/package.json +3 -1
- package/src/example.ts +29 -0
- package/src/index.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,12 +2,12 @@ $ bun build:bundle && bun build:types
|
|
|
2
2
|
$ tsdown
|
|
3
3
|
[34mℹ[39m tsdown [2mv0.17.0[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/events.ts, src/feature.ts, src/index.ts, src/contracts/deal.ts, src/contracts/index.ts, src/docs/crm-pipeline.docblock.ts, src/docs/index.ts, src/entities/company.ts, src/entities/contact.ts, src/entities/deal.ts, src/entities/index.ts, src/entities/task.ts, src/handlers/deal.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/presentations/dashboard.ts, src/presentations/index.ts, src/presentations/pipeline.ts[39m
|
|
5
|
+
[34mℹ[39m entry: [34msrc/events.ts, src/example.ts, src/feature.ts, src/index.ts, src/contracts/deal.ts, src/contracts/index.ts, src/docs/crm-pipeline.docblock.ts, src/docs/index.ts, src/entities/company.ts, src/entities/contact.ts, src/entities/deal.ts, src/entities/index.ts, src/entities/task.ts, src/handlers/deal.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/presentations/dashboard.ts, src/presentations/index.ts, src/presentations/pipeline.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
9
9
|
[34mℹ[39m [2mdist/[22m[1mcontracts/deal.js[22m [2m5.38 kB[22m [2m│ gzip: 1.27 kB[22m
|
|
10
|
-
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m3.
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m3.58 kB[22m [2m│ gzip: 1.10 kB[22m
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1mhandlers/mock-data.js[22m [2m3.36 kB[22m [2m│ gzip: 0.97 kB[22m
|
|
12
12
|
[34mℹ[39m [2mdist/[22m[1mdocs/crm-pipeline.docblock.js[22m [2m3.31 kB[22m [2m│ gzip: 1.36 kB[22m
|
|
13
13
|
[34mℹ[39m [2mdist/[22m[1mevents.js[22m [2m3.12 kB[22m [2m│ gzip: 0.69 kB[22m
|
|
@@ -22,8 +22,9 @@ $ tsdown
|
|
|
22
22
|
[34mℹ[39m [2mdist/[22m[1mentities/index.js[22m [2m0.77 kB[22m [2m│ gzip: 0.33 kB[22m
|
|
23
23
|
[34mℹ[39m [2mdist/[22m[1mpresentations/dashboard.js[22m [2m0.74 kB[22m [2m│ gzip: 0.33 kB[22m
|
|
24
24
|
[34mℹ[39m [2mdist/[22m[1mhandlers/index.js[22m [2m0.60 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
25
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m0.59 kB[22m [2m│ gzip: 0.36 kB[22m
|
|
25
26
|
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m0.47 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
26
27
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
27
|
-
[34mℹ[39m
|
|
28
|
-
[32m✔[39m Build complete in [
|
|
28
|
+
[34mℹ[39m 19 files, total: 35.37 kB
|
|
29
|
+
[32m✔[39m Build complete in [32m64ms[39m
|
|
29
30
|
$ 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-20251213172311
|
|
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-20251213172311
|
|
10
|
+
- @lssm/lib.schema@0.0.0-canary-20251213172311
|
|
11
|
+
- @lssm/lib.jobs@0.0.0-canary-20251213172311
|
|
12
|
+
- @lssm/lib.bus@0.0.0-canary-20251213172311
|
|
13
|
+
- @lssm/lib.identity-rbac@0.0.0-canary-20251213172311
|
|
14
|
+
- @lssm/module.audit-trail@0.0.0-canary-20251213172311
|
|
15
|
+
- @lssm/module.notifications@0.0.0-canary-20251213172311
|
package/dist/example.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={id:`crm-pipeline`,title:`CRM Pipeline`,summary:`Sales CRM with contacts, companies, deals, pipelines, and tasks.`,tags:[`crm`,`sales`,`pipeline`,`deals`],kind:`template`,visibility:`public`,docs:{rootDocId:`docs.examples.crm-pipeline`},entrypoints:{packageName:`@lssm/example.crm-pipeline`,feature:`./feature`,contracts:`./contracts`,presentations:`./presentations`,handlers:`./handlers`,docs:`./docs`},surfaces:{templates:!0,sandbox:{enabled:!0,modes:[`playground`,`specs`,`builder`,`markdown`,`evolution`]},studio:{enabled:!0,installable:!0},mcp:{enabled:!0}}};export{e as default};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ContactCreatedEvent as e,CrmPipelineEvents as t,DealCreatedEvent as n,DealLostEvent as r,DealMovedEvent as i,DealWonEvent as a,TaskCompletedEvent as o}from"./events.js";import{CrmPipelineFeature as
|
|
1
|
+
import{ContactCreatedEvent as e,CrmPipelineEvents as t,DealCreatedEvent as n,DealLostEvent as r,DealMovedEvent as i,DealWonEvent as a,TaskCompletedEvent as o}from"./events.js";import s from"./example.js";import{CrmPipelineFeature as c}from"./feature.js";import{ContactEntity as l,ContactStatusEnum as u}from"./entities/contact.js";import{CompanyEntity as d,CompanySizeEnum as f}from"./entities/company.js";import{DealEntity as p,DealStatusEnum as m,PipelineEntity as h,StageEntity as g}from"./entities/deal.js";import{ActivityEntity as _,TaskEntity as v,TaskPriorityEnum as y,TaskStatusEnum as b,TaskTypeEnum as x}from"./entities/task.js";import{crmPipelineEntities as S,crmPipelineSchemaContribution as C}from"./entities/index.js";import{CreateDealContract as w,CreateDealInputModel as T,DealLostPayloadModel as E,DealModel as D,DealMovedPayloadModel as O,DealStatusFilterEnum as k,DealWonPayloadModel as ee,ListDealsContract as A,ListDealsInputModel as j,ListDealsOutputModel as M,LoseDealContract as N,LoseDealInputModel as P,MoveDealContract as F,MoveDealInputModel as I,WinDealContract as L,WinDealInputModel as R}from"./contracts/deal.js";import"./contracts/index.js";import{MOCK_COMPANIES as z,MOCK_CONTACTS as B,MOCK_DEALS as V,MOCK_STAGES as H}from"./handlers/mock-data.js";import{mockCreateDealHandler as U,mockGetDealsByStageHandler as W,mockGetPipelineStagesHandler as G,mockListDealsHandler as K,mockLoseDealHandler as q,mockMoveDealHandler as J,mockWinDealHandler as Y}from"./handlers/deal.handlers.js";import{DealCardPresentation as X,DealDetailPresentation as Z,DealListPresentation as Q,PipelineKanbanPresentation as $}from"./presentations/pipeline.js";import{CrmDashboardPresentation as te,PipelineMetricsPresentation as ne}from"./presentations/dashboard.js";import{CrmPipelinePresentations as re}from"./presentations/index.js";import"./docs/index.js";import{identityRbacSchemaContribution as ie}from"@lssm/lib.identity-rbac";import{auditTrailSchemaContribution as ae}from"@lssm/module.audit-trail";import{notificationsSchemaContribution as oe}from"@lssm/module.notifications";const se={modules:[ie,ae,oe,C],provider:`postgresql`,outputPath:`./prisma/schema/generated.prisma`};export{_ as ActivityEntity,d as CompanyEntity,f as CompanySizeEnum,e as ContactCreatedEvent,l as ContactEntity,u as ContactStatusEnum,w as CreateDealContract,T as CreateDealInputModel,te as CrmDashboardPresentation,t as CrmPipelineEvents,c as CrmPipelineFeature,re as CrmPipelinePresentations,X as DealCardPresentation,n as DealCreatedEvent,Z as DealDetailPresentation,p as DealEntity,Q as DealListPresentation,r as DealLostEvent,E as DealLostPayloadModel,D as DealModel,i as DealMovedEvent,O as DealMovedPayloadModel,m as DealStatusEnum,k as DealStatusFilterEnum,a as DealWonEvent,ee as DealWonPayloadModel,A as ListDealsContract,j as ListDealsInputModel,M as ListDealsOutputModel,N as LoseDealContract,P as LoseDealInputModel,z as MOCK_COMPANIES,B as MOCK_CONTACTS,V as MOCK_DEALS,H as MOCK_STAGES,F as MoveDealContract,I as MoveDealInputModel,h as PipelineEntity,$ as PipelineKanbanPresentation,ne as PipelineMetricsPresentation,g as StageEntity,o as TaskCompletedEvent,v as TaskEntity,y as TaskPriorityEnum,b as TaskStatusEnum,x as TaskTypeEnum,L as WinDealContract,R as WinDealInputModel,S as crmPipelineEntities,C as crmPipelineSchemaContribution,s as example,U as mockCreateDealHandler,W as mockGetDealsByStageHandler,G as mockGetPipelineStagesHandler,K as mockListDealsHandler,q as mockLoseDealHandler,J as mockMoveDealHandler,Y as mockWinDealHandler,se as schemaComposition};
|
package/example.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './src/example';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.crm-pipeline",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251213172311",
|
|
4
4
|
"description": "CRM Pipeline - Contacts, Companies, Deals, Tasks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"./entities/deal": "./src/entities/deal.ts",
|
|
18
18
|
"./entities/task": "./src/entities/task.ts",
|
|
19
19
|
"./events": "./src/events.ts",
|
|
20
|
+
"./example": "./src/example.ts",
|
|
20
21
|
"./feature": "./src/feature.ts",
|
|
21
22
|
"./handlers": "./src/handlers/index.ts",
|
|
22
23
|
"./handlers/deal.handlers": "./src/handlers/deal.handlers.ts",
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"./entities/deal": "./dist/entities/deal.js",
|
|
68
69
|
"./entities/task": "./dist/entities/task.js",
|
|
69
70
|
"./events": "./dist/events.js",
|
|
71
|
+
"./example": "./dist/example.js",
|
|
70
72
|
"./feature": "./dist/feature.js",
|
|
71
73
|
"./handlers": "./dist/handlers/index.js",
|
|
72
74
|
"./handlers/deal.handlers": "./dist/handlers/deal.handlers.js",
|
package/src/example.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const example = {
|
|
2
|
+
id: 'crm-pipeline',
|
|
3
|
+
title: 'CRM Pipeline',
|
|
4
|
+
summary: 'Sales CRM with contacts, companies, deals, pipelines, and tasks.',
|
|
5
|
+
tags: ['crm', 'sales', 'pipeline', 'deals'],
|
|
6
|
+
kind: 'template',
|
|
7
|
+
visibility: 'public',
|
|
8
|
+
docs: {
|
|
9
|
+
rootDocId: 'docs.examples.crm-pipeline',
|
|
10
|
+
},
|
|
11
|
+
entrypoints: {
|
|
12
|
+
packageName: '@lssm/example.crm-pipeline',
|
|
13
|
+
feature: './feature',
|
|
14
|
+
contracts: './contracts',
|
|
15
|
+
presentations: './presentations',
|
|
16
|
+
handlers: './handlers',
|
|
17
|
+
docs: './docs',
|
|
18
|
+
},
|
|
19
|
+
surfaces: {
|
|
20
|
+
templates: true,
|
|
21
|
+
sandbox: { enabled: true, modes: ['playground', 'specs', 'builder', 'markdown', 'evolution'] },
|
|
22
|
+
studio: { enabled: true, installable: true },
|
|
23
|
+
mcp: { enabled: true },
|
|
24
|
+
},
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
export default example;
|
|
28
|
+
|
|
29
|
+
|