@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.243 → 1.0.0-alpha.244
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 +14 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/Category/StateChange/AddCategory-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/AddCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/ArchiveCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateChange/RenameCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateView/Categories-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateView/Categories-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Category/StateView/Categories_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Category/StateView/Categories_Projection-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_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/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.ast +0 -0
- package/lib/bs/src/Plugin.res +8 -0
- package/lib/bs/src/Plugin.res.mjs +16 -8
- package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/AddProduct_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductDescription_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductName_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChange/ChangeProductPrice_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateView/Products-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateView/Products-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateView/Products_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateView/Products_Projection-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand.ast +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand.res +2 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/ProductDemand/StateView/ProductDemand_Projection-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/StateChange/AddCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChange/AddCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChange/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChange/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateView/Categories_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateView/Categories_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_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/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/AddProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/AddProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateView/Products_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateView/Products_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/ProductDemand/StateView/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/ProductDemand/StateView/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/AddCategory-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddProduct-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddProduct_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ArchiveCategory-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ArchiveCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
- 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_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Categories_Projection-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/CategoryActivity_Projections-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryActivity_Projections-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductName-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductName_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductPrice-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductPrice_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/ImportProducts-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProducts-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/Plugin.ast +0 -0
- package/lib/ocaml/Plugin.res +8 -0
- package/lib/ocaml/ProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand-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/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_Projection-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_Projection-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/Products_Projection-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand.ast +0 -0
- package/lib/ocaml/RecordProductDemand.res +2 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RenameCategory-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RenameCategory_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory_Behavior-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
- package/package.json +8 -8
- package/src/Plugin.res +8 -0
- package/src/Plugin.res.mjs +16 -8
- package/src/ProductDemand/StateChange/RecordProductDemand.res +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.244 (2026-09-16)
|
|
7
|
+
|
|
8
|
+
* feat(spec)!: infer the DCB partition key per slice, and drop @partitionTag where inference agrees ([6c10161](https://github.com/ReventlessDev/reventless-core/commit/6c101611d438beea4bc9175ae8ea0ea1f6f7493b))
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **spec:** let a slice's chapter break a partition-key tie ([2b9ae77](https://github.com/ReventlessDev/reventless-core/commit/2b9ae77e98eb42177d2bdd4977bc62bb7c7911aa))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* DcbTag.derivePartitionTag is removed; a boundary whose
|
|
16
|
+
partition cannot be inferred no longer deploys.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
# 1.0.0-alpha.243 (2026-09-11)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-catalog
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1789592183102)
|
|
2
|
+
#Done(1789592186015)
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"bsc_hash": "75e3a59c95cc953608fd3dd6ea6ed68141bba4414a20a52f114261b8a48385fa",
|
|
5
5
|
"rescript_config_hash": "ca6bf04caf4f6b27dbf31b935f934d99c6fe59248cc8b122f9cc48ff2675eb4a",
|
|
6
6
|
"runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
|
|
7
|
-
"generated_at": "
|
|
7
|
+
"generated_at": "1789592186033"
|
|
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
|
package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmi
CHANGED
|
Binary file
|
package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmt
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/bs/src/Plugin.ast
CHANGED
|
Binary file
|
package/lib/bs/src/Plugin.res
CHANGED
|
@@ -8,48 +8,56 @@ let dcbSliceSchemas: array<Reventless.DcbTag.sliceSchemas> = [
|
|
|
8
8
|
commandSchema: AddCategory.commandSchema->S.castToUnknown,
|
|
9
9
|
consumedEventSchema: AddCategory.consumedEventSchema->S.castToUnknown,
|
|
10
10
|
eventSchema: AddCategory.eventSchema->S.castToUnknown,
|
|
11
|
+
moduleUrl: AddCategory.moduleUrl,
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
name: AddProduct.name,
|
|
14
15
|
commandSchema: AddProduct.commandSchema->S.castToUnknown,
|
|
15
16
|
consumedEventSchema: AddProduct.consumedEventSchema->S.castToUnknown,
|
|
16
17
|
eventSchema: AddProduct.eventSchema->S.castToUnknown,
|
|
18
|
+
moduleUrl: AddProduct.moduleUrl,
|
|
17
19
|
},
|
|
18
20
|
{
|
|
19
21
|
name: ArchiveCategory.name,
|
|
20
22
|
commandSchema: ArchiveCategory.commandSchema->S.castToUnknown,
|
|
21
23
|
consumedEventSchema: ArchiveCategory.consumedEventSchema->S.castToUnknown,
|
|
22
24
|
eventSchema: ArchiveCategory.eventSchema->S.castToUnknown,
|
|
25
|
+
moduleUrl: ArchiveCategory.moduleUrl,
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
28
|
name: ChangeProductDescription.name,
|
|
26
29
|
commandSchema: ChangeProductDescription.commandSchema->S.castToUnknown,
|
|
27
30
|
consumedEventSchema: ChangeProductDescription.consumedEventSchema->S.castToUnknown,
|
|
28
31
|
eventSchema: ChangeProductDescription.eventSchema->S.castToUnknown,
|
|
32
|
+
moduleUrl: ChangeProductDescription.moduleUrl,
|
|
29
33
|
},
|
|
30
34
|
{
|
|
31
35
|
name: ChangeProductName.name,
|
|
32
36
|
commandSchema: ChangeProductName.commandSchema->S.castToUnknown,
|
|
33
37
|
consumedEventSchema: ChangeProductName.consumedEventSchema->S.castToUnknown,
|
|
34
38
|
eventSchema: ChangeProductName.eventSchema->S.castToUnknown,
|
|
39
|
+
moduleUrl: ChangeProductName.moduleUrl,
|
|
35
40
|
},
|
|
36
41
|
{
|
|
37
42
|
name: ChangeProductPrice.name,
|
|
38
43
|
commandSchema: ChangeProductPrice.commandSchema->S.castToUnknown,
|
|
39
44
|
consumedEventSchema: ChangeProductPrice.consumedEventSchema->S.castToUnknown,
|
|
40
45
|
eventSchema: ChangeProductPrice.eventSchema->S.castToUnknown,
|
|
46
|
+
moduleUrl: ChangeProductPrice.moduleUrl,
|
|
41
47
|
},
|
|
42
48
|
{
|
|
43
49
|
name: RecordProductDemand.name,
|
|
44
50
|
commandSchema: RecordProductDemand.commandSchema->S.castToUnknown,
|
|
45
51
|
consumedEventSchema: RecordProductDemand.consumedEventSchema->S.castToUnknown,
|
|
46
52
|
eventSchema: RecordProductDemand.eventSchema->S.castToUnknown,
|
|
53
|
+
moduleUrl: RecordProductDemand.moduleUrl,
|
|
47
54
|
},
|
|
48
55
|
{
|
|
49
56
|
name: RenameCategory.name,
|
|
50
57
|
commandSchema: RenameCategory.commandSchema->S.castToUnknown,
|
|
51
58
|
consumedEventSchema: RenameCategory.consumedEventSchema->S.castToUnknown,
|
|
52
59
|
eventSchema: RenameCategory.eventSchema->S.castToUnknown,
|
|
60
|
+
moduleUrl: RenameCategory.moduleUrl,
|
|
53
61
|
},
|
|
54
62
|
]
|
|
55
63
|
|
|
@@ -40,49 +40,57 @@ let dcbSliceSchemas = [
|
|
|
40
40
|
name: AddCategory$CatalogPlugin.name,
|
|
41
41
|
commandSchema: AddCategory$CatalogPlugin.commandSchema,
|
|
42
42
|
consumedEventSchema: AddCategory$CatalogPlugin.consumedEventSchema,
|
|
43
|
-
eventSchema: AddCategory$CatalogPlugin.eventSchema
|
|
43
|
+
eventSchema: AddCategory$CatalogPlugin.eventSchema,
|
|
44
|
+
moduleUrl: AddCategory$CatalogPlugin.moduleUrl
|
|
44
45
|
},
|
|
45
46
|
{
|
|
46
47
|
name: AddProduct$CatalogPlugin.name,
|
|
47
48
|
commandSchema: AddProduct$CatalogPlugin.commandSchema,
|
|
48
49
|
consumedEventSchema: AddProduct$CatalogPlugin.consumedEventSchema,
|
|
49
|
-
eventSchema: AddProduct$CatalogPlugin.eventSchema
|
|
50
|
+
eventSchema: AddProduct$CatalogPlugin.eventSchema,
|
|
51
|
+
moduleUrl: AddProduct$CatalogPlugin.moduleUrl
|
|
50
52
|
},
|
|
51
53
|
{
|
|
52
54
|
name: ArchiveCategory$CatalogPlugin.name,
|
|
53
55
|
commandSchema: ArchiveCategory$CatalogPlugin.commandSchema,
|
|
54
56
|
consumedEventSchema: ArchiveCategory$CatalogPlugin.consumedEventSchema,
|
|
55
|
-
eventSchema: ArchiveCategory$CatalogPlugin.eventSchema
|
|
57
|
+
eventSchema: ArchiveCategory$CatalogPlugin.eventSchema,
|
|
58
|
+
moduleUrl: ArchiveCategory$CatalogPlugin.moduleUrl
|
|
56
59
|
},
|
|
57
60
|
{
|
|
58
61
|
name: ChangeProductDescription$CatalogPlugin.name,
|
|
59
62
|
commandSchema: ChangeProductDescription$CatalogPlugin.commandSchema,
|
|
60
63
|
consumedEventSchema: ChangeProductDescription$CatalogPlugin.consumedEventSchema,
|
|
61
|
-
eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema
|
|
64
|
+
eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema,
|
|
65
|
+
moduleUrl: ChangeProductDescription$CatalogPlugin.moduleUrl
|
|
62
66
|
},
|
|
63
67
|
{
|
|
64
68
|
name: ChangeProductName$CatalogPlugin.name,
|
|
65
69
|
commandSchema: ChangeProductName$CatalogPlugin.commandSchema,
|
|
66
70
|
consumedEventSchema: ChangeProductName$CatalogPlugin.consumedEventSchema,
|
|
67
|
-
eventSchema: ChangeProductName$CatalogPlugin.eventSchema
|
|
71
|
+
eventSchema: ChangeProductName$CatalogPlugin.eventSchema,
|
|
72
|
+
moduleUrl: ChangeProductName$CatalogPlugin.moduleUrl
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
name: ChangeProductPrice$CatalogPlugin.name,
|
|
71
76
|
commandSchema: ChangeProductPrice$CatalogPlugin.commandSchema,
|
|
72
77
|
consumedEventSchema: ChangeProductPrice$CatalogPlugin.consumedEventSchema,
|
|
73
|
-
eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema
|
|
78
|
+
eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema,
|
|
79
|
+
moduleUrl: ChangeProductPrice$CatalogPlugin.moduleUrl
|
|
74
80
|
},
|
|
75
81
|
{
|
|
76
82
|
name: RecordProductDemand$CatalogPlugin.name,
|
|
77
83
|
commandSchema: RecordProductDemand$CatalogPlugin.commandSchema,
|
|
78
84
|
consumedEventSchema: RecordProductDemand$CatalogPlugin.consumedEventSchema,
|
|
79
|
-
eventSchema: RecordProductDemand$CatalogPlugin.eventSchema
|
|
85
|
+
eventSchema: RecordProductDemand$CatalogPlugin.eventSchema,
|
|
86
|
+
moduleUrl: RecordProductDemand$CatalogPlugin.moduleUrl
|
|
80
87
|
},
|
|
81
88
|
{
|
|
82
89
|
name: RenameCategory$CatalogPlugin.name,
|
|
83
90
|
commandSchema: RenameCategory$CatalogPlugin.commandSchema,
|
|
84
91
|
consumedEventSchema: RenameCategory$CatalogPlugin.consumedEventSchema,
|
|
85
|
-
eventSchema: RenameCategory$CatalogPlugin.eventSchema
|
|
92
|
+
eventSchema: RenameCategory$CatalogPlugin.eventSchema,
|
|
93
|
+
moduleUrl: RenameCategory$CatalogPlugin.moduleUrl
|
|
86
94
|
}
|
|
87
95
|
];
|
|
88
96
|
|
|
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
|
|
@@ -18,5 +18,7 @@ type error = unit // always succeeds — demand recording is idempotent
|
|
|
18
18
|
|
|
19
19
|
@schema
|
|
20
20
|
type event =
|
|
21
|
+
// A join: product and order are both this slice's own ids. Only the domain says
|
|
22
|
+
// demand is counted per product, so inference cannot choose.
|
|
21
23
|
| ProductDemandRecorded({@partitionTag productId: string, orderId: string})
|
|
22
24
|
| ProductDemandRevoked({@partitionTag productId: string, orderId: string})
|
|
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/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1789592183102)
|
|
2
|
+
#Done(1789592186015)
|
|
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
|
|
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/Plugin.ast
CHANGED
|
Binary file
|
package/lib/ocaml/Plugin.res
CHANGED
|
@@ -8,48 +8,56 @@ let dcbSliceSchemas: array<Reventless.DcbTag.sliceSchemas> = [
|
|
|
8
8
|
commandSchema: AddCategory.commandSchema->S.castToUnknown,
|
|
9
9
|
consumedEventSchema: AddCategory.consumedEventSchema->S.castToUnknown,
|
|
10
10
|
eventSchema: AddCategory.eventSchema->S.castToUnknown,
|
|
11
|
+
moduleUrl: AddCategory.moduleUrl,
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
name: AddProduct.name,
|
|
14
15
|
commandSchema: AddProduct.commandSchema->S.castToUnknown,
|
|
15
16
|
consumedEventSchema: AddProduct.consumedEventSchema->S.castToUnknown,
|
|
16
17
|
eventSchema: AddProduct.eventSchema->S.castToUnknown,
|
|
18
|
+
moduleUrl: AddProduct.moduleUrl,
|
|
17
19
|
},
|
|
18
20
|
{
|
|
19
21
|
name: ArchiveCategory.name,
|
|
20
22
|
commandSchema: ArchiveCategory.commandSchema->S.castToUnknown,
|
|
21
23
|
consumedEventSchema: ArchiveCategory.consumedEventSchema->S.castToUnknown,
|
|
22
24
|
eventSchema: ArchiveCategory.eventSchema->S.castToUnknown,
|
|
25
|
+
moduleUrl: ArchiveCategory.moduleUrl,
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
28
|
name: ChangeProductDescription.name,
|
|
26
29
|
commandSchema: ChangeProductDescription.commandSchema->S.castToUnknown,
|
|
27
30
|
consumedEventSchema: ChangeProductDescription.consumedEventSchema->S.castToUnknown,
|
|
28
31
|
eventSchema: ChangeProductDescription.eventSchema->S.castToUnknown,
|
|
32
|
+
moduleUrl: ChangeProductDescription.moduleUrl,
|
|
29
33
|
},
|
|
30
34
|
{
|
|
31
35
|
name: ChangeProductName.name,
|
|
32
36
|
commandSchema: ChangeProductName.commandSchema->S.castToUnknown,
|
|
33
37
|
consumedEventSchema: ChangeProductName.consumedEventSchema->S.castToUnknown,
|
|
34
38
|
eventSchema: ChangeProductName.eventSchema->S.castToUnknown,
|
|
39
|
+
moduleUrl: ChangeProductName.moduleUrl,
|
|
35
40
|
},
|
|
36
41
|
{
|
|
37
42
|
name: ChangeProductPrice.name,
|
|
38
43
|
commandSchema: ChangeProductPrice.commandSchema->S.castToUnknown,
|
|
39
44
|
consumedEventSchema: ChangeProductPrice.consumedEventSchema->S.castToUnknown,
|
|
40
45
|
eventSchema: ChangeProductPrice.eventSchema->S.castToUnknown,
|
|
46
|
+
moduleUrl: ChangeProductPrice.moduleUrl,
|
|
41
47
|
},
|
|
42
48
|
{
|
|
43
49
|
name: RecordProductDemand.name,
|
|
44
50
|
commandSchema: RecordProductDemand.commandSchema->S.castToUnknown,
|
|
45
51
|
consumedEventSchema: RecordProductDemand.consumedEventSchema->S.castToUnknown,
|
|
46
52
|
eventSchema: RecordProductDemand.eventSchema->S.castToUnknown,
|
|
53
|
+
moduleUrl: RecordProductDemand.moduleUrl,
|
|
47
54
|
},
|
|
48
55
|
{
|
|
49
56
|
name: RenameCategory.name,
|
|
50
57
|
commandSchema: RenameCategory.commandSchema->S.castToUnknown,
|
|
51
58
|
consumedEventSchema: RenameCategory.consumedEventSchema->S.castToUnknown,
|
|
52
59
|
eventSchema: RenameCategory.eventSchema->S.castToUnknown,
|
|
60
|
+
moduleUrl: RenameCategory.moduleUrl,
|
|
53
61
|
},
|
|
54
62
|
]
|
|
55
63
|
|
|
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
|
|
@@ -18,5 +18,7 @@ type error = unit // always succeeds — demand recording is idempotent
|
|
|
18
18
|
|
|
19
19
|
@schema
|
|
20
20
|
type event =
|
|
21
|
+
// A join: product and order are both this slice's own ids. Only the domain says
|
|
22
|
+
// demand is counted per product, so inference cannot choose.
|
|
21
23
|
| ProductDemandRecorded({@partitionTag productId: string, orderId: string})
|
|
22
24
|
| ProductDemandRevoked({@partitionTag productId: string, orderId: string})
|
|
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-catalog",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.244",
|
|
4
4
|
"description": "Online Shop example — Catalog bounded context (Product & Category) 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-rc.2",
|
|
24
|
-
"@reventlessdev/
|
|
25
|
-
"@reventlessdev/
|
|
26
|
-
"@reventlessdev/
|
|
27
|
-
"@reventlessdev/
|
|
28
|
-
"@reventlessdev/reventless-infra": "3.0.0-alpha.
|
|
29
|
-
"@reventlessdev/reventless-local": "3.0.0-alpha.
|
|
30
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.
|
|
24
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.210",
|
|
25
|
+
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.136",
|
|
26
|
+
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.136",
|
|
27
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.21",
|
|
28
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.164",
|
|
29
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.252",
|
|
30
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.136"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"rescript": "12.3.0",
|
package/src/Plugin.res
CHANGED
|
@@ -8,48 +8,56 @@ let dcbSliceSchemas: array<Reventless.DcbTag.sliceSchemas> = [
|
|
|
8
8
|
commandSchema: AddCategory.commandSchema->S.castToUnknown,
|
|
9
9
|
consumedEventSchema: AddCategory.consumedEventSchema->S.castToUnknown,
|
|
10
10
|
eventSchema: AddCategory.eventSchema->S.castToUnknown,
|
|
11
|
+
moduleUrl: AddCategory.moduleUrl,
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
name: AddProduct.name,
|
|
14
15
|
commandSchema: AddProduct.commandSchema->S.castToUnknown,
|
|
15
16
|
consumedEventSchema: AddProduct.consumedEventSchema->S.castToUnknown,
|
|
16
17
|
eventSchema: AddProduct.eventSchema->S.castToUnknown,
|
|
18
|
+
moduleUrl: AddProduct.moduleUrl,
|
|
17
19
|
},
|
|
18
20
|
{
|
|
19
21
|
name: ArchiveCategory.name,
|
|
20
22
|
commandSchema: ArchiveCategory.commandSchema->S.castToUnknown,
|
|
21
23
|
consumedEventSchema: ArchiveCategory.consumedEventSchema->S.castToUnknown,
|
|
22
24
|
eventSchema: ArchiveCategory.eventSchema->S.castToUnknown,
|
|
25
|
+
moduleUrl: ArchiveCategory.moduleUrl,
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
28
|
name: ChangeProductDescription.name,
|
|
26
29
|
commandSchema: ChangeProductDescription.commandSchema->S.castToUnknown,
|
|
27
30
|
consumedEventSchema: ChangeProductDescription.consumedEventSchema->S.castToUnknown,
|
|
28
31
|
eventSchema: ChangeProductDescription.eventSchema->S.castToUnknown,
|
|
32
|
+
moduleUrl: ChangeProductDescription.moduleUrl,
|
|
29
33
|
},
|
|
30
34
|
{
|
|
31
35
|
name: ChangeProductName.name,
|
|
32
36
|
commandSchema: ChangeProductName.commandSchema->S.castToUnknown,
|
|
33
37
|
consumedEventSchema: ChangeProductName.consumedEventSchema->S.castToUnknown,
|
|
34
38
|
eventSchema: ChangeProductName.eventSchema->S.castToUnknown,
|
|
39
|
+
moduleUrl: ChangeProductName.moduleUrl,
|
|
35
40
|
},
|
|
36
41
|
{
|
|
37
42
|
name: ChangeProductPrice.name,
|
|
38
43
|
commandSchema: ChangeProductPrice.commandSchema->S.castToUnknown,
|
|
39
44
|
consumedEventSchema: ChangeProductPrice.consumedEventSchema->S.castToUnknown,
|
|
40
45
|
eventSchema: ChangeProductPrice.eventSchema->S.castToUnknown,
|
|
46
|
+
moduleUrl: ChangeProductPrice.moduleUrl,
|
|
41
47
|
},
|
|
42
48
|
{
|
|
43
49
|
name: RecordProductDemand.name,
|
|
44
50
|
commandSchema: RecordProductDemand.commandSchema->S.castToUnknown,
|
|
45
51
|
consumedEventSchema: RecordProductDemand.consumedEventSchema->S.castToUnknown,
|
|
46
52
|
eventSchema: RecordProductDemand.eventSchema->S.castToUnknown,
|
|
53
|
+
moduleUrl: RecordProductDemand.moduleUrl,
|
|
47
54
|
},
|
|
48
55
|
{
|
|
49
56
|
name: RenameCategory.name,
|
|
50
57
|
commandSchema: RenameCategory.commandSchema->S.castToUnknown,
|
|
51
58
|
consumedEventSchema: RenameCategory.consumedEventSchema->S.castToUnknown,
|
|
52
59
|
eventSchema: RenameCategory.eventSchema->S.castToUnknown,
|
|
60
|
+
moduleUrl: RenameCategory.moduleUrl,
|
|
53
61
|
},
|
|
54
62
|
]
|
|
55
63
|
|
package/src/Plugin.res.mjs
CHANGED
|
@@ -40,49 +40,57 @@ let dcbSliceSchemas = [
|
|
|
40
40
|
name: AddCategory$CatalogPlugin.name,
|
|
41
41
|
commandSchema: AddCategory$CatalogPlugin.commandSchema,
|
|
42
42
|
consumedEventSchema: AddCategory$CatalogPlugin.consumedEventSchema,
|
|
43
|
-
eventSchema: AddCategory$CatalogPlugin.eventSchema
|
|
43
|
+
eventSchema: AddCategory$CatalogPlugin.eventSchema,
|
|
44
|
+
moduleUrl: AddCategory$CatalogPlugin.moduleUrl
|
|
44
45
|
},
|
|
45
46
|
{
|
|
46
47
|
name: AddProduct$CatalogPlugin.name,
|
|
47
48
|
commandSchema: AddProduct$CatalogPlugin.commandSchema,
|
|
48
49
|
consumedEventSchema: AddProduct$CatalogPlugin.consumedEventSchema,
|
|
49
|
-
eventSchema: AddProduct$CatalogPlugin.eventSchema
|
|
50
|
+
eventSchema: AddProduct$CatalogPlugin.eventSchema,
|
|
51
|
+
moduleUrl: AddProduct$CatalogPlugin.moduleUrl
|
|
50
52
|
},
|
|
51
53
|
{
|
|
52
54
|
name: ArchiveCategory$CatalogPlugin.name,
|
|
53
55
|
commandSchema: ArchiveCategory$CatalogPlugin.commandSchema,
|
|
54
56
|
consumedEventSchema: ArchiveCategory$CatalogPlugin.consumedEventSchema,
|
|
55
|
-
eventSchema: ArchiveCategory$CatalogPlugin.eventSchema
|
|
57
|
+
eventSchema: ArchiveCategory$CatalogPlugin.eventSchema,
|
|
58
|
+
moduleUrl: ArchiveCategory$CatalogPlugin.moduleUrl
|
|
56
59
|
},
|
|
57
60
|
{
|
|
58
61
|
name: ChangeProductDescription$CatalogPlugin.name,
|
|
59
62
|
commandSchema: ChangeProductDescription$CatalogPlugin.commandSchema,
|
|
60
63
|
consumedEventSchema: ChangeProductDescription$CatalogPlugin.consumedEventSchema,
|
|
61
|
-
eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema
|
|
64
|
+
eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema,
|
|
65
|
+
moduleUrl: ChangeProductDescription$CatalogPlugin.moduleUrl
|
|
62
66
|
},
|
|
63
67
|
{
|
|
64
68
|
name: ChangeProductName$CatalogPlugin.name,
|
|
65
69
|
commandSchema: ChangeProductName$CatalogPlugin.commandSchema,
|
|
66
70
|
consumedEventSchema: ChangeProductName$CatalogPlugin.consumedEventSchema,
|
|
67
|
-
eventSchema: ChangeProductName$CatalogPlugin.eventSchema
|
|
71
|
+
eventSchema: ChangeProductName$CatalogPlugin.eventSchema,
|
|
72
|
+
moduleUrl: ChangeProductName$CatalogPlugin.moduleUrl
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
name: ChangeProductPrice$CatalogPlugin.name,
|
|
71
76
|
commandSchema: ChangeProductPrice$CatalogPlugin.commandSchema,
|
|
72
77
|
consumedEventSchema: ChangeProductPrice$CatalogPlugin.consumedEventSchema,
|
|
73
|
-
eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema
|
|
78
|
+
eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema,
|
|
79
|
+
moduleUrl: ChangeProductPrice$CatalogPlugin.moduleUrl
|
|
74
80
|
},
|
|
75
81
|
{
|
|
76
82
|
name: RecordProductDemand$CatalogPlugin.name,
|
|
77
83
|
commandSchema: RecordProductDemand$CatalogPlugin.commandSchema,
|
|
78
84
|
consumedEventSchema: RecordProductDemand$CatalogPlugin.consumedEventSchema,
|
|
79
|
-
eventSchema: RecordProductDemand$CatalogPlugin.eventSchema
|
|
85
|
+
eventSchema: RecordProductDemand$CatalogPlugin.eventSchema,
|
|
86
|
+
moduleUrl: RecordProductDemand$CatalogPlugin.moduleUrl
|
|
80
87
|
},
|
|
81
88
|
{
|
|
82
89
|
name: RenameCategory$CatalogPlugin.name,
|
|
83
90
|
commandSchema: RenameCategory$CatalogPlugin.commandSchema,
|
|
84
91
|
consumedEventSchema: RenameCategory$CatalogPlugin.consumedEventSchema,
|
|
85
|
-
eventSchema: RenameCategory$CatalogPlugin.eventSchema
|
|
92
|
+
eventSchema: RenameCategory$CatalogPlugin.eventSchema,
|
|
93
|
+
moduleUrl: RenameCategory$CatalogPlugin.moduleUrl
|
|
86
94
|
}
|
|
87
95
|
];
|
|
88
96
|
|
|
@@ -18,5 +18,7 @@ type error = unit // always succeeds — demand recording is idempotent
|
|
|
18
18
|
|
|
19
19
|
@schema
|
|
20
20
|
type event =
|
|
21
|
+
// A join: product and order are both this slice's own ids. Only the domain says
|
|
22
|
+
// demand is counted per product, so inference cannot choose.
|
|
21
23
|
| ProductDemandRecorded({@partitionTag productId: string, orderId: string})
|
|
22
24
|
| ProductDemandRevoked({@partitionTag productId: string, orderId: string})
|