@reventlessdev/online-shop-hybrid-ordering 1.0.0-alpha.199 → 1.0.0-alpha.201
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
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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.201 (2026-08-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-hybrid-ordering
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 1.0.0-alpha.200 (2026-08-12)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **ppx:** let a field say [@owner](https://github.com/owner) instead of spelling out its schema ([3bb0a4b](https://github.com/ReventlessDev/reventless-core/commit/3bb0a4bf3e5823fa929815fbe6f47203ba7958d7))
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# 1.0.0-alpha.199 (2026-08-12)
|
|
7
22
|
|
|
8
23
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/online-shop-hybrid-ordering",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.201",
|
|
4
4
|
"description": "Online Shop Hybrid example — Ordering plugin (Customer aggregate + Order/CatalogProduct DCB)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"sury": "^11.0.0-alpha.4",
|
|
24
|
-
"@reventlessdev/online-shop-hybrid-catalog-spec": "1.0.0-alpha.
|
|
25
|
-
"@reventlessdev/online-shop-hybrid-ordering-spec": "1.0.0-alpha.
|
|
24
|
+
"@reventlessdev/online-shop-hybrid-catalog-spec": "1.0.0-alpha.107",
|
|
25
|
+
"@reventlessdev/online-shop-hybrid-ordering-spec": "1.0.0-alpha.107",
|
|
26
26
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.18",
|
|
27
|
-
"@reventlessdev/reventless-
|
|
28
|
-
"@reventlessdev/reventless-
|
|
29
|
-
"@reventlessdev/reventless-local": "3.0.0-alpha.
|
|
30
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.
|
|
27
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.174",
|
|
28
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.137",
|
|
29
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.215",
|
|
30
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.111"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"rescript": "12.3.0",
|
|
34
34
|
"sury-ppx": "11.0.0-alpha.2",
|
|
35
|
-
"@reventlessdev/reventless-ppx": "1.0.0-alpha.
|
|
35
|
+
"@reventlessdev/reventless-ppx": "1.0.0-alpha.66"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"rescript": "12.3.0"
|
|
@@ -26,7 +26,7 @@ type command =
|
|
|
26
26
|
// authenticated caller's id before the command is published, so what a
|
|
27
27
|
// client sends here is ignored rather than trusted. An operator placing an
|
|
28
28
|
// order on someone's behalf is exempt and keeps the value they sent.
|
|
29
|
-
@noDcbTag customerId:
|
|
29
|
+
@noDcbTag @owner customerId: string,
|
|
30
30
|
@ref("AvailableProducts") productIds: array<string>,
|
|
31
31
|
shippingMethod: shippingMethod,
|
|
32
32
|
// A requested delivery slot, chosen at checkout. An optional field — a
|
|
@@ -33,7 +33,7 @@ type state = {
|
|
|
33
33
|
// The order's owner. A shopper reading this view sees only the rows whose
|
|
34
34
|
// `customerId` matches their own identity; a caller in an elevated group sees
|
|
35
35
|
// every row. Enforced in the resolver, not by the client asking nicely.
|
|
36
|
-
customerId:
|
|
36
|
+
@owner customerId: string,
|
|
37
37
|
productIds: array<string>,
|
|
38
38
|
@status status: status,
|
|
39
39
|
shippingMethod: shippingMethod,
|