@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.
Files changed (108) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/lib/bs/.compiler.log +2 -2
  3. package/lib/bs/compiler-info.json +1 -1
  4. package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmi +0 -0
  5. package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmt +0 -0
  6. package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
  7. package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
  8. package/lib/bs/src/Plugin.res.mjs +1 -0
  9. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct-CatalogPlugin.cmi +0 -0
  10. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct-CatalogPlugin.cmt +0 -0
  11. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct.ast +0 -0
  12. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct.res +3 -0
  13. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct.res.mjs +3 -0
  14. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
  15. package/lib/bs/src/Product/InboundTranslationSlice/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
  16. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmi +0 -0
  17. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand-CatalogPlugin.cmt +0 -0
  18. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand.ast +0 -0
  19. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand.res +1 -3
  20. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
  21. package/lib/bs/src/Product/StateChangeSlice/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
  22. package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmi +0 -0
  23. package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmt +0 -0
  24. package/lib/bs/tests/Category/StateChangeSlice/AddCategory_GWT-CatalogPlugin.cmi +0 -0
  25. package/lib/bs/tests/Category/StateChangeSlice/AddCategory_GWT-CatalogPlugin.cmt +0 -0
  26. package/lib/bs/tests/Category/StateChangeSlice/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
  27. package/lib/bs/tests/Category/StateChangeSlice/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
  28. package/lib/bs/tests/Category/StateChangeSlice/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
  29. package/lib/bs/tests/Category/StateChangeSlice/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
  30. package/lib/bs/tests/Category/StateViewSlice/Categories_GWT-CatalogPlugin.cmi +0 -0
  31. package/lib/bs/tests/Category/StateViewSlice/Categories_GWT-CatalogPlugin.cmt +0 -0
  32. package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
  33. package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
  34. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  35. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  36. package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
  37. package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
  38. package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
  39. package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT-CatalogPlugin.cmj +0 -0
  40. package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
  41. package/lib/bs/tests/Product/InboundTranslationSlice/ImportProduct_GWT.res.mjs +1 -0
  42. package/lib/bs/tests/Product/StateChangeSlice/AddProduct_GWT-CatalogPlugin.cmi +0 -0
  43. package/lib/bs/tests/Product/StateChangeSlice/AddProduct_GWT-CatalogPlugin.cmt +0 -0
  44. package/lib/bs/tests/Product/StateChangeSlice/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
  45. package/lib/bs/tests/Product/StateChangeSlice/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
  46. package/lib/bs/tests/Product/StateChangeSlice/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
  47. package/lib/bs/tests/Product/StateChangeSlice/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
  48. package/lib/bs/tests/Product/StateChangeSlice/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
  49. package/lib/bs/tests/Product/StateChangeSlice/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
  50. package/lib/bs/tests/Product/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
  51. package/lib/bs/tests/Product/StateChangeSlice/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
  52. package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  53. package/lib/bs/tests/Product/StateViewSlice/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  54. package/lib/bs/tests/Product/StateViewSlice/Products_GWT-CatalogPlugin.cmi +0 -0
  55. package/lib/bs/tests/Product/StateViewSlice/Products_GWT-CatalogPlugin.cmt +0 -0
  56. package/lib/ocaml/.compiler.log +2 -2
  57. package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmi +0 -0
  58. package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmt +0 -0
  59. package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmi +0 -0
  60. package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmt +0 -0
  61. package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
  62. package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
  63. package/lib/ocaml/Categories_GWT-CatalogPlugin.cmi +0 -0
  64. package/lib/ocaml/Categories_GWT-CatalogPlugin.cmt +0 -0
  65. package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
  66. package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
  67. package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
  68. package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
  69. package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
  70. package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
  71. package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
  72. package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
  73. package/lib/ocaml/ImportProduct-CatalogPlugin.cmi +0 -0
  74. package/lib/ocaml/ImportProduct-CatalogPlugin.cmt +0 -0
  75. package/lib/ocaml/ImportProduct.ast +0 -0
  76. package/lib/ocaml/ImportProduct.res +3 -0
  77. package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
  78. package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmj +0 -0
  79. package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
  80. package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
  81. package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
  82. package/lib/ocaml/ImportProducts-CatalogPlugin.cmi +0 -0
  83. package/lib/ocaml/ImportProducts-CatalogPlugin.cmt +0 -0
  84. package/lib/ocaml/Orders_Extension-CatalogPlugin.cmi +0 -0
  85. package/lib/ocaml/Orders_Extension-CatalogPlugin.cmt +0 -0
  86. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  87. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  88. package/lib/ocaml/Plugin-CatalogPlugin.cmi +0 -0
  89. package/lib/ocaml/Plugin-CatalogPlugin.cmt +0 -0
  90. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  91. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  92. package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
  93. package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
  94. package/lib/ocaml/Products_GWT-CatalogPlugin.cmi +0 -0
  95. package/lib/ocaml/Products_GWT-CatalogPlugin.cmt +0 -0
  96. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmi +0 -0
  97. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmt +0 -0
  98. package/lib/ocaml/RecordProductDemand.ast +0 -0
  99. package/lib/ocaml/RecordProductDemand.res +1 -3
  100. package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmi +0 -0
  101. package/lib/ocaml/RecordProductDemand_Behavior-CatalogPlugin.cmt +0 -0
  102. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
  103. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
  104. package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
  105. package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
  106. package/package.json +8 -8
  107. package/src/Product/InboundTranslationSlice/ImportProduct.res +3 -0
  108. 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
@@ -1,2 +1,2 @@
1
- #Start(1782549921118)
2
- #Done(1782549923126)
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": "1782549923133"
7
+ "generated_at": "1782989605477"
8
8
  }
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,
@@ -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
  }
@@ -7,9 +7,7 @@ type consumedEvent =
7
7
  | ProductDemandRecorded({orderId: string})
8
8
  | ProductDemandRevoked({orderId: string})
9
9
 
10
- // Not a UI/API command — driven only by Ordering's extension-point events.
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})
@@ -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
@@ -1,2 +1,2 @@
1
- #Start(1782549921118)
2
- #Done(1782549923126)
1
+ #Start(1782989603284)
2
+ #Done(1782989605470)
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
@@ -7,9 +7,7 @@ type consumedEvent =
7
7
  | ProductDemandRecorded({orderId: string})
8
8
  | ProductDemandRevoked({orderId: string})
9
9
 
10
- // Not a UI/API command — driven only by Ordering's extension-point events.
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})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/online-shop-dcb-catalog",
3
- "version": "1.0.0-alpha.104",
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-catalog-spec": "1.0.0-alpha.58",
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-gwt": "1.0.0-alpha.74",
28
- "@reventlessdev/reventless-infra": "3.0.0-alpha.81",
29
- "@reventlessdev/reventless-local": "3.0.0-alpha.113",
30
- "@reventlessdev/reventless-spec": "3.0.0-alpha.61"
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.47"
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
- // Not a UI/API command — driven only by Ordering's extension-point events.
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})