@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.273 → 1.0.0-alpha.275
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 +18 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/Category/StateChange/AddCategory-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateView/Categories-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateView/Categories-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateView/Categories_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateView/Categories_Projection-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmt +0 -0
- 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/ExtensionPoint/Products_ExtensionPointMapping-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ExtensionPoint/Products_ExtensionPointMapping-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.res.mjs +1 -2
- package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct.ast +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct.res.mjs +0 -5
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateView/Products-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateView/Products-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateView/Products_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateView/Products_Projection-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChange/AddCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChange/AddCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChange/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChange/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateView/Categories_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateView/Categories_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
- 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/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT.ast +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT.res +5 -10
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT.res.mjs +24 -17
- package/lib/bs/tests/Product/StateChange/AddProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/AddProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateView/Products_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateView/Products_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/StateView/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/StateView/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/AddCategory-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddProduct-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddProduct_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ArchiveCategory-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ArchiveCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Categories-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Categories_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Categories_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories_Projection-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/CategoryActivity-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryActivity-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/CategoryActivity_Projections-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryActivity_Projections-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductName-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductName_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductPrice-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductPrice_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/ImportProduct-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct.ast +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct_GWT.ast +0 -0
- package/lib/ocaml/ImportProduct_GWT.res +5 -10
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmt +0 -0
- 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/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_Projection-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RenameCategory-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RenameCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
- package/package.json +7 -7
- package/src/Plugin.res.mjs +1 -2
- package/src/Product/InboundTranslation/ImportProduct.res.mjs +0 -5
- package/tests/Product/InboundTranslation/ImportProduct_GWT.res +5 -10
- package/tests/Product/InboundTranslation/ImportProduct_GWT.res.mjs +24 -17
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.275 (2026-10-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* an inbound translation is gated alike on every door, and encodes its commands by schema ([6ec3ce6](https://github.com/ReventlessDev/reventless-core/commit/6ec3ce672e53e2c162c64a90d103be691391be5e))
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **gwt:** automation and translation tests take the slice as written, and the sidecars read them ([93a0919](https://github.com/ReventlessDev/reventless-core/commit/93a0919a0d66730cf9bf89144ad8fba3cb025332))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# 1.0.0-alpha.274 (2026-10-08)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-catalog
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
# 1.0.0-alpha.273 (2026-10-08)
|
|
7
25
|
|
|
8
26
|
**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(1791641990335)
|
|
2
|
+
#Done(1791641993217)
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"bsc_hash": "1006241435e8d5052329c523202a7fe6359a37e1e1688c023d37d6a7ebb5fb6d",
|
|
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": "1791641993225"
|
|
8
8
|
}
|
|
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/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmi
CHANGED
|
Binary file
|
package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmt
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -282,8 +282,7 @@ function Make(Platform) {
|
|
|
282
282
|
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
283
283
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
284
284
|
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
285
|
-
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
286
|
-
commandTransition: ImportProduct$CatalogPlugin.commandTransition
|
|
285
|
+
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
287
286
|
})({
|
|
288
287
|
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
289
288
|
moduleUrl: ImportProduct_Translation$CatalogPlugin.moduleUrl
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -24,10 +24,6 @@ function commandAuthorization(param) {
|
|
|
24
24
|
return "AllowAuthenticated";
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
function commandTransition(param) {
|
|
28
|
-
return "Undeclared";
|
|
29
|
-
}
|
|
30
|
-
|
|
31
27
|
let traits = [];
|
|
32
28
|
|
|
33
29
|
let name = "ImportProduct";
|
|
@@ -49,7 +45,6 @@ export {
|
|
|
49
45
|
externalSystem,
|
|
50
46
|
moduleUrl,
|
|
51
47
|
commandAuthorization,
|
|
52
|
-
commandTransition,
|
|
53
48
|
traits,
|
|
54
49
|
}
|
|
55
50
|
/* externalInputSchema Not a pure module */
|
|
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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// `InboundTranslation_GWT.Make` expects a single SliceSpec carrying both the
|
|
2
|
-
// types (from the spec file) and the `translate` function (from the body
|
|
3
|
-
// file). The split-form production layout doesn't expose them as one module,
|
|
4
|
-
// so we compose them locally before handing the result to the DSL.
|
|
5
|
-
|
|
6
|
-
module ImportProductSlice = {
|
|
7
|
-
include ImportProduct
|
|
8
|
-
let translate = ImportProduct_Translation.translate
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
@@reventless.gwt
|
|
12
2
|
|
|
13
3
|
open Catalog_Examples
|
|
@@ -61,4 +51,9 @@ describe("ImportProduct InboundTranslationSlice", () => {
|
|
|
61
51
|
currency: usd,
|
|
62
52
|
})->thenTranslateError("SKU is required")
|
|
63
53
|
)
|
|
54
|
+
|
|
55
|
+
// A payload the feed's contract does not describe never reaches `translate`.
|
|
56
|
+
test("a payload missing its title is refused before translation", () =>
|
|
57
|
+
whenReceived(JSON.parseOrThrow(`{"sku": "SKU-1"}`))->thenRefusedInput("title")
|
|
58
|
+
)
|
|
64
59
|
})
|
|
@@ -6,25 +6,17 @@ import * as Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs"
|
|
|
6
6
|
import * as InboundTranslation_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/InboundTranslation_GWT.res.mjs";
|
|
7
7
|
import * as ImportProduct_Translation$CatalogPlugin from "../../../src/Product/InboundTranslation/ImportProduct_Translation.res.mjs";
|
|
8
8
|
|
|
9
|
-
let
|
|
9
|
+
let include = InboundTranslation_GWT$ReventlessGwt.FromSlice({
|
|
10
10
|
name: ImportProduct$CatalogPlugin.name,
|
|
11
|
-
|
|
11
|
+
moduleUrl: ImportProduct$CatalogPlugin.moduleUrl,
|
|
12
12
|
externalInputSchema: ImportProduct$CatalogPlugin.externalInputSchema,
|
|
13
13
|
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
14
14
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
15
15
|
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
translate: ImportProduct_Translation$CatalogPlugin.translate
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
let include = InboundTranslation_GWT$ReventlessGwt.Make({
|
|
24
|
-
name: ImportProduct$CatalogPlugin.name,
|
|
25
|
-
externalInputSchema: ImportProduct$CatalogPlugin.externalInputSchema,
|
|
26
|
-
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
27
|
-
translate: ImportProduct_Translation$CatalogPlugin.translate
|
|
16
|
+
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
17
|
+
})({
|
|
18
|
+
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
19
|
+
moduleUrl: ImportProduct_Translation$CatalogPlugin.moduleUrl
|
|
28
20
|
});
|
|
29
21
|
|
|
30
22
|
let describe = include.describe;
|
|
@@ -33,10 +25,14 @@ let test = include.test;
|
|
|
33
25
|
|
|
34
26
|
let whenInput = include.whenInput;
|
|
35
27
|
|
|
28
|
+
let whenReceived = include.whenReceived;
|
|
29
|
+
|
|
36
30
|
let thenCommand = include.thenCommand;
|
|
37
31
|
|
|
38
32
|
let thenTranslateError = include.thenTranslateError;
|
|
39
33
|
|
|
34
|
+
let thenRefusedInput = include.thenRefusedInput;
|
|
35
|
+
|
|
40
36
|
describe("ImportProduct InboundTranslationSlice", () => {
|
|
41
37
|
test("USD payload translates to AddProduct command", () => thenCommand(whenInput({
|
|
42
38
|
sku: Catalog_Examples$CatalogPlugin.sku,
|
|
@@ -72,26 +68,37 @@ describe("ImportProduct InboundTranslationSlice", () => {
|
|
|
72
68
|
unitPrice: 100,
|
|
73
69
|
currency: Catalog_Examples$CatalogPlugin.usd
|
|
74
70
|
}), "SKU is required"));
|
|
71
|
+
test("a payload missing its title is refused before translation", () => thenRefusedInput(whenReceived(JSON.parse(`{"sku": "SKU-1"}`)), "title"));
|
|
75
72
|
});
|
|
76
73
|
|
|
77
|
-
let
|
|
74
|
+
let encPairs = include.encPairs;
|
|
75
|
+
|
|
76
|
+
let describeOther = include.describeOther;
|
|
77
|
+
|
|
78
|
+
let roundTrips = include.roundTrips;
|
|
78
79
|
|
|
79
80
|
let thenCommands = include.thenCommands;
|
|
80
81
|
|
|
81
82
|
let thenNoCommand = include.thenNoCommand;
|
|
82
83
|
|
|
84
|
+
let thenNotUnderstood = include.thenNotUnderstood;
|
|
85
|
+
|
|
83
86
|
let pid = ProductId$CatalogSpec.make;
|
|
84
87
|
|
|
85
88
|
export {
|
|
86
|
-
ImportProductSlice,
|
|
87
|
-
Spec,
|
|
88
89
|
describe,
|
|
89
90
|
test,
|
|
91
|
+
encPairs,
|
|
90
92
|
whenInput,
|
|
93
|
+
whenReceived,
|
|
94
|
+
describeOther,
|
|
95
|
+
roundTrips,
|
|
91
96
|
thenCommands,
|
|
92
97
|
thenCommand,
|
|
93
98
|
thenNoCommand,
|
|
99
|
+
thenNotUnderstood,
|
|
94
100
|
thenTranslateError,
|
|
101
|
+
thenRefusedInput,
|
|
95
102
|
pid,
|
|
96
103
|
}
|
|
97
104
|
/* include Not a pure module */
|
|
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/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1791641990335)
|
|
2
|
+
#Done(1791641993217)
|
|
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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// `InboundTranslation_GWT.Make` expects a single SliceSpec carrying both the
|
|
2
|
-
// types (from the spec file) and the `translate` function (from the body
|
|
3
|
-
// file). The split-form production layout doesn't expose them as one module,
|
|
4
|
-
// so we compose them locally before handing the result to the DSL.
|
|
5
|
-
|
|
6
|
-
module ImportProductSlice = {
|
|
7
|
-
include ImportProduct
|
|
8
|
-
let translate = ImportProduct_Translation.translate
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
@@reventless.gwt
|
|
12
2
|
|
|
13
3
|
open Catalog_Examples
|
|
@@ -61,4 +51,9 @@ describe("ImportProduct InboundTranslationSlice", () => {
|
|
|
61
51
|
currency: usd,
|
|
62
52
|
})->thenTranslateError("SKU is required")
|
|
63
53
|
)
|
|
54
|
+
|
|
55
|
+
// A payload the feed's contract does not describe never reaches `translate`.
|
|
56
|
+
test("a payload missing its title is refused before translation", () =>
|
|
57
|
+
whenReceived(JSON.parseOrThrow(`{"sku": "SKU-1"}`))->thenRefusedInput("title")
|
|
58
|
+
)
|
|
64
59
|
})
|
|
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
|
|
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.275",
|
|
4
4
|
"description": "Online Shop example — Catalog bounded context (Product & Category) using the DCB pattern",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"sury": "11.0.0",
|
|
24
|
-
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.
|
|
25
|
-
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.159",
|
|
24
|
+
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.161",
|
|
26
25
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.23",
|
|
27
|
-
"@reventlessdev/
|
|
28
|
-
"@reventlessdev/reventless-infra": "3.0.0-alpha.
|
|
29
|
-
"@reventlessdev/reventless-
|
|
30
|
-
"@reventlessdev/reventless-
|
|
26
|
+
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.161",
|
|
27
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.189",
|
|
28
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.239",
|
|
29
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.282",
|
|
30
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.161"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"rescript": "12.3.1",
|
package/src/Plugin.res.mjs
CHANGED
|
@@ -282,8 +282,7 @@ function Make(Platform) {
|
|
|
282
282
|
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
283
283
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
284
284
|
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
285
|
-
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
286
|
-
commandTransition: ImportProduct$CatalogPlugin.commandTransition
|
|
285
|
+
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
287
286
|
})({
|
|
288
287
|
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
289
288
|
moduleUrl: ImportProduct_Translation$CatalogPlugin.moduleUrl
|
|
@@ -24,10 +24,6 @@ function commandAuthorization(param) {
|
|
|
24
24
|
return "AllowAuthenticated";
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
function commandTransition(param) {
|
|
28
|
-
return "Undeclared";
|
|
29
|
-
}
|
|
30
|
-
|
|
31
27
|
let traits = [];
|
|
32
28
|
|
|
33
29
|
let name = "ImportProduct";
|
|
@@ -49,7 +45,6 @@ export {
|
|
|
49
45
|
externalSystem,
|
|
50
46
|
moduleUrl,
|
|
51
47
|
commandAuthorization,
|
|
52
|
-
commandTransition,
|
|
53
48
|
traits,
|
|
54
49
|
}
|
|
55
50
|
/* externalInputSchema Not a pure module */
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// `InboundTranslation_GWT.Make` expects a single SliceSpec carrying both the
|
|
2
|
-
// types (from the spec file) and the `translate` function (from the body
|
|
3
|
-
// file). The split-form production layout doesn't expose them as one module,
|
|
4
|
-
// so we compose them locally before handing the result to the DSL.
|
|
5
|
-
|
|
6
|
-
module ImportProductSlice = {
|
|
7
|
-
include ImportProduct
|
|
8
|
-
let translate = ImportProduct_Translation.translate
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
@@reventless.gwt
|
|
12
2
|
|
|
13
3
|
open Catalog_Examples
|
|
@@ -61,4 +51,9 @@ describe("ImportProduct InboundTranslationSlice", () => {
|
|
|
61
51
|
currency: usd,
|
|
62
52
|
})->thenTranslateError("SKU is required")
|
|
63
53
|
)
|
|
54
|
+
|
|
55
|
+
// A payload the feed's contract does not describe never reaches `translate`.
|
|
56
|
+
test("a payload missing its title is refused before translation", () =>
|
|
57
|
+
whenReceived(JSON.parseOrThrow(`{"sku": "SKU-1"}`))->thenRefusedInput("title")
|
|
58
|
+
)
|
|
64
59
|
})
|
|
@@ -6,25 +6,17 @@ import * as Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs"
|
|
|
6
6
|
import * as InboundTranslation_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/InboundTranslation_GWT.res.mjs";
|
|
7
7
|
import * as ImportProduct_Translation$CatalogPlugin from "../../../src/Product/InboundTranslation/ImportProduct_Translation.res.mjs";
|
|
8
8
|
|
|
9
|
-
let
|
|
9
|
+
let include = InboundTranslation_GWT$ReventlessGwt.FromSlice({
|
|
10
10
|
name: ImportProduct$CatalogPlugin.name,
|
|
11
|
-
|
|
11
|
+
moduleUrl: ImportProduct$CatalogPlugin.moduleUrl,
|
|
12
12
|
externalInputSchema: ImportProduct$CatalogPlugin.externalInputSchema,
|
|
13
13
|
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
14
14
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
15
15
|
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
translate: ImportProduct_Translation$CatalogPlugin.translate
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
let include = InboundTranslation_GWT$ReventlessGwt.Make({
|
|
24
|
-
name: ImportProduct$CatalogPlugin.name,
|
|
25
|
-
externalInputSchema: ImportProduct$CatalogPlugin.externalInputSchema,
|
|
26
|
-
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
27
|
-
translate: ImportProduct_Translation$CatalogPlugin.translate
|
|
16
|
+
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
17
|
+
})({
|
|
18
|
+
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
19
|
+
moduleUrl: ImportProduct_Translation$CatalogPlugin.moduleUrl
|
|
28
20
|
});
|
|
29
21
|
|
|
30
22
|
let describe = include.describe;
|
|
@@ -33,10 +25,14 @@ let test = include.test;
|
|
|
33
25
|
|
|
34
26
|
let whenInput = include.whenInput;
|
|
35
27
|
|
|
28
|
+
let whenReceived = include.whenReceived;
|
|
29
|
+
|
|
36
30
|
let thenCommand = include.thenCommand;
|
|
37
31
|
|
|
38
32
|
let thenTranslateError = include.thenTranslateError;
|
|
39
33
|
|
|
34
|
+
let thenRefusedInput = include.thenRefusedInput;
|
|
35
|
+
|
|
40
36
|
describe("ImportProduct InboundTranslationSlice", () => {
|
|
41
37
|
test("USD payload translates to AddProduct command", () => thenCommand(whenInput({
|
|
42
38
|
sku: Catalog_Examples$CatalogPlugin.sku,
|
|
@@ -72,26 +68,37 @@ describe("ImportProduct InboundTranslationSlice", () => {
|
|
|
72
68
|
unitPrice: 100,
|
|
73
69
|
currency: Catalog_Examples$CatalogPlugin.usd
|
|
74
70
|
}), "SKU is required"));
|
|
71
|
+
test("a payload missing its title is refused before translation", () => thenRefusedInput(whenReceived(JSON.parse(`{"sku": "SKU-1"}`)), "title"));
|
|
75
72
|
});
|
|
76
73
|
|
|
77
|
-
let
|
|
74
|
+
let encPairs = include.encPairs;
|
|
75
|
+
|
|
76
|
+
let describeOther = include.describeOther;
|
|
77
|
+
|
|
78
|
+
let roundTrips = include.roundTrips;
|
|
78
79
|
|
|
79
80
|
let thenCommands = include.thenCommands;
|
|
80
81
|
|
|
81
82
|
let thenNoCommand = include.thenNoCommand;
|
|
82
83
|
|
|
84
|
+
let thenNotUnderstood = include.thenNotUnderstood;
|
|
85
|
+
|
|
83
86
|
let pid = ProductId$CatalogSpec.make;
|
|
84
87
|
|
|
85
88
|
export {
|
|
86
|
-
ImportProductSlice,
|
|
87
|
-
Spec,
|
|
88
89
|
describe,
|
|
89
90
|
test,
|
|
91
|
+
encPairs,
|
|
90
92
|
whenInput,
|
|
93
|
+
whenReceived,
|
|
94
|
+
describeOther,
|
|
95
|
+
roundTrips,
|
|
91
96
|
thenCommands,
|
|
92
97
|
thenCommand,
|
|
93
98
|
thenNoCommand,
|
|
99
|
+
thenNotUnderstood,
|
|
94
100
|
thenTranslateError,
|
|
101
|
+
thenRefusedInput,
|
|
95
102
|
pid,
|
|
96
103
|
}
|
|
97
104
|
/* include Not a pure module */
|