@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.
- package/CHANGELOG.md +7 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Extension/Orders_Extension.res.mjs +1 -1
- package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.ast +0 -0
- package/lib/bs/src/Plugin.res +1 -1
- package/lib/bs/src/Plugin.res.mjs +6 -6
- package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand.ast +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res.mjs +1 -1
- package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.ast +0 -0
- package/{src/Product → lib/bs/src/ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res.mjs +1 -1
- package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand.ast +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res.mjs +1 -1
- package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection.ast +0 -0
- package/{src/Product → lib/bs/src/ProductDemand}/StateViewSlice/ProductDemand_Projection.res.mjs +1 -1
- package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Orders_Extension_GWT.res.mjs +1 -1
- package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.ast +0 -0
- package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res.mjs +2 -2
- package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/StateViewSlice/ProductDemand_GWT.ast +0 -0
- package/{tests/Product → lib/bs/tests/ProductDemand}/StateViewSlice/ProductDemand_GWT.res.mjs +2 -2
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/Orders_Extension-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Extension-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Plugin.ast +0 -0
- package/lib/ocaml/Plugin.res +1 -1
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand.ast +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand_GWT.ast +0 -0
- package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand_Projection.ast +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand.ast +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior.ast +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand_GWT.ast +0 -0
- package/package.json +5 -5
- package/src/Extension/Orders_Extension.res.mjs +1 -1
- package/src/Plugin.res +1 -1
- package/src/Plugin.res.mjs +6 -6
- package/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res.mjs +1 -1
- package/{lib/bs/src/Product → src/ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res.mjs +1 -1
- package/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res.mjs +1 -1
- package/{lib/bs/src/Product → src/ProductDemand}/StateViewSlice/ProductDemand_Projection.res.mjs +1 -1
- package/tests/Extension/Orders_Extension_GWT.res.mjs +1 -1
- package/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res.mjs +2 -2
- package/{lib/bs/tests/Product → tests/ProductDemand}/StateViewSlice/ProductDemand_GWT.res.mjs +2 -2
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand.ast +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/Product/StateViewSlice/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateViewSlice/ProductDemand-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/Product/StateViewSlice/ProductDemand.ast +0 -0
- package/lib/bs/src/Product/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateViewSlice/ProductDemand_Projection-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT.ast +0 -0
- /package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res +0 -0
- /package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res +0 -0
- /package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res +0 -0
- /package/lib/bs/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection.res +0 -0
- /package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res +0 -0
- /package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT.res +0 -0
- /package/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand.res +0 -0
- /package/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res +0 -0
- /package/src/{Product → ProductDemand}/StateViewSlice/ProductDemand.res +0 -0
- /package/src/{Product → ProductDemand}/StateViewSlice/ProductDemand_Projection.res +0 -0
- /package/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res +0 -0
- /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
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
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": "
|
|
7
|
+
"generated_at": "1788194043290"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as RecordProductDemand$CatalogPlugin from "../
|
|
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
|
package/lib/bs/src/Plugin.ast
CHANGED
|
Binary file
|
package/lib/bs/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", "
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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
|
-
"
|
|
356
|
+
"ProductDemand"
|
|
357
357
|
],
|
|
358
358
|
[
|
|
359
359
|
"Products",
|
|
@@ -361,7 +361,7 @@ function Make(Platform) {
|
|
|
361
361
|
],
|
|
362
362
|
[
|
|
363
363
|
"RecordProductDemand",
|
|
364
|
-
"
|
|
364
|
+
"ProductDemand"
|
|
365
365
|
],
|
|
366
366
|
[
|
|
367
367
|
"RenameCategory",
|
package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmi
RENAMED
|
Binary file
|
|
Binary file
|
package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmt
RENAMED
|
Binary file
|
|
@@ -53,7 +53,7 @@ let name = "RecordProductDemand";
|
|
|
53
53
|
|
|
54
54
|
let Id;
|
|
55
55
|
|
|
56
|
-
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/
|
|
56
|
+
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateChangeSlice/RecordProductDemand.res.mjs";
|
|
57
57
|
|
|
58
58
|
let readConsistency = "EscalateOnRetry";
|
|
59
59
|
|
package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi
ADDED
|
Binary file
|
package/lib/bs/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmj
ADDED
|
Binary file
|
|
Binary file
|
package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.ast
RENAMED
|
Binary file
|
|
@@ -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/
|
|
59
|
+
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateChangeSlice/RecordProductDemand_Behavior.res.mjs";
|
|
60
60
|
|
|
61
61
|
export {
|
|
62
62
|
Spec,
|
|
Binary file
|
|
Binary file
|
|
@@ -34,7 +34,7 @@ let Id;
|
|
|
34
34
|
|
|
35
35
|
let subIdConfig;
|
|
36
36
|
|
|
37
|
-
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/
|
|
37
|
+
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand.res.mjs";
|
|
38
38
|
|
|
39
39
|
let authorization = "AllowAuthenticated";
|
|
40
40
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/{src/Product → lib/bs/src/ProductDemand}/StateViewSlice/ProductDemand_Projection.res.mjs
RENAMED
|
@@ -47,7 +47,7 @@ function project(param) {
|
|
|
47
47
|
|
|
48
48
|
let Spec;
|
|
49
49
|
|
|
50
|
-
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/
|
|
50
|
+
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand_Projection.res.mjs";
|
|
51
51
|
|
|
52
52
|
export {
|
|
53
53
|
Spec,
|
|
Binary file
|
|
Binary file
|
|
@@ -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/
|
|
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({
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res.mjs
RENAMED
|
@@ -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/
|
|
5
|
-
import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/
|
|
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,
|
package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmi
RENAMED
|
Binary file
|
|
Binary file
|
package/lib/bs/tests/{Product → ProductDemand}/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmt
RENAMED
|
Binary file
|
|
Binary file
|
package/{tests/Product → lib/bs/tests/ProductDemand}/StateViewSlice/ProductDemand_GWT.res.mjs
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as ProductDemand$CatalogPlugin from "../../../src/
|
|
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/
|
|
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,
|
package/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1788194040632)
|
|
2
|
+
#Done(1788194043283)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/Plugin.ast
CHANGED
|
Binary file
|
package/lib/ocaml/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", "
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.
|
|
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/
|
|
29
|
-
"@reventlessdev/reventless-
|
|
30
|
-
"@reventlessdev/reventless-
|
|
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 "../
|
|
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", "
|
|
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 = () =>
|
package/src/Plugin.res.mjs
CHANGED
|
@@ -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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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
|
-
"
|
|
356
|
+
"ProductDemand"
|
|
357
357
|
],
|
|
358
358
|
[
|
|
359
359
|
"Products",
|
|
@@ -361,7 +361,7 @@ function Make(Platform) {
|
|
|
361
361
|
],
|
|
362
362
|
[
|
|
363
363
|
"RecordProductDemand",
|
|
364
|
-
"
|
|
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/
|
|
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/
|
|
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/
|
|
37
|
+
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/ProductDemand/StateViewSlice/ProductDemand.res.mjs";
|
|
38
38
|
|
|
39
39
|
let authorization = "AllowAuthenticated";
|
|
40
40
|
|
package/{lib/bs/src/Product → src/ProductDemand}/StateViewSlice/ProductDemand_Projection.res.mjs
RENAMED
|
@@ -47,7 +47,7 @@ function project(param) {
|
|
|
47
47
|
|
|
48
48
|
let Spec;
|
|
49
49
|
|
|
50
|
-
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/
|
|
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/
|
|
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/
|
|
5
|
-
import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/
|
|
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,
|
package/{lib/bs/tests/Product → tests/ProductDemand}/StateViewSlice/ProductDemand_GWT.res.mjs
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as ProductDemand$CatalogPlugin from "../../../src/
|
|
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/
|
|
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,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
/package/lib/bs/src/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_Behavior.res
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/bs/tests/{Product → ProductDemand}/StateChangeSlice/RecordProductDemand_GWT.res
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|