@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.231 → 1.0.0-alpha.232

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 (112) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/lib/bs/.compiler.log +2 -2
  3. package/lib/bs/compiler-info.json +1 -1
  4. package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmi +0 -0
  5. package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmt +0 -0
  6. package/lib/bs/src/Extension/Orders_Extension.res.mjs +1 -1
  7. package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
  8. package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
  9. package/lib/bs/src/Plugin.ast +0 -0
  10. package/lib/bs/src/Plugin.res +1 -1
  11. package/lib/bs/src/Plugin.res.mjs +6 -6
  12. package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmi +0 -0
  13. package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmj +0 -0
  14. package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmt +0 -0
  15. package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand.ast +0 -0
  16. package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res.mjs +1 -1
  17. package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
  18. package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmj +0 -0
  19. package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
  20. package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.ast +0 -0
  21. package/{src/Product → lib/bs/src/ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res.mjs +1 -1
  22. package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand-CatalogPlugin.cmi +0 -0
  23. package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand-CatalogPlugin.cmj +0 -0
  24. package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand-CatalogPlugin.cmt +0 -0
  25. package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand.ast +0 -0
  26. package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res.mjs +1 -1
  27. package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
  28. package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmj +0 -0
  29. package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
  30. package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection.ast +0 -0
  31. package/{src/Product → lib/bs/src/ProductDemand}/StateViewSlice/ProductDemand_Projection.res.mjs +1 -1
  32. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  33. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  34. package/lib/bs/tests/Extension/Orders_Extension_GWT.res.mjs +1 -1
  35. package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
  36. package/lib/bs/tests/ProductDemand/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmj +0 -0
  37. package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
  38. package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.ast +0 -0
  39. package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res.mjs +2 -2
  40. package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  41. package/lib/bs/tests/ProductDemand/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmj +0 -0
  42. package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  43. package/lib/bs/tests/ProductDemand/StateViewSlice/ProductDemand_GWT.ast +0 -0
  44. package/{tests/Product → lib/bs/tests/ProductDemand}/StateViewSlice/ProductDemand_GWT.res.mjs +2 -2
  45. package/lib/ocaml/.compiler.log +2 -2
  46. package/lib/ocaml/Orders_Extension-CatalogPlugin.cmi +0 -0
  47. package/lib/ocaml/Orders_Extension-CatalogPlugin.cmt +0 -0
  48. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  49. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  50. package/lib/ocaml/Plugin-CatalogPlugin.cmi +0 -0
  51. package/lib/ocaml/Plugin-CatalogPlugin.cmt +0 -0
  52. package/lib/ocaml/Plugin.ast +0 -0
  53. package/lib/ocaml/Plugin.res +1 -1
  54. package/lib/ocaml/ProductDemand-CatalogPlugin.cmi +0 -0
  55. package/lib/ocaml/ProductDemand-CatalogPlugin.cmj +0 -0
  56. package/lib/ocaml/ProductDemand-CatalogPlugin.cmt +0 -0
  57. package/lib/ocaml/ProductDemand.ast +0 -0
  58. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  59. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmj +0 -0
  60. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  61. package/lib/ocaml/ProductDemand_GWT.ast +0 -0
  62. package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
  63. package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmj +0 -0
  64. package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
  65. package/lib/ocaml/ProductDemand_Projection.ast +0 -0
  66. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmi +0 -0
  67. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmj +0 -0
  68. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmt +0 -0
  69. package/lib/ocaml/RecordProductDemand.ast +0 -0
  70. package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
  71. package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmj +0 -0
  72. package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
  73. package/lib/ocaml/RecordProductDemand_Behavior.ast +0 -0
  74. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
  75. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmj +0 -0
  76. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
  77. package/lib/ocaml/RecordProductDemand_GWT.ast +0 -0
  78. package/package.json +5 -5
  79. package/src/Extension/Orders_Extension.res.mjs +1 -1
  80. package/src/Plugin.res +1 -1
  81. package/src/Plugin.res.mjs +6 -6
  82. package/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res.mjs +1 -1
  83. package/{lib/bs/src/Product → src/ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res.mjs +1 -1
  84. package/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res.mjs +1 -1
  85. package/{lib/bs/src/Product → src/ProductDemand}/StateViewSlice/ProductDemand_Projection.res.mjs +1 -1
  86. package/tests/Extension/Orders_Extension_GWT.res.mjs +1 -1
  87. package/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res.mjs +2 -2
  88. package/{lib/bs/tests/Product → tests/ProductDemand}/StateViewSlice/ProductDemand_GWT.res.mjs +2 -2
  89. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmj +0 -0
  90. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand.ast +0 -0
  91. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
  92. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmj +0 -0
  93. package/lib/bs/src/Product/StateViewSlice/ProductDemand-CatalogPlugin.cmi +0 -0
  94. package/lib/bs/src/Product/StateViewSlice/ProductDemand-CatalogPlugin.cmj +0 -0
  95. package/lib/bs/src/Product/StateViewSlice/ProductDemand.ast +0 -0
  96. package/lib/bs/src/Product/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
  97. package/lib/bs/src/Product/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmj +0 -0
  98. package/lib/bs/tests/Product/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmj +0 -0
  99. package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmj +0 -0
  100. package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT.ast +0 -0
  101. /package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res +0 -0
  102. /package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res +0 -0
  103. /package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res +0 -0
  104. /package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection.res +0 -0
  105. /package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res +0 -0
  106. /package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT.res +0 -0
  107. /package/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res +0 -0
  108. /package/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res +0 -0
  109. /package/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res +0 -0
  110. /package/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection.res +0 -0
  111. /package/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res +0 -0
  112. /package/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT.res +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 1.0.0-alpha.232 (2026-08-31)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **example:** give the catalog's demand feature its own chapter ([8fbff92](https://github.com/ReventlessDev/reventless-core/commit/8fbff92874902faa3df2bff6c595344a0ee17fb1))
11
+
12
+
6
13
  # 1.0.0-alpha.231 (2026-08-27)
7
14
 
8
15
  **Note:** Version bump only for package @reventlessdev/online-shop-dcb-catalog
@@ -1,2 +1,2 @@
1
- #Start(1787841661603)
2
- #Done(1787841663893)
1
+ #Start(1788194040632)
2
+ #Done(1788194043283)
@@ -4,5 +4,5 @@
4
4
  "bsc_hash": "75e3a59c95cc953608fd3dd6ea6ed68141bba4414a20a52f114261b8a48385fa",
5
5
  "rescript_config_hash": "ca6bf04caf4f6b27dbf31b935f934d99c6fe59248cc8b122f9cc48ff2675eb4a",
6
6
  "runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
7
- "generated_at": "1787841663906"
7
+ "generated_at": "1788194043290"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as RecordProductDemand$CatalogPlugin from "../Product/StateChangeSlice/RecordProductDemand.res.mjs";
3
+ import * as RecordProductDemand$CatalogPlugin from "../ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
4
4
 
5
5
  function mapIncomingEvent(_id, event, _meta, _pluginDef, _queryEngine) {
6
6
  if (event.TAG === "ItemOrdered") {
Binary file
Binary file
Binary file
@@ -41,7 +41,7 @@ module Make = (Platform: ReventlessInfra.Platform.T) => {
41
41
  ~inboundTranslationSlices=[module(ImportProductSlice)],
42
42
  ~extensions=[module(Orders_Extension)],
43
43
  ~extensionPoints=[module(Products_ExtensionPointMapping)],
44
- ~componentChapters=Dict.fromArray([("AddCategory", "Category"), ("AddProduct", "Product"), ("ArchiveCategory", "Category"), ("Categories", "Category"), ("CategoryActivity", "CategoryActivity"), ("ChangeProductDescription", "Product"), ("ChangeProductName", "Product"), ("ChangeProductPrice", "Product"), ("ImportProduct", "Product"), ("ProductDemand", "Product"), ("Products", "Product"), ("RecordProductDemand", "Product"), ("RenameCategory", "Category")]),
44
+ ~componentChapters=Dict.fromArray([("AddCategory", "Category"), ("AddProduct", "Product"), ("ArchiveCategory", "Category"), ("Categories", "Category"), ("CategoryActivity", "CategoryActivity"), ("ChangeProductDescription", "Product"), ("ChangeProductName", "Product"), ("ChangeProductPrice", "Product"), ("ImportProduct", "Product"), ("ProductDemand", "ProductDemand"), ("Products", "Product"), ("RecordProductDemand", "ProductDemand"), ("RenameCategory", "Category")]),
45
45
  )
46
46
 
47
47
  let make = () =>
@@ -7,7 +7,7 @@ import * as AddProduct$CatalogPlugin from "./Product/StateChangeSlice/AddProduct
7
7
  import * as Categories$CatalogPlugin from "./Category/StateViewSlice/Categories.res.mjs";
8
8
  import * as AddCategory$CatalogPlugin from "./Category/StateChangeSlice/AddCategory.res.mjs";
9
9
  import * as ImportProduct$CatalogPlugin from "./Product/InboundTranslationSlice/ImportProduct.res.mjs";
10
- import * as ProductDemand$CatalogPlugin from "./Product/StateViewSlice/ProductDemand.res.mjs";
10
+ import * as ProductDemand$CatalogPlugin from "./ProductDemand/StateViewSlice/ProductDemand.res.mjs";
11
11
  import * as ImportProducts$CatalogPlugin from "./Task/ImportProducts.res.mjs";
12
12
  import * as RenameCategory$CatalogPlugin from "./Category/StateChangeSlice/RenameCategory.res.mjs";
13
13
  import * as ArchiveCategory$CatalogPlugin from "./Category/StateChangeSlice/ArchiveCategory.res.mjs";
@@ -17,7 +17,7 @@ import * as ChangeProductName$CatalogPlugin from "./Product/StateChangeSlice/Cha
17
17
  import * as ChangeProductPrice$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductPrice.res.mjs";
18
18
  import * as AddProduct_Behavior$CatalogPlugin from "./Product/StateChangeSlice/AddProduct_Behavior.res.mjs";
19
19
  import * as Products_Projection$CatalogPlugin from "./Product/StateViewSlice/Products_Projection.res.mjs";
20
- import * as RecordProductDemand$CatalogPlugin from "./Product/StateChangeSlice/RecordProductDemand.res.mjs";
20
+ import * as RecordProductDemand$CatalogPlugin from "./ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
21
21
  import * as AddCategory_Behavior$CatalogPlugin from "./Category/StateChangeSlice/AddCategory_Behavior.res.mjs";
22
22
  import * as Orders_ExtensionPoint$OrderingSpec from "@reventlessdev/online-shop-dcb-ordering-spec/src/Orders_ExtensionPoint.res.mjs";
23
23
  import * as Categories_Projection$CatalogPlugin from "./Category/StateViewSlice/Categories_Projection.res.mjs";
@@ -25,12 +25,12 @@ import * as Products_ExtensionPoint$CatalogSpec from "@reventlessdev/online-shop
25
25
  import * as RenameCategory_Behavior$CatalogPlugin from "./Category/StateChangeSlice/RenameCategory_Behavior.res.mjs";
26
26
  import * as ArchiveCategory_Behavior$CatalogPlugin from "./Category/StateChangeSlice/ArchiveCategory_Behavior.res.mjs";
27
27
  import * as ChangeProductDescription$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductDescription.res.mjs";
28
- import * as ProductDemand_Projection$CatalogPlugin from "./Product/StateViewSlice/ProductDemand_Projection.res.mjs";
28
+ import * as ProductDemand_Projection$CatalogPlugin from "./ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
29
29
  import * as ImportProduct_Translation$CatalogPlugin from "./Product/InboundTranslationSlice/ImportProduct_Translation.res.mjs";
30
30
  import * as ChangeProductName_Behavior$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductName_Behavior.res.mjs";
31
31
  import * as ChangeProductPrice_Behavior$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductPrice_Behavior.res.mjs";
32
32
  import * as CategoryActivity_Projections$CatalogPlugin from "./CategoryActivity/ReadModel/CategoryActivity_Projections.res.mjs";
33
- import * as RecordProductDemand_Behavior$CatalogPlugin from "./Product/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
33
+ import * as RecordProductDemand_Behavior$CatalogPlugin from "./ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
34
34
  import * as Products_ExtensionPointMapping$CatalogPlugin from "./ExtensionPoint/Products_ExtensionPointMapping.res.mjs";
35
35
  import * as ChangeProductDescription_Behavior$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductDescription_Behavior.res.mjs";
36
36
 
@@ -353,7 +353,7 @@ function Make(Platform) {
353
353
  ],
354
354
  [
355
355
  "ProductDemand",
356
- "Product"
356
+ "ProductDemand"
357
357
  ],
358
358
  [
359
359
  "Products",
@@ -361,7 +361,7 @@ function Make(Platform) {
361
361
  ],
362
362
  [
363
363
  "RecordProductDemand",
364
- "Product"
364
+ "ProductDemand"
365
365
  ],
366
366
  [
367
367
  "RenameCategory",
@@ -53,7 +53,7 @@ let name = "RecordProductDemand";
53
53
 
54
54
  let Id;
55
55
 
56
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateChangeSlice/RecordProductDemand.res.mjs";
56
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
57
57
 
58
58
  let readConsistency = "EscalateOnRetry";
59
59
 
@@ -56,7 +56,7 @@ function decide(state, command) {
56
56
 
57
57
  let Spec;
58
58
 
59
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
59
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
60
60
 
61
61
  export {
62
62
  Spec,
@@ -34,7 +34,7 @@ let Id;
34
34
 
35
35
  let subIdConfig;
36
36
 
37
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateViewSlice/ProductDemand.res.mjs";
37
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand.res.mjs";
38
38
 
39
39
  let authorization = "AllowAuthenticated";
40
40
 
@@ -47,7 +47,7 @@ function project(param) {
47
47
 
48
48
  let Spec;
49
49
 
50
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateViewSlice/ProductDemand_Projection.res.mjs";
50
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
51
51
 
52
52
  export {
53
53
  Spec,
@@ -3,7 +3,7 @@
3
3
  import * as Id$Reventless from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
4
4
  import * as Delegate_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Delegate_GWT.res.mjs";
5
5
  import * as Orders_Extension$CatalogPlugin from "../../src/Extension/Orders_Extension.res.mjs";
6
- import * as RecordProductDemand$CatalogPlugin from "../../src/Product/StateChangeSlice/RecordProductDemand.res.mjs";
6
+ import * as RecordProductDemand$CatalogPlugin from "../../src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
7
7
  import * as Orders_ExtensionPoint$OrderingSpec from "@reventlessdev/online-shop-dcb-ordering-spec/src/Orders_ExtensionPoint.res.mjs";
8
8
 
9
9
  let include = Delegate_GWT$ReventlessGwt.FromExtension({
@@ -1,8 +1,8 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
  import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
4
- import * as RecordProductDemand$CatalogPlugin from "../../../src/Product/StateChangeSlice/RecordProductDemand.res.mjs";
5
- import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/Product/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
4
+ import * as RecordProductDemand$CatalogPlugin from "../../../src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
5
+ import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
6
6
 
7
7
  let include = Behavior_GWT$ReventlessGwt.Make({
8
8
  name: RecordProductDemand$CatalogPlugin.name,
@@ -1,8 +1,8 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as ProductDemand$CatalogPlugin from "../../../src/Product/StateViewSlice/ProductDemand.res.mjs";
3
+ import * as ProductDemand$CatalogPlugin from "../../../src/ProductDemand/StateViewSlice/ProductDemand.res.mjs";
4
4
  import * as Projection_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Projection_GWT.res.mjs";
5
- import * as ProductDemand_Projection$CatalogPlugin from "../../../src/Product/StateViewSlice/ProductDemand_Projection.res.mjs";
5
+ import * as ProductDemand_Projection$CatalogPlugin from "../../../src/ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
6
6
 
7
7
  let include = Projection_GWT$ReventlessGwt.Make({
8
8
  name: ProductDemand$CatalogPlugin.name,
@@ -1,2 +1,2 @@
1
- #Start(1787841661603)
2
- #Done(1787841663893)
1
+ #Start(1788194040632)
2
+ #Done(1788194043283)
Binary file
Binary file
Binary file
@@ -41,7 +41,7 @@ module Make = (Platform: ReventlessInfra.Platform.T) => {
41
41
  ~inboundTranslationSlices=[module(ImportProductSlice)],
42
42
  ~extensions=[module(Orders_Extension)],
43
43
  ~extensionPoints=[module(Products_ExtensionPointMapping)],
44
- ~componentChapters=Dict.fromArray([("AddCategory", "Category"), ("AddProduct", "Product"), ("ArchiveCategory", "Category"), ("Categories", "Category"), ("CategoryActivity", "CategoryActivity"), ("ChangeProductDescription", "Product"), ("ChangeProductName", "Product"), ("ChangeProductPrice", "Product"), ("ImportProduct", "Product"), ("ProductDemand", "Product"), ("Products", "Product"), ("RecordProductDemand", "Product"), ("RenameCategory", "Category")]),
44
+ ~componentChapters=Dict.fromArray([("AddCategory", "Category"), ("AddProduct", "Product"), ("ArchiveCategory", "Category"), ("Categories", "Category"), ("CategoryActivity", "CategoryActivity"), ("ChangeProductDescription", "Product"), ("ChangeProductName", "Product"), ("ChangeProductPrice", "Product"), ("ImportProduct", "Product"), ("ProductDemand", "ProductDemand"), ("Products", "Product"), ("RecordProductDemand", "ProductDemand"), ("RenameCategory", "Category")]),
45
45
  )
46
46
 
47
47
  let make = () =>
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/online-shop-dcb-catalog",
3
- "version": "1.0.0-alpha.231",
3
+ "version": "1.0.0-alpha.232",
4
4
  "description": "Online Shop example — Catalog bounded context (Product & Category) using the DCB pattern",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -22,12 +22,12 @@
22
22
  "dependencies": {
23
23
  "sury": "11.0.0-rc.2",
24
24
  "@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.124",
25
+ "@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.124",
25
26
  "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.19",
26
- "@reventlessdev/reventless-infra": "3.0.0-alpha.152",
27
27
  "@reventlessdev/reventless-gwt": "1.0.0-alpha.198",
28
- "@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.124",
29
- "@reventlessdev/reventless-spec": "3.0.0-alpha.124",
30
- "@reventlessdev/reventless-local": "3.0.0-alpha.240"
28
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.152",
29
+ "@reventlessdev/reventless-local": "3.0.0-alpha.240",
30
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.124"
31
31
  },
32
32
  "devDependencies": {
33
33
  "rescript": "12.3.0",
@@ -1,6 +1,6 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as RecordProductDemand$CatalogPlugin from "../Product/StateChangeSlice/RecordProductDemand.res.mjs";
3
+ import * as RecordProductDemand$CatalogPlugin from "../ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
4
4
 
5
5
  function mapIncomingEvent(_id, event, _meta, _pluginDef, _queryEngine) {
6
6
  if (event.TAG === "ItemOrdered") {
package/src/Plugin.res CHANGED
@@ -41,7 +41,7 @@ module Make = (Platform: ReventlessInfra.Platform.T) => {
41
41
  ~inboundTranslationSlices=[module(ImportProductSlice)],
42
42
  ~extensions=[module(Orders_Extension)],
43
43
  ~extensionPoints=[module(Products_ExtensionPointMapping)],
44
- ~componentChapters=Dict.fromArray([("AddCategory", "Category"), ("AddProduct", "Product"), ("ArchiveCategory", "Category"), ("Categories", "Category"), ("CategoryActivity", "CategoryActivity"), ("ChangeProductDescription", "Product"), ("ChangeProductName", "Product"), ("ChangeProductPrice", "Product"), ("ImportProduct", "Product"), ("ProductDemand", "Product"), ("Products", "Product"), ("RecordProductDemand", "Product"), ("RenameCategory", "Category")]),
44
+ ~componentChapters=Dict.fromArray([("AddCategory", "Category"), ("AddProduct", "Product"), ("ArchiveCategory", "Category"), ("Categories", "Category"), ("CategoryActivity", "CategoryActivity"), ("ChangeProductDescription", "Product"), ("ChangeProductName", "Product"), ("ChangeProductPrice", "Product"), ("ImportProduct", "Product"), ("ProductDemand", "ProductDemand"), ("Products", "Product"), ("RecordProductDemand", "ProductDemand"), ("RenameCategory", "Category")]),
45
45
  )
46
46
 
47
47
  let make = () =>
@@ -7,7 +7,7 @@ import * as AddProduct$CatalogPlugin from "./Product/StateChangeSlice/AddProduct
7
7
  import * as Categories$CatalogPlugin from "./Category/StateViewSlice/Categories.res.mjs";
8
8
  import * as AddCategory$CatalogPlugin from "./Category/StateChangeSlice/AddCategory.res.mjs";
9
9
  import * as ImportProduct$CatalogPlugin from "./Product/InboundTranslationSlice/ImportProduct.res.mjs";
10
- import * as ProductDemand$CatalogPlugin from "./Product/StateViewSlice/ProductDemand.res.mjs";
10
+ import * as ProductDemand$CatalogPlugin from "./ProductDemand/StateViewSlice/ProductDemand.res.mjs";
11
11
  import * as ImportProducts$CatalogPlugin from "./Task/ImportProducts.res.mjs";
12
12
  import * as RenameCategory$CatalogPlugin from "./Category/StateChangeSlice/RenameCategory.res.mjs";
13
13
  import * as ArchiveCategory$CatalogPlugin from "./Category/StateChangeSlice/ArchiveCategory.res.mjs";
@@ -17,7 +17,7 @@ import * as ChangeProductName$CatalogPlugin from "./Product/StateChangeSlice/Cha
17
17
  import * as ChangeProductPrice$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductPrice.res.mjs";
18
18
  import * as AddProduct_Behavior$CatalogPlugin from "./Product/StateChangeSlice/AddProduct_Behavior.res.mjs";
19
19
  import * as Products_Projection$CatalogPlugin from "./Product/StateViewSlice/Products_Projection.res.mjs";
20
- import * as RecordProductDemand$CatalogPlugin from "./Product/StateChangeSlice/RecordProductDemand.res.mjs";
20
+ import * as RecordProductDemand$CatalogPlugin from "./ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
21
21
  import * as AddCategory_Behavior$CatalogPlugin from "./Category/StateChangeSlice/AddCategory_Behavior.res.mjs";
22
22
  import * as Orders_ExtensionPoint$OrderingSpec from "@reventlessdev/online-shop-dcb-ordering-spec/src/Orders_ExtensionPoint.res.mjs";
23
23
  import * as Categories_Projection$CatalogPlugin from "./Category/StateViewSlice/Categories_Projection.res.mjs";
@@ -25,12 +25,12 @@ import * as Products_ExtensionPoint$CatalogSpec from "@reventlessdev/online-shop
25
25
  import * as RenameCategory_Behavior$CatalogPlugin from "./Category/StateChangeSlice/RenameCategory_Behavior.res.mjs";
26
26
  import * as ArchiveCategory_Behavior$CatalogPlugin from "./Category/StateChangeSlice/ArchiveCategory_Behavior.res.mjs";
27
27
  import * as ChangeProductDescription$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductDescription.res.mjs";
28
- import * as ProductDemand_Projection$CatalogPlugin from "./Product/StateViewSlice/ProductDemand_Projection.res.mjs";
28
+ import * as ProductDemand_Projection$CatalogPlugin from "./ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
29
29
  import * as ImportProduct_Translation$CatalogPlugin from "./Product/InboundTranslationSlice/ImportProduct_Translation.res.mjs";
30
30
  import * as ChangeProductName_Behavior$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductName_Behavior.res.mjs";
31
31
  import * as ChangeProductPrice_Behavior$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductPrice_Behavior.res.mjs";
32
32
  import * as CategoryActivity_Projections$CatalogPlugin from "./CategoryActivity/ReadModel/CategoryActivity_Projections.res.mjs";
33
- import * as RecordProductDemand_Behavior$CatalogPlugin from "./Product/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
33
+ import * as RecordProductDemand_Behavior$CatalogPlugin from "./ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
34
34
  import * as Products_ExtensionPointMapping$CatalogPlugin from "./ExtensionPoint/Products_ExtensionPointMapping.res.mjs";
35
35
  import * as ChangeProductDescription_Behavior$CatalogPlugin from "./Product/StateChangeSlice/ChangeProductDescription_Behavior.res.mjs";
36
36
 
@@ -353,7 +353,7 @@ function Make(Platform) {
353
353
  ],
354
354
  [
355
355
  "ProductDemand",
356
- "Product"
356
+ "ProductDemand"
357
357
  ],
358
358
  [
359
359
  "Products",
@@ -361,7 +361,7 @@ function Make(Platform) {
361
361
  ],
362
362
  [
363
363
  "RecordProductDemand",
364
- "Product"
364
+ "ProductDemand"
365
365
  ],
366
366
  [
367
367
  "RenameCategory",
@@ -53,7 +53,7 @@ let name = "RecordProductDemand";
53
53
 
54
54
  let Id;
55
55
 
56
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateChangeSlice/RecordProductDemand.res.mjs";
56
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
57
57
 
58
58
  let readConsistency = "EscalateOnRetry";
59
59
 
@@ -56,7 +56,7 @@ function decide(state, command) {
56
56
 
57
57
  let Spec;
58
58
 
59
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
59
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
60
60
 
61
61
  export {
62
62
  Spec,
@@ -34,7 +34,7 @@ let Id;
34
34
 
35
35
  let subIdConfig;
36
36
 
37
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateViewSlice/ProductDemand.res.mjs";
37
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand.res.mjs";
38
38
 
39
39
  let authorization = "AllowAuthenticated";
40
40
 
@@ -47,7 +47,7 @@ function project(param) {
47
47
 
48
48
  let Spec;
49
49
 
50
- let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/StateViewSlice/ProductDemand_Projection.res.mjs";
50
+ let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
51
51
 
52
52
  export {
53
53
  Spec,
@@ -3,7 +3,7 @@
3
3
  import * as Id$Reventless from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
4
4
  import * as Delegate_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Delegate_GWT.res.mjs";
5
5
  import * as Orders_Extension$CatalogPlugin from "../../src/Extension/Orders_Extension.res.mjs";
6
- import * as RecordProductDemand$CatalogPlugin from "../../src/Product/StateChangeSlice/RecordProductDemand.res.mjs";
6
+ import * as RecordProductDemand$CatalogPlugin from "../../src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
7
7
  import * as Orders_ExtensionPoint$OrderingSpec from "@reventlessdev/online-shop-dcb-ordering-spec/src/Orders_ExtensionPoint.res.mjs";
8
8
 
9
9
  let include = Delegate_GWT$ReventlessGwt.FromExtension({
@@ -1,8 +1,8 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
  import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
4
- import * as RecordProductDemand$CatalogPlugin from "../../../src/Product/StateChangeSlice/RecordProductDemand.res.mjs";
5
- import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/Product/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
4
+ import * as RecordProductDemand$CatalogPlugin from "../../../src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
5
+ import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
6
6
 
7
7
  let include = Behavior_GWT$ReventlessGwt.Make({
8
8
  name: RecordProductDemand$CatalogPlugin.name,
@@ -1,8 +1,8 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as ProductDemand$CatalogPlugin from "../../../src/Product/StateViewSlice/ProductDemand.res.mjs";
3
+ import * as ProductDemand$CatalogPlugin from "../../../src/ProductDemand/StateViewSlice/ProductDemand.res.mjs";
4
4
  import * as Projection_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Projection_GWT.res.mjs";
5
- import * as ProductDemand_Projection$CatalogPlugin from "../../../src/Product/StateViewSlice/ProductDemand_Projection.res.mjs";
5
+ import * as ProductDemand_Projection$CatalogPlugin from "../../../src/ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
6
6
 
7
7
  let include = Projection_GWT$ReventlessGwt.Make({
8
8
  name: ProductDemand$CatalogPlugin.name,