@reventlessdev/online-shop-aggregates-catalog 3.0.0-alpha.245 → 3.0.0-alpha.247
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 +3 -3
- package/lib/bs/src/Category/Aggregate/Category-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/Aggregate/Category-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/Aggregate/Category.ast +0 -0
- package/lib/bs/src/Category/Aggregate/Category_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/Aggregate/Category_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/CategoryId-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/CategoryId-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/ReadModel/Categories-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/ReadModel/Categories-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/ReadModel/Categories.res.mjs +1 -1
- package/lib/bs/src/Category/ReadModel/Categories_Projections-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/ReadModel/Categories_Projections-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ExtensionPoint/Products_ExtensionPointMapping-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ExtensionPoint/Products_ExtensionPointMapping-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/LifecycleModel-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/LifecycleModel-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/Aggregate/Product-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/Aggregate/Product-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/Aggregate/Product.ast +0 -0
- package/lib/bs/src/Product/Aggregate/Product.res.mjs +4 -4
- package/lib/bs/src/Product/Aggregate/Product_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/Aggregate/Product_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/Aggregate/Product_Behavior.res.mjs +1 -1
- package/lib/bs/src/Product/ReadModel/Products-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/ReadModel/Products-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/ReadModel/Products.res.mjs +1 -1
- package/lib/bs/src/Product/ReadModel/Products_Projections-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/ReadModel/Products_Projections-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/Aggregate/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/Aggregate/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/Aggregate/ProductDemand.ast +0 -0
- package/lib/bs/src/ProductDemand/Aggregate/ProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/Aggregate/ProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/ReadModel/ProductDemands-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/ReadModel/ProductDemands-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/ReadModel/ProductDemands.res.mjs +1 -1
- package/lib/bs/src/ProductDemand/ReadModel/ProductDemands_Projections-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/ReadModel/ProductDemands_Projections-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/Aggregate/Category_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/Aggregate/Category_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/ReadModel/Categories_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/ReadModel/Categories_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/Aggregate/Product_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/Aggregate/Product_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/ReadModel/Products_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/ReadModel/Products_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/Aggregate/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/Aggregate/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/ReadModel/ProductDemands_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/ReadModel/ProductDemands_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/Categories-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Categories_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Categories_Projections-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories_Projections-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Category-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Category-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Category.ast +0 -0
- package/lib/ocaml/CategoryId-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryId-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Category_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Category_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Category_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Category_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/LifecycleModel-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/LifecycleModel-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Extension-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Extension-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Product-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Product-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Product.ast +0 -0
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand.ast +0 -0
- package/lib/ocaml/ProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemands-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemands-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemands_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemands_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ProductDemands_Projections-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemands_Projections-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Product_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Product_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Product_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Product_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/Products_Projections-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_Projections-CatalogPlugin.cmt +0 -0
- package/package.json +12 -12
- package/src/Category/ReadModel/Categories.res.mjs +1 -1
- package/src/Product/Aggregate/Product.res.mjs +4 -4
- package/src/Product/Aggregate/Product_Behavior.res.mjs +1 -1
- package/src/Product/ReadModel/Products.res.mjs +1 -1
- package/src/ProductDemand/ReadModel/ProductDemands.res.mjs +1 -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.247 (2026-09-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **deps:** update rescript to 12.3.1 ([ea1ce37](https://github.com/ReventlessDev/reventless-core/commit/ea1ce377297640f6d0d360e6c84c778d59ecbcc5))
|
|
11
|
+
* **deps:** update sury to 11.0.0 ([8715b22](https://github.com/ReventlessDev/reventless-core/commit/8715b22b33856c46ba57518aad151065c123a995))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 3.0.0-alpha.246 (2026-09-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-aggregates-catalog
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# 3.0.0-alpha.245 (2026-09-21)
|
|
7
23
|
|
|
8
24
|
### Features
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1790002876068)
|
|
2
|
+
#Done(1790002882110)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "12.3.
|
|
2
|
+
"version": "12.3.1",
|
|
3
3
|
"bsc_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/linux-x64/bin/bsc.exe",
|
|
4
|
-
"bsc_hash": "
|
|
4
|
+
"bsc_hash": "1006241435e8d5052329c523202a7fe6359a37e1e1688c023d37d6a7ebb5fb6d",
|
|
5
5
|
"rescript_config_hash": "50d5358a2cbe328e82ae9b442e4615b86dbfe6b2ce05e9eca04a0c78da0e4708",
|
|
6
6
|
"runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
|
|
7
|
-
"generated_at": "
|
|
7
|
+
"generated_at": "1790002882112"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ import * as ReadModel$Reventless from "@reventlessdev/reventless-spec/src/compon
|
|
|
5
5
|
|
|
6
6
|
let stateSchema = Sury.$schema(s => ({
|
|
7
7
|
name: s.m(Sury.string),
|
|
8
|
-
archived: s.m(Sury.
|
|
8
|
+
archived: s.m(Sury.boolean)
|
|
9
9
|
}));
|
|
10
10
|
|
|
11
11
|
let config = ReadModel$Reventless.config(undefined, undefined, undefined);
|
|
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
|
|
@@ -8,7 +8,7 @@ let commandSchema = Sury.union([
|
|
|
8
8
|
TAG: "Add",
|
|
9
9
|
name: s.m(Sury.string),
|
|
10
10
|
description: s.m(Sury.string),
|
|
11
|
-
price: s.m(Sury.
|
|
11
|
+
price: s.m(Sury.number),
|
|
12
12
|
imageUrl: s.m(StorageRef$Reventless.forStore(undefined, "productImages"))
|
|
13
13
|
})),
|
|
14
14
|
Sury.$schema(s => ({
|
|
@@ -21,7 +21,7 @@ let commandSchema = Sury.union([
|
|
|
21
21
|
})),
|
|
22
22
|
Sury.$schema(s => ({
|
|
23
23
|
TAG: "UpdatePrice",
|
|
24
|
-
price: s.m(Sury.
|
|
24
|
+
price: s.m(Sury.number)
|
|
25
25
|
})),
|
|
26
26
|
Sury.$schema(s => ({
|
|
27
27
|
TAG: "UpdateImage",
|
|
@@ -34,7 +34,7 @@ let eventSchema = Sury.union([
|
|
|
34
34
|
TAG: "Added",
|
|
35
35
|
name: s.m(Sury.string),
|
|
36
36
|
description: s.m(Sury.string),
|
|
37
|
-
price: s.m(Sury.
|
|
37
|
+
price: s.m(Sury.number),
|
|
38
38
|
imageUrl: s.m(StorageRef$Reventless.forStore(undefined, "productImages"))
|
|
39
39
|
})),
|
|
40
40
|
Sury.$schema(s => ({
|
|
@@ -47,7 +47,7 @@ let eventSchema = Sury.union([
|
|
|
47
47
|
})),
|
|
48
48
|
Sury.$schema(s => ({
|
|
49
49
|
TAG: "PriceUpdated",
|
|
50
|
-
price: s.m(Sury.
|
|
50
|
+
price: s.m(Sury.number)
|
|
51
51
|
})),
|
|
52
52
|
Sury.$schema(s => ({
|
|
53
53
|
TAG: "ImageUpdated",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,7 +7,7 @@ import * as StorageRef$Reventless from "@reventlessdev/reventless-spec/src/seman
|
|
|
7
7
|
let stateSchema = Sury.$schema(s => ({
|
|
8
8
|
name: s.m(Sury.string),
|
|
9
9
|
description: s.m(Sury.string),
|
|
10
|
-
price: s.m(Sury.
|
|
10
|
+
price: s.m(Sury.number),
|
|
11
11
|
imageUrl: s.m(StorageRef$Reventless.forStore(undefined, "productImages"))
|
|
12
12
|
}));
|
|
13
13
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ import * as ReadModel$Reventless from "@reventlessdev/reventless-spec/src/compon
|
|
|
5
5
|
|
|
6
6
|
let stateSchema = Sury.$schema(s => ({
|
|
7
7
|
name: s.m(Sury.string),
|
|
8
|
-
orderCount: s.m(Sury.
|
|
8
|
+
orderCount: s.m(Sury.int32)
|
|
9
9
|
}));
|
|
10
10
|
|
|
11
11
|
let config = ReadModel$Reventless.config(undefined, undefined, undefined);
|
|
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(1790002876068)
|
|
2
|
+
#Done(1790002882110)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/Category.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
|
package/lib/ocaml/Product.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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/online-shop-aggregates-catalog",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.247",
|
|
4
4
|
"description": "Online Shop example — Catalog plugin (Product & Category aggregates)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -20,22 +20,22 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"sury": "11.0.0
|
|
24
|
-
"@reventlessdev/
|
|
25
|
-
"@reventlessdev/
|
|
26
|
-
"@reventlessdev/
|
|
27
|
-
"@reventlessdev/reventless-infra": "3.0.0-alpha.
|
|
28
|
-
"@reventlessdev/
|
|
29
|
-
"@reventlessdev/reventless-
|
|
30
|
-
"@reventlessdev/reventless-
|
|
23
|
+
"sury": "11.0.0",
|
|
24
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.216",
|
|
25
|
+
"@reventlessdev/online-shop-aggregates-ordering-spec": "3.0.0-alpha.140",
|
|
26
|
+
"@reventlessdev/online-shop-aggregates-catalog-spec": "3.0.0-alpha.140",
|
|
27
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.169",
|
|
28
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22",
|
|
29
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.141",
|
|
30
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.259"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"rescript": "12.3.
|
|
34
|
-
"sury-ppx": "11.0.0
|
|
33
|
+
"rescript": "12.3.1",
|
|
34
|
+
"sury-ppx": "11.0.0",
|
|
35
35
|
"@reventlessdev/reventless-ppx": "1.0.0-alpha.81"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"rescript": "12.3.
|
|
38
|
+
"rescript": "^12.3.1"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"registry": "https://registry.npmjs.org"
|
|
@@ -5,7 +5,7 @@ import * as ReadModel$Reventless from "@reventlessdev/reventless-spec/src/compon
|
|
|
5
5
|
|
|
6
6
|
let stateSchema = Sury.$schema(s => ({
|
|
7
7
|
name: s.m(Sury.string),
|
|
8
|
-
archived: s.m(Sury.
|
|
8
|
+
archived: s.m(Sury.boolean)
|
|
9
9
|
}));
|
|
10
10
|
|
|
11
11
|
let config = ReadModel$Reventless.config(undefined, undefined, undefined);
|
|
@@ -8,7 +8,7 @@ let commandSchema = Sury.union([
|
|
|
8
8
|
TAG: "Add",
|
|
9
9
|
name: s.m(Sury.string),
|
|
10
10
|
description: s.m(Sury.string),
|
|
11
|
-
price: s.m(Sury.
|
|
11
|
+
price: s.m(Sury.number),
|
|
12
12
|
imageUrl: s.m(StorageRef$Reventless.forStore(undefined, "productImages"))
|
|
13
13
|
})),
|
|
14
14
|
Sury.$schema(s => ({
|
|
@@ -21,7 +21,7 @@ let commandSchema = Sury.union([
|
|
|
21
21
|
})),
|
|
22
22
|
Sury.$schema(s => ({
|
|
23
23
|
TAG: "UpdatePrice",
|
|
24
|
-
price: s.m(Sury.
|
|
24
|
+
price: s.m(Sury.number)
|
|
25
25
|
})),
|
|
26
26
|
Sury.$schema(s => ({
|
|
27
27
|
TAG: "UpdateImage",
|
|
@@ -34,7 +34,7 @@ let eventSchema = Sury.union([
|
|
|
34
34
|
TAG: "Added",
|
|
35
35
|
name: s.m(Sury.string),
|
|
36
36
|
description: s.m(Sury.string),
|
|
37
|
-
price: s.m(Sury.
|
|
37
|
+
price: s.m(Sury.number),
|
|
38
38
|
imageUrl: s.m(StorageRef$Reventless.forStore(undefined, "productImages"))
|
|
39
39
|
})),
|
|
40
40
|
Sury.$schema(s => ({
|
|
@@ -47,7 +47,7 @@ let eventSchema = Sury.union([
|
|
|
47
47
|
})),
|
|
48
48
|
Sury.$schema(s => ({
|
|
49
49
|
TAG: "PriceUpdated",
|
|
50
|
-
price: s.m(Sury.
|
|
50
|
+
price: s.m(Sury.number)
|
|
51
51
|
})),
|
|
52
52
|
Sury.$schema(s => ({
|
|
53
53
|
TAG: "ImageUpdated",
|
|
@@ -7,7 +7,7 @@ import * as StorageRef$Reventless from "@reventlessdev/reventless-spec/src/seman
|
|
|
7
7
|
let stateSchema = Sury.$schema(s => ({
|
|
8
8
|
name: s.m(Sury.string),
|
|
9
9
|
description: s.m(Sury.string),
|
|
10
|
-
price: s.m(Sury.
|
|
10
|
+
price: s.m(Sury.number),
|
|
11
11
|
imageUrl: s.m(StorageRef$Reventless.forStore(undefined, "productImages"))
|
|
12
12
|
}));
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@ import * as ReadModel$Reventless from "@reventlessdev/reventless-spec/src/compon
|
|
|
5
5
|
|
|
6
6
|
let stateSchema = Sury.$schema(s => ({
|
|
7
7
|
name: s.m(Sury.string),
|
|
8
|
-
orderCount: s.m(Sury.
|
|
8
|
+
orderCount: s.m(Sury.int32)
|
|
9
9
|
}));
|
|
10
10
|
|
|
11
11
|
let config = ReadModel$Reventless.config(undefined, undefined, undefined);
|