@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.290 → 1.0.0-alpha.292
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 +23 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/Category/CategoryId-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/CategoryId-CatalogPlugin.cmt +0 -0
- 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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory_Decision-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/LifecycleModel-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/LifecycleModel-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 +3 -2
- package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmi +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 +3 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct.res.mjs +3 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation.ast +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation.res +1 -1
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation.res.mjs +1 -1
- 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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Decision-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/Catalog_Examples-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Catalog_Examples-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.cmt +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT.res.mjs +23 -10
- 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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory_Decision-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/Catalog_Examples-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Catalog_Examples-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/CategoryId-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryId-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice_Decision-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.cmt +0 -0
- package/lib/ocaml/ImportProduct.ast +0 -0
- package/lib/ocaml/ImportProduct.res +3 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct_Translation.ast +0 -0
- package/lib/ocaml/ImportProduct_Translation.res +1 -1
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/LifecycleModel-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/LifecycleModel-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_Decision-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_Decision-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory_Decision-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 +3 -2
- package/src/Product/InboundTranslation/ImportProduct.res +3 -0
- package/src/Product/InboundTranslation/ImportProduct.res.mjs +3 -0
- package/src/Product/InboundTranslation/ImportProduct_Translation.res +1 -1
- package/src/Product/InboundTranslation/ImportProduct_Translation.res.mjs +1 -1
- package/tests/Product/InboundTranslation/ImportProduct_GWT.res.mjs +23 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.292 (2026-10-25)
|
|
7
|
+
|
|
8
|
+
* feat!: an inbound translation is async and handed the platform's capabilities, and its audit row withholds sensitive fields ([dae6049](https://github.com/ReventlessDev/reventless-core/commit/dae6049e084f81408a494a2cd2011ec564dda65c))
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* a plugin declares per role how a person is admitted, and the local platform honors the self-service and provisioned halves ([9c37bf5](https://github.com/ReventlessDev/reventless-core/commit/9c37bf50f15cac1703bf2c351713518121a56211))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* an inbound translation's translate takes ~capabilities and
|
|
16
|
+
returns a promise, and its spec must declare capabilityNeeds ([] for one that
|
|
17
|
+
only maps input). FromSlice steps return promises.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# 1.0.0-alpha.291 (2026-10-23)
|
|
22
|
+
|
|
23
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-catalog
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
# 1.0.0-alpha.290 (2026-10-22)
|
|
7
30
|
|
|
8
31
|
**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(1792931540237)
|
|
2
|
+
#Done(1792931542510)
|
|
@@ -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": "1792931542524"
|
|
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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
@@ -283,7 +283,8 @@ function Make(Platform) {
|
|
|
283
283
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
284
284
|
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
285
285
|
authorizationOf: ImportProduct$CatalogPlugin.authorizationOf,
|
|
286
|
-
endpoint: ImportProduct$CatalogPlugin.endpoint
|
|
286
|
+
endpoint: ImportProduct$CatalogPlugin.endpoint,
|
|
287
|
+
capabilityNeeds: ImportProduct$CatalogPlugin.capabilityNeeds
|
|
287
288
|
})({
|
|
288
289
|
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
289
290
|
moduleUrl: ImportProduct_Translation$CatalogPlugin.moduleUrl
|
|
@@ -447,7 +448,7 @@ function Make(Platform) {
|
|
|
447
448
|
"RenameCategory",
|
|
448
449
|
"Category"
|
|
449
450
|
]
|
|
450
|
-
]), LifecycleModel$CatalogPlugin.model, [CategoryId$CatalogPlugin.key]);
|
|
451
|
+
]), LifecycleModel$CatalogPlugin.model, [CategoryId$CatalogPlugin.key], undefined, undefined);
|
|
451
452
|
let make = () => Platform.Plugin.make("Catalog", 5, [Products_ExtensionPoint], [Orders_Extension], undefined, [CategoryActivityReadModel], [ImportProductsTask], [
|
|
452
453
|
AddCategorySlice,
|
|
453
454
|
AddProductSlice,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -24,6 +24,9 @@ let targetName = "AddProduct"
|
|
|
24
24
|
// external box outside the Catalog plugin in the Event Graph.
|
|
25
25
|
let externalSystem = Some("SupplierFeed")
|
|
26
26
|
|
|
27
|
+
// A feed is only mapped, so nothing is provisioned on its behalf.
|
|
28
|
+
let capabilityNeeds: array<Reventless.CapabilityNeed.t> = []
|
|
29
|
+
|
|
27
30
|
// The supplier signs each post with the secret `supplierFeed`
|
|
28
31
|
// (`pulumi config set --secret webhook:supplierFeed …` on AWS,
|
|
29
32
|
// `REVENTLESS_WEBHOOK_SECRET_SUPPLIERFEED` locally); a signed post acts as Admin.
|
|
@@ -20,6 +20,8 @@ let commandSchema = Sury.$schema(s => ({
|
|
|
20
20
|
price: s.m(Sury.number)
|
|
21
21
|
}));
|
|
22
22
|
|
|
23
|
+
let capabilityNeeds = [];
|
|
24
|
+
|
|
23
25
|
function authorizationOf(param) {
|
|
24
26
|
return {
|
|
25
27
|
TAG: "AllowRoles",
|
|
@@ -60,6 +62,7 @@ export {
|
|
|
60
62
|
commandSchema,
|
|
61
63
|
targetName,
|
|
62
64
|
externalSystem,
|
|
65
|
+
capabilityNeeds,
|
|
63
66
|
endpoint,
|
|
64
67
|
moduleUrl,
|
|
65
68
|
authorizationOf,
|
|
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
|
|
@@ -14,7 +14,8 @@ let include = InboundTranslation_GWT$ReventlessGwt.FromSlice({
|
|
|
14
14
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
15
15
|
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
16
16
|
authorizationOf: ImportProduct$CatalogPlugin.authorizationOf,
|
|
17
|
-
endpoint: ImportProduct$CatalogPlugin.endpoint
|
|
17
|
+
endpoint: ImportProduct$CatalogPlugin.endpoint,
|
|
18
|
+
capabilityNeeds: ImportProduct$CatalogPlugin.capabilityNeeds
|
|
18
19
|
})({
|
|
19
20
|
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
20
21
|
moduleUrl: ImportProduct_Translation$CatalogPlugin.moduleUrl
|
|
@@ -35,45 +36,49 @@ let thenTranslateError = include.thenTranslateError;
|
|
|
35
36
|
let thenRefusedInput = include.thenRefusedInput;
|
|
36
37
|
|
|
37
38
|
describe("ImportProduct InboundTranslationSlice", () => {
|
|
38
|
-
test("USD payload translates to AddProduct command", () => thenCommand(whenInput({
|
|
39
|
+
test("USD payload translates to AddProduct command", undefined, () => thenCommand(whenInput({
|
|
39
40
|
sku: Catalog_Examples$CatalogPlugin.sku,
|
|
40
41
|
title: Catalog_Examples$CatalogPlugin.laptop,
|
|
41
42
|
desc: Catalog_Examples$CatalogPlugin.highEnd,
|
|
42
43
|
unitPrice: 99999,
|
|
43
44
|
currency: Catalog_Examples$CatalogPlugin.usd
|
|
44
|
-
}), "p-1", {
|
|
45
|
+
}, undefined, undefined), "p-1", {
|
|
45
46
|
TAG: "AddProduct",
|
|
46
47
|
productId: ProductId$CatalogSpec.make("p-1"),
|
|
47
48
|
name: Catalog_Examples$CatalogPlugin.laptop,
|
|
48
49
|
description: Catalog_Examples$CatalogPlugin.highEnd,
|
|
49
50
|
price: 999.99
|
|
50
51
|
}));
|
|
51
|
-
test("non-USD currency surfaces a translate error", () => thenTranslateError(whenInput({
|
|
52
|
+
test("non-USD currency surfaces a translate error", undefined, () => thenTranslateError(whenInput({
|
|
52
53
|
sku: Catalog_Examples$CatalogPlugin.sku,
|
|
53
54
|
title: Catalog_Examples$CatalogPlugin.laptop,
|
|
54
55
|
desc: Catalog_Examples$CatalogPlugin.anyDescription,
|
|
55
56
|
unitPrice: 1,
|
|
56
57
|
currency: "EUR"
|
|
57
|
-
}), "Unsupported currency: EUR"));
|
|
58
|
-
test("non-positive price surfaces a translate error", () => thenTranslateError(whenInput({
|
|
58
|
+
}, undefined, undefined), "Unsupported currency: EUR"));
|
|
59
|
+
test("non-positive price surfaces a translate error", undefined, () => thenTranslateError(whenInput({
|
|
59
60
|
sku: Catalog_Examples$CatalogPlugin.sku,
|
|
60
61
|
title: Catalog_Examples$CatalogPlugin.laptop,
|
|
61
62
|
desc: Catalog_Examples$CatalogPlugin.anyDescription,
|
|
62
63
|
unitPrice: 0,
|
|
63
64
|
currency: Catalog_Examples$CatalogPlugin.usd
|
|
64
|
-
}), "Price must be positive"));
|
|
65
|
-
test("empty SKU surfaces a translate error", () => thenTranslateError(whenInput({
|
|
65
|
+
}, undefined, undefined), "Price must be positive"));
|
|
66
|
+
test("empty SKU surfaces a translate error", undefined, () => thenTranslateError(whenInput({
|
|
66
67
|
sku: "",
|
|
67
68
|
title: Catalog_Examples$CatalogPlugin.laptop,
|
|
68
69
|
desc: Catalog_Examples$CatalogPlugin.anyDescription,
|
|
69
70
|
unitPrice: 100,
|
|
70
71
|
currency: Catalog_Examples$CatalogPlugin.usd
|
|
71
|
-
}), "SKU is required"));
|
|
72
|
-
test("a payload missing its title is refused before translation", () => thenRefusedInput(whenReceived(JSON.parse(`{"sku": "SKU-1"}`)), "title"));
|
|
72
|
+
}, undefined, undefined), "SKU is required"));
|
|
73
|
+
test("a payload missing its title is refused before translation", undefined, () => thenRefusedInput(whenReceived(JSON.parse(`{"sku": "SKU-1"}`), undefined, undefined), "title"));
|
|
73
74
|
});
|
|
74
75
|
|
|
76
|
+
let fakes = include.fakes;
|
|
77
|
+
|
|
75
78
|
let encPairs = include.encPairs;
|
|
76
79
|
|
|
80
|
+
let errorOf = include.errorOf;
|
|
81
|
+
|
|
77
82
|
let describeOther = include.describeOther;
|
|
78
83
|
|
|
79
84
|
let roundTrips = include.roundTrips;
|
|
@@ -84,12 +89,18 @@ let thenNoCommand = include.thenNoCommand;
|
|
|
84
89
|
|
|
85
90
|
let thenNotUnderstood = include.thenNotUnderstood;
|
|
86
91
|
|
|
92
|
+
let thenSent = include.thenSent;
|
|
93
|
+
|
|
94
|
+
let thenNothingSent = include.thenNothingSent;
|
|
95
|
+
|
|
87
96
|
let pid = ProductId$CatalogSpec.make;
|
|
88
97
|
|
|
89
98
|
export {
|
|
90
99
|
describe,
|
|
91
100
|
test,
|
|
101
|
+
fakes,
|
|
92
102
|
encPairs,
|
|
103
|
+
errorOf,
|
|
93
104
|
whenInput,
|
|
94
105
|
whenReceived,
|
|
95
106
|
describeOther,
|
|
@@ -100,6 +111,8 @@ export {
|
|
|
100
111
|
thenNotUnderstood,
|
|
101
112
|
thenTranslateError,
|
|
102
113
|
thenRefusedInput,
|
|
114
|
+
thenSent,
|
|
115
|
+
thenNothingSent,
|
|
103
116
|
pid,
|
|
104
117
|
}
|
|
105
118
|
/* 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(1792931540237)
|
|
2
|
+
#Done(1792931542510)
|
|
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
|