@reventlessdev/online-shop-dcb-ordering 1.0.0-alpha.276 → 1.0.0-alpha.277
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 +12 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- 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/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation.ast +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation.res.mjs +1 -1
- package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
- 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/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/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- 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/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- 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/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/Automation/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +12 -3
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- 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/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- 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/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_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_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-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/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_GWT-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_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_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/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-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_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/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_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension_GWT-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_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-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_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/package.json +7 -7
- package/src/Order/Automation/AutoShipOrder_Automation.res.mjs +1 -1
- package/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +12 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 1.0.0-alpha.277 (2026-10-15)
|
|
7
|
+
|
|
8
|
+
* feat!: an automation's process takes ~now, and collect the event's recorded time ([8c8f3f5](https://github.com/ReventlessDev/reventless-core/commit/8c8f3f570474b1658b605b726077debc7d6a1dc7))
|
|
9
|
+
|
|
10
|
+
### BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* a process the PPX does not see — in an Automation module
|
|
13
|
+
written by hand, or a SliceSpec given to the deprecated Automation_GWT.Make
|
|
14
|
+
or Flow_GWT.AutomationStep — must take ~now.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# 1.0.0-alpha.276 (2026-10-14)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-ordering
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1792107705272)
|
|
2
|
+
#Done(1792107707938)
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"bsc_hash": "1006241435e8d5052329c523202a7fe6359a37e1e1688c023d37d6a7ebb5fb6d",
|
|
5
5
|
"rescript_config_hash": "2b45634c4ef9d26c69e2cd8282eb5d077ce9cf087ded0065001d0f0d889e241c",
|
|
6
6
|
"runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
|
|
7
|
-
"generated_at": "
|
|
7
|
+
"generated_at": "1792107707952"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -48,7 +48,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
48
48
|
test("collect: OrderPlaced creates a pending TODO", () => thenTodos(whenCollect(givenEvent({
|
|
49
49
|
TAG: "OrderPlaced",
|
|
50
50
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
51
|
-
}), undefined, undefined), [[
|
|
51
|
+
}), undefined, undefined, undefined), [[
|
|
52
52
|
"o1",
|
|
53
53
|
{
|
|
54
54
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
@@ -57,7 +57,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
57
57
|
test("collect: OrderShipped is ignored (no TODO)", () => thenTodos(whenCollect(givenEvent({
|
|
58
58
|
TAG: "OrderShipped",
|
|
59
59
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
60
|
-
}), undefined, undefined), []));
|
|
60
|
+
}), undefined, undefined, undefined), []));
|
|
61
61
|
test("resolve: OrderShipped marks the TODO done", () => thenResolved(whenResolve(givenEvent({
|
|
62
62
|
TAG: "OrderShipped",
|
|
63
63
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
@@ -68,7 +68,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
68
68
|
})), undefined));
|
|
69
69
|
test("process: pending TODO emits ShipOrder for the same id", () => thenCommand(whenProcess(givenTodo("o1", {
|
|
70
70
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
71
|
-
})), "o1", {
|
|
71
|
+
}), undefined), "o1", {
|
|
72
72
|
TAG: "ShipOrder",
|
|
73
73
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
74
74
|
}));
|
|
@@ -78,6 +78,8 @@ let Route = include.Route;
|
|
|
78
78
|
|
|
79
79
|
let testContext = include.testContext;
|
|
80
80
|
|
|
81
|
+
let withRecordedAt = include.withRecordedAt;
|
|
82
|
+
|
|
81
83
|
let encTodos = include.encTodos;
|
|
82
84
|
|
|
83
85
|
let encPair = include.encPair;
|
|
@@ -88,6 +90,10 @@ let thenNoCommand = include.thenNoCommand;
|
|
|
88
90
|
|
|
89
91
|
let givenEvents = include.givenEvents;
|
|
90
92
|
|
|
93
|
+
let atTime = include.atTime;
|
|
94
|
+
|
|
95
|
+
let latestRecorded = include.latestRecorded;
|
|
96
|
+
|
|
91
97
|
let routeAll = include.routeAll;
|
|
92
98
|
|
|
93
99
|
let sweep = include.sweep;
|
|
@@ -107,6 +113,7 @@ export {
|
|
|
107
113
|
describe,
|
|
108
114
|
test,
|
|
109
115
|
testContext,
|
|
116
|
+
withRecordedAt,
|
|
110
117
|
encTodos,
|
|
111
118
|
encPair,
|
|
112
119
|
thenTodos,
|
|
@@ -118,6 +125,8 @@ export {
|
|
|
118
125
|
thenCommand,
|
|
119
126
|
thenNoCommand,
|
|
120
127
|
givenEvents,
|
|
128
|
+
atTime,
|
|
129
|
+
latestRecorded,
|
|
121
130
|
routeAll,
|
|
122
131
|
sweep,
|
|
123
132
|
whenSweep,
|
|
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(1792107705272)
|
|
2
|
+
#Done(1792107707938)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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.277",
|
|
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,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"sury": "11.0.0",
|
|
24
|
-
"@reventlessdev/online-shop-dcb-
|
|
24
|
+
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.164",
|
|
25
25
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.23",
|
|
26
|
-
"@reventlessdev/reventless-gwt": "1.0.0-alpha.
|
|
27
|
-
"@reventlessdev/
|
|
28
|
-
"@reventlessdev/
|
|
29
|
-
"@reventlessdev/reventless-
|
|
30
|
-
"@reventlessdev/reventless-
|
|
26
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.243",
|
|
27
|
+
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.164",
|
|
28
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.192",
|
|
29
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.286",
|
|
30
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.164"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"rescript": "12.3.1",
|
|
@@ -48,7 +48,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
48
48
|
test("collect: OrderPlaced creates a pending TODO", () => thenTodos(whenCollect(givenEvent({
|
|
49
49
|
TAG: "OrderPlaced",
|
|
50
50
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
51
|
-
}), undefined, undefined), [[
|
|
51
|
+
}), undefined, undefined, undefined), [[
|
|
52
52
|
"o1",
|
|
53
53
|
{
|
|
54
54
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
@@ -57,7 +57,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
57
57
|
test("collect: OrderShipped is ignored (no TODO)", () => thenTodos(whenCollect(givenEvent({
|
|
58
58
|
TAG: "OrderShipped",
|
|
59
59
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
60
|
-
}), undefined, undefined), []));
|
|
60
|
+
}), undefined, undefined, undefined), []));
|
|
61
61
|
test("resolve: OrderShipped marks the TODO done", () => thenResolved(whenResolve(givenEvent({
|
|
62
62
|
TAG: "OrderShipped",
|
|
63
63
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
@@ -68,7 +68,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
68
68
|
})), undefined));
|
|
69
69
|
test("process: pending TODO emits ShipOrder for the same id", () => thenCommand(whenProcess(givenTodo("o1", {
|
|
70
70
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
71
|
-
})), "o1", {
|
|
71
|
+
}), undefined), "o1", {
|
|
72
72
|
TAG: "ShipOrder",
|
|
73
73
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
74
74
|
}));
|
|
@@ -78,6 +78,8 @@ let Route = include.Route;
|
|
|
78
78
|
|
|
79
79
|
let testContext = include.testContext;
|
|
80
80
|
|
|
81
|
+
let withRecordedAt = include.withRecordedAt;
|
|
82
|
+
|
|
81
83
|
let encTodos = include.encTodos;
|
|
82
84
|
|
|
83
85
|
let encPair = include.encPair;
|
|
@@ -88,6 +90,10 @@ let thenNoCommand = include.thenNoCommand;
|
|
|
88
90
|
|
|
89
91
|
let givenEvents = include.givenEvents;
|
|
90
92
|
|
|
93
|
+
let atTime = include.atTime;
|
|
94
|
+
|
|
95
|
+
let latestRecorded = include.latestRecorded;
|
|
96
|
+
|
|
91
97
|
let routeAll = include.routeAll;
|
|
92
98
|
|
|
93
99
|
let sweep = include.sweep;
|
|
@@ -107,6 +113,7 @@ export {
|
|
|
107
113
|
describe,
|
|
108
114
|
test,
|
|
109
115
|
testContext,
|
|
116
|
+
withRecordedAt,
|
|
110
117
|
encTodos,
|
|
111
118
|
encPair,
|
|
112
119
|
thenTodos,
|
|
@@ -118,6 +125,8 @@ export {
|
|
|
118
125
|
thenCommand,
|
|
119
126
|
thenNoCommand,
|
|
120
127
|
givenEvents,
|
|
128
|
+
atTime,
|
|
129
|
+
latestRecorded,
|
|
121
130
|
routeAll,
|
|
122
131
|
sweep,
|
|
123
132
|
whenSweep,
|