@lssm/example.crm-pipeline 1.41.0 → 1.42.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.
Files changed (107) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +97 -0
  2. package/.turbo/turbo-build.log +93 -31
  3. package/CHANGELOG.md +32 -0
  4. package/LICENSE +21 -0
  5. package/README.md +3 -0
  6. package/dist/crm-pipeline.feature.d.ts +12 -0
  7. package/dist/crm-pipeline.feature.d.ts.map +1 -0
  8. package/dist/crm-pipeline.feature.js +159 -1
  9. package/dist/crm-pipeline.feature.js.map +1 -0
  10. package/dist/deal/deal.enum.d.ts +14 -0
  11. package/dist/deal/deal.enum.d.ts.map +1 -0
  12. package/dist/deal/deal.enum.js +25 -1
  13. package/dist/deal/deal.enum.js.map +1 -0
  14. package/dist/deal/deal.operation.d.ts +513 -0
  15. package/dist/deal/deal.operation.d.ts.map +1 -0
  16. package/dist/deal/deal.operation.js +270 -0
  17. package/dist/deal/deal.operation.js.map +1 -0
  18. package/dist/deal/deal.schema.d.ts +300 -0
  19. package/dist/deal/deal.schema.d.ts.map +1 -0
  20. package/dist/deal/deal.schema.js +286 -1
  21. package/dist/deal/deal.schema.js.map +1 -0
  22. package/dist/deal/index.d.ts +4 -0
  23. package/dist/deal/index.js +5 -1
  24. package/dist/docs/crm-pipeline.docblock.d.ts +1 -0
  25. package/dist/docs/crm-pipeline.docblock.js +56 -5
  26. package/dist/docs/crm-pipeline.docblock.js.map +1 -0
  27. package/dist/docs/index.d.ts +1 -0
  28. package/dist/docs/index.js +1 -1
  29. package/dist/entities/company.entity.d.ts +40 -0
  30. package/dist/entities/company.entity.d.ts.map +1 -0
  31. package/dist/entities/company.entity.js +63 -1
  32. package/dist/entities/company.entity.js.map +1 -0
  33. package/dist/entities/contact.entity.d.ts +44 -0
  34. package/dist/entities/contact.entity.d.ts.map +1 -0
  35. package/dist/entities/contact.entity.js +78 -1
  36. package/dist/entities/contact.entity.js.map +1 -0
  37. package/dist/entities/deal.entity.d.ts +73 -0
  38. package/dist/entities/deal.entity.d.ts.map +1 -0
  39. package/dist/entities/deal.entity.js +120 -1
  40. package/dist/entities/deal.entity.js.map +1 -0
  41. package/dist/entities/index.d.ts +15 -0
  42. package/dist/entities/index.d.ts.map +1 -0
  43. package/dist/entities/index.js +33 -1
  44. package/dist/entities/index.js.map +1 -0
  45. package/dist/entities/task.entity.d.ts +65 -0
  46. package/dist/entities/task.entity.d.ts.map +1 -0
  47. package/dist/entities/task.entity.js +129 -1
  48. package/dist/entities/task.entity.js.map +1 -0
  49. package/dist/events/contact.event.d.ts +29 -0
  50. package/dist/events/contact.event.d.ts.map +1 -0
  51. package/dist/events/contact.event.js +45 -1
  52. package/dist/events/contact.event.js.map +1 -0
  53. package/dist/events/deal.event.d.ts +111 -0
  54. package/dist/events/deal.event.d.ts.map +1 -0
  55. package/dist/events/deal.event.js +172 -1
  56. package/dist/events/deal.event.js.map +1 -0
  57. package/dist/events/index.d.ts +4 -0
  58. package/dist/events/index.js +5 -1
  59. package/dist/events/task.event.d.ts +29 -0
  60. package/dist/events/task.event.d.ts.map +1 -0
  61. package/dist/events/task.event.js +45 -1
  62. package/dist/events/task.event.js.map +1 -0
  63. package/dist/example.d.ts +37 -0
  64. package/dist/example.d.ts.map +1 -0
  65. package/dist/example.js +46 -1
  66. package/dist/example.js.map +1 -0
  67. package/dist/handlers/deal.handlers.d.ts +94 -0
  68. package/dist/handlers/deal.handlers.d.ts.map +1 -0
  69. package/dist/handlers/deal.handlers.js +120 -1
  70. package/dist/handlers/deal.handlers.js.map +1 -0
  71. package/dist/handlers/index.d.ts +3 -0
  72. package/dist/handlers/index.js +4 -1
  73. package/dist/handlers/mock-data.d.ts +49 -0
  74. package/dist/handlers/mock-data.d.ts.map +1 -0
  75. package/dist/handlers/mock-data.js +188 -1
  76. package/dist/handlers/mock-data.js.map +1 -0
  77. package/dist/index.d.ts +34 -0
  78. package/dist/index.d.ts.map +1 -0
  79. package/dist/index.js +43 -1
  80. package/dist/index.js.map +1 -0
  81. package/dist/operations/index.d.ts +5 -0
  82. package/dist/operations/index.js +6 -0
  83. package/dist/presentations/dashboard.presentation.d.ts +15 -0
  84. package/dist/presentations/dashboard.presentation.d.ts.map +1 -0
  85. package/dist/presentations/dashboard.presentation.js +59 -1
  86. package/dist/presentations/dashboard.presentation.js.map +1 -0
  87. package/dist/presentations/index.d.ts +3 -0
  88. package/dist/presentations/index.js +4 -1
  89. package/dist/presentations/pipeline.presentation.d.ts +23 -0
  90. package/dist/presentations/pipeline.presentation.d.ts.map +1 -0
  91. package/dist/presentations/pipeline.presentation.js +119 -1
  92. package/dist/presentations/pipeline.presentation.js.map +1 -0
  93. package/package.json +49 -39
  94. package/src/crm-pipeline.feature.ts +26 -25
  95. package/src/deal/{deal.contracts.ts → deal.operation.ts} +124 -10
  96. package/src/deal/index.ts +1 -1
  97. package/src/events/contact.event.ts +8 -3
  98. package/src/events/deal.event.ts +32 -12
  99. package/src/events/task.event.ts +8 -3
  100. package/src/handlers/deal.handlers.ts +9 -3
  101. package/src/index.ts +1 -1
  102. package/src/presentations/dashboard.presentation.ts +14 -5
  103. package/src/presentations/pipeline.presentation.ts +26 -9
  104. package/tsconfig.tsbuildinfo +1 -1
  105. package/dist/contracts/index.js +0 -1
  106. package/dist/deal/deal.contracts.js +0 -1
  107. /package/src/{contracts → operations}/index.ts +0 -0
@@ -0,0 +1,97 @@
1
+ $ tsdown
2
+ ℹ tsdown v0.18.3 powered by rolldown v1.0.0-beta.57
3
+ ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/crm-pipeline/tsdown.config.js
4
+ ℹ entry: src/crm-pipeline.feature.ts, src/example.ts, src/index.ts, src/deal/deal.enum.ts, src/deal/deal.operation.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/operations/index.ts, src/presentations/dashboard.presentation.ts, src/presentations/index.ts, src/presentations/pipeline.presentation.ts
5
+ ℹ target: esnext
6
+ ℹ tsconfig: tsconfig.json
7
+ ℹ Build start
8
+ ℹ Cleaning 94 files
9
+ ℹ dist/deal/deal.schema.js  5.86 kB │ gzip: 0.86 kB
10
+ ℹ dist/deal/deal.operation.js  5.56 kB │ gzip: 1.46 kB
11
+ ℹ dist/handlers/mock-data.js  4.50 kB │ gzip: 1.09 kB
12
+ ℹ dist/handlers/deal.handlers.js  3.73 kB │ gzip: 1.06 kB
13
+ ℹ dist/events/deal.event.js  3.73 kB │ gzip: 0.67 kB
14
+ ℹ dist/index.js  3.63 kB │ gzip: 0.93 kB
15
+ ℹ dist/docs/crm-pipeline.docblock.js  3.60 kB │ gzip: 1.44 kB
16
+ ℹ dist/entities/deal.entity.js  3.56 kB │ gzip: 1.05 kB
17
+ ℹ dist/entities/task.entity.js  3.40 kB │ gzip: 0.98 kB
18
+ ℹ dist/presentations/pipeline.presentation.js  3.05 kB │ gzip: 0.93 kB
19
+ ℹ dist/entities/contact.entity.js  2.37 kB │ gzip: 0.82 kB
20
+ ℹ dist/crm-pipeline.feature.js  2.31 kB │ gzip: 0.63 kB
21
+ ℹ dist/entities/company.entity.js  1.96 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.06 kB │ gzip: 0.45 kB
24
+ ℹ dist/events/task.event.js  1.05 kB │ gzip: 0.44 kB
25
+ ℹ dist/entities/index.js  1.05 kB │ gzip: 0.39 kB
26
+ ℹ dist/example.js  0.88 kB │ gzip: 0.47 kB
27
+ ℹ dist/operations/index.js  0.79 kB │ gzip: 0.23 kB
28
+ ℹ dist/deal/index.js  0.78 kB │ gzip: 0.23 kB
29
+ ℹ dist/handlers/index.js  0.52 kB │ gzip: 0.19 kB
30
+ ℹ dist/deal/deal.enum.js  0.43 kB │ gzip: 0.24 kB
31
+ ℹ dist/presentations/index.js  0.40 kB │ gzip: 0.15 kB
32
+ ℹ dist/events/index.js  0.32 kB │ gzip: 0.14 kB
33
+ ℹ dist/docs/index.js  0.04 kB │ gzip: 0.06 kB
34
+ ℹ dist/deal/deal.operation.js.map  9.51 kB │ gzip: 2.05 kB
35
+ ℹ dist/deal/deal.schema.js.map  8.69 kB │ gzip: 1.24 kB
36
+ ℹ dist/handlers/deal.handlers.js.map  7.89 kB │ gzip: 2.07 kB
37
+ ℹ dist/handlers/mock-data.js.map  7.48 kB │ gzip: 1.55 kB
38
+ ℹ dist/entities/deal.entity.js.map  6.66 kB │ gzip: 1.75 kB
39
+ ℹ dist/entities/task.entity.js.map  6.08 kB │ gzip: 1.55 kB
40
+ ℹ dist/events/deal.event.js.map  5.84 kB │ gzip: 1.01 kB
41
+ ℹ dist/presentations/pipeline.presentation.js.map  4.81 kB │ gzip: 1.23 kB
42
+ ℹ dist/docs/crm-pipeline.docblock.js.map  4.45 kB │ gzip: 1.65 kB
43
+ ℹ dist/entities/contact.entity.js.map  4.29 kB │ gzip: 1.36 kB
44
+ ℹ dist/crm-pipeline.feature.js.map  4.26 kB │ gzip: 1.20 kB
45
+ ℹ dist/entities/company.entity.js.map  3.56 kB │ gzip: 1.17 kB
46
+ ℹ dist/presentations/dashboard.presentation.js.map  2.49 kB │ gzip: 0.87 kB
47
+ ℹ dist/events/contact.event.js.map  1.63 kB │ gzip: 0.69 kB
48
+ ℹ dist/events/task.event.js.map  1.59 kB │ gzip: 0.64 kB
49
+ ℹ dist/entities/index.js.map  1.36 kB │ gzip: 0.49 kB
50
+ ℹ dist/handlers/deal.handlers.d.ts.map  1.35 kB │ gzip: 0.52 kB
51
+ ℹ dist/deal/deal.operation.d.ts.map  1.31 kB │ gzip: 0.39 kB
52
+ ℹ dist/deal/deal.schema.d.ts.map  1.31 kB │ gzip: 0.45 kB
53
+ ℹ dist/example.js.map  1.29 kB │ gzip: 0.66 kB
54
+ ℹ dist/index.js.map  1.25 kB │ gzip: 0.54 kB
55
+ ℹ dist/events/deal.event.d.ts.map  0.69 kB │ gzip: 0.29 kB
56
+ ℹ dist/deal/deal.enum.js.map  0.60 kB │ gzip: 0.31 kB
57
+ ℹ dist/entities/deal.entity.d.ts.map  0.44 kB │ gzip: 0.26 kB
58
+ ℹ dist/entities/task.entity.d.ts.map  0.43 kB │ gzip: 0.26 kB
59
+ ℹ dist/handlers/mock-data.d.ts.map  0.42 kB │ gzip: 0.26 kB
60
+ ℹ dist/entities/contact.entity.d.ts.map  0.27 kB │ gzip: 0.19 kB
61
+ ℹ dist/entities/company.entity.d.ts.map  0.26 kB │ gzip: 0.19 kB
62
+ ℹ dist/deal/deal.enum.d.ts.map  0.25 kB │ gzip: 0.17 kB
63
+ ℹ dist/events/contact.event.d.ts.map  0.25 kB │ gzip: 0.18 kB
64
+ ℹ dist/events/task.event.d.ts.map  0.24 kB │ gzip: 0.18 kB
65
+ ℹ dist/presentations/pipeline.presentation.d.ts.map  0.24 kB │ gzip: 0.17 kB
66
+ ℹ dist/presentations/dashboard.presentation.d.ts.map  0.20 kB │ gzip: 0.15 kB
67
+ ℹ dist/index.d.ts.map  0.16 kB │ gzip: 0.13 kB
68
+ ℹ dist/crm-pipeline.feature.d.ts.map  0.16 kB │ gzip: 0.13 kB
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 13.18 kB │ gzip: 0.97 kB
72
+ ℹ dist/deal/deal.schema.d.ts  7.69 kB │ gzip: 0.83 kB
73
+ ℹ dist/index.d.ts  3.54 kB │ gzip: 0.91 kB
74
+ ℹ dist/entities/deal.entity.d.ts  3.06 kB │ gzip: 0.55 kB
75
+ ℹ dist/events/deal.event.d.ts  3.02 kB │ gzip: 0.42 kB
76
+ ℹ dist/entities/task.entity.d.ts  2.64 kB │ gzip: 0.50 kB
77
+ ℹ dist/handlers/deal.handlers.d.ts  2.40 kB │ gzip: 0.69 kB
78
+ ℹ dist/entities/contact.entity.d.ts  1.87 kB │ gzip: 0.44 kB
79
+ ℹ dist/entities/company.entity.d.ts  1.62 kB │ gzip: 0.42 kB
80
+ ℹ dist/example.d.ts  1.13 kB │ gzip: 0.46 kB
81
+ ℹ dist/handlers/mock-data.d.ts  1.04 kB │ gzip: 0.43 kB
82
+ ℹ dist/events/contact.event.d.ts  0.85 kB │ gzip: 0.30 kB
83
+ ℹ dist/entities/index.d.ts  0.85 kB │ gzip: 0.32 kB
84
+ ℹ dist/events/task.event.d.ts  0.84 kB │ gzip: 0.30 kB
85
+ ℹ dist/handlers/index.d.ts  0.80 kB │ gzip: 0.25 kB
86
+ ℹ dist/operations/index.d.ts  0.79 kB │ gzip: 0.24 kB
87
+ ℹ dist/deal/index.d.ts  0.78 kB │ gzip: 0.23 kB
88
+ ℹ dist/presentations/pipeline.presentation.d.ts  0.69 kB │ gzip: 0.28 kB
89
+ ℹ dist/deal/deal.enum.d.ts  0.45 kB │ gzip: 0.23 kB
90
+ ℹ dist/presentations/dashboard.presentation.d.ts  0.45 kB │ gzip: 0.22 kB
91
+ ℹ dist/presentations/index.d.ts  0.40 kB │ gzip: 0.15 kB
92
+ ℹ dist/crm-pipeline.feature.d.ts  0.39 kB │ gzip: 0.24 kB
93
+ ℹ dist/events/index.d.ts  0.32 kB │ gzip: 0.14 kB
94
+ ℹ dist/docs/crm-pipeline.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
95
+ ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
96
+ ℹ 87 files, total: 196.95 kB
97
+ ✔ Build complete in 24698ms
@@ -1,36 +1,98 @@
1
- $ bun build:bundle && bun build:types
1
+ $ bun build:types && bun build:bundle
2
+ $ tsc --noEmit
2
3
  $ tsdown
3
- ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
+ ℹ tsdown v0.18.3 powered by rolldown v1.0.0-beta.57
4
5
  ℹ 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
6
+ ℹ entry: src/crm-pipeline.feature.ts, src/example.ts, src/index.ts, src/deal/deal.enum.ts, src/deal/deal.operation.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/operations/index.ts, src/presentations/dashboard.presentation.ts, src/presentations/index.ts, src/presentations/pipeline.presentation.ts
6
7
  ℹ target: esnext
7
8
  ℹ tsconfig: tsconfig.json
8
9
  ℹ Build start
9
- ℹ dist/index.js 3.66 kB │ gzip: 1.11 kB
10
- ℹ dist/handlers/mock-data.js 3.36 kB │ gzip: 0.97 kB
11
- ℹ dist/deal/deal.schema.js 3.34 kB │ gzip: 0.70 kB
12
- ℹ dist/docs/crm-pipeline.docblock.js 3.31 kB │ gzip: 1.36 kB
13
- ℹ dist/entities/deal.entity.js 2.52 kB │ gzip: 0.87 kB
14
- ℹ dist/entities/task.entity.js 2.35 kB │ gzip: 0.81 kB
15
- ℹ dist/deal/deal.contracts.js 2.26 kB │ gzip: 0.74 kB
16
- ℹ dist/events/deal.event.js 2.07 kB │ gzip: 0.50 kB
17
- ℹ dist/handlers/deal.handlers.js 1.85 kB │ gzip: 0.78 kB
18
- ℹ dist/entities/contact.entity.js 1.68 kB │ gzip: 0.70 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
- ℹ dist/entities/company.entity.js 1.35 kB │ gzip: 0.59 kB
22
- ℹ dist/contracts/index.js 0.90 kB │ gzip: 0.30 kB
23
- ℹ dist/deal/index.js 0.90 kB │ gzip: 0.30 kB
24
- ℹ dist/entities/index.js 0.76 kB │ gzip: 0.33 kB
25
- ℹ dist/presentations/dashboard.presentation.js 0.74 kB │ gzip: 0.33 kB
26
- ℹ dist/handlers/index.js 0.60 kB │ gzip: 0.25 kB
27
- ℹ dist/events/contact.event.js 0.59 kB │ gzip: 0.30 kB
28
- ℹ dist/example.js 0.59 kB │ gzip: 0.36 kB
29
- ℹ dist/events/task.event.js 0.58 kB │ gzip: 0.29 kB
30
- ℹ dist/presentations/index.js 0.44 kB │ gzip: 0.17 kB
31
- ℹ dist/events/index.js 0.35 kB │ gzip: 0.17 kB
32
- ℹ dist/deal/deal.enum.js 0.21 kB │ gzip: 0.16 kB
33
- ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
34
- ℹ 25 files, total: 37.42 kB
35
- ✔ Build complete in 66ms
36
- $ tsc --noEmit
10
+ ℹ dist/deal/deal.schema.js  5.86 kB │ gzip: 0.86 kB
11
+ ℹ dist/deal/deal.operation.js  5.56 kB │ gzip: 1.46 kB
12
+ ℹ dist/handlers/mock-data.js  4.50 kB │ gzip: 1.09 kB
13
+ ℹ dist/handlers/deal.handlers.js  3.73 kB │ gzip: 1.06 kB
14
+ ℹ dist/events/deal.event.js  3.73 kB │ gzip: 0.67 kB
15
+ ℹ dist/index.js  3.63 kB │ gzip: 0.93 kB
16
+ ℹ dist/docs/crm-pipeline.docblock.js  3.60 kB │ gzip: 1.44 kB
17
+ ℹ dist/entities/deal.entity.js  3.56 kB │ gzip: 1.05 kB
18
+ ℹ dist/entities/task.entity.js  3.40 kB │ gzip: 0.98 kB
19
+ ℹ dist/presentations/pipeline.presentation.js  3.05 kB │ gzip: 0.93 kB
20
+ ℹ dist/entities/contact.entity.js  2.37 kB │ gzip: 0.82 kB
21
+ ℹ dist/crm-pipeline.feature.js  2.31 kB │ gzip: 0.63 kB
22
+ ℹ dist/entities/company.entity.js  1.96 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.06 kB │ gzip: 0.45 kB
25
+ ℹ dist/events/task.event.js  1.05 kB │ gzip: 0.44 kB
26
+ ℹ dist/entities/index.js  1.05 kB │ gzip: 0.39 kB
27
+ ℹ dist/example.js  0.88 kB │ gzip: 0.47 kB
28
+ ℹ dist/operations/index.js  0.79 kB │ gzip: 0.23 kB
29
+ ℹ dist/deal/index.js  0.78 kB │ gzip: 0.23 kB
30
+ ℹ dist/handlers/index.js  0.52 kB │ gzip: 0.19 kB
31
+ ℹ dist/deal/deal.enum.js  0.43 kB │ gzip: 0.24 kB
32
+ ℹ dist/presentations/index.js  0.40 kB │ gzip: 0.15 kB
33
+ ℹ dist/events/index.js  0.32 kB │ gzip: 0.14 kB
34
+ ℹ dist/docs/index.js  0.04 kB │ gzip: 0.06 kB
35
+ ℹ dist/deal/deal.operation.js.map  9.51 kB │ gzip: 2.05 kB
36
+ ℹ dist/deal/deal.schema.js.map  8.69 kB │ gzip: 1.24 kB
37
+ ℹ dist/handlers/deal.handlers.js.map  7.89 kB │ gzip: 2.07 kB
38
+ ℹ dist/handlers/mock-data.js.map  7.48 kB │ gzip: 1.55 kB
39
+ ℹ dist/entities/deal.entity.js.map  6.66 kB │ gzip: 1.75 kB
40
+ ℹ dist/entities/task.entity.js.map  6.08 kB │ gzip: 1.55 kB
41
+ ℹ dist/events/deal.event.js.map  5.84 kB │ gzip: 1.01 kB
42
+ ℹ dist/presentations/pipeline.presentation.js.map  4.81 kB │ gzip: 1.23 kB
43
+ ℹ dist/docs/crm-pipeline.docblock.js.map  4.45 kB │ gzip: 1.65 kB
44
+ ℹ dist/entities/contact.entity.js.map  4.29 kB │ gzip: 1.36 kB
45
+ ℹ dist/crm-pipeline.feature.js.map  4.26 kB │ gzip: 1.20 kB
46
+ ℹ dist/entities/company.entity.js.map  3.56 kB │ gzip: 1.17 kB
47
+ ℹ dist/presentations/dashboard.presentation.js.map  2.49 kB │ gzip: 0.87 kB
48
+ ℹ dist/events/contact.event.js.map  1.63 kB │ gzip: 0.69 kB
49
+ ℹ dist/events/task.event.js.map  1.59 kB │ gzip: 0.64 kB
50
+ ℹ dist/entities/index.js.map  1.36 kB │ gzip: 0.49 kB
51
+ ℹ dist/handlers/deal.handlers.d.ts.map  1.35 kB │ gzip: 0.52 kB
52
+ ℹ dist/deal/deal.operation.d.ts.map  1.33 kB │ gzip: 0.39 kB
53
+ ℹ dist/deal/deal.schema.d.ts.map  1.31 kB │ gzip: 0.45 kB
54
+ ℹ dist/example.js.map  1.29 kB │ gzip: 0.66 kB
55
+ ℹ dist/index.js.map  1.25 kB │ gzip: 0.54 kB
56
+ ℹ dist/events/deal.event.d.ts.map  0.69 kB │ gzip: 0.29 kB
57
+ ℹ dist/deal/deal.enum.js.map  0.60 kB │ gzip: 0.31 kB
58
+ ℹ dist/entities/deal.entity.d.ts.map  0.44 kB │ gzip: 0.26 kB
59
+ ℹ dist/entities/task.entity.d.ts.map  0.43 kB │ gzip: 0.26 kB
60
+ ℹ dist/handlers/mock-data.d.ts.map  0.42 kB │ gzip: 0.26 kB
61
+ ℹ dist/entities/contact.entity.d.ts.map  0.27 kB │ gzip: 0.19 kB
62
+ ℹ dist/entities/company.entity.d.ts.map  0.26 kB │ gzip: 0.19 kB
63
+ ℹ dist/deal/deal.enum.d.ts.map  0.25 kB │ gzip: 0.17 kB
64
+ ℹ dist/events/contact.event.d.ts.map  0.25 kB │ gzip: 0.18 kB
65
+ ℹ dist/events/task.event.d.ts.map  0.24 kB │ gzip: 0.18 kB
66
+ ℹ dist/presentations/pipeline.presentation.d.ts.map  0.24 kB │ gzip: 0.17 kB
67
+ ℹ dist/presentations/dashboard.presentation.d.ts.map  0.20 kB │ gzip: 0.15 kB
68
+ ℹ dist/index.d.ts.map  0.16 kB │ gzip: 0.13 kB
69
+ ℹ dist/crm-pipeline.feature.d.ts.map  0.16 kB │ gzip: 0.13 kB
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 12.93 kB │ gzip: 0.96 kB
73
+ ℹ dist/deal/deal.schema.d.ts  7.69 kB │ gzip: 0.84 kB
74
+ ℹ dist/index.d.ts  3.54 kB │ gzip: 0.91 kB
75
+ ℹ dist/entities/deal.entity.d.ts  3.11 kB │ gzip: 0.55 kB
76
+ ℹ dist/events/deal.event.d.ts  3.02 kB │ gzip: 0.42 kB
77
+ ℹ dist/entities/task.entity.d.ts  2.64 kB │ gzip: 0.50 kB
78
+ ℹ dist/handlers/deal.handlers.d.ts  2.40 kB │ gzip: 0.69 kB
79
+ ℹ dist/entities/contact.entity.d.ts  1.90 kB │ gzip: 0.44 kB
80
+ ℹ dist/entities/company.entity.d.ts  1.68 kB │ gzip: 0.42 kB
81
+ ℹ dist/example.d.ts  1.13 kB │ gzip: 0.46 kB
82
+ ℹ dist/handlers/mock-data.d.ts  1.04 kB │ gzip: 0.43 kB
83
+ ℹ dist/events/contact.event.d.ts  0.85 kB │ gzip: 0.30 kB
84
+ ℹ dist/entities/index.d.ts  0.85 kB │ gzip: 0.32 kB
85
+ ℹ dist/events/task.event.d.ts  0.84 kB │ gzip: 0.30 kB
86
+ ℹ dist/handlers/index.d.ts  0.80 kB │ gzip: 0.25 kB
87
+ ℹ dist/operations/index.d.ts  0.79 kB │ gzip: 0.24 kB
88
+ ℹ dist/deal/index.d.ts  0.78 kB │ gzip: 0.23 kB
89
+ ℹ dist/presentations/pipeline.presentation.d.ts  0.69 kB │ gzip: 0.28 kB
90
+ ℹ dist/presentations/dashboard.presentation.d.ts  0.45 kB │ gzip: 0.22 kB
91
+ ℹ dist/deal/deal.enum.d.ts  0.45 kB │ gzip: 0.22 kB
92
+ ℹ dist/presentations/index.d.ts  0.40 kB │ gzip: 0.15 kB
93
+ ℹ dist/crm-pipeline.feature.d.ts  0.39 kB │ gzip: 0.24 kB
94
+ ℹ dist/events/index.d.ts  0.32 kB │ gzip: 0.14 kB
95
+ ℹ dist/docs/crm-pipeline.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
96
+ ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
97
+ ℹ 87 files, total: 196.85 kB
98
+ ✔ Build complete in 27162ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,32 @@
1
+ # @lssm/example.crm-pipeline
2
+
3
+ ## 1.42.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f043995: Fix release
8
+ - Updated dependencies [f043995]
9
+ - @lssm/module.notifications@1.42.1
10
+ - @lssm/module.audit-trail@1.42.1
11
+ - @lssm/lib.identity-rbac@1.42.1
12
+ - @lssm/lib.contracts@1.42.1
13
+ - @lssm/lib.schema@1.42.1
14
+ - @lssm/lib.jobs@1.42.1
15
+ - @lssm/lib.bus@1.42.1
16
+
17
+ ## 1.42.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 8eefd9c: initial release
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [8eefd9c]
26
+ - @lssm/lib.bus@1.42.0
27
+ - @lssm/lib.contracts@1.42.0
28
+ - @lssm/lib.identity-rbac@1.42.0
29
+ - @lssm/lib.jobs@1.42.0
30
+ - @lssm/lib.schema@1.42.0
31
+ - @lssm/module.audit-trail@1.42.0
32
+ - @lssm/module.notifications@1.42.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Chaman Ventures, SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CRM Pipeline
2
2
 
3
+ Website: https://contractspec.lssm.tech/
4
+
5
+
3
6
  A complete CRM (Customer Relationship Management) application demonstrating ContractSpec principles.
4
7
 
5
8
  ## What's Included
@@ -0,0 +1,12 @@
1
+ import { FeatureModuleSpec } from "@lssm/lib.contracts";
2
+
3
+ //#region src/crm-pipeline.feature.d.ts
4
+
5
+ /**
6
+ * CRM Pipeline feature module that bundles deal management,
7
+ * pipeline operations, and contact management into an installable feature.
8
+ */
9
+ declare const CrmPipelineFeature: FeatureModuleSpec;
10
+ //#endregion
11
+ export { CrmPipelineFeature };
12
+ //# sourceMappingURL=crm-pipeline.feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crm-pipeline.feature.d.ts","names":[],"sources":["../src/crm-pipeline.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;;cAWa,oBAAoB"}
@@ -1 +1,159 @@
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
+ //#region src/crm-pipeline.feature.ts
2
+ /**
3
+ * CRM Pipeline feature module that bundles deal management,
4
+ * pipeline operations, and contact management into an installable feature.
5
+ */
6
+ const CrmPipelineFeature = {
7
+ meta: {
8
+ key: "crm-pipeline",
9
+ title: "CRM Pipeline",
10
+ description: "CRM and sales pipeline management with deals, contacts, and companies",
11
+ domain: "crm",
12
+ owners: ["@crm-team"],
13
+ tags: [
14
+ "crm",
15
+ "sales",
16
+ "pipeline",
17
+ "deals"
18
+ ],
19
+ stability: "experimental",
20
+ version: 1
21
+ },
22
+ operations: [
23
+ {
24
+ key: "crm.deal.create",
25
+ version: 1
26
+ },
27
+ {
28
+ key: "crm.deal.move",
29
+ version: 1
30
+ },
31
+ {
32
+ key: "crm.deal.win",
33
+ version: 1
34
+ },
35
+ {
36
+ key: "crm.deal.lose",
37
+ version: 1
38
+ },
39
+ {
40
+ key: "crm.deal.list",
41
+ version: 1
42
+ }
43
+ ],
44
+ events: [
45
+ {
46
+ key: "deal.created",
47
+ version: 1
48
+ },
49
+ {
50
+ key: "deal.moved",
51
+ version: 1
52
+ },
53
+ {
54
+ key: "deal.won",
55
+ version: 1
56
+ },
57
+ {
58
+ key: "deal.lost",
59
+ version: 1
60
+ },
61
+ {
62
+ key: "contact.created",
63
+ version: 1
64
+ },
65
+ {
66
+ key: "task.completed",
67
+ version: 1
68
+ }
69
+ ],
70
+ presentations: [
71
+ {
72
+ key: "crm.dashboard",
73
+ version: 1
74
+ },
75
+ {
76
+ key: "crm.pipeline.kanban",
77
+ version: 1
78
+ },
79
+ {
80
+ key: "crm.deal.list",
81
+ version: 1
82
+ },
83
+ {
84
+ key: "crm.deal.detail",
85
+ version: 1
86
+ },
87
+ {
88
+ key: "crm.deal.card",
89
+ version: 1
90
+ },
91
+ {
92
+ key: "crm.pipeline.metrics",
93
+ version: 1
94
+ }
95
+ ],
96
+ opToPresentation: [{
97
+ op: {
98
+ key: "crm.deal.list",
99
+ version: 1
100
+ },
101
+ pres: {
102
+ key: "crm.pipeline.kanban",
103
+ version: 1
104
+ }
105
+ }, {
106
+ op: {
107
+ key: "crm.deal.move",
108
+ version: 1
109
+ },
110
+ pres: {
111
+ key: "crm.pipeline.kanban",
112
+ version: 1
113
+ }
114
+ }],
115
+ presentationsTargets: [
116
+ {
117
+ key: "crm.dashboard",
118
+ version: 1,
119
+ targets: ["react", "markdown"]
120
+ },
121
+ {
122
+ key: "crm.pipeline.kanban",
123
+ version: 1,
124
+ targets: ["react", "markdown"]
125
+ },
126
+ {
127
+ key: "crm.deal.list",
128
+ version: 1,
129
+ targets: [
130
+ "react",
131
+ "markdown",
132
+ "application/json"
133
+ ]
134
+ },
135
+ {
136
+ key: "crm.pipeline.metrics",
137
+ version: 1,
138
+ targets: ["react", "markdown"]
139
+ }
140
+ ],
141
+ capabilities: { requires: [
142
+ {
143
+ key: "identity",
144
+ version: 1
145
+ },
146
+ {
147
+ key: "audit-trail",
148
+ version: 1
149
+ },
150
+ {
151
+ key: "notifications",
152
+ version: 1
153
+ }
154
+ ] }
155
+ };
156
+
157
+ //#endregion
158
+ export { CrmPipelineFeature };
159
+ //# sourceMappingURL=crm-pipeline.feature.js.map
@@ -0,0 +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 '@lssm/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"}
@@ -0,0 +1,14 @@
1
+ import * as _lssm_lib_schema192 from "@lssm/lib.schema";
2
+
3
+ //#region src/deal/deal.enum.d.ts
4
+ /**
5
+ * Deal status enum.
6
+ */
7
+ declare const DealStatusEnum: _lssm_lib_schema192.EnumType<[string, string, string, string]>;
8
+ /**
9
+ * Deal status filter enum.
10
+ */
11
+ declare const DealStatusFilterEnum: _lssm_lib_schema192.EnumType<[string, string, string, string]>;
12
+ //#endregion
13
+ export { DealStatusEnum, DealStatusFilterEnum };
14
+ //# sourceMappingURL=deal.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deal.enum.d.ts","names":[],"sources":["../../src/deal/deal.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,cAKX,EAAA,mBAAA,CALyB,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAU3B;;;cAAa,sBAKX,mBAAA,CAL+B"}
@@ -1 +1,25 @@
1
- import{defineEnum as e}from"@lssm/lib.schema";const t=e(`DealStatus`,[`OPEN`,`WON`,`LOST`,`STALE`]),n=e(`DealStatusFilter`,[`OPEN`,`WON`,`LOST`,`all`]);export{t as DealStatusEnum,n as DealStatusFilterEnum};
1
+ import { defineEnum } from "@lssm/lib.schema";
2
+
3
+ //#region src/deal/deal.enum.ts
4
+ /**
5
+ * Deal status enum.
6
+ */
7
+ const DealStatusEnum = defineEnum("DealStatus", [
8
+ "OPEN",
9
+ "WON",
10
+ "LOST",
11
+ "STALE"
12
+ ]);
13
+ /**
14
+ * Deal status filter enum.
15
+ */
16
+ const DealStatusFilterEnum = defineEnum("DealStatusFilter", [
17
+ "OPEN",
18
+ "WON",
19
+ "LOST",
20
+ "all"
21
+ ]);
22
+
23
+ //#endregion
24
+ export { DealStatusEnum, DealStatusFilterEnum };
25
+ //# sourceMappingURL=deal.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deal.enum.js","names":[],"sources":["../../src/deal/deal.enum.ts"],"sourcesContent":["import { defineEnum } from '@lssm/lib.schema';\n\n/**\n * Deal status enum.\n */\nexport const DealStatusEnum = defineEnum('DealStatus', [\n 'OPEN',\n 'WON',\n 'LOST',\n 'STALE',\n]);\n\n/**\n * Deal status filter enum.\n */\nexport const DealStatusFilterEnum = defineEnum('DealStatusFilter', [\n 'OPEN',\n 'WON',\n 'LOST',\n 'all',\n]);\n"],"mappings":";;;;;;AAKA,MAAa,iBAAiB,WAAW,cAAc;CACrD;CACA;CACA;CACA;CACD,CAAC;;;;AAKF,MAAa,uBAAuB,WAAW,oBAAoB;CACjE;CACA;CACA;CACA;CACD,CAAC"}