@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.104 → 1.0.0-alpha.106
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 +15 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- 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/Plugin-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.res.mjs +1 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct.ast +0 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct.res +3 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct.res.mjs +3 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmt +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand.ast +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand.res +1 -3
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
- package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-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/StateChangeSlice/AddCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChangeSlice/AddCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChangeSlice/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChangeSlice/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateChangeSlice/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateChangeSlice/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Category/StateViewSlice/Categories_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Category/StateViewSlice/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/InboundTranslationSlice/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT-CatalogPlugin.cmj +0 -0
- package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT.res.mjs +1 -0
- package/lib/bs/tests/Product/StateChangeSlice/AddProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/AddProduct_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
- package/lib/bs/tests/Product/StateViewSlice/Products_GWT-CatalogPlugin.cmi +0 -0
- package/lib/bs/tests/Product/StateViewSlice/Products_GWT-CatalogPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/AddCategory_GWT-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_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ArchiveCategory_GWT-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/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/CategoryActivity_GWT-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_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ChangeProductName_GWT-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.ast +0 -0
- package/lib/ocaml/ImportProduct.res +3 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmj +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/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/ProductDemand_GWT-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/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 +1 -3
- 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_GWT-CatalogPlugin.cmi +0 -0
- package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
- package/package.json +8 -8
- package/src/Product/InboundTranslationSlice/ImportProduct.res +3 -0
- package/src/Product/StateChangeSlice/RecordProductDemand.res +1 -3
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.106 (2026-07-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-catalog
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 1.0.0-alpha.105 (2026-06-29)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* external-system boxes for translation slices (Event Graph data) ([3f8ad39](https://github.com/ReventlessDev/reventless-core/commit/3f8ad39b78a3cb1182d59a0e1fb203b7dcb7379b))
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# 1.0.0-alpha.104 (2026-06-27)
|
|
7
22
|
|
|
8
23
|
**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(1782989603284)
|
|
2
|
+
#Done(1782989605470)
|
|
@@ -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": "1782989605477"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -208,6 +208,7 @@ function Make(Platform) {
|
|
|
208
208
|
externalInputSchema: ImportProduct$CatalogPlugin.externalInputSchema,
|
|
209
209
|
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
210
210
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
211
|
+
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
211
212
|
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization
|
|
212
213
|
})({
|
|
213
214
|
translate: ImportProduct_Translation$CatalogPlugin.translate,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -21,3 +21,6 @@ type command = AddProduct({
|
|
|
21
21
|
})
|
|
22
22
|
|
|
23
23
|
let targetName = "AddProduct"
|
|
24
|
+
// Foreign system this anti-corruption slice receives product data from — drawn as an
|
|
25
|
+
// external box outside the Catalog plugin in the Event Graph.
|
|
26
|
+
let externalSystem = Some("SupplierFeed")
|
|
@@ -29,6 +29,8 @@ let Id;
|
|
|
29
29
|
|
|
30
30
|
let targetName = "AddProduct";
|
|
31
31
|
|
|
32
|
+
let externalSystem = "SupplierFeed";
|
|
33
|
+
|
|
32
34
|
let moduleUrl = "@reventlessdev/online-shop-dcb-catalog/src/Product/InboundTranslationSlice/ImportProduct.res.mjs";
|
|
33
35
|
|
|
34
36
|
export {
|
|
@@ -37,6 +39,7 @@ export {
|
|
|
37
39
|
externalInputSchema,
|
|
38
40
|
commandSchema,
|
|
39
41
|
targetName,
|
|
42
|
+
externalSystem,
|
|
40
43
|
moduleUrl,
|
|
41
44
|
commandAuthorization,
|
|
42
45
|
}
|
package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct_Translation-CatalogPlugin.cmi
CHANGED
|
Binary file
|
package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct_Translation-CatalogPlugin.cmt
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,9 +7,7 @@ type consumedEvent =
|
|
|
7
7
|
| ProductDemandRecorded({orderId: string})
|
|
8
8
|
| ProductDemandRevoked({orderId: string})
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
// @noApi removes it from the GraphQL/MCP/AutoUI surface, so the cross-plugin
|
|
12
|
-
// `orderId` is never rendered as a picker and needs no @ref.
|
|
10
|
+
// @noApi keeps this event-driven command off the GraphQL/MCP/AutoUI surface.
|
|
13
11
|
@schema @noApi
|
|
14
12
|
type command =
|
|
15
13
|
| RecordDemand({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
|
|
@@ -10,6 +10,7 @@ let ImportProductSlice = {
|
|
|
10
10
|
externalInputSchema: ImportProduct$CatalogPlugin.externalInputSchema,
|
|
11
11
|
commandSchema: ImportProduct$CatalogPlugin.commandSchema,
|
|
12
12
|
targetName: ImportProduct$CatalogPlugin.targetName,
|
|
13
|
+
externalSystem: ImportProduct$CatalogPlugin.externalSystem,
|
|
13
14
|
moduleUrl: ImportProduct$CatalogPlugin.moduleUrl,
|
|
14
15
|
commandAuthorization: ImportProduct$CatalogPlugin.commandAuthorization,
|
|
15
16
|
translate: ImportProduct_Translation$CatalogPlugin.translate
|
|
Binary file
|
|
Binary file
|
package/lib/bs/tests/Product/StateChangeSlice/ChangeProductDescription_GWT-CatalogPlugin.cmi
CHANGED
|
Binary file
|
package/lib/bs/tests/Product/StateChangeSlice/ChangeProductDescription_GWT-CatalogPlugin.cmt
CHANGED
|
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(1782989603284)
|
|
2
|
+
#Done(1782989605470)
|
|
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
|
|
@@ -21,3 +21,6 @@ type command = AddProduct({
|
|
|
21
21
|
})
|
|
22
22
|
|
|
23
23
|
let targetName = "AddProduct"
|
|
24
|
+
// Foreign system this anti-corruption slice receives product data from — drawn as an
|
|
25
|
+
// external box outside the Catalog plugin in the Event Graph.
|
|
26
|
+
let externalSystem = Some("SupplierFeed")
|
|
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
|
|
@@ -7,9 +7,7 @@ type consumedEvent =
|
|
|
7
7
|
| ProductDemandRecorded({orderId: string})
|
|
8
8
|
| ProductDemandRevoked({orderId: string})
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
// @noApi removes it from the GraphQL/MCP/AutoUI surface, so the cross-plugin
|
|
12
|
-
// `orderId` is never rendered as a picker and needs no @ref.
|
|
10
|
+
// @noApi keeps this event-driven command off the GraphQL/MCP/AutoUI surface.
|
|
13
11
|
@schema @noApi
|
|
14
12
|
type command =
|
|
15
13
|
| RecordDemand({productId: string, orderId: string})
|
|
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.106",
|
|
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,18 +21,18 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"sury": "^11.0.0-alpha.4",
|
|
24
|
-
"@reventlessdev/online-shop-dcb-
|
|
25
|
-
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.58",
|
|
24
|
+
"@reventlessdev/online-shop-dcb-ordering-spec": "1.0.0-alpha.60",
|
|
26
25
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.14",
|
|
27
|
-
"@reventlessdev/reventless-
|
|
28
|
-
"@reventlessdev/reventless-
|
|
29
|
-
"@reventlessdev/
|
|
30
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.
|
|
26
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.83",
|
|
27
|
+
"@reventlessdev/reventless-gwt": "1.0.0-alpha.76",
|
|
28
|
+
"@reventlessdev/online-shop-dcb-catalog-spec": "1.0.0-alpha.60",
|
|
29
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.63",
|
|
30
|
+
"@reventlessdev/reventless-local": "3.0.0-alpha.115"
|
|
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.48"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"rescript": "^12.3.0"
|
|
@@ -21,3 +21,6 @@ type command = AddProduct({
|
|
|
21
21
|
})
|
|
22
22
|
|
|
23
23
|
let targetName = "AddProduct"
|
|
24
|
+
// Foreign system this anti-corruption slice receives product data from — drawn as an
|
|
25
|
+
// external box outside the Catalog plugin in the Event Graph.
|
|
26
|
+
let externalSystem = Some("SupplierFeed")
|
|
@@ -7,9 +7,7 @@ type consumedEvent =
|
|
|
7
7
|
| ProductDemandRecorded({orderId: string})
|
|
8
8
|
| ProductDemandRevoked({orderId: string})
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
// @noApi removes it from the GraphQL/MCP/AutoUI surface, so the cross-plugin
|
|
12
|
-
// `orderId` is never rendered as a picker and needs no @ref.
|
|
10
|
+
// @noApi keeps this event-driven command off the GraphQL/MCP/AutoUI surface.
|
|
13
11
|
@schema @noApi
|
|
14
12
|
type command =
|
|
15
13
|
| RecordDemand({productId: string, orderId: string})
|