@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.268 → 1.0.0-alpha.269
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 +15 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/CatalogPlugin.cmi +0 -0
- package/lib/bs/CatalogPlugin.cmt +0 -0
- package/lib/bs/CatalogPlugin.mlmap +1 -0
- 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.ast +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.ast +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory.res +1 -1
- package/lib/bs/src/Category/StateChange/ArchiveCategory.res.mjs +1 -1
- 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.ast +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.ast +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.ast +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/ExtensionPoint/Products_ExtensionPointMapping.ast +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/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_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.ast +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.ast +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.ast +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.ast +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.ast +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.ast +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.ast +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/Roles-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Roles-CatalogPlugin.cmj +0 -0
- package/lib/bs/src/Roles-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Roles.ast +0 -0
- package/lib/bs/src/Roles.res +2 -0
- package/lib/bs/src/Roles.res.mjs +2 -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/Catalog_Examples.ast +0 -0
- package/lib/bs/tests/Catalog_Examples.res +1 -0
- package/lib/bs/tests/Catalog_Examples.res.mjs +3 -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/AddCategory_GWT.res.mjs +2 -1
- 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/ArchiveCategory_GWT.ast +0 -0
- package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT.res +26 -0
- package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT.res.mjs +26 -7
- 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/StateChange/RenameCategory_GWT.res.mjs +2 -1
- 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/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/AddProduct_GWT.res.mjs +2 -1
- 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/ChangeProductDescription_GWT.res.mjs +2 -1
- 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/ChangeProductName_GWT.res.mjs +2 -1
- 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/StateChange/ChangeProductPrice_GWT.res.mjs +2 -1
- 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/StateChange/RecordProductDemand_GWT.res.mjs +2 -1
- 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.ast +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.ast +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.ast +0 -0
- package/lib/ocaml/ArchiveCategory.res +1 -1
- 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/ArchiveCategory_GWT.ast +0 -0
- package/lib/ocaml/ArchiveCategory_GWT.res +26 -0
- package/lib/ocaml/CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CatalogPlugin.cmt +0 -0
- package/lib/ocaml/CatalogPlugin.mlmap +1 -0
- package/lib/ocaml/Catalog_Examples-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Catalog_Examples-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Catalog_Examples.ast +0 -0
- package/lib/ocaml/Catalog_Examples.res +1 -0
- package/lib/ocaml/Categories-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Categories.ast +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.ast +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.ast +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.ast +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.ast +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.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.cmt +0 -0
- 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/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.ast +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.ast +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.ast +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.ast +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.ast +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/lib/ocaml/Roles-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Roles-CatalogPlugin.cmj +0 -0
- package/lib/ocaml/Roles-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Roles.ast +0 -0
- package/lib/ocaml/Roles.res +2 -0
- package/package.json +8 -8
- package/src/Category/StateChange/ArchiveCategory.res +1 -1
- package/src/Category/StateChange/ArchiveCategory.res.mjs +1 -1
- package/src/Roles.res +2 -0
- package/src/Roles.res.mjs +2 -0
- package/tests/Catalog_Examples.res +1 -0
- package/tests/Catalog_Examples.res.mjs +3 -0
- package/tests/Category/StateChange/AddCategory_GWT.res.mjs +2 -1
- package/tests/Category/StateChange/ArchiveCategory_GWT.res +26 -0
- package/tests/Category/StateChange/ArchiveCategory_GWT.res.mjs +26 -7
- package/tests/Category/StateChange/RenameCategory_GWT.res.mjs +2 -1
- package/tests/Product/StateChange/AddProduct_GWT.res.mjs +2 -1
- package/tests/Product/StateChange/ChangeProductDescription_GWT.res.mjs +2 -1
- package/tests/Product/StateChange/ChangeProductName_GWT.res.mjs +2 -1
- package/tests/Product/StateChange/ChangeProductPrice_GWT.res.mjs +2 -1
- package/tests/ProductDemand/StateChange/RecordProductDemand_GWT.res.mjs +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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.269 (2026-10-01)
|
|
7
|
+
|
|
8
|
+
* feat!: roles a plugin declares, groups a platform provides ([43daace](https://github.com/ReventlessDev/reventless-core/commit/43daace6ca588afe22562d079af1e6f1da81942e))
|
|
9
|
+
|
|
10
|
+
### BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* AllowGroups and AdminGroup are removed — write AllowRoles over
|
|
13
|
+
the plugin's Roles.t, and use Role.admin / Platform.adminGroup(). Spec module
|
|
14
|
+
types declare `type role`, and their rules are Authorization.rule<role>; a spec
|
|
15
|
+
that writes its own rule declares `type role` (Reventless.Role.name for a rule
|
|
16
|
+
over Authorization.permission). Role.name is a private string: make one from a
|
|
17
|
+
string with Role.make.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# 1.0.0-alpha.268 (2026-10-01)
|
|
7
22
|
|
|
8
23
|
**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(1790854931693)
|
|
2
|
+
#Done(1790854934898)
|
package/lib/bs/CatalogPlugin.cmi
CHANGED
|
Binary file
|
package/lib/bs/CatalogPlugin.cmt
CHANGED
|
Binary file
|
|
@@ -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": "1790854934914"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -8,7 +8,7 @@ type consumedEvent =
|
|
|
8
8
|
| CategoryArchived
|
|
9
9
|
|
|
10
10
|
@schema
|
|
11
|
-
type command = | @authorize(
|
|
11
|
+
type command = | @authorize(AllowRoles([Admin])) ArchiveCategory({categoryId: CategoryId.t})
|
|
12
12
|
|
|
13
13
|
@schema
|
|
14
14
|
type error = CategoryNotFound
|
|
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
|
|
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
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: AddCategory$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: AddCategory$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: AddCategory$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: AddCategory$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: AddCategory$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: AddCategory$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: AddCategory_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: AddCategory_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -24,3 +24,29 @@ describe("ArchiveCategory StateChangeSlice", () => {
|
|
|
24
24
|
->thenNoEvent
|
|
25
25
|
)
|
|
26
26
|
})
|
|
27
|
+
|
|
28
|
+
describe("Who may ArchiveCategory", () => {
|
|
29
|
+
// scenario-id: 265a155c-74e4-4435-a4f3-e8c7f73f6282
|
|
30
|
+
test("an Admin may archive a category", () =>
|
|
31
|
+
givenEvents([CategoryAdded])
|
|
32
|
+
->asCaller(Caller.inRoles([Admin]))
|
|
33
|
+
->whenCmd(ArchiveCategory({categoryId: c1}))
|
|
34
|
+
->thenEvent(CategoryArchived({categoryId: c1}))
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
// scenario-id: 63df971a-e114-4d8e-b2cf-06f7844a2c98
|
|
38
|
+
test("a shopper may not archive a category", () =>
|
|
39
|
+
givenEvents([CategoryAdded])
|
|
40
|
+
->asCaller(Caller.owner(shopper))
|
|
41
|
+
->whenCmd(ArchiveCategory({categoryId: c1}))
|
|
42
|
+
->thenRefused
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
// scenario-id: 1ce2fe61-7c2c-44ee-9f2d-de0e6070242f
|
|
46
|
+
test("an anonymous caller may not archive a category", () =>
|
|
47
|
+
givenEvents([CategoryAdded])
|
|
48
|
+
->asCaller(Caller.anonymous)
|
|
49
|
+
->whenCmd(ArchiveCategory({categoryId: c1}))
|
|
50
|
+
->thenRefused
|
|
51
|
+
)
|
|
52
|
+
})
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: ArchiveCategory$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: ArchiveCategory$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: ArchiveCategory$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: ArchiveCategory$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: ArchiveCategory$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: ArchiveCategory$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: ArchiveCategory_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: ArchiveCategory_Behavior$CatalogPlugin.evolve,
|
|
@@ -23,6 +24,10 @@ let test = include.test;
|
|
|
23
24
|
|
|
24
25
|
let givenEvents = include.givenEvents;
|
|
25
26
|
|
|
27
|
+
let Caller = include.Caller;
|
|
28
|
+
|
|
29
|
+
let asCaller = include.asCaller;
|
|
30
|
+
|
|
26
31
|
let whenCmd = include.whenCmd;
|
|
27
32
|
|
|
28
33
|
let thenEvent = include.thenEvent;
|
|
@@ -31,6 +36,8 @@ let thenNoEvent = include.thenNoEvent;
|
|
|
31
36
|
|
|
32
37
|
let thenError = include.thenError;
|
|
33
38
|
|
|
39
|
+
let thenRefused = include.thenRefused;
|
|
40
|
+
|
|
34
41
|
describe("ArchiveCategory StateChangeSlice", () => {
|
|
35
42
|
test("non-existent category returns CategoryNotFound", () => thenError(whenCmd(givenEvents([]), {
|
|
36
43
|
TAG: "ArchiveCategory",
|
|
@@ -52,22 +59,34 @@ describe("ArchiveCategory StateChangeSlice", () => {
|
|
|
52
59
|
})));
|
|
53
60
|
});
|
|
54
61
|
|
|
62
|
+
describe("Who may ArchiveCategory", () => {
|
|
63
|
+
test("an Admin may archive a category", () => thenEvent(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.inRoles(["Admin"])), {
|
|
64
|
+
TAG: "ArchiveCategory",
|
|
65
|
+
categoryId: Catalog_Examples$CatalogPlugin.c1
|
|
66
|
+
}), {
|
|
67
|
+
TAG: "CategoryArchived",
|
|
68
|
+
categoryId: Catalog_Examples$CatalogPlugin.c1
|
|
69
|
+
}));
|
|
70
|
+
test("a shopper may not archive a category", () => thenRefused(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.owner(Catalog_Examples$CatalogPlugin.shopper, undefined)), {
|
|
71
|
+
TAG: "ArchiveCategory",
|
|
72
|
+
categoryId: Catalog_Examples$CatalogPlugin.c1
|
|
73
|
+
})));
|
|
74
|
+
test("an anonymous caller may not archive a category", () => thenRefused(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.anonymous), {
|
|
75
|
+
TAG: "ArchiveCategory",
|
|
76
|
+
categoryId: Catalog_Examples$CatalogPlugin.c1
|
|
77
|
+
})));
|
|
78
|
+
});
|
|
79
|
+
|
|
55
80
|
let Spec = include.Spec;
|
|
56
81
|
|
|
57
82
|
let todo = include.todo;
|
|
58
83
|
|
|
59
|
-
let Caller = include.Caller;
|
|
60
|
-
|
|
61
|
-
let asCaller = include.asCaller;
|
|
62
|
-
|
|
63
84
|
let thenEvents = include.thenEvents;
|
|
64
85
|
|
|
65
86
|
let thenEventWithError = include.thenEventWithError;
|
|
66
87
|
|
|
67
88
|
let thenEventsWithError = include.thenEventsWithError;
|
|
68
89
|
|
|
69
|
-
let thenRefused = include.thenRefused;
|
|
70
|
-
|
|
71
90
|
let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
|
|
72
91
|
|
|
73
92
|
let thenAppendsConditionedOnExactly = include.thenAppendsConditionedOnExactly;
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: RenameCategory$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: RenameCategory$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: RenameCategory$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: RenameCategory$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: RenameCategory$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: RenameCategory$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: RenameCategory_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: RenameCategory_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: AddProduct$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: AddProduct$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: AddProduct$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: AddProduct$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: AddProduct$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: AddProduct$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: AddProduct_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: AddProduct_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: ChangeProductDescription$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: ChangeProductDescription$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: ChangeProductDescription$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: ChangeProductDescription$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: ChangeProductDescription_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: ChangeProductDescription_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: ChangeProductName$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: ChangeProductName$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: ChangeProductName$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: ChangeProductName$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: ChangeProductName$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: ChangeProductName$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: ChangeProductName_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: ChangeProductName_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: ChangeProductPrice$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: ChangeProductPrice$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: ChangeProductPrice$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: ChangeProductPrice$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: ChangeProductPrice_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: ChangeProductPrice_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,8 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
10
10
|
consumedEventSchema: RecordProductDemand$CatalogPlugin.consumedEventSchema,
|
|
11
11
|
commandSchema: RecordProductDemand$CatalogPlugin.commandSchema,
|
|
12
12
|
errorSchema: RecordProductDemand$CatalogPlugin.errorSchema,
|
|
13
|
-
eventSchema: RecordProductDemand$CatalogPlugin.eventSchema
|
|
13
|
+
eventSchema: RecordProductDemand$CatalogPlugin.eventSchema,
|
|
14
|
+
commandAuthorization: RecordProductDemand$CatalogPlugin.commandAuthorization
|
|
14
15
|
})({
|
|
15
16
|
initialState: RecordProductDemand_Behavior$CatalogPlugin.initialState,
|
|
16
17
|
evolve: RecordProductDemand_Behavior$CatalogPlugin.evolve,
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1790854931693)
|
|
2
|
+
#Done(1790854934898)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|