@reventlessdev/online-shop-aggregates-catalog 3.0.0-alpha.257 → 3.0.0-alpha.258

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 (57) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/lib/bs/.compiler.log +2 -2
  3. package/lib/bs/compiler-info.json +1 -1
  4. package/lib/bs/src/LifecycleModel-CatalogPlugin.cmt +0 -0
  5. package/lib/bs/src/LifecycleModel.ast +0 -0
  6. package/lib/bs/src/LifecycleModel.res +16 -1
  7. package/lib/bs/src/LifecycleModel.res.mjs +16 -1
  8. package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
  9. package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
  10. package/lib/bs/src/Plugin.ast +0 -0
  11. package/lib/bs/src/Plugin.res +1 -0
  12. package/lib/bs/src/Plugin.res.mjs +1 -1
  13. package/lib/bs/tests/Category/Aggregate/Category_GWT-CatalogPlugin.cmi +0 -0
  14. package/lib/bs/tests/Category/Aggregate/Category_GWT-CatalogPlugin.cmt +0 -0
  15. package/lib/bs/tests/Category/ReadModel/Categories_GWT-CatalogPlugin.cmi +0 -0
  16. package/lib/bs/tests/Category/ReadModel/Categories_GWT-CatalogPlugin.cmt +0 -0
  17. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  18. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  19. package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
  20. package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
  21. package/lib/bs/tests/Product/Aggregate/Product_GWT-CatalogPlugin.cmi +0 -0
  22. package/lib/bs/tests/Product/Aggregate/Product_GWT-CatalogPlugin.cmt +0 -0
  23. package/lib/bs/tests/Product/ReadModel/Products_GWT-CatalogPlugin.cmi +0 -0
  24. package/lib/bs/tests/Product/ReadModel/Products_GWT-CatalogPlugin.cmt +0 -0
  25. package/lib/bs/tests/ProductDemand/Aggregate/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  26. package/lib/bs/tests/ProductDemand/Aggregate/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  27. package/lib/bs/tests/ProductDemand/ReadModel/ProductDemands_GWT-CatalogPlugin.cmi +0 -0
  28. package/lib/bs/tests/ProductDemand/ReadModel/ProductDemands_GWT-CatalogPlugin.cmt +0 -0
  29. package/lib/ocaml/.compiler.log +2 -2
  30. package/lib/ocaml/Categories_GWT-CatalogPlugin.cmi +0 -0
  31. package/lib/ocaml/Categories_GWT-CatalogPlugin.cmt +0 -0
  32. package/lib/ocaml/Category_GWT-CatalogPlugin.cmi +0 -0
  33. package/lib/ocaml/Category_GWT-CatalogPlugin.cmt +0 -0
  34. package/lib/ocaml/LifecycleModel-CatalogPlugin.cmt +0 -0
  35. package/lib/ocaml/LifecycleModel.ast +0 -0
  36. package/lib/ocaml/LifecycleModel.res +16 -1
  37. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  38. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  39. package/lib/ocaml/Plugin-CatalogPlugin.cmi +0 -0
  40. package/lib/ocaml/Plugin-CatalogPlugin.cmt +0 -0
  41. package/lib/ocaml/Plugin.ast +0 -0
  42. package/lib/ocaml/Plugin.res +1 -0
  43. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  44. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  45. package/lib/ocaml/ProductDemands_GWT-CatalogPlugin.cmi +0 -0
  46. package/lib/ocaml/ProductDemands_GWT-CatalogPlugin.cmt +0 -0
  47. package/lib/ocaml/Product_GWT-CatalogPlugin.cmi +0 -0
  48. package/lib/ocaml/Product_GWT-CatalogPlugin.cmt +0 -0
  49. package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
  50. package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
  51. package/lib/ocaml/Products_GWT-CatalogPlugin.cmi +0 -0
  52. package/lib/ocaml/Products_GWT-CatalogPlugin.cmt +0 -0
  53. package/package.json +7 -7
  54. package/src/LifecycleModel.res +16 -1
  55. package/src/LifecycleModel.res.mjs +16 -1
  56. package/src/Plugin.res +1 -0
  57. package/src/Plugin.res.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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.258 (2026-09-27)
7
+
8
+ ### Features
9
+
10
+ * **core,spec:** an identity the plugin declares is information, not a dangling reference ([30d7917](https://github.com/ReventlessDev/reventless-core/commit/30d7917669ff062439f9c65e5274ab63a2e20de0))
11
+ * **ppx,spec:** a view with no lifecycle field places a creating command by its scenarios ([acfc7fe](https://github.com/ReventlessDev/reventless-core/commit/acfc7feeb4d23d40cddaade7ae177fcd627b3d48))
12
+
13
+
6
14
  # 3.0.0-alpha.257 (2026-09-25)
7
15
 
8
16
  **Note:** Version bump only for package @reventlessdev/online-shop-aggregates-catalog
@@ -1,2 +1,2 @@
1
- #Start(1790323627419)
2
- #Done(1790323633802)
1
+ #Start(1790550461089)
2
+ #Done(1790550467043)
@@ -4,5 +4,5 @@
4
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": "1790323633811"
7
+ "generated_at": "1790550467060"
8
8
  }
Binary file
@@ -6,4 +6,19 @@
6
6
  // `@transition` annotation where it says anything, and falls back to the
7
7
  // annotation where it is silent.
8
8
 
9
- let model: array<Reventless.Plugin.derivedEdge> = []
9
+ let model: array<Reventless.Plugin.derivedEdge> = [
10
+ {
11
+ component: "Category",
12
+ command: "Add",
13
+ level: Reventless.Plugin.Collection,
14
+ allowedStates: [],
15
+ targets: [],
16
+ },
17
+ {
18
+ component: "Product",
19
+ command: "Add",
20
+ level: Reventless.Plugin.Collection,
21
+ allowedStates: [],
22
+ targets: [],
23
+ },
24
+ ]
@@ -1,7 +1,22 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
 
4
- let model = [];
4
+ let model = [
5
+ {
6
+ component: "Category",
7
+ command: "Add",
8
+ level: "Collection",
9
+ allowedStates: [],
10
+ targets: []
11
+ },
12
+ {
13
+ component: "Product",
14
+ command: "Add",
15
+ level: "Collection",
16
+ allowedStates: [],
17
+ targets: []
18
+ }
19
+ ];
5
20
 
6
21
  export {
7
22
  model,
Binary file
Binary file
Binary file
@@ -60,6 +60,7 @@ module Make = (Platform: ReventlessInfra.Platform.T) => {
60
60
  ("Products", "Product"),
61
61
  ]),
62
62
  ~lifecycleModel=LifecycleModel.model,
63
+ ~identities=[CategoryId.key],
63
64
  )
64
65
 
65
66
  let make = () =>
@@ -239,7 +239,7 @@ function Make(Platform) {
239
239
  "Products",
240
240
  "Product"
241
241
  ]
242
- ]), LifecycleModel$CatalogPlugin.model);
242
+ ]), LifecycleModel$CatalogPlugin.model, [CategoryId$CatalogPlugin.key]);
243
243
  let make = () => Platform.Plugin.make("Catalog", 5, [Products_ExtensionPoint], [Orders_Extension], [
244
244
  CategoryAggregate,
245
245
  ProductAggregate,
@@ -1,2 +1,2 @@
1
- #Start(1790323627419)
2
- #Done(1790323633802)
1
+ #Start(1790550461089)
2
+ #Done(1790550467043)
Binary file
@@ -6,4 +6,19 @@
6
6
  // `@transition` annotation where it says anything, and falls back to the
7
7
  // annotation where it is silent.
8
8
 
9
- let model: array<Reventless.Plugin.derivedEdge> = []
9
+ let model: array<Reventless.Plugin.derivedEdge> = [
10
+ {
11
+ component: "Category",
12
+ command: "Add",
13
+ level: Reventless.Plugin.Collection,
14
+ allowedStates: [],
15
+ targets: [],
16
+ },
17
+ {
18
+ component: "Product",
19
+ command: "Add",
20
+ level: Reventless.Plugin.Collection,
21
+ allowedStates: [],
22
+ targets: [],
23
+ },
24
+ ]
Binary file
Binary file
Binary file
@@ -60,6 +60,7 @@ module Make = (Platform: ReventlessInfra.Platform.T) => {
60
60
  ("Products", "Product"),
61
61
  ]),
62
62
  ~lifecycleModel=LifecycleModel.model,
63
+ ~identities=[CategoryId.key],
63
64
  )
64
65
 
65
66
  let make = () =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/online-shop-aggregates-catalog",
3
- "version": "3.0.0-alpha.257",
3
+ "version": "3.0.0-alpha.258",
4
4
  "description": "Online Shop example — Catalog plugin (Product & Category aggregates)",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "sury": "11.0.0",
24
- "@reventlessdev/online-shop-aggregates-catalog-spec": "3.0.0-alpha.148",
24
+ "@reventlessdev/online-shop-aggregates-catalog-spec": "3.0.0-alpha.149",
25
+ "@reventlessdev/online-shop-aggregates-ordering-spec": "3.0.0-alpha.149",
26
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.178",
25
27
  "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22",
26
- "@reventlessdev/online-shop-aggregates-ordering-spec": "3.0.0-alpha.148",
27
- "@reventlessdev/reventless-gwt": "1.0.0-alpha.225",
28
- "@reventlessdev/reventless-infra": "3.0.0-alpha.177",
29
- "@reventlessdev/reventless-local": "3.0.0-alpha.268",
30
- "@reventlessdev/reventless-spec": "3.0.0-alpha.149"
28
+ "@reventlessdev/reventless-gwt": "1.0.0-alpha.226",
29
+ "@reventlessdev/reventless-local": "3.0.0-alpha.269",
30
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.150"
31
31
  },
32
32
  "devDependencies": {
33
33
  "rescript": "12.3.1",
@@ -6,4 +6,19 @@
6
6
  // `@transition` annotation where it says anything, and falls back to the
7
7
  // annotation where it is silent.
8
8
 
9
- let model: array<Reventless.Plugin.derivedEdge> = []
9
+ let model: array<Reventless.Plugin.derivedEdge> = [
10
+ {
11
+ component: "Category",
12
+ command: "Add",
13
+ level: Reventless.Plugin.Collection,
14
+ allowedStates: [],
15
+ targets: [],
16
+ },
17
+ {
18
+ component: "Product",
19
+ command: "Add",
20
+ level: Reventless.Plugin.Collection,
21
+ allowedStates: [],
22
+ targets: [],
23
+ },
24
+ ]
@@ -1,7 +1,22 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
 
4
- let model = [];
4
+ let model = [
5
+ {
6
+ component: "Category",
7
+ command: "Add",
8
+ level: "Collection",
9
+ allowedStates: [],
10
+ targets: []
11
+ },
12
+ {
13
+ component: "Product",
14
+ command: "Add",
15
+ level: "Collection",
16
+ allowedStates: [],
17
+ targets: []
18
+ }
19
+ ];
5
20
 
6
21
  export {
7
22
  model,
package/src/Plugin.res CHANGED
@@ -60,6 +60,7 @@ module Make = (Platform: ReventlessInfra.Platform.T) => {
60
60
  ("Products", "Product"),
61
61
  ]),
62
62
  ~lifecycleModel=LifecycleModel.model,
63
+ ~identities=[CategoryId.key],
63
64
  )
64
65
 
65
66
  let make = () =>
@@ -239,7 +239,7 @@ function Make(Platform) {
239
239
  "Products",
240
240
  "Product"
241
241
  ]
242
- ]), LifecycleModel$CatalogPlugin.model);
242
+ ]), LifecycleModel$CatalogPlugin.model, [CategoryId$CatalogPlugin.key]);
243
243
  let make = () => Platform.Plugin.make("Catalog", 5, [Products_ExtensionPoint], [Orders_Extension], [
244
244
  CategoryAggregate,
245
245
  ProductAggregate,