@reventlessdev/online-shop-aggregates-ordering 3.0.0-alpha.257 → 3.0.0-alpha.259
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 +16 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/LifecycleModel-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/LifecycleModel.ast +0 -0
- package/lib/bs/src/LifecycleModel.res +14 -0
- package/lib/bs/src/LifecycleModel.res.mjs +14 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmi +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 +1 -0
- package/lib/bs/src/Plugin.res.mjs +4 -1
- package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/ReadModel/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/ReadModel/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/Aggregate/Customer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/Aggregate/Customer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/ReadModel/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/ReadModel/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/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Aggregate/Order_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/Aggregate/Order_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/ReadModel/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/ReadModel/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/SideEffect/EmailService_Mock-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/SideEffect/EmailService_Mock-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/SideEffect/Order_EmailNotification_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/SideEffect/Order_EmailNotification_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customer_GWT-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/EmailService_Mock-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/EmailService_Mock-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/LifecycleModel-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/LifecycleModel.ast +0 -0
- package/lib/ocaml/LifecycleModel.res +14 -0
- package/lib/ocaml/OrderMappings_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/OrderMappings_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Order_EmailNotification_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Order_EmailNotification_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Order_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Order_GWT-OrderingPlugin.cmt +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/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Plugin.ast +0 -0
- package/lib/ocaml/Plugin.res +1 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/package.json +7 -7
- package/src/LifecycleModel.res +14 -0
- package/src/LifecycleModel.res.mjs +14 -0
- package/src/Plugin.res +1 -0
- package/src/Plugin.res.mjs +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.259 (2026-09-27)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **core,spec:** an identity the plugin declares is information, not a dangling reference ([30d7917](https://github.com/ReventlessDev/reventless-core/commit/30d7917669ff062439f9c65e5274ab63a2e20de0))
|
|
11
|
+
* **ppx,spec:** a view with no lifecycle field places a creating command by its scenarios ([acfc7fe](https://github.com/ReventlessDev/reventless-core/commit/acfc7feeb4d23d40cddaade7ae177fcd627b3d48))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 3.0.0-alpha.258 (2026-09-25)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-aggregates-ordering
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# 3.0.0-alpha.257 (2026-09-25)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @reventlessdev/online-shop-aggregates-ordering
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1790550461089)
|
|
2
|
+
#Done(1790550467050)
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"bsc_hash": "1006241435e8d5052329c523202a7fe6359a37e1e1688c023d37d6a7ebb5fb6d",
|
|
5
5
|
"rescript_config_hash": "4c884bf958b93b21c77764e35498f269b81377cfcc324135f1ab7a1cc5b569cb",
|
|
6
6
|
"runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
|
|
7
|
-
"generated_at": "
|
|
7
|
+
"generated_at": "1790550467060"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
// annotation where it is silent.
|
|
8
8
|
|
|
9
9
|
let model: array<Reventless.Plugin.derivedEdge> = [
|
|
10
|
+
{
|
|
11
|
+
component: "CatalogProduct",
|
|
12
|
+
command: "Sync",
|
|
13
|
+
level: Reventless.Plugin.Collection,
|
|
14
|
+
allowedStates: [],
|
|
15
|
+
targets: [],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
component: "Customer",
|
|
19
|
+
command: "Register",
|
|
20
|
+
level: Reventless.Plugin.Collection,
|
|
21
|
+
allowedStates: [],
|
|
22
|
+
targets: [],
|
|
23
|
+
},
|
|
10
24
|
{
|
|
11
25
|
component: "Order",
|
|
12
26
|
command: "Cancel",
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
let model = [
|
|
5
|
+
{
|
|
6
|
+
component: "CatalogProduct",
|
|
7
|
+
command: "Sync",
|
|
8
|
+
level: "Collection",
|
|
9
|
+
allowedStates: [],
|
|
10
|
+
targets: []
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
component: "Customer",
|
|
14
|
+
command: "Register",
|
|
15
|
+
level: "Collection",
|
|
16
|
+
allowedStates: [],
|
|
17
|
+
targets: []
|
|
18
|
+
},
|
|
5
19
|
{
|
|
6
20
|
component: "Order",
|
|
7
21
|
command: "Cancel",
|
|
Binary file
|
|
Binary file
|
package/lib/bs/src/Plugin.ast
CHANGED
|
Binary file
|
package/lib/bs/src/Plugin.res
CHANGED
|
@@ -241,7 +241,10 @@ function Make(Platform) {
|
|
|
241
241
|
"Orders",
|
|
242
242
|
"Order"
|
|
243
243
|
]
|
|
244
|
-
]), LifecycleModel$OrderingPlugin.model
|
|
244
|
+
]), LifecycleModel$OrderingPlugin.model, [
|
|
245
|
+
CustomerId$OrderingPlugin.key,
|
|
246
|
+
OrderId$OrderingPlugin.key
|
|
247
|
+
]);
|
|
245
248
|
let make = () => Platform.Plugin.make("Ordering", 5, [Orders_ExtensionPoint], [Products_Extension], [
|
|
246
249
|
CatalogProductAggregate,
|
|
247
250
|
CustomerAggregate,
|
|
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
|
package/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1790550461089)
|
|
2
|
+
#Done(1790550467050)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
// annotation where it is silent.
|
|
8
8
|
|
|
9
9
|
let model: array<Reventless.Plugin.derivedEdge> = [
|
|
10
|
+
{
|
|
11
|
+
component: "CatalogProduct",
|
|
12
|
+
command: "Sync",
|
|
13
|
+
level: Reventless.Plugin.Collection,
|
|
14
|
+
allowedStates: [],
|
|
15
|
+
targets: [],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
component: "Customer",
|
|
19
|
+
command: "Register",
|
|
20
|
+
level: Reventless.Plugin.Collection,
|
|
21
|
+
allowedStates: [],
|
|
22
|
+
targets: [],
|
|
23
|
+
},
|
|
10
24
|
{
|
|
11
25
|
component: "Order",
|
|
12
26
|
command: "Cancel",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/Plugin.ast
CHANGED
|
Binary file
|
package/lib/ocaml/Plugin.res
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/online-shop-aggregates-ordering",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.259",
|
|
4
4
|
"description": "Online Shop example — Ordering plugin (Customer & Order aggregates)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"sury": "11.0.0",
|
|
24
|
-
"@reventlessdev/online-shop-aggregates-catalog-spec": "3.0.0-alpha.
|
|
25
|
-
"@reventlessdev/online-shop-aggregates-ordering-spec": "3.0.0-alpha.148",
|
|
24
|
+
"@reventlessdev/online-shop-aggregates-catalog-spec": "3.0.0-alpha.149",
|
|
26
25
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22",
|
|
27
|
-
"@reventlessdev/
|
|
28
|
-
"@reventlessdev/reventless-
|
|
29
|
-
"@reventlessdev/reventless-
|
|
30
|
-
"@reventlessdev/reventless-
|
|
26
|
+
"@reventlessdev/online-shop-aggregates-ordering-spec": "3.0.0-alpha.149",
|
|
27
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.226",
|
|
28
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.178",
|
|
29
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.269",
|
|
30
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.150"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"rescript": "12.3.1",
|
package/src/LifecycleModel.res
CHANGED
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
// annotation where it is silent.
|
|
8
8
|
|
|
9
9
|
let model: array<Reventless.Plugin.derivedEdge> = [
|
|
10
|
+
{
|
|
11
|
+
component: "CatalogProduct",
|
|
12
|
+
command: "Sync",
|
|
13
|
+
level: Reventless.Plugin.Collection,
|
|
14
|
+
allowedStates: [],
|
|
15
|
+
targets: [],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
component: "Customer",
|
|
19
|
+
command: "Register",
|
|
20
|
+
level: Reventless.Plugin.Collection,
|
|
21
|
+
allowedStates: [],
|
|
22
|
+
targets: [],
|
|
23
|
+
},
|
|
10
24
|
{
|
|
11
25
|
component: "Order",
|
|
12
26
|
command: "Cancel",
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
let model = [
|
|
5
|
+
{
|
|
6
|
+
component: "CatalogProduct",
|
|
7
|
+
command: "Sync",
|
|
8
|
+
level: "Collection",
|
|
9
|
+
allowedStates: [],
|
|
10
|
+
targets: []
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
component: "Customer",
|
|
14
|
+
command: "Register",
|
|
15
|
+
level: "Collection",
|
|
16
|
+
allowedStates: [],
|
|
17
|
+
targets: []
|
|
18
|
+
},
|
|
5
19
|
{
|
|
6
20
|
component: "Order",
|
|
7
21
|
command: "Cancel",
|
package/src/Plugin.res
CHANGED
package/src/Plugin.res.mjs
CHANGED
|
@@ -241,7 +241,10 @@ function Make(Platform) {
|
|
|
241
241
|
"Orders",
|
|
242
242
|
"Order"
|
|
243
243
|
]
|
|
244
|
-
]), LifecycleModel$OrderingPlugin.model
|
|
244
|
+
]), LifecycleModel$OrderingPlugin.model, [
|
|
245
|
+
CustomerId$OrderingPlugin.key,
|
|
246
|
+
OrderId$OrderingPlugin.key
|
|
247
|
+
]);
|
|
245
248
|
let make = () => Platform.Plugin.make("Ordering", 5, [Orders_ExtensionPoint], [Products_Extension], [
|
|
246
249
|
CatalogProductAggregate,
|
|
247
250
|
CustomerAggregate,
|