@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.267 → 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 +23 -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 +11 -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 +29 -1
- 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 +11 -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 +11 -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 +11 -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 +11 -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 +11 -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 +11 -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 +11 -1
- package/tests/Category/StateChange/ArchiveCategory_GWT.res +26 -0
- package/tests/Category/StateChange/ArchiveCategory_GWT.res.mjs +29 -1
- package/tests/Category/StateChange/RenameCategory_GWT.res.mjs +11 -1
- package/tests/Product/StateChange/AddProduct_GWT.res.mjs +11 -1
- package/tests/Product/StateChange/ChangeProductDescription_GWT.res.mjs +11 -1
- package/tests/Product/StateChange/ChangeProductName_GWT.res.mjs +11 -1
- package/tests/Product/StateChange/ChangeProductPrice_GWT.res.mjs +11 -1
- package/tests/ProductDemand/StateChange/RecordProductDemand_GWT.res.mjs +11 -1
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.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
|
+
|
|
21
|
+
# 1.0.0-alpha.268 (2026-10-01)
|
|
22
|
+
|
|
23
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-catalog
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
# 1.0.0-alpha.267 (2026-09-29)
|
|
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(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,
|
|
@@ -58,6 +59,10 @@ let Spec = include.Spec;
|
|
|
58
59
|
|
|
59
60
|
let todo = include.todo;
|
|
60
61
|
|
|
62
|
+
let Caller = include.Caller;
|
|
63
|
+
|
|
64
|
+
let asCaller = include.asCaller;
|
|
65
|
+
|
|
61
66
|
let thenEvents = include.thenEvents;
|
|
62
67
|
|
|
63
68
|
let thenNoEvent = include.thenNoEvent;
|
|
@@ -66,6 +71,8 @@ let thenEventWithError = include.thenEventWithError;
|
|
|
66
71
|
|
|
67
72
|
let thenEventsWithError = include.thenEventsWithError;
|
|
68
73
|
|
|
74
|
+
let thenRefused = include.thenRefused;
|
|
75
|
+
|
|
69
76
|
let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
|
|
70
77
|
|
|
71
78
|
let thenAppendsConditionedOnExactly = include.thenAppendsConditionedOnExactly;
|
|
@@ -76,6 +83,8 @@ export {
|
|
|
76
83
|
todo,
|
|
77
84
|
test,
|
|
78
85
|
givenEvents,
|
|
86
|
+
Caller,
|
|
87
|
+
asCaller,
|
|
79
88
|
whenCmd,
|
|
80
89
|
thenEvent,
|
|
81
90
|
thenEvents,
|
|
@@ -83,6 +92,7 @@ export {
|
|
|
83
92
|
thenEventWithError,
|
|
84
93
|
thenEventsWithError,
|
|
85
94
|
thenError,
|
|
95
|
+
thenRefused,
|
|
86
96
|
thenAppendsConditionedOn,
|
|
87
97
|
thenAppendsConditionedOnExactly,
|
|
88
98
|
}
|
|
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,6 +59,24 @@ 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;
|
|
@@ -72,6 +97,8 @@ export {
|
|
|
72
97
|
todo,
|
|
73
98
|
test,
|
|
74
99
|
givenEvents,
|
|
100
|
+
Caller,
|
|
101
|
+
asCaller,
|
|
75
102
|
whenCmd,
|
|
76
103
|
thenEvent,
|
|
77
104
|
thenEvents,
|
|
@@ -79,6 +106,7 @@ export {
|
|
|
79
106
|
thenEventWithError,
|
|
80
107
|
thenEventsWithError,
|
|
81
108
|
thenError,
|
|
109
|
+
thenRefused,
|
|
82
110
|
thenAppendsConditionedOn,
|
|
83
111
|
thenAppendsConditionedOnExactly,
|
|
84
112
|
}
|
|
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,
|
|
@@ -74,12 +75,18 @@ let Spec = include.Spec;
|
|
|
74
75
|
|
|
75
76
|
let todo = include.todo;
|
|
76
77
|
|
|
78
|
+
let Caller = include.Caller;
|
|
79
|
+
|
|
80
|
+
let asCaller = include.asCaller;
|
|
81
|
+
|
|
77
82
|
let thenEvents = include.thenEvents;
|
|
78
83
|
|
|
79
84
|
let thenEventWithError = include.thenEventWithError;
|
|
80
85
|
|
|
81
86
|
let thenEventsWithError = include.thenEventsWithError;
|
|
82
87
|
|
|
88
|
+
let thenRefused = include.thenRefused;
|
|
89
|
+
|
|
83
90
|
let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
|
|
84
91
|
|
|
85
92
|
let thenAppendsConditionedOnExactly = include.thenAppendsConditionedOnExactly;
|
|
@@ -90,6 +97,8 @@ export {
|
|
|
90
97
|
todo,
|
|
91
98
|
test,
|
|
92
99
|
givenEvents,
|
|
100
|
+
Caller,
|
|
101
|
+
asCaller,
|
|
93
102
|
whenCmd,
|
|
94
103
|
thenEvent,
|
|
95
104
|
thenEvents,
|
|
@@ -97,6 +106,7 @@ export {
|
|
|
97
106
|
thenEventWithError,
|
|
98
107
|
thenEventsWithError,
|
|
99
108
|
thenError,
|
|
109
|
+
thenRefused,
|
|
100
110
|
thenAppendsConditionedOn,
|
|
101
111
|
thenAppendsConditionedOnExactly,
|
|
102
112
|
}
|
|
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,
|
|
@@ -56,6 +57,10 @@ let Spec = include.Spec;
|
|
|
56
57
|
|
|
57
58
|
let todo = include.todo;
|
|
58
59
|
|
|
60
|
+
let Caller = include.Caller;
|
|
61
|
+
|
|
62
|
+
let asCaller = include.asCaller;
|
|
63
|
+
|
|
59
64
|
let thenEvents = include.thenEvents;
|
|
60
65
|
|
|
61
66
|
let thenNoEvent = include.thenNoEvent;
|
|
@@ -64,6 +69,8 @@ let thenEventWithError = include.thenEventWithError;
|
|
|
64
69
|
|
|
65
70
|
let thenEventsWithError = include.thenEventsWithError;
|
|
66
71
|
|
|
72
|
+
let thenRefused = include.thenRefused;
|
|
73
|
+
|
|
67
74
|
let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
|
|
68
75
|
|
|
69
76
|
let thenAppendsConditionedOnExactly = include.thenAppendsConditionedOnExactly;
|
|
@@ -74,6 +81,8 @@ export {
|
|
|
74
81
|
todo,
|
|
75
82
|
test,
|
|
76
83
|
givenEvents,
|
|
84
|
+
Caller,
|
|
85
|
+
asCaller,
|
|
77
86
|
whenCmd,
|
|
78
87
|
thenEvent,
|
|
79
88
|
thenEvents,
|
|
@@ -81,6 +90,7 @@ export {
|
|
|
81
90
|
thenEventWithError,
|
|
82
91
|
thenEventsWithError,
|
|
83
92
|
thenError,
|
|
93
|
+
thenRefused,
|
|
84
94
|
thenAppendsConditionedOn,
|
|
85
95
|
thenAppendsConditionedOnExactly,
|
|
86
96
|
}
|
|
Binary file
|