@reventlessdev/online-shop-dcb-ordering 1.0.0-alpha.103
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 +885 -0
- package/LICENSE +202 -0
- package/__mocks__/emptyModule.js +1 -0
- package/lib/bs/.compiler.log +2 -0
- package/lib/bs/OrderingPlugin.cmi +0 -0
- package/lib/bs/OrderingPlugin.cmj +0 -0
- package/lib/bs/OrderingPlugin.cmt +0 -0
- package/lib/bs/OrderingPlugin.mlmap +46 -0
- package/lib/bs/build.ninja +0 -0
- package/lib/bs/compiler-info.json +8 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct.ast +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct.res +28 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct.res.mjs +71 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.ast +0 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.res +27 -0
- package/lib/bs/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.res.mjs +73 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts.ast +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts.res +13 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts.res.mjs +70 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection.ast +0 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection.res +8 -0
- package/lib/bs/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection.res.mjs +38 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress.res +20 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress.res.mjs +58 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress_Behavior.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress_Behavior.res +30 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeAddress_Behavior.res.mjs +74 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail.res +20 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail.res.mjs +58 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail_Behavior.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail_Behavior.res +26 -0
- package/lib/bs/src/Customer/StateChangeSlice/ChangeEmail_Behavior.res.mjs +74 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer.res +17 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer.res.mjs +46 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior.res +23 -0
- package/lib/bs/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior.res.mjs +58 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer.res +22 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer.res.mjs +47 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer_Behavior.ast +0 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer_Behavior.res +20 -0
- package/lib/bs/src/Customer/StateChangeSlice/RegisterCustomer_Behavior.res.mjs +44 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers.ast +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers.res +18 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers.res.mjs +69 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers_Projection-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers_Projection.ast +0 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers_Projection.res +13 -0
- package/lib/bs/src/Customer/StateViewSlice/Customers_Projection.res.mjs +62 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Extension/Products_Extension.ast +0 -0
- package/lib/bs/src/Extension/Products_Extension.res +23 -0
- package/lib/bs/src/Extension/Products_Extension.res.mjs +43 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.ast +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.res +33 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +82 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder.ast +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder.res +19 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder.res.mjs +42 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder_Automation-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder_Automation.ast +0 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder_Automation.res +36 -0
- package/lib/bs/src/Order/AutomationSlice/AutoShipOrder_Automation.res.mjs +101 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation.ast +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation.res +19 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation.res.mjs +42 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation.ast +0 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation.res +24 -0
- package/lib/bs/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation.res.mjs +46 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder.ast +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder.res +24 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder.res.mjs +60 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder_Behavior.ast +0 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder_Behavior.res +26 -0
- package/lib/bs/src/Order/StateChangeSlice/CancelOrder_Behavior.res.mjs +81 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder.ast +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder.res +33 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder.res.mjs +63 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder_Behavior.ast +0 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder_Behavior.res +44 -0
- package/lib/bs/src/Order/StateChangeSlice/PlaceOrder_Behavior.res.mjs +70 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder.ast +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder.res +21 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder.res.mjs +56 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder_Behavior.ast +0 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder_Behavior.res +26 -0
- package/lib/bs/src/Order/StateChangeSlice/ShipOrder_Behavior.res.mjs +73 -0
- package/lib/bs/src/Order/StateViewSlice/Orders-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders.ast +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders.res +23 -0
- package/lib/bs/src/Order/StateViewSlice/Orders.res.mjs +81 -0
- package/lib/bs/src/Order/StateViewSlice/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders_Projection-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders_Projection.ast +0 -0
- package/lib/bs/src/Order/StateViewSlice/Orders_Projection.res +10 -0
- package/lib/bs/src/Order/StateViewSlice/Orders_Projection.res.mjs +52 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.ast +0 -0
- package/lib/bs/src/Plugin.res +64 -0
- package/lib/bs/src/Plugin.res.mjs +346 -0
- package/lib/bs/src/Service/EmailService-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Service/EmailService-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Service/EmailService-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Service/EmailService.ast +0 -0
- package/lib/bs/src/Service/EmailService.res +3 -0
- package/lib/bs/src/Service/EmailService.res.mjs +11 -0
- package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT.ast +0 -0
- package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT.res +27 -0
- package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT.res.mjs +109 -0
- package/lib/bs/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT.ast +0 -0
- package/lib/bs/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT.res +15 -0
- package/lib/bs/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT.res.mjs +93 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeAddress_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeAddress_GWT.ast +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeAddress_GWT.res +27 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeAddress_GWT.res.mjs +102 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeEmail_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeEmail_GWT.ast +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeEmail_GWT.res +27 -0
- package/lib/bs/tests/Customer/StateChangeSlice/ChangeEmail_GWT.res.mjs +102 -0
- package/lib/bs/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT.ast +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT.res +21 -0
- package/lib/bs/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT.res.mjs +84 -0
- package/lib/bs/tests/Customer/StateChangeSlice/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/RegisterCustomer_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/RegisterCustomer_GWT.ast +0 -0
- package/lib/bs/tests/Customer/StateChangeSlice/RegisterCustomer_GWT.res +21 -0
- package/lib/bs/tests/Customer/StateChangeSlice/RegisterCustomer_GWT.res.mjs +83 -0
- package/lib/bs/tests/Customer/StateViewSlice/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateViewSlice/Customers_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Customer/StateViewSlice/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateViewSlice/Customers_GWT.ast +0 -0
- package/lib/bs/tests/Customer/StateViewSlice/Customers_GWT.res +45 -0
- package/lib/bs/tests/Customer/StateViewSlice/Customers_GWT.res.mjs +124 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT.ast +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT.res +23 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT.res.mjs +108 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.ast +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res +23 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +139 -0
- package/lib/bs/tests/Order/AutomationSlice/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/AutomationSlice/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/AutomationSlice/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/AutomationSlice/AutoShipOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/AutomationSlice/AutoShipOrder_GWT.res +55 -0
- package/lib/bs/tests/Order/AutomationSlice/AutoShipOrder_GWT.res.mjs +133 -0
- package/lib/bs/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/bs/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT.res +33 -0
- package/lib/bs/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT.res.mjs +101 -0
- package/lib/bs/tests/Order/StateChangeSlice/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/CancelOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/CancelOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/CancelOrder_GWT.res +27 -0
- package/lib/bs/tests/Order/StateChangeSlice/CancelOrder_GWT.res.mjs +107 -0
- package/lib/bs/tests/Order/StateChangeSlice/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/PlaceOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/PlaceOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/PlaceOrder_GWT.res +39 -0
- package/lib/bs/tests/Order/StateChangeSlice/PlaceOrder_GWT.res.mjs +139 -0
- package/lib/bs/tests/Order/StateChangeSlice/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/ShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/ShipOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/StateChangeSlice/ShipOrder_GWT.res +27 -0
- package/lib/bs/tests/Order/StateChangeSlice/ShipOrder_GWT.res.mjs +91 -0
- package/lib/bs/tests/Order/StateViewSlice/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateViewSlice/Orders_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/StateViewSlice/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateViewSlice/Orders_GWT.ast +0 -0
- package/lib/bs/tests/Order/StateViewSlice/Orders_GWT.res +36 -0
- package/lib/bs/tests/Order/StateViewSlice/Orders_GWT.res.mjs +114 -0
- package/lib/ocaml/.compiler.log +2 -0
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder.ast +0 -0
- package/lib/ocaml/AutoShipOrder.res +19 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_Automation.ast +0 -0
- package/lib/ocaml/AutoShipOrder_Automation.res +36 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_GWT.ast +0 -0
- package/lib/ocaml/AutoShipOrder_GWT.res +55 -0
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts.ast +0 -0
- package/lib/ocaml/AvailableProducts.res +13 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_GWT.ast +0 -0
- package/lib/ocaml/AvailableProducts_GWT.res +15 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_Projection.ast +0 -0
- package/lib/ocaml/AvailableProducts_Projection.res +8 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder.ast +0 -0
- package/lib/ocaml/CancelOrder.res +24 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder_Behavior.ast +0 -0
- package/lib/ocaml/CancelOrder_Behavior.res +26 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder_GWT.ast +0 -0
- package/lib/ocaml/CancelOrder_GWT.res +27 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress.ast +0 -0
- package/lib/ocaml/ChangeAddress.res +20 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress_Behavior.ast +0 -0
- package/lib/ocaml/ChangeAddress_Behavior.res +30 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress_GWT.ast +0 -0
- package/lib/ocaml/ChangeAddress_GWT.res +27 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail.ast +0 -0
- package/lib/ocaml/ChangeEmail.res +20 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail_Behavior.ast +0 -0
- package/lib/ocaml/ChangeEmail_Behavior.res +26 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail_GWT.ast +0 -0
- package/lib/ocaml/ChangeEmail_GWT.res +27 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers.ast +0 -0
- package/lib/ocaml/Customers.res +18 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_GWT.ast +0 -0
- package/lib/ocaml/Customers_GWT.res +45 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_Projection.ast +0 -0
- package/lib/ocaml/Customers_Projection.res +13 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer.ast +0 -0
- package/lib/ocaml/DeactivateCustomer.res +17 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior.ast +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior.res +23 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT.ast +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT.res +21 -0
- package/lib/ocaml/EmailService-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/EmailService-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/EmailService-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/EmailService.ast +0 -0
- package/lib/ocaml/EmailService.res +3 -0
- package/lib/ocaml/OrderingPlugin.cmi +0 -0
- package/lib/ocaml/OrderingPlugin.cmj +0 -0
- package/lib/ocaml/OrderingPlugin.cmt +0 -0
- package/lib/ocaml/OrderingPlugin.mlmap +46 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders.ast +0 -0
- package/lib/ocaml/Orders.res +23 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping.ast +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping.res +33 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT.ast +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT.res +23 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_GWT.ast +0 -0
- package/lib/ocaml/Orders_GWT.res +36 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Projection.ast +0 -0
- package/lib/ocaml/Orders_Projection.res +10 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder.ast +0 -0
- package/lib/ocaml/PlaceOrder.res +33 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder_Behavior.ast +0 -0
- package/lib/ocaml/PlaceOrder_Behavior.res +44 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder_GWT.ast +0 -0
- package/lib/ocaml/PlaceOrder_GWT.res +39 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Plugin.ast +0 -0
- package/lib/ocaml/Plugin.res +64 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension.ast +0 -0
- package/lib/ocaml/Products_Extension.res +23 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension_GWT.ast +0 -0
- package/lib/ocaml/Products_Extension_GWT.res +23 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer.ast +0 -0
- package/lib/ocaml/RegisterCustomer.res +22 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior.ast +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior.res +20 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer_GWT.ast +0 -0
- package/lib/ocaml/RegisterCustomer_GWT.res +21 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation.ast +0 -0
- package/lib/ocaml/SendOrderConfirmation.res +19 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT.res +33 -0
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation_Translation.ast +0 -0
- package/lib/ocaml/SendOrderConfirmation_Translation.res +24 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder.ast +0 -0
- package/lib/ocaml/ShipOrder.res +21 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder_Behavior.ast +0 -0
- package/lib/ocaml/ShipOrder_Behavior.res +26 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder_GWT.ast +0 -0
- package/lib/ocaml/ShipOrder_GWT.res +27 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct.ast +0 -0
- package/lib/ocaml/SyncCatalogProduct.res +28 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior.ast +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior.res +27 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT.ast +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT.res +27 -0
- package/package.json +52 -0
- package/rescript.json +37 -0
- package/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct.res +28 -0
- package/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct.res.mjs +71 -0
- package/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.res +27 -0
- package/src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.res.mjs +73 -0
- package/src/CatalogProduct/StateViewSlice/AvailableProducts.res +13 -0
- package/src/CatalogProduct/StateViewSlice/AvailableProducts.res.mjs +70 -0
- package/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection.res +8 -0
- package/src/CatalogProduct/StateViewSlice/AvailableProducts_Projection.res.mjs +38 -0
- package/src/Customer/StateChangeSlice/ChangeAddress.res +20 -0
- package/src/Customer/StateChangeSlice/ChangeAddress.res.mjs +58 -0
- package/src/Customer/StateChangeSlice/ChangeAddress_Behavior.res +30 -0
- package/src/Customer/StateChangeSlice/ChangeAddress_Behavior.res.mjs +74 -0
- package/src/Customer/StateChangeSlice/ChangeEmail.res +20 -0
- package/src/Customer/StateChangeSlice/ChangeEmail.res.mjs +58 -0
- package/src/Customer/StateChangeSlice/ChangeEmail_Behavior.res +26 -0
- package/src/Customer/StateChangeSlice/ChangeEmail_Behavior.res.mjs +74 -0
- package/src/Customer/StateChangeSlice/DeactivateCustomer.res +17 -0
- package/src/Customer/StateChangeSlice/DeactivateCustomer.res.mjs +46 -0
- package/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior.res +23 -0
- package/src/Customer/StateChangeSlice/DeactivateCustomer_Behavior.res.mjs +58 -0
- package/src/Customer/StateChangeSlice/RegisterCustomer.res +22 -0
- package/src/Customer/StateChangeSlice/RegisterCustomer.res.mjs +47 -0
- package/src/Customer/StateChangeSlice/RegisterCustomer_Behavior.res +20 -0
- package/src/Customer/StateChangeSlice/RegisterCustomer_Behavior.res.mjs +44 -0
- package/src/Customer/StateViewSlice/Customers.res +18 -0
- package/src/Customer/StateViewSlice/Customers.res.mjs +69 -0
- package/src/Customer/StateViewSlice/Customers_Projection.res +13 -0
- package/src/Customer/StateViewSlice/Customers_Projection.res.mjs +62 -0
- package/src/Extension/Products_Extension.res +23 -0
- package/src/Extension/Products_Extension.res.mjs +43 -0
- package/src/ExtensionPoint/Orders_ExtensionPointMapping.res +33 -0
- package/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +82 -0
- package/src/Order/AutomationSlice/AutoShipOrder.res +19 -0
- package/src/Order/AutomationSlice/AutoShipOrder.res.mjs +42 -0
- package/src/Order/AutomationSlice/AutoShipOrder_Automation.res +36 -0
- package/src/Order/AutomationSlice/AutoShipOrder_Automation.res.mjs +101 -0
- package/src/Order/OutboundTranslationSlice/SendOrderConfirmation.res +19 -0
- package/src/Order/OutboundTranslationSlice/SendOrderConfirmation.res.mjs +42 -0
- package/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation.res +24 -0
- package/src/Order/OutboundTranslationSlice/SendOrderConfirmation_Translation.res.mjs +46 -0
- package/src/Order/StateChangeSlice/CancelOrder.res +24 -0
- package/src/Order/StateChangeSlice/CancelOrder.res.mjs +60 -0
- package/src/Order/StateChangeSlice/CancelOrder_Behavior.res +26 -0
- package/src/Order/StateChangeSlice/CancelOrder_Behavior.res.mjs +81 -0
- package/src/Order/StateChangeSlice/PlaceOrder.res +33 -0
- package/src/Order/StateChangeSlice/PlaceOrder.res.mjs +63 -0
- package/src/Order/StateChangeSlice/PlaceOrder_Behavior.res +44 -0
- package/src/Order/StateChangeSlice/PlaceOrder_Behavior.res.mjs +70 -0
- package/src/Order/StateChangeSlice/ShipOrder.res +21 -0
- package/src/Order/StateChangeSlice/ShipOrder.res.mjs +56 -0
- package/src/Order/StateChangeSlice/ShipOrder_Behavior.res +26 -0
- package/src/Order/StateChangeSlice/ShipOrder_Behavior.res.mjs +73 -0
- package/src/Order/StateViewSlice/Orders.res +23 -0
- package/src/Order/StateViewSlice/Orders.res.mjs +81 -0
- package/src/Order/StateViewSlice/Orders_Projection.res +10 -0
- package/src/Order/StateViewSlice/Orders_Projection.res.mjs +52 -0
- package/src/Plugin.res +64 -0
- package/src/Plugin.res.mjs +346 -0
- package/src/Service/EmailService.res +3 -0
- package/src/Service/EmailService.res.mjs +11 -0
- package/src/plugin.json +1 -0
- package/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT.res +27 -0
- package/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT.res.mjs +109 -0
- package/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT.res +15 -0
- package/tests/CatalogProduct/StateViewSlice/AvailableProducts_GWT.res.mjs +93 -0
- package/tests/Customer/StateChangeSlice/ChangeAddress_GWT.res +27 -0
- package/tests/Customer/StateChangeSlice/ChangeAddress_GWT.res.mjs +102 -0
- package/tests/Customer/StateChangeSlice/ChangeEmail_GWT.res +27 -0
- package/tests/Customer/StateChangeSlice/ChangeEmail_GWT.res.mjs +102 -0
- package/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT.res +21 -0
- package/tests/Customer/StateChangeSlice/DeactivateCustomer_GWT.res.mjs +84 -0
- package/tests/Customer/StateChangeSlice/RegisterCustomer_GWT.res +21 -0
- package/tests/Customer/StateChangeSlice/RegisterCustomer_GWT.res.mjs +83 -0
- package/tests/Customer/StateViewSlice/Customers_GWT.res +45 -0
- package/tests/Customer/StateViewSlice/Customers_GWT.res.mjs +124 -0
- package/tests/Extension/Products_Extension_GWT.res +23 -0
- package/tests/Extension/Products_Extension_GWT.res.mjs +108 -0
- package/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res +23 -0
- package/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +139 -0
- package/tests/Order/AutomationSlice/AutoShipOrder_GWT.res +55 -0
- package/tests/Order/AutomationSlice/AutoShipOrder_GWT.res.mjs +133 -0
- package/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT.res +33 -0
- package/tests/Order/OutboundTranslationSlice/SendOrderConfirmation_GWT.res.mjs +101 -0
- package/tests/Order/StateChangeSlice/CancelOrder_GWT.res +27 -0
- package/tests/Order/StateChangeSlice/CancelOrder_GWT.res.mjs +107 -0
- package/tests/Order/StateChangeSlice/PlaceOrder_GWT.res +39 -0
- package/tests/Order/StateChangeSlice/PlaceOrder_GWT.res.mjs +139 -0
- package/tests/Order/StateChangeSlice/ShipOrder_GWT.res +27 -0
- package/tests/Order/StateChangeSlice/ShipOrder_GWT.res.mjs +91 -0
- package/tests/Order/StateViewSlice/Orders_GWT.res +36 -0
- package/tests/Order/StateViewSlice/Orders_GWT.res.mjs +114 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
|
+
|
|
3
|
+
import * as Id$Reventless from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
|
|
4
|
+
import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
|
|
5
|
+
import * as Orders$OrderingPlugin from "./Order/StateViewSlice/Orders.res.mjs";
|
|
6
|
+
import * as Customers$OrderingPlugin from "./Customer/StateViewSlice/Customers.res.mjs";
|
|
7
|
+
import * as ShipOrder$OrderingPlugin from "./Order/StateChangeSlice/ShipOrder.res.mjs";
|
|
8
|
+
import * as PlaceOrder$OrderingPlugin from "./Order/StateChangeSlice/PlaceOrder.res.mjs";
|
|
9
|
+
import * as CancelOrder$OrderingPlugin from "./Order/StateChangeSlice/CancelOrder.res.mjs";
|
|
10
|
+
import * as ChangeEmail$OrderingPlugin from "./Customer/StateChangeSlice/ChangeEmail.res.mjs";
|
|
11
|
+
import * as AutoShipOrder$OrderingPlugin from "./Order/AutomationSlice/AutoShipOrder.res.mjs";
|
|
12
|
+
import * as ChangeAddress$OrderingPlugin from "./Customer/StateChangeSlice/ChangeAddress.res.mjs";
|
|
13
|
+
import * as RegisterCustomer$OrderingPlugin from "./Customer/StateChangeSlice/RegisterCustomer.res.mjs";
|
|
14
|
+
import * as AvailableProducts$OrderingPlugin from "./CatalogProduct/StateViewSlice/AvailableProducts.res.mjs";
|
|
15
|
+
import * as Orders_Projection$OrderingPlugin from "./Order/StateViewSlice/Orders_Projection.res.mjs";
|
|
16
|
+
import * as DeactivateCustomer$OrderingPlugin from "./Customer/StateChangeSlice/DeactivateCustomer.res.mjs";
|
|
17
|
+
import * as Products_Extension$OrderingPlugin from "./Extension/Products_Extension.res.mjs";
|
|
18
|
+
import * as ShipOrder_Behavior$OrderingPlugin from "./Order/StateChangeSlice/ShipOrder_Behavior.res.mjs";
|
|
19
|
+
import * as SyncCatalogProduct$OrderingPlugin from "./CatalogProduct/StateChangeSlice/SyncCatalogProduct.res.mjs";
|
|
20
|
+
import * as Orders_ExtensionPoint$OrderingSpec from "@reventlessdev/online-shop-dcb-ordering-spec/src/Orders_ExtensionPoint.res.mjs";
|
|
21
|
+
import * as PlaceOrder_Behavior$OrderingPlugin from "./Order/StateChangeSlice/PlaceOrder_Behavior.res.mjs";
|
|
22
|
+
import * as CancelOrder_Behavior$OrderingPlugin from "./Order/StateChangeSlice/CancelOrder_Behavior.res.mjs";
|
|
23
|
+
import * as ChangeEmail_Behavior$OrderingPlugin from "./Customer/StateChangeSlice/ChangeEmail_Behavior.res.mjs";
|
|
24
|
+
import * as Customers_Projection$OrderingPlugin from "./Customer/StateViewSlice/Customers_Projection.res.mjs";
|
|
25
|
+
import * as Products_ExtensionPoint$CatalogSpec from "@reventlessdev/online-shop-dcb-catalog-spec/src/Products_ExtensionPoint.res.mjs";
|
|
26
|
+
import * as SendOrderConfirmation$OrderingPlugin from "./Order/OutboundTranslationSlice/SendOrderConfirmation.res.mjs";
|
|
27
|
+
import * as ChangeAddress_Behavior$OrderingPlugin from "./Customer/StateChangeSlice/ChangeAddress_Behavior.res.mjs";
|
|
28
|
+
import * as AutoShipOrder_Automation$OrderingPlugin from "./Order/AutomationSlice/AutoShipOrder_Automation.res.mjs";
|
|
29
|
+
import * as RegisterCustomer_Behavior$OrderingPlugin from "./Customer/StateChangeSlice/RegisterCustomer_Behavior.res.mjs";
|
|
30
|
+
import * as DeactivateCustomer_Behavior$OrderingPlugin from "./Customer/StateChangeSlice/DeactivateCustomer_Behavior.res.mjs";
|
|
31
|
+
import * as SyncCatalogProduct_Behavior$OrderingPlugin from "./CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.res.mjs";
|
|
32
|
+
import * as AvailableProducts_Projection$OrderingPlugin from "./CatalogProduct/StateViewSlice/AvailableProducts_Projection.res.mjs";
|
|
33
|
+
import * as Orders_ExtensionPointMapping$OrderingPlugin from "./ExtensionPoint/Orders_ExtensionPointMapping.res.mjs";
|
|
34
|
+
import * as SendOrderConfirmation_Translation$OrderingPlugin from "./Order/OutboundTranslationSlice/SendOrderConfirmation_Translation.res.mjs";
|
|
35
|
+
|
|
36
|
+
function Make(Platform) {
|
|
37
|
+
let CancelOrderSlice = Platform.StateChangeSlice.Make({
|
|
38
|
+
name: CancelOrder$OrderingPlugin.name,
|
|
39
|
+
moduleUrl: CancelOrder$OrderingPlugin.moduleUrl,
|
|
40
|
+
Id: Id$Reventless.$$String,
|
|
41
|
+
consumedEventSchema: CancelOrder$OrderingPlugin.consumedEventSchema,
|
|
42
|
+
errorSchema: CancelOrder$OrderingPlugin.errorSchema,
|
|
43
|
+
eventSchema: CancelOrder$OrderingPlugin.eventSchema,
|
|
44
|
+
commandSchema: CancelOrder$OrderingPlugin.commandSchema,
|
|
45
|
+
commandAuthorization: CancelOrder$OrderingPlugin.commandAuthorization,
|
|
46
|
+
readConsistency: CancelOrder$OrderingPlugin.readConsistency
|
|
47
|
+
})({
|
|
48
|
+
initialState: CancelOrder_Behavior$OrderingPlugin.initialState,
|
|
49
|
+
evolve: CancelOrder_Behavior$OrderingPlugin.evolve,
|
|
50
|
+
decide: CancelOrder_Behavior$OrderingPlugin.decide,
|
|
51
|
+
moduleUrl: CancelOrder_Behavior$OrderingPlugin.moduleUrl
|
|
52
|
+
});
|
|
53
|
+
let ChangeAddressSlice = Platform.StateChangeSlice.Make({
|
|
54
|
+
name: ChangeAddress$OrderingPlugin.name,
|
|
55
|
+
moduleUrl: ChangeAddress$OrderingPlugin.moduleUrl,
|
|
56
|
+
Id: Id$Reventless.$$String,
|
|
57
|
+
consumedEventSchema: ChangeAddress$OrderingPlugin.consumedEventSchema,
|
|
58
|
+
errorSchema: ChangeAddress$OrderingPlugin.errorSchema,
|
|
59
|
+
eventSchema: ChangeAddress$OrderingPlugin.eventSchema,
|
|
60
|
+
commandSchema: ChangeAddress$OrderingPlugin.commandSchema,
|
|
61
|
+
commandAuthorization: ChangeAddress$OrderingPlugin.commandAuthorization,
|
|
62
|
+
readConsistency: ChangeAddress$OrderingPlugin.readConsistency
|
|
63
|
+
})({
|
|
64
|
+
initialState: ChangeAddress_Behavior$OrderingPlugin.initialState,
|
|
65
|
+
evolve: ChangeAddress_Behavior$OrderingPlugin.evolve,
|
|
66
|
+
decide: ChangeAddress_Behavior$OrderingPlugin.decide,
|
|
67
|
+
moduleUrl: ChangeAddress_Behavior$OrderingPlugin.moduleUrl
|
|
68
|
+
});
|
|
69
|
+
let ChangeEmailSlice = Platform.StateChangeSlice.Make({
|
|
70
|
+
name: ChangeEmail$OrderingPlugin.name,
|
|
71
|
+
moduleUrl: ChangeEmail$OrderingPlugin.moduleUrl,
|
|
72
|
+
Id: Id$Reventless.$$String,
|
|
73
|
+
consumedEventSchema: ChangeEmail$OrderingPlugin.consumedEventSchema,
|
|
74
|
+
errorSchema: ChangeEmail$OrderingPlugin.errorSchema,
|
|
75
|
+
eventSchema: ChangeEmail$OrderingPlugin.eventSchema,
|
|
76
|
+
commandSchema: ChangeEmail$OrderingPlugin.commandSchema,
|
|
77
|
+
commandAuthorization: ChangeEmail$OrderingPlugin.commandAuthorization,
|
|
78
|
+
readConsistency: ChangeEmail$OrderingPlugin.readConsistency
|
|
79
|
+
})({
|
|
80
|
+
initialState: ChangeEmail_Behavior$OrderingPlugin.initialState,
|
|
81
|
+
evolve: ChangeEmail_Behavior$OrderingPlugin.evolve,
|
|
82
|
+
decide: ChangeEmail_Behavior$OrderingPlugin.decide,
|
|
83
|
+
moduleUrl: ChangeEmail_Behavior$OrderingPlugin.moduleUrl
|
|
84
|
+
});
|
|
85
|
+
let DeactivateCustomerSlice = Platform.StateChangeSlice.Make({
|
|
86
|
+
name: DeactivateCustomer$OrderingPlugin.name,
|
|
87
|
+
moduleUrl: DeactivateCustomer$OrderingPlugin.moduleUrl,
|
|
88
|
+
Id: Id$Reventless.$$String,
|
|
89
|
+
consumedEventSchema: DeactivateCustomer$OrderingPlugin.consumedEventSchema,
|
|
90
|
+
errorSchema: DeactivateCustomer$OrderingPlugin.errorSchema,
|
|
91
|
+
eventSchema: DeactivateCustomer$OrderingPlugin.eventSchema,
|
|
92
|
+
commandSchema: DeactivateCustomer$OrderingPlugin.commandSchema,
|
|
93
|
+
commandAuthorization: DeactivateCustomer$OrderingPlugin.commandAuthorization,
|
|
94
|
+
readConsistency: DeactivateCustomer$OrderingPlugin.readConsistency
|
|
95
|
+
})({
|
|
96
|
+
initialState: DeactivateCustomer_Behavior$OrderingPlugin.initialState,
|
|
97
|
+
evolve: DeactivateCustomer_Behavior$OrderingPlugin.evolve,
|
|
98
|
+
decide: DeactivateCustomer_Behavior$OrderingPlugin.decide,
|
|
99
|
+
moduleUrl: DeactivateCustomer_Behavior$OrderingPlugin.moduleUrl
|
|
100
|
+
});
|
|
101
|
+
let PlaceOrderSlice = Platform.StateChangeSlice.Make({
|
|
102
|
+
name: PlaceOrder$OrderingPlugin.name,
|
|
103
|
+
moduleUrl: PlaceOrder$OrderingPlugin.moduleUrl,
|
|
104
|
+
Id: Id$Reventless.$$String,
|
|
105
|
+
consumedEventSchema: PlaceOrder$OrderingPlugin.consumedEventSchema,
|
|
106
|
+
errorSchema: PlaceOrder$OrderingPlugin.errorSchema,
|
|
107
|
+
eventSchema: PlaceOrder$OrderingPlugin.eventSchema,
|
|
108
|
+
commandSchema: PlaceOrder$OrderingPlugin.commandSchema,
|
|
109
|
+
commandAuthorization: PlaceOrder$OrderingPlugin.commandAuthorization,
|
|
110
|
+
readConsistency: PlaceOrder$OrderingPlugin.readConsistency
|
|
111
|
+
})({
|
|
112
|
+
initialState: PlaceOrder_Behavior$OrderingPlugin.initialState,
|
|
113
|
+
evolve: PlaceOrder_Behavior$OrderingPlugin.evolve,
|
|
114
|
+
decide: PlaceOrder_Behavior$OrderingPlugin.decide,
|
|
115
|
+
moduleUrl: PlaceOrder_Behavior$OrderingPlugin.moduleUrl
|
|
116
|
+
});
|
|
117
|
+
let RegisterCustomerSlice = Platform.StateChangeSlice.Make({
|
|
118
|
+
name: RegisterCustomer$OrderingPlugin.name,
|
|
119
|
+
moduleUrl: RegisterCustomer$OrderingPlugin.moduleUrl,
|
|
120
|
+
Id: Id$Reventless.$$String,
|
|
121
|
+
consumedEventSchema: RegisterCustomer$OrderingPlugin.consumedEventSchema,
|
|
122
|
+
errorSchema: RegisterCustomer$OrderingPlugin.errorSchema,
|
|
123
|
+
eventSchema: RegisterCustomer$OrderingPlugin.eventSchema,
|
|
124
|
+
commandSchema: RegisterCustomer$OrderingPlugin.commandSchema,
|
|
125
|
+
commandAuthorization: RegisterCustomer$OrderingPlugin.commandAuthorization,
|
|
126
|
+
readConsistency: RegisterCustomer$OrderingPlugin.readConsistency
|
|
127
|
+
})({
|
|
128
|
+
initialState: RegisterCustomer_Behavior$OrderingPlugin.initialState,
|
|
129
|
+
evolve: RegisterCustomer_Behavior$OrderingPlugin.evolve,
|
|
130
|
+
decide: RegisterCustomer_Behavior$OrderingPlugin.decide,
|
|
131
|
+
moduleUrl: RegisterCustomer_Behavior$OrderingPlugin.moduleUrl
|
|
132
|
+
});
|
|
133
|
+
let ShipOrderSlice = Platform.StateChangeSlice.Make({
|
|
134
|
+
name: ShipOrder$OrderingPlugin.name,
|
|
135
|
+
moduleUrl: ShipOrder$OrderingPlugin.moduleUrl,
|
|
136
|
+
Id: Id$Reventless.$$String,
|
|
137
|
+
consumedEventSchema: ShipOrder$OrderingPlugin.consumedEventSchema,
|
|
138
|
+
errorSchema: ShipOrder$OrderingPlugin.errorSchema,
|
|
139
|
+
eventSchema: ShipOrder$OrderingPlugin.eventSchema,
|
|
140
|
+
commandSchema: ShipOrder$OrderingPlugin.commandSchema,
|
|
141
|
+
commandAuthorization: ShipOrder$OrderingPlugin.commandAuthorization,
|
|
142
|
+
readConsistency: ShipOrder$OrderingPlugin.readConsistency
|
|
143
|
+
})({
|
|
144
|
+
initialState: ShipOrder_Behavior$OrderingPlugin.initialState,
|
|
145
|
+
evolve: ShipOrder_Behavior$OrderingPlugin.evolve,
|
|
146
|
+
decide: ShipOrder_Behavior$OrderingPlugin.decide,
|
|
147
|
+
moduleUrl: ShipOrder_Behavior$OrderingPlugin.moduleUrl
|
|
148
|
+
});
|
|
149
|
+
let SyncCatalogProductSlice = Platform.StateChangeSlice.Make({
|
|
150
|
+
name: SyncCatalogProduct$OrderingPlugin.name,
|
|
151
|
+
moduleUrl: SyncCatalogProduct$OrderingPlugin.moduleUrl,
|
|
152
|
+
Id: Id$Reventless.$$String,
|
|
153
|
+
consumedEventSchema: SyncCatalogProduct$OrderingPlugin.consumedEventSchema,
|
|
154
|
+
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
155
|
+
eventSchema: SyncCatalogProduct$OrderingPlugin.eventSchema,
|
|
156
|
+
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
157
|
+
commandAuthorization: SyncCatalogProduct$OrderingPlugin.commandAuthorization,
|
|
158
|
+
readConsistency: SyncCatalogProduct$OrderingPlugin.readConsistency
|
|
159
|
+
})({
|
|
160
|
+
initialState: SyncCatalogProduct_Behavior$OrderingPlugin.initialState,
|
|
161
|
+
evolve: SyncCatalogProduct_Behavior$OrderingPlugin.evolve,
|
|
162
|
+
decide: SyncCatalogProduct_Behavior$OrderingPlugin.decide,
|
|
163
|
+
moduleUrl: SyncCatalogProduct_Behavior$OrderingPlugin.moduleUrl
|
|
164
|
+
});
|
|
165
|
+
let AvailableProductsSlice = Platform.StateViewSlice.Make({
|
|
166
|
+
name: AvailableProducts$OrderingPlugin.name,
|
|
167
|
+
moduleUrl: AvailableProducts$OrderingPlugin.moduleUrl,
|
|
168
|
+
stateSchema: AvailableProducts$OrderingPlugin.stateSchema,
|
|
169
|
+
consumedEventSchema: AvailableProducts$OrderingPlugin.consumedEventSchema,
|
|
170
|
+
config: AvailableProducts$OrderingPlugin.config,
|
|
171
|
+
subIdConfig: undefined,
|
|
172
|
+
authorization: AvailableProducts$OrderingPlugin.authorization,
|
|
173
|
+
visibility: AvailableProducts$OrderingPlugin.visibility
|
|
174
|
+
})({
|
|
175
|
+
project: AvailableProducts_Projection$OrderingPlugin.project,
|
|
176
|
+
moduleUrl: AvailableProducts_Projection$OrderingPlugin.moduleUrl
|
|
177
|
+
});
|
|
178
|
+
let CustomersSlice = Platform.StateViewSlice.Make({
|
|
179
|
+
name: Customers$OrderingPlugin.name,
|
|
180
|
+
moduleUrl: Customers$OrderingPlugin.moduleUrl,
|
|
181
|
+
stateSchema: Customers$OrderingPlugin.stateSchema,
|
|
182
|
+
consumedEventSchema: Customers$OrderingPlugin.consumedEventSchema,
|
|
183
|
+
config: Customers$OrderingPlugin.config,
|
|
184
|
+
subIdConfig: undefined,
|
|
185
|
+
authorization: Customers$OrderingPlugin.authorization,
|
|
186
|
+
visibility: Customers$OrderingPlugin.visibility
|
|
187
|
+
})({
|
|
188
|
+
project: Customers_Projection$OrderingPlugin.project,
|
|
189
|
+
moduleUrl: Customers_Projection$OrderingPlugin.moduleUrl
|
|
190
|
+
});
|
|
191
|
+
let OrdersSlice = Platform.StateViewSlice.Make({
|
|
192
|
+
name: Orders$OrderingPlugin.name,
|
|
193
|
+
moduleUrl: Orders$OrderingPlugin.moduleUrl,
|
|
194
|
+
stateSchema: Orders$OrderingPlugin.stateSchema,
|
|
195
|
+
consumedEventSchema: Orders$OrderingPlugin.consumedEventSchema,
|
|
196
|
+
config: Orders$OrderingPlugin.config,
|
|
197
|
+
subIdConfig: undefined,
|
|
198
|
+
authorization: Orders$OrderingPlugin.authorization,
|
|
199
|
+
visibility: Orders$OrderingPlugin.visibility
|
|
200
|
+
})({
|
|
201
|
+
project: Orders_Projection$OrderingPlugin.project,
|
|
202
|
+
moduleUrl: Orders_Projection$OrderingPlugin.moduleUrl
|
|
203
|
+
});
|
|
204
|
+
let AutoShipOrderSlice = Platform.AutomationSlice.Make({
|
|
205
|
+
name: AutoShipOrder$OrderingPlugin.name,
|
|
206
|
+
moduleUrl: AutoShipOrder$OrderingPlugin.moduleUrl,
|
|
207
|
+
todoItemSchema: AutoShipOrder$OrderingPlugin.todoItemSchema,
|
|
208
|
+
commandSchema: AutoShipOrder$OrderingPlugin.commandSchema,
|
|
209
|
+
maxRetries: AutoShipOrder$OrderingPlugin.maxRetries,
|
|
210
|
+
heartbeatInterval: AutoShipOrder$OrderingPlugin.heartbeatInterval,
|
|
211
|
+
targetName: AutoShipOrder$OrderingPlugin.targetName
|
|
212
|
+
})({
|
|
213
|
+
process: AutoShipOrder_Automation$OrderingPlugin.process,
|
|
214
|
+
moduleUrl: AutoShipOrder_Automation$OrderingPlugin.moduleUrl,
|
|
215
|
+
mappings: AutoShipOrder_Automation$OrderingPlugin.mappings
|
|
216
|
+
});
|
|
217
|
+
let SendOrderConfirmationSlice = Platform.OutboundTranslationSlice.Make({
|
|
218
|
+
name: SendOrderConfirmation$OrderingPlugin.name,
|
|
219
|
+
moduleUrl: SendOrderConfirmation$OrderingPlugin.moduleUrl,
|
|
220
|
+
consumedEventSchema: SendOrderConfirmation$OrderingPlugin.consumedEventSchema,
|
|
221
|
+
outboundItemSchema: SendOrderConfirmation$OrderingPlugin.outboundItemSchema,
|
|
222
|
+
inboundCommandSchema: SendOrderConfirmation$OrderingPlugin.inboundCommandSchema,
|
|
223
|
+
maxRetries: SendOrderConfirmation$OrderingPlugin.maxRetries,
|
|
224
|
+
heartbeatInterval: SendOrderConfirmation$OrderingPlugin.heartbeatInterval,
|
|
225
|
+
targetName: undefined
|
|
226
|
+
})({
|
|
227
|
+
collect: SendOrderConfirmation_Translation$OrderingPlugin.collect,
|
|
228
|
+
translate: SendOrderConfirmation_Translation$OrderingPlugin.translate,
|
|
229
|
+
moduleUrl: SendOrderConfirmation_Translation$OrderingPlugin.moduleUrl
|
|
230
|
+
});
|
|
231
|
+
let Orders_ExtensionPoint = Platform.ExtensionPoint.Make({
|
|
232
|
+
ExtensionPoint: {
|
|
233
|
+
name: Orders_ExtensionPoint$OrderingSpec.name,
|
|
234
|
+
moduleUrl: Orders_ExtensionPoint$OrderingSpec.moduleUrl,
|
|
235
|
+
commandSchema: Orders_ExtensionPoint$OrderingSpec.commandSchema,
|
|
236
|
+
eventSchema: Orders_ExtensionPoint$OrderingSpec.eventSchema,
|
|
237
|
+
directiveSchema: Orders_ExtensionPoint$OrderingSpec.directiveSchema
|
|
238
|
+
},
|
|
239
|
+
Delegate: {
|
|
240
|
+
Id: Id$Reventless.$$String,
|
|
241
|
+
name: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.name,
|
|
242
|
+
eventSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.eventSchema,
|
|
243
|
+
errorSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.errorSchema,
|
|
244
|
+
commandSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandSchema,
|
|
245
|
+
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.moduleUrl,
|
|
246
|
+
commandAuthorization: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandAuthorization
|
|
247
|
+
},
|
|
248
|
+
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.moduleUrl,
|
|
249
|
+
mapIncomingCommand: Orders_ExtensionPointMapping$OrderingPlugin.mapIncomingCommand,
|
|
250
|
+
mapOutgoingEvent: Orders_ExtensionPointMapping$OrderingPlugin.mapOutgoingEvent
|
|
251
|
+
});
|
|
252
|
+
let Products_Extension = Platform.Extension.Make({
|
|
253
|
+
ExtensionPoint: {
|
|
254
|
+
name: Products_ExtensionPoint$CatalogSpec.name,
|
|
255
|
+
moduleUrl: Products_ExtensionPoint$CatalogSpec.moduleUrl,
|
|
256
|
+
commandSchema: Products_ExtensionPoint$CatalogSpec.commandSchema,
|
|
257
|
+
eventSchema: Products_ExtensionPoint$CatalogSpec.eventSchema,
|
|
258
|
+
directiveSchema: Products_ExtensionPoint$CatalogSpec.directiveSchema
|
|
259
|
+
},
|
|
260
|
+
Delegate: {
|
|
261
|
+
Id: Id$Reventless.$$String,
|
|
262
|
+
name: SyncCatalogProduct$OrderingPlugin.name,
|
|
263
|
+
eventSchema: SyncCatalogProduct$OrderingPlugin.eventSchema,
|
|
264
|
+
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
265
|
+
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
266
|
+
moduleUrl: SyncCatalogProduct$OrderingPlugin.moduleUrl,
|
|
267
|
+
commandAuthorization: SyncCatalogProduct$OrderingPlugin.commandAuthorization
|
|
268
|
+
},
|
|
269
|
+
moduleUrl: Products_Extension$OrderingPlugin.Mapping.moduleUrl,
|
|
270
|
+
delegateModuleUrl: Products_Extension$OrderingPlugin.Mapping.delegateModuleUrl,
|
|
271
|
+
mapIncomingEvent: Products_Extension$OrderingPlugin.Mapping.mapIncomingEvent,
|
|
272
|
+
mapOutgoingEvent: Products_Extension$OrderingPlugin.Mapping.mapOutgoingEvent
|
|
273
|
+
});
|
|
274
|
+
let pluginStructure = Platform.Plugin.makePluginDefinition("Ordering", undefined, undefined, [
|
|
275
|
+
AvailableProductsSlice,
|
|
276
|
+
CustomersSlice,
|
|
277
|
+
OrdersSlice
|
|
278
|
+
], [
|
|
279
|
+
CancelOrderSlice,
|
|
280
|
+
ChangeAddressSlice,
|
|
281
|
+
ChangeEmailSlice,
|
|
282
|
+
DeactivateCustomerSlice,
|
|
283
|
+
PlaceOrderSlice,
|
|
284
|
+
RegisterCustomerSlice,
|
|
285
|
+
ShipOrderSlice,
|
|
286
|
+
SyncCatalogProductSlice
|
|
287
|
+
], [AutoShipOrderSlice], [SendOrderConfirmationSlice], undefined, [Products_Extension], [{
|
|
288
|
+
ExtensionPoint: {
|
|
289
|
+
name: Orders_ExtensionPoint$OrderingSpec.name,
|
|
290
|
+
moduleUrl: Orders_ExtensionPoint$OrderingSpec.moduleUrl,
|
|
291
|
+
commandSchema: Orders_ExtensionPoint$OrderingSpec.commandSchema,
|
|
292
|
+
eventSchema: Orders_ExtensionPoint$OrderingSpec.eventSchema,
|
|
293
|
+
directiveSchema: Orders_ExtensionPoint$OrderingSpec.directiveSchema
|
|
294
|
+
},
|
|
295
|
+
Delegate: {
|
|
296
|
+
Id: Id$Reventless.$$String,
|
|
297
|
+
name: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.name,
|
|
298
|
+
eventSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.eventSchema,
|
|
299
|
+
errorSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.errorSchema,
|
|
300
|
+
commandSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandSchema,
|
|
301
|
+
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.moduleUrl,
|
|
302
|
+
commandAuthorization: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandAuthorization
|
|
303
|
+
},
|
|
304
|
+
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.moduleUrl,
|
|
305
|
+
mapIncomingCommand: Orders_ExtensionPointMapping$OrderingPlugin.mapIncomingCommand,
|
|
306
|
+
mapOutgoingEvent: Orders_ExtensionPointMapping$OrderingPlugin.mapOutgoingEvent
|
|
307
|
+
}]);
|
|
308
|
+
let make = () => Platform.Plugin.make("Ordering", 5, [Orders_ExtensionPoint], [Products_Extension], undefined, undefined, undefined, [
|
|
309
|
+
CancelOrderSlice,
|
|
310
|
+
ChangeAddressSlice,
|
|
311
|
+
ChangeEmailSlice,
|
|
312
|
+
DeactivateCustomerSlice,
|
|
313
|
+
PlaceOrderSlice,
|
|
314
|
+
RegisterCustomerSlice,
|
|
315
|
+
ShipOrderSlice,
|
|
316
|
+
SyncCatalogProductSlice
|
|
317
|
+
], [
|
|
318
|
+
AvailableProductsSlice,
|
|
319
|
+
CustomersSlice,
|
|
320
|
+
OrdersSlice
|
|
321
|
+
], [AutoShipOrderSlice], [SendOrderConfirmationSlice], undefined, Stdlib_Option.map(process.env.ORDERING_UI_BUNDLE_URL, url => Platform.Plugin.makeAutoUIManifest(url, "Ordering", pluginStructure, ["platform-summary"], ["resource-detail"])), pluginStructure, undefined);
|
|
322
|
+
return {
|
|
323
|
+
CancelOrderSlice: CancelOrderSlice,
|
|
324
|
+
ChangeAddressSlice: ChangeAddressSlice,
|
|
325
|
+
ChangeEmailSlice: ChangeEmailSlice,
|
|
326
|
+
DeactivateCustomerSlice: DeactivateCustomerSlice,
|
|
327
|
+
PlaceOrderSlice: PlaceOrderSlice,
|
|
328
|
+
RegisterCustomerSlice: RegisterCustomerSlice,
|
|
329
|
+
ShipOrderSlice: ShipOrderSlice,
|
|
330
|
+
SyncCatalogProductSlice: SyncCatalogProductSlice,
|
|
331
|
+
AvailableProductsSlice: AvailableProductsSlice,
|
|
332
|
+
CustomersSlice: CustomersSlice,
|
|
333
|
+
OrdersSlice: OrdersSlice,
|
|
334
|
+
AutoShipOrderSlice: AutoShipOrderSlice,
|
|
335
|
+
SendOrderConfirmationSlice: SendOrderConfirmationSlice,
|
|
336
|
+
Orders_ExtensionPoint: Orders_ExtensionPoint,
|
|
337
|
+
Products_Extension: Products_Extension,
|
|
338
|
+
pluginStructure: pluginStructure,
|
|
339
|
+
make: make
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export {
|
|
344
|
+
Make,
|
|
345
|
+
}
|
|
346
|
+
/* Id-Reventless Not a pure module */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT-OrderingPlugin.cmi
ADDED
|
Binary file
|
package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT-OrderingPlugin.cmj
ADDED
|
Binary file
|
package/lib/bs/tests/CatalogProduct/StateChangeSlice/SyncCatalogProduct_GWT-OrderingPlugin.cmt
ADDED
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@@reventless.gwt
|
|
2
|
+
|
|
3
|
+
describe("SyncCatalogProduct StateChangeSlice", () => {
|
|
4
|
+
test("SyncNewProduct produces CatalogProductSynced", () =>
|
|
5
|
+
givenEvents([])
|
|
6
|
+
->whenCmd(SyncNewProduct({productId: "p1", name: "Laptop", price: 999.99}))
|
|
7
|
+
->thenEvent(CatalogProductSynced({productId: "p1", name: "Laptop", price: 999.99}))
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
test("ChangeSyncedPrice produces CatalogProductPriceChanged", () =>
|
|
11
|
+
givenEvents([CatalogProductSynced({name: "Laptop", price: 999.99})])
|
|
12
|
+
->whenCmd(ChangeSyncedPrice({productId: "p1", price: 899.99}))
|
|
13
|
+
->thenEvent(CatalogProductPriceChanged({productId: "p1", price: 899.99}))
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
test("re-syncing identical product data produces no events (idempotent)", () =>
|
|
17
|
+
givenEvents([CatalogProductSynced({name: "Laptop", price: 999.99})])
|
|
18
|
+
->whenCmd(SyncNewProduct({productId: "p1", name: "Laptop", price: 999.99}))
|
|
19
|
+
->thenNoEvent
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
test("re-applying the current price produces no events (idempotent)", () =>
|
|
23
|
+
givenEvents([CatalogProductSynced({name: "Laptop", price: 999.99})])
|
|
24
|
+
->whenCmd(ChangeSyncedPrice({productId: "p1", price: 999.99}))
|
|
25
|
+
->thenNoEvent
|
|
26
|
+
)
|
|
27
|
+
})
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
|
+
|
|
3
|
+
import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
|
|
4
|
+
import * as SyncCatalogProduct$OrderingPlugin from "../../../src/CatalogProduct/StateChangeSlice/SyncCatalogProduct.res.mjs";
|
|
5
|
+
import * as SyncCatalogProduct_Behavior$OrderingPlugin from "../../../src/CatalogProduct/StateChangeSlice/SyncCatalogProduct_Behavior.res.mjs";
|
|
6
|
+
|
|
7
|
+
let include = Behavior_GWT$ReventlessGwt.Make({
|
|
8
|
+
name: SyncCatalogProduct$OrderingPlugin.name,
|
|
9
|
+
consumedEventSchema: SyncCatalogProduct$OrderingPlugin.consumedEventSchema,
|
|
10
|
+
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
11
|
+
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
12
|
+
eventSchema: SyncCatalogProduct$OrderingPlugin.eventSchema
|
|
13
|
+
})({
|
|
14
|
+
initialState: SyncCatalogProduct_Behavior$OrderingPlugin.initialState,
|
|
15
|
+
evolve: SyncCatalogProduct_Behavior$OrderingPlugin.evolve,
|
|
16
|
+
decide: SyncCatalogProduct_Behavior$OrderingPlugin.decide
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
let describe = include.describe;
|
|
20
|
+
|
|
21
|
+
let test = include.test;
|
|
22
|
+
|
|
23
|
+
let givenEvents = include.givenEvents;
|
|
24
|
+
|
|
25
|
+
let whenCmd = include.whenCmd;
|
|
26
|
+
|
|
27
|
+
let thenEvent = include.thenEvent;
|
|
28
|
+
|
|
29
|
+
let thenNoEvent = include.thenNoEvent;
|
|
30
|
+
|
|
31
|
+
describe("SyncCatalogProduct StateChangeSlice", () => {
|
|
32
|
+
test("SyncNewProduct produces CatalogProductSynced", () => thenEvent(whenCmd(givenEvents([]), {
|
|
33
|
+
TAG: "SyncNewProduct",
|
|
34
|
+
productId: "p1",
|
|
35
|
+
name: "Laptop",
|
|
36
|
+
price: 999.99
|
|
37
|
+
}), {
|
|
38
|
+
TAG: "CatalogProductSynced",
|
|
39
|
+
productId: "p1",
|
|
40
|
+
name: "Laptop",
|
|
41
|
+
price: 999.99
|
|
42
|
+
}));
|
|
43
|
+
test("ChangeSyncedPrice produces CatalogProductPriceChanged", () => thenEvent(whenCmd(givenEvents([{
|
|
44
|
+
TAG: "CatalogProductSynced",
|
|
45
|
+
name: "Laptop",
|
|
46
|
+
price: 999.99
|
|
47
|
+
}]), {
|
|
48
|
+
TAG: "ChangeSyncedPrice",
|
|
49
|
+
productId: "p1",
|
|
50
|
+
price: 899.99
|
|
51
|
+
}), {
|
|
52
|
+
TAG: "CatalogProductPriceChanged",
|
|
53
|
+
productId: "p1",
|
|
54
|
+
price: 899.99
|
|
55
|
+
}));
|
|
56
|
+
test("re-syncing identical product data produces no events (idempotent)", () => thenNoEvent(whenCmd(givenEvents([{
|
|
57
|
+
TAG: "CatalogProductSynced",
|
|
58
|
+
name: "Laptop",
|
|
59
|
+
price: 999.99
|
|
60
|
+
}]), {
|
|
61
|
+
TAG: "SyncNewProduct",
|
|
62
|
+
productId: "p1",
|
|
63
|
+
name: "Laptop",
|
|
64
|
+
price: 999.99
|
|
65
|
+
})));
|
|
66
|
+
test("re-applying the current price produces no events (idempotent)", () => thenNoEvent(whenCmd(givenEvents([{
|
|
67
|
+
TAG: "CatalogProductSynced",
|
|
68
|
+
name: "Laptop",
|
|
69
|
+
price: 999.99
|
|
70
|
+
}]), {
|
|
71
|
+
TAG: "ChangeSyncedPrice",
|
|
72
|
+
productId: "p1",
|
|
73
|
+
price: 999.99
|
|
74
|
+
})));
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
let Spec = include.Spec;
|
|
78
|
+
|
|
79
|
+
let todo = include.todo;
|
|
80
|
+
|
|
81
|
+
let thenEvents = include.thenEvents;
|
|
82
|
+
|
|
83
|
+
let thenEventWithError = include.thenEventWithError;
|
|
84
|
+
|
|
85
|
+
let thenEventsWithError = include.thenEventsWithError;
|
|
86
|
+
|
|
87
|
+
let thenError = include.thenError;
|
|
88
|
+
|
|
89
|
+
let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
|
|
90
|
+
|
|
91
|
+
let thenAppendsConditionedOnExactly = include.thenAppendsConditionedOnExactly;
|
|
92
|
+
|
|
93
|
+
export {
|
|
94
|
+
Spec,
|
|
95
|
+
describe,
|
|
96
|
+
todo,
|
|
97
|
+
test,
|
|
98
|
+
givenEvents,
|
|
99
|
+
whenCmd,
|
|
100
|
+
thenEvent,
|
|
101
|
+
thenEvents,
|
|
102
|
+
thenNoEvent,
|
|
103
|
+
thenEventWithError,
|
|
104
|
+
thenEventsWithError,
|
|
105
|
+
thenError,
|
|
106
|
+
thenAppendsConditionedOn,
|
|
107
|
+
thenAppendsConditionedOnExactly,
|
|
108
|
+
}
|
|
109
|
+
/* include Not a pure module */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@@reventless.gwt
|
|
2
|
+
|
|
3
|
+
describe("AvailableProducts StateViewSlice", () => {
|
|
4
|
+
test("CatalogProductSynced creates a row", () =>
|
|
5
|
+
givenEvents([])
|
|
6
|
+
->whenEvent(CatalogProductSynced({productId: "p1", name: "Laptop", price: 999.99}))
|
|
7
|
+
->thenStateWithId("p1", {productId: "p1", name: "Laptop", price: 999.99})
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
test("CatalogProductPriceChanged updates the price", () =>
|
|
11
|
+
givenEvents([CatalogProductSynced({productId: "p1", name: "Laptop", price: 999.99})])
|
|
12
|
+
->whenEvent(CatalogProductPriceChanged({productId: "p1", price: 899.99}))
|
|
13
|
+
->thenStateWithId("p1", {productId: "p1", name: "Laptop", price: 899.99})
|
|
14
|
+
)
|
|
15
|
+
})
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
|
+
|
|
3
|
+
import * as Projection_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Projection_GWT.res.mjs";
|
|
4
|
+
import * as AvailableProducts$OrderingPlugin from "../../../src/CatalogProduct/StateViewSlice/AvailableProducts.res.mjs";
|
|
5
|
+
import * as AvailableProducts_Projection$OrderingPlugin from "../../../src/CatalogProduct/StateViewSlice/AvailableProducts_Projection.res.mjs";
|
|
6
|
+
|
|
7
|
+
let include = Projection_GWT$ReventlessGwt.Make({
|
|
8
|
+
name: AvailableProducts$OrderingPlugin.name,
|
|
9
|
+
stateSchema: AvailableProducts$OrderingPlugin.stateSchema,
|
|
10
|
+
consumedEventSchema: AvailableProducts$OrderingPlugin.consumedEventSchema,
|
|
11
|
+
subIdConfig: undefined
|
|
12
|
+
})({
|
|
13
|
+
project: AvailableProducts_Projection$OrderingPlugin.project
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
let describe = include.describe;
|
|
17
|
+
|
|
18
|
+
let test = include.test;
|
|
19
|
+
|
|
20
|
+
let givenEvents = include.givenEvents;
|
|
21
|
+
|
|
22
|
+
let whenEvent = include.whenEvent;
|
|
23
|
+
|
|
24
|
+
let thenStateWithId = include.thenStateWithId;
|
|
25
|
+
|
|
26
|
+
describe("AvailableProducts StateViewSlice", () => {
|
|
27
|
+
test("CatalogProductSynced creates a row", undefined, () => thenStateWithId(whenEvent(givenEvents([]), {
|
|
28
|
+
TAG: "CatalogProductSynced",
|
|
29
|
+
productId: "p1",
|
|
30
|
+
name: "Laptop",
|
|
31
|
+
price: 999.99
|
|
32
|
+
}), "p1", {
|
|
33
|
+
productId: "p1",
|
|
34
|
+
name: "Laptop",
|
|
35
|
+
price: 999.99
|
|
36
|
+
}));
|
|
37
|
+
test("CatalogProductPriceChanged updates the price", undefined, () => thenStateWithId(whenEvent(givenEvents([{
|
|
38
|
+
TAG: "CatalogProductSynced",
|
|
39
|
+
productId: "p1",
|
|
40
|
+
name: "Laptop",
|
|
41
|
+
price: 999.99
|
|
42
|
+
}]), {
|
|
43
|
+
TAG: "CatalogProductPriceChanged",
|
|
44
|
+
productId: "p1",
|
|
45
|
+
price: 899.99
|
|
46
|
+
}), "p1", {
|
|
47
|
+
productId: "p1",
|
|
48
|
+
name: "Laptop",
|
|
49
|
+
price: 899.99
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
let Spec = include.Spec;
|
|
54
|
+
|
|
55
|
+
let describeWithId = include.describeWithId;
|
|
56
|
+
|
|
57
|
+
let todo = include.todo;
|
|
58
|
+
|
|
59
|
+
let whenEvents = include.whenEvents;
|
|
60
|
+
|
|
61
|
+
let thenStates = include.thenStates;
|
|
62
|
+
|
|
63
|
+
let thenStatesWithId = include.thenStatesWithId;
|
|
64
|
+
|
|
65
|
+
let thenAllStates = include.thenAllStates;
|
|
66
|
+
|
|
67
|
+
let thenState = include.thenState;
|
|
68
|
+
|
|
69
|
+
let thenNoState = include.thenNoState;
|
|
70
|
+
|
|
71
|
+
let thenThrow = include.thenThrow;
|
|
72
|
+
|
|
73
|
+
let thenFail = include.thenFail;
|
|
74
|
+
|
|
75
|
+
export {
|
|
76
|
+
Spec,
|
|
77
|
+
describe,
|
|
78
|
+
describeWithId,
|
|
79
|
+
todo,
|
|
80
|
+
test,
|
|
81
|
+
givenEvents,
|
|
82
|
+
whenEvent,
|
|
83
|
+
whenEvents,
|
|
84
|
+
thenStates,
|
|
85
|
+
thenStatesWithId,
|
|
86
|
+
thenAllStates,
|
|
87
|
+
thenState,
|
|
88
|
+
thenStateWithId,
|
|
89
|
+
thenNoState,
|
|
90
|
+
thenThrow,
|
|
91
|
+
thenFail,
|
|
92
|
+
}
|
|
93
|
+
/* include Not a pure module */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|