@reventlessdev/online-shop-dcb-ordering 1.0.0-alpha.272 → 1.0.0-alpha.274
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct.ast +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct.res.mjs +2 -2
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress.ast +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail.ast +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer.ast +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer.ast +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmi +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.mjs +2 -2
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder.ast +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder.res.mjs +2 -2
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder.ast +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder.res.mjs +2 -2
- package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder.ast +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder.res.mjs +2 -2
- package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder.ast +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder.res.mjs +2 -2
- package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.res.mjs +11 -11
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT.res.mjs +1 -1
- package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT.res.mjs +1 -1
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- 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_Automation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -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 +2 -22
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping.ast +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmt +0 -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 +4 -13
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmt +0 -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_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/package.json +8 -8
- package/src/CatalogProduct/StateChange/SyncCatalogProduct.res.mjs +2 -2
- package/src/Customer/StateChange/ChangeAddress.res.mjs +2 -2
- package/src/Customer/StateChange/ChangeEmail.res.mjs +2 -2
- package/src/Customer/StateChange/DeactivateCustomer.res.mjs +2 -2
- package/src/Customer/StateChange/RegisterCustomer.res.mjs +2 -2
- package/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +2 -2
- package/src/Order/Automation/AutoShipOrder.res.mjs +2 -2
- package/src/Order/StateChange/CancelOrder.res.mjs +2 -2
- package/src/Order/StateChange/PlaceOrder.res.mjs +2 -2
- package/src/Order/StateChange/ShipOrder.res.mjs +2 -2
- package/src/Plugin.res.mjs +11 -11
- package/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/ChangeAddress_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/ChangeEmail_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/DeactivateCustomer_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/RegisterCustomer_GWT.res.mjs +1 -1
- package/tests/Extension/Products_Extension_GWT.res.mjs +1 -1
- package/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +1 -1
- package/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
- package/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
- package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
- package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
- package/tests/Order/StateChange/CancelOrder_GWT.res.mjs +1 -1
- package/tests/Order/StateChange/PlaceOrder_GWT.res.mjs +1 -1
- package/tests/Order/StateChange/ShipOrder_GWT.res.mjs +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/PlaceOrder.ast
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
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
// `
|
|
2
|
-
//
|
|
3
|
-
// translation body file, so we compose it onto the spec module locally.
|
|
4
|
-
//
|
|
5
|
-
// `translate` is supplied at test time via `whenTranslateMocked`; the real
|
|
6
|
-
// `translate` (which calls `EmailService`) is exercised in component tests.
|
|
7
|
-
|
|
8
|
-
module SendOrderConfirmationSlice = {
|
|
9
|
-
include SendOrderConfirmation
|
|
10
|
-
let collect = SendOrderConfirmation_Translation.collect
|
|
11
|
-
}
|
|
1
|
+
// `translate` calls a mailer the framework does not broker, so these scenarios
|
|
2
|
+
// answer for it with `whenTranslateMocked`.
|
|
12
3
|
|
|
13
4
|
@@reventless.gwt
|
|
14
5
|
|
|
@@ -29,9 +20,9 @@ describe("SendOrderConfirmation OutboundTranslationSlice", () => {
|
|
|
29
20
|
)
|
|
30
21
|
|
|
31
22
|
// scenario-id: a4563058-8777-4756-8e12-983fcd0e8f20
|
|
32
|
-
test("translate failure leaves the TODO
|
|
23
|
+
test("translate failure leaves the TODO Failed for retry", () =>
|
|
33
24
|
givenTodo("o1", {orderId: o1, customerId: c1})
|
|
34
25
|
->whenTranslateMocked((_id, _item) => Promise.resolve(Error("smtp down")))
|
|
35
|
-
->thenTodoStatus("o1", #
|
|
26
|
+
->thenTodoStatus("o1", #Failed)
|
|
36
27
|
)
|
|
37
28
|
})
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/ShipOrder.ast
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/online-shop-dcb-ordering",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.274",
|
|
4
4
|
"description": "Online Shop example — Ordering bounded context (Customer & Order) using the DCB pattern",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"sury": "11.0.0",
|
|
24
|
-
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.
|
|
24
|
+
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.162",
|
|
25
|
+
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.162",
|
|
25
26
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.23",
|
|
26
|
-
"@reventlessdev/
|
|
27
|
-
"@reventlessdev/reventless-
|
|
28
|
-
"@reventlessdev/reventless-
|
|
29
|
-
"@reventlessdev/reventless-
|
|
30
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.160"
|
|
27
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.240",
|
|
28
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.190",
|
|
29
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.283",
|
|
30
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.162"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"rescript": "12.3.1",
|
|
34
34
|
"sury-ppx": "11.0.0",
|
|
35
|
-
"@reventlessdev/reventless-ppx": "1.0.0-alpha.
|
|
35
|
+
"@reventlessdev/reventless-ppx": "1.0.0-alpha.99"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"rescript": "^12.3.1"
|
|
@@ -46,7 +46,7 @@ let eventSchema = Sury.union([
|
|
|
46
46
|
}))
|
|
47
47
|
]);
|
|
48
48
|
|
|
49
|
-
function
|
|
49
|
+
function authorizationOf(param) {
|
|
50
50
|
return "AllowAuthenticated";
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -72,7 +72,7 @@ export {
|
|
|
72
72
|
errorSchema,
|
|
73
73
|
eventSchema,
|
|
74
74
|
moduleUrl,
|
|
75
|
-
|
|
75
|
+
authorizationOf,
|
|
76
76
|
readConsistency,
|
|
77
77
|
commandTransition,
|
|
78
78
|
traits,
|
|
@@ -33,7 +33,7 @@ let eventSchema = Sury.$schema(s => ({
|
|
|
33
33
|
address: s.m(Sury.string)
|
|
34
34
|
}));
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function authorizationOf(param) {
|
|
37
37
|
return "AllowAuthenticated";
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@ export {
|
|
|
59
59
|
errorSchema,
|
|
60
60
|
eventSchema,
|
|
61
61
|
moduleUrl,
|
|
62
|
-
|
|
62
|
+
authorizationOf,
|
|
63
63
|
readConsistency,
|
|
64
64
|
commandTransition,
|
|
65
65
|
traits,
|
|
@@ -33,7 +33,7 @@ let eventSchema = Sury.$schema(s => ({
|
|
|
33
33
|
email: s.m(Sury.string)
|
|
34
34
|
}));
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function authorizationOf(param) {
|
|
37
37
|
return "AllowAuthenticated";
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@ export {
|
|
|
59
59
|
errorSchema,
|
|
60
60
|
eventSchema,
|
|
61
61
|
moduleUrl,
|
|
62
|
-
|
|
62
|
+
authorizationOf,
|
|
63
63
|
readConsistency,
|
|
64
64
|
commandTransition,
|
|
65
65
|
traits,
|
|
@@ -21,7 +21,7 @@ let eventSchema = Sury.$schema(s => ({
|
|
|
21
21
|
customerId: s.m(DcbTag$Reventless.mark(CustomerId$OrderingPlugin.schema))
|
|
22
22
|
}));
|
|
23
23
|
|
|
24
|
-
function
|
|
24
|
+
function authorizationOf(param) {
|
|
25
25
|
return "AllowAuthenticated";
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -47,7 +47,7 @@ export {
|
|
|
47
47
|
errorSchema,
|
|
48
48
|
eventSchema,
|
|
49
49
|
moduleUrl,
|
|
50
|
-
|
|
50
|
+
authorizationOf,
|
|
51
51
|
readConsistency,
|
|
52
52
|
commandTransition,
|
|
53
53
|
traits,
|
|
@@ -22,7 +22,7 @@ let eventSchema = Sury.$schema(s => ({
|
|
|
22
22
|
address: s.m(Sury.string)
|
|
23
23
|
}));
|
|
24
24
|
|
|
25
|
-
function
|
|
25
|
+
function authorizationOf(param) {
|
|
26
26
|
return "AllowAuthenticated";
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -48,7 +48,7 @@ export {
|
|
|
48
48
|
errorSchema,
|
|
49
49
|
eventSchema,
|
|
50
50
|
moduleUrl,
|
|
51
|
-
|
|
51
|
+
authorizationOf,
|
|
52
52
|
readConsistency,
|
|
53
53
|
commandTransition,
|
|
54
54
|
traits,
|
|
@@ -24,7 +24,7 @@ let eventSchema = Sury.union([
|
|
|
24
24
|
|
|
25
25
|
let errorSchema = Sury.$unit;
|
|
26
26
|
|
|
27
|
-
function
|
|
27
|
+
function authorizationOf(param) {
|
|
28
28
|
return "AllowAuthenticated";
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -41,7 +41,7 @@ let Delegate = {
|
|
|
41
41
|
eventSchema: eventSchema,
|
|
42
42
|
errorSchema: errorSchema,
|
|
43
43
|
moduleUrl: "@reventlessdev/online-shop-dcb-ordering/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs",
|
|
44
|
-
|
|
44
|
+
authorizationOf: authorizationOf,
|
|
45
45
|
commandTransition: commandTransition,
|
|
46
46
|
traits: traits
|
|
47
47
|
};
|
|
@@ -13,7 +13,7 @@ let commandSchema = Sury.$schema(s => ({
|
|
|
13
13
|
orderId: s.m(DcbTag$Reventless.mark(OrderId$OrderingPlugin.schema))
|
|
14
14
|
}));
|
|
15
15
|
|
|
16
|
-
function
|
|
16
|
+
function authorizationOf(param) {
|
|
17
17
|
return "AllowAuthenticated";
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -44,7 +44,7 @@ export {
|
|
|
44
44
|
heartbeatInterval,
|
|
45
45
|
targetName,
|
|
46
46
|
moduleUrl,
|
|
47
|
-
|
|
47
|
+
authorizationOf,
|
|
48
48
|
commandTransition,
|
|
49
49
|
traits,
|
|
50
50
|
}
|
|
@@ -38,7 +38,7 @@ function commandTransition(command) {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
function
|
|
41
|
+
function authorizationOf(param) {
|
|
42
42
|
return "AllowAuthenticated";
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -61,7 +61,7 @@ export {
|
|
|
61
61
|
eventSchema,
|
|
62
62
|
commandTransition,
|
|
63
63
|
moduleUrl,
|
|
64
|
-
|
|
64
|
+
authorizationOf,
|
|
65
65
|
readConsistency,
|
|
66
66
|
traits,
|
|
67
67
|
}
|
|
@@ -40,7 +40,7 @@ let eventSchema = Sury.$schema(s => ({
|
|
|
40
40
|
productIds: s.m(Sury.array(DcbTag$Reventless.mark(ProductId$CatalogSpec.schema)))
|
|
41
41
|
}));
|
|
42
42
|
|
|
43
|
-
function
|
|
43
|
+
function authorizationOf(param) {
|
|
44
44
|
return "AllowAuthenticated";
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -66,7 +66,7 @@ export {
|
|
|
66
66
|
errorSchema,
|
|
67
67
|
eventSchema,
|
|
68
68
|
moduleUrl,
|
|
69
|
-
|
|
69
|
+
authorizationOf,
|
|
70
70
|
readConsistency,
|
|
71
71
|
commandTransition,
|
|
72
72
|
traits,
|
|
@@ -33,7 +33,7 @@ function commandTransition(command) {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function authorizationOf(param) {
|
|
37
37
|
return "AllowAuthenticated";
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -56,7 +56,7 @@ export {
|
|
|
56
56
|
eventSchema,
|
|
57
57
|
commandTransition,
|
|
58
58
|
moduleUrl,
|
|
59
|
-
|
|
59
|
+
authorizationOf,
|
|
60
60
|
readConsistency,
|
|
61
61
|
traits,
|
|
62
62
|
}
|
package/src/Plugin.res.mjs
CHANGED
|
@@ -104,7 +104,7 @@ function Make(Platform) {
|
|
|
104
104
|
errorSchema: CancelOrder$OrderingPlugin.errorSchema,
|
|
105
105
|
eventSchema: CancelOrder$OrderingPlugin.eventSchema,
|
|
106
106
|
commandSchema: CancelOrder$OrderingPlugin.commandSchema,
|
|
107
|
-
|
|
107
|
+
authorizationOf: CancelOrder$OrderingPlugin.authorizationOf,
|
|
108
108
|
commandTransition: CancelOrder$OrderingPlugin.commandTransition,
|
|
109
109
|
traits: CancelOrder$OrderingPlugin.traits,
|
|
110
110
|
readConsistency: CancelOrder$OrderingPlugin.readConsistency
|
|
@@ -121,7 +121,7 @@ function Make(Platform) {
|
|
|
121
121
|
errorSchema: ChangeAddress$OrderingPlugin.errorSchema,
|
|
122
122
|
eventSchema: ChangeAddress$OrderingPlugin.eventSchema,
|
|
123
123
|
commandSchema: ChangeAddress$OrderingPlugin.commandSchema,
|
|
124
|
-
|
|
124
|
+
authorizationOf: ChangeAddress$OrderingPlugin.authorizationOf,
|
|
125
125
|
commandTransition: ChangeAddress$OrderingPlugin.commandTransition,
|
|
126
126
|
traits: ChangeAddress$OrderingPlugin.traits,
|
|
127
127
|
readConsistency: ChangeAddress$OrderingPlugin.readConsistency
|
|
@@ -138,7 +138,7 @@ function Make(Platform) {
|
|
|
138
138
|
errorSchema: ChangeEmail$OrderingPlugin.errorSchema,
|
|
139
139
|
eventSchema: ChangeEmail$OrderingPlugin.eventSchema,
|
|
140
140
|
commandSchema: ChangeEmail$OrderingPlugin.commandSchema,
|
|
141
|
-
|
|
141
|
+
authorizationOf: ChangeEmail$OrderingPlugin.authorizationOf,
|
|
142
142
|
commandTransition: ChangeEmail$OrderingPlugin.commandTransition,
|
|
143
143
|
traits: ChangeEmail$OrderingPlugin.traits,
|
|
144
144
|
readConsistency: ChangeEmail$OrderingPlugin.readConsistency
|
|
@@ -155,7 +155,7 @@ function Make(Platform) {
|
|
|
155
155
|
errorSchema: DeactivateCustomer$OrderingPlugin.errorSchema,
|
|
156
156
|
eventSchema: DeactivateCustomer$OrderingPlugin.eventSchema,
|
|
157
157
|
commandSchema: DeactivateCustomer$OrderingPlugin.commandSchema,
|
|
158
|
-
|
|
158
|
+
authorizationOf: DeactivateCustomer$OrderingPlugin.authorizationOf,
|
|
159
159
|
commandTransition: DeactivateCustomer$OrderingPlugin.commandTransition,
|
|
160
160
|
traits: DeactivateCustomer$OrderingPlugin.traits,
|
|
161
161
|
readConsistency: DeactivateCustomer$OrderingPlugin.readConsistency
|
|
@@ -172,7 +172,7 @@ function Make(Platform) {
|
|
|
172
172
|
errorSchema: PlaceOrder$OrderingPlugin.errorSchema,
|
|
173
173
|
eventSchema: PlaceOrder$OrderingPlugin.eventSchema,
|
|
174
174
|
commandSchema: PlaceOrder$OrderingPlugin.commandSchema,
|
|
175
|
-
|
|
175
|
+
authorizationOf: PlaceOrder$OrderingPlugin.authorizationOf,
|
|
176
176
|
commandTransition: PlaceOrder$OrderingPlugin.commandTransition,
|
|
177
177
|
traits: PlaceOrder$OrderingPlugin.traits,
|
|
178
178
|
readConsistency: PlaceOrder$OrderingPlugin.readConsistency
|
|
@@ -189,7 +189,7 @@ function Make(Platform) {
|
|
|
189
189
|
errorSchema: RegisterCustomer$OrderingPlugin.errorSchema,
|
|
190
190
|
eventSchema: RegisterCustomer$OrderingPlugin.eventSchema,
|
|
191
191
|
commandSchema: RegisterCustomer$OrderingPlugin.commandSchema,
|
|
192
|
-
|
|
192
|
+
authorizationOf: RegisterCustomer$OrderingPlugin.authorizationOf,
|
|
193
193
|
commandTransition: RegisterCustomer$OrderingPlugin.commandTransition,
|
|
194
194
|
traits: RegisterCustomer$OrderingPlugin.traits,
|
|
195
195
|
readConsistency: RegisterCustomer$OrderingPlugin.readConsistency
|
|
@@ -206,7 +206,7 @@ function Make(Platform) {
|
|
|
206
206
|
errorSchema: ShipOrder$OrderingPlugin.errorSchema,
|
|
207
207
|
eventSchema: ShipOrder$OrderingPlugin.eventSchema,
|
|
208
208
|
commandSchema: ShipOrder$OrderingPlugin.commandSchema,
|
|
209
|
-
|
|
209
|
+
authorizationOf: ShipOrder$OrderingPlugin.authorizationOf,
|
|
210
210
|
commandTransition: ShipOrder$OrderingPlugin.commandTransition,
|
|
211
211
|
traits: ShipOrder$OrderingPlugin.traits,
|
|
212
212
|
readConsistency: ShipOrder$OrderingPlugin.readConsistency
|
|
@@ -223,7 +223,7 @@ function Make(Platform) {
|
|
|
223
223
|
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
224
224
|
eventSchema: SyncCatalogProduct$OrderingPlugin.eventSchema,
|
|
225
225
|
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
226
|
-
|
|
226
|
+
authorizationOf: SyncCatalogProduct$OrderingPlugin.authorizationOf,
|
|
227
227
|
commandTransition: SyncCatalogProduct$OrderingPlugin.commandTransition,
|
|
228
228
|
traits: SyncCatalogProduct$OrderingPlugin.traits,
|
|
229
229
|
readConsistency: SyncCatalogProduct$OrderingPlugin.readConsistency
|
|
@@ -323,7 +323,7 @@ function Make(Platform) {
|
|
|
323
323
|
errorSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.errorSchema,
|
|
324
324
|
commandSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandSchema,
|
|
325
325
|
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.moduleUrl,
|
|
326
|
-
|
|
326
|
+
authorizationOf: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.authorizationOf,
|
|
327
327
|
commandTransition: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandTransition,
|
|
328
328
|
traits: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.traits
|
|
329
329
|
},
|
|
@@ -348,7 +348,7 @@ function Make(Platform) {
|
|
|
348
348
|
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
349
349
|
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
350
350
|
moduleUrl: SyncCatalogProduct$OrderingPlugin.moduleUrl,
|
|
351
|
-
|
|
351
|
+
authorizationOf: SyncCatalogProduct$OrderingPlugin.authorizationOf,
|
|
352
352
|
commandTransition: SyncCatalogProduct$OrderingPlugin.commandTransition,
|
|
353
353
|
traits: SyncCatalogProduct$OrderingPlugin.traits
|
|
354
354
|
},
|
|
@@ -387,7 +387,7 @@ function Make(Platform) {
|
|
|
387
387
|
errorSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.errorSchema,
|
|
388
388
|
commandSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandSchema,
|
|
389
389
|
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.moduleUrl,
|
|
390
|
-
|
|
390
|
+
authorizationOf: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.authorizationOf,
|
|
391
391
|
commandTransition: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandTransition,
|
|
392
392
|
traits: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.traits
|
|
393
393
|
},
|
|
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
11
11
|
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
12
12
|
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
13
13
|
eventSchema: SyncCatalogProduct$OrderingPlugin.eventSchema,
|
|
14
|
-
|
|
14
|
+
authorizationOf: SyncCatalogProduct$OrderingPlugin.authorizationOf
|
|
15
15
|
})({
|
|
16
16
|
initialState: SyncCatalogProduct_Behavior$OrderingPlugin.initialState,
|
|
17
17
|
evolve: SyncCatalogProduct_Behavior$OrderingPlugin.evolve,
|
|
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
11
11
|
commandSchema: ChangeAddress$OrderingPlugin.commandSchema,
|
|
12
12
|
errorSchema: ChangeAddress$OrderingPlugin.errorSchema,
|
|
13
13
|
eventSchema: ChangeAddress$OrderingPlugin.eventSchema,
|
|
14
|
-
|
|
14
|
+
authorizationOf: ChangeAddress$OrderingPlugin.authorizationOf
|
|
15
15
|
})({
|
|
16
16
|
initialState: ChangeAddress_Behavior$OrderingPlugin.initialState,
|
|
17
17
|
evolve: ChangeAddress_Behavior$OrderingPlugin.evolve,
|
|
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
11
11
|
commandSchema: ChangeEmail$OrderingPlugin.commandSchema,
|
|
12
12
|
errorSchema: ChangeEmail$OrderingPlugin.errorSchema,
|
|
13
13
|
eventSchema: ChangeEmail$OrderingPlugin.eventSchema,
|
|
14
|
-
|
|
14
|
+
authorizationOf: ChangeEmail$OrderingPlugin.authorizationOf
|
|
15
15
|
})({
|
|
16
16
|
initialState: ChangeEmail_Behavior$OrderingPlugin.initialState,
|
|
17
17
|
evolve: ChangeEmail_Behavior$OrderingPlugin.evolve,
|
|
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
11
11
|
commandSchema: DeactivateCustomer$OrderingPlugin.commandSchema,
|
|
12
12
|
errorSchema: DeactivateCustomer$OrderingPlugin.errorSchema,
|
|
13
13
|
eventSchema: DeactivateCustomer$OrderingPlugin.eventSchema,
|
|
14
|
-
|
|
14
|
+
authorizationOf: DeactivateCustomer$OrderingPlugin.authorizationOf
|
|
15
15
|
})({
|
|
16
16
|
initialState: DeactivateCustomer_Behavior$OrderingPlugin.initialState,
|
|
17
17
|
evolve: DeactivateCustomer_Behavior$OrderingPlugin.evolve,
|
|
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
|
|
|
11
11
|
commandSchema: RegisterCustomer$OrderingPlugin.commandSchema,
|
|
12
12
|
errorSchema: RegisterCustomer$OrderingPlugin.errorSchema,
|
|
13
13
|
eventSchema: RegisterCustomer$OrderingPlugin.eventSchema,
|
|
14
|
-
|
|
14
|
+
authorizationOf: RegisterCustomer$OrderingPlugin.authorizationOf
|
|
15
15
|
})({
|
|
16
16
|
initialState: RegisterCustomer_Behavior$OrderingPlugin.initialState,
|
|
17
17
|
evolve: RegisterCustomer_Behavior$OrderingPlugin.evolve,
|
|
@@ -22,7 +22,7 @@ let include = Delegate_GWT$ReventlessGwt.FromExtension({
|
|
|
22
22
|
errorSchema: SyncCatalogProduct$OrderingPlugin.errorSchema,
|
|
23
23
|
commandSchema: SyncCatalogProduct$OrderingPlugin.commandSchema,
|
|
24
24
|
moduleUrl: SyncCatalogProduct$OrderingPlugin.moduleUrl,
|
|
25
|
-
|
|
25
|
+
authorizationOf: SyncCatalogProduct$OrderingPlugin.authorizationOf,
|
|
26
26
|
commandTransition: SyncCatalogProduct$OrderingPlugin.commandTransition,
|
|
27
27
|
traits: SyncCatalogProduct$OrderingPlugin.traits
|
|
28
28
|
},
|
|
@@ -21,7 +21,7 @@ let include = Delegate_GWT$ReventlessGwt.FromExtensionPoint({
|
|
|
21
21
|
errorSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.errorSchema,
|
|
22
22
|
commandSchema: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandSchema,
|
|
23
23
|
moduleUrl: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.moduleUrl,
|
|
24
|
-
|
|
24
|
+
authorizationOf: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.authorizationOf,
|
|
25
25
|
commandTransition: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.commandTransition,
|
|
26
26
|
traits: Orders_ExtensionPointMapping$OrderingPlugin.Delegate.traits
|
|
27
27
|
},
|
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
// `Automation_GWT.Make` expects a single SliceSpec with `collect`, `resolve`
|
|
2
|
-
// and `process` as top-level bindings. The split-form production layout puts
|
|
3
|
-
// `collect`/`resolve` inside the per-source `FromOrderingDcb` mapping, so we
|
|
4
|
-
// compose the pieces locally before handing the result to the DSL.
|
|
5
|
-
|
|
6
|
-
let testContext: Reventless.AutomationSlice.context = {
|
|
7
|
-
environment: "test",
|
|
8
|
-
platformName: "test",
|
|
9
|
-
pluginName: "ordering",
|
|
10
|
-
sliceName: "AutoShipOrder",
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
module AutoShipOrderSlice = {
|
|
14
|
-
include AutoShipOrder
|
|
15
|
-
type consumedEvent = AutoShipOrder_Automation.FromOrderingDcb.sourceEvent
|
|
16
|
-
let consumedEventSchema = AutoShipOrder_Automation.FromOrderingDcb.sourceEventSchema
|
|
17
|
-
|
|
18
|
-
let collect = e => AutoShipOrder_Automation.FromOrderingDcb.collect(e, ~sourceId="", testContext)
|
|
19
|
-
let resolve = AutoShipOrder_Automation.FromOrderingDcb.resolve
|
|
20
|
-
let process = AutoShipOrder_Automation.process
|
|
21
|
-
}
|
|
22
|
-
|
|
23
1
|
@@reventless.gwt
|
|
24
2
|
|
|
3
|
+
include Mapping(FromOrderingDcb)
|
|
4
|
+
|
|
25
5
|
open Ordering_Examples
|
|
26
6
|
|
|
27
7
|
describe("AutoShipOrder AutomationSlice", () => {
|