@reventlessdev/online-shop-aggregates-ordering 3.0.0-alpha.281 → 3.0.0-alpha.282

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 (205) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/bs/.compiler.log +2 -2
  3. package/lib/bs/OrderingPlugin.cmi +0 -0
  4. package/lib/bs/OrderingPlugin.cmt +0 -0
  5. package/lib/bs/OrderingPlugin.mlmap +3 -3
  6. package/lib/bs/compiler-info.json +1 -1
  7. package/lib/bs/src/CatalogProduct/Aggregate/CatalogProduct-OrderingPlugin.cmi +0 -0
  8. package/lib/bs/src/CatalogProduct/Aggregate/CatalogProduct-OrderingPlugin.cmt +0 -0
  9. package/lib/bs/src/CatalogProduct/Aggregate/{CatalogProduct_Behavior-OrderingPlugin.cmi → CatalogProduct_Decision-OrderingPlugin.cmi} +0 -0
  10. package/lib/{ocaml/CatalogProduct_Behavior-OrderingPlugin.cmt → bs/src/CatalogProduct/Aggregate/CatalogProduct_Decision-OrderingPlugin.cmt} +0 -0
  11. package/lib/{ocaml/CatalogProduct_Behavior.ast → bs/src/CatalogProduct/Aggregate/CatalogProduct_Decision.ast} +0 -0
  12. package/lib/bs/src/CatalogProduct/Aggregate/{CatalogProduct_Behavior.res → CatalogProduct_Decision.res} +2 -2
  13. package/{src/CatalogProduct/Aggregate/CatalogProduct_Behavior.res.mjs → lib/bs/src/CatalogProduct/Aggregate/CatalogProduct_Decision.res.mjs} +1 -1
  14. package/lib/bs/src/CatalogProduct/ReadModel/AvailableProducts-OrderingPlugin.cmi +0 -0
  15. package/lib/bs/src/CatalogProduct/ReadModel/AvailableProducts-OrderingPlugin.cmt +0 -0
  16. package/lib/bs/src/CatalogProduct/ReadModel/AvailableProducts_Projections-OrderingPlugin.cmi +0 -0
  17. package/lib/bs/src/CatalogProduct/ReadModel/AvailableProducts_Projections-OrderingPlugin.cmt +0 -0
  18. package/lib/bs/src/Customer/Aggregate/Customer-OrderingPlugin.cmi +0 -0
  19. package/lib/bs/src/Customer/Aggregate/Customer-OrderingPlugin.cmt +0 -0
  20. package/lib/bs/src/Customer/Aggregate/{Customer_Behavior-OrderingPlugin.cmi → Customer_Decision-OrderingPlugin.cmi} +0 -0
  21. package/lib/bs/src/Customer/Aggregate/{Customer_Behavior-OrderingPlugin.cmt → Customer_Decision-OrderingPlugin.cmt} +0 -0
  22. package/lib/bs/src/Customer/Aggregate/{Customer_Behavior.ast → Customer_Decision.ast} +0 -0
  23. package/{src/Customer/Aggregate/Customer_Behavior.res → lib/bs/src/Customer/Aggregate/Customer_Decision.res} +2 -2
  24. package/{src/Customer/Aggregate/Customer_Behavior.res.mjs → lib/bs/src/Customer/Aggregate/Customer_Decision.res.mjs} +1 -1
  25. package/lib/bs/src/Customer/CustomerId-OrderingPlugin.cmi +0 -0
  26. package/lib/bs/src/Customer/CustomerId-OrderingPlugin.cmt +0 -0
  27. package/lib/bs/src/Customer/ReadModel/Customers-OrderingPlugin.cmi +0 -0
  28. package/lib/bs/src/Customer/ReadModel/Customers-OrderingPlugin.cmt +0 -0
  29. package/lib/bs/src/Customer/ReadModel/Customers_Projections-OrderingPlugin.cmi +0 -0
  30. package/lib/bs/src/Customer/ReadModel/Customers_Projections-OrderingPlugin.cmt +0 -0
  31. package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmi +0 -0
  32. package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmt +0 -0
  33. package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
  34. package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
  35. package/lib/bs/src/LifecycleModel-OrderingPlugin.cmi +0 -0
  36. package/lib/bs/src/LifecycleModel-OrderingPlugin.cmt +0 -0
  37. package/lib/bs/src/Order/Aggregate/Order-OrderingPlugin.cmi +0 -0
  38. package/lib/bs/src/Order/Aggregate/Order-OrderingPlugin.cmt +0 -0
  39. package/lib/bs/src/Order/Aggregate/{Order_Behavior-OrderingPlugin.cmi → Order_Decision-OrderingPlugin.cmi} +0 -0
  40. package/lib/bs/src/Order/Aggregate/{Order_Behavior-OrderingPlugin.cmt → Order_Decision-OrderingPlugin.cmt} +0 -0
  41. package/lib/{ocaml/Order_Behavior.ast → bs/src/Order/Aggregate/Order_Decision.ast} +0 -0
  42. package/lib/{ocaml/Order_Behavior.res → bs/src/Order/Aggregate/Order_Decision.res} +2 -2
  43. package/lib/bs/src/Order/Aggregate/{Order_Behavior.res.mjs → Order_Decision.res.mjs} +1 -1
  44. package/lib/bs/src/Order/Aggregate/Order_Mappings-OrderingPlugin.cmi +0 -0
  45. package/lib/bs/src/Order/Aggregate/Order_Mappings-OrderingPlugin.cmt +0 -0
  46. package/lib/bs/src/Order/OrderId-OrderingPlugin.cmi +0 -0
  47. package/lib/bs/src/Order/OrderId-OrderingPlugin.cmt +0 -0
  48. package/lib/bs/src/Order/ReadModel/Orders-OrderingPlugin.cmi +0 -0
  49. package/lib/bs/src/Order/ReadModel/Orders-OrderingPlugin.cmt +0 -0
  50. package/lib/bs/src/Order/ReadModel/Orders_Projections-OrderingPlugin.cmi +0 -0
  51. package/lib/bs/src/Order/ReadModel/Orders_Projections-OrderingPlugin.cmt +0 -0
  52. package/lib/bs/src/Order/SideEffect/Order_EmailNotification-OrderingPlugin.cmi +0 -0
  53. package/lib/bs/src/Order/SideEffect/Order_EmailNotification-OrderingPlugin.cmt +0 -0
  54. package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
  55. package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
  56. package/lib/bs/src/Plugin.ast +0 -0
  57. package/lib/bs/src/Plugin.res +3 -3
  58. package/lib/bs/src/Plugin.res.mjs +15 -15
  59. package/lib/bs/src/Task/OrderNotifications-OrderingPlugin.cmi +0 -0
  60. package/lib/bs/src/Task/OrderNotifications-OrderingPlugin.cmt +0 -0
  61. package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT-OrderingPlugin.cmi +0 -0
  62. package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT-OrderingPlugin.cmt +0 -0
  63. package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT.ast +0 -0
  64. package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT.res +1 -1
  65. package/lib/bs/tests/CatalogProduct/Aggregate/CatalogProduct_GWT.res.mjs +10 -10
  66. package/lib/bs/tests/CatalogProduct/ReadModel/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
  67. package/lib/bs/tests/CatalogProduct/ReadModel/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
  68. package/lib/bs/tests/Customer/Aggregate/Customer_GWT-OrderingPlugin.cmi +0 -0
  69. package/lib/bs/tests/Customer/Aggregate/Customer_GWT-OrderingPlugin.cmt +0 -0
  70. package/lib/bs/tests/Customer/Aggregate/Customer_GWT.ast +0 -0
  71. package/lib/bs/tests/Customer/Aggregate/Customer_GWT.res +1 -1
  72. package/lib/bs/tests/Customer/Aggregate/Customer_GWT.res.mjs +10 -10
  73. package/lib/bs/tests/Customer/ReadModel/Customers_GWT-OrderingPlugin.cmi +0 -0
  74. package/lib/bs/tests/Customer/ReadModel/Customers_GWT-OrderingPlugin.cmt +0 -0
  75. package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
  76. package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
  77. package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
  78. package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
  79. package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT-OrderingPlugin.cmi +0 -0
  80. package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT-OrderingPlugin.cmt +0 -0
  81. package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT.ast +0 -0
  82. package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT.res +3 -3
  83. package/lib/bs/tests/Order/Aggregate/OrderMappings_GWT.res.mjs +11 -11
  84. package/lib/bs/tests/Order/Aggregate/Order_GWT-OrderingPlugin.cmi +0 -0
  85. package/lib/bs/tests/Order/Aggregate/Order_GWT-OrderingPlugin.cmt +0 -0
  86. package/lib/bs/tests/Order/Aggregate/Order_GWT.ast +0 -0
  87. package/lib/bs/tests/Order/Aggregate/Order_GWT.res +1 -1
  88. package/lib/bs/tests/Order/Aggregate/Order_GWT.res.mjs +10 -10
  89. package/lib/bs/tests/Order/ReadModel/Orders_GWT-OrderingPlugin.cmi +0 -0
  90. package/lib/bs/tests/Order/ReadModel/Orders_GWT-OrderingPlugin.cmt +0 -0
  91. package/lib/bs/tests/Order/SideEffect/EmailService_Mock-OrderingPlugin.cmi +0 -0
  92. package/lib/bs/tests/Order/SideEffect/EmailService_Mock-OrderingPlugin.cmt +0 -0
  93. package/lib/bs/tests/Order/SideEffect/Order_EmailNotification_GWT-OrderingPlugin.cmi +0 -0
  94. package/lib/bs/tests/Order/SideEffect/Order_EmailNotification_GWT-OrderingPlugin.cmt +0 -0
  95. package/lib/bs/tests/Ordering_Examples-OrderingPlugin.cmi +0 -0
  96. package/lib/bs/tests/Ordering_Examples-OrderingPlugin.cmt +0 -0
  97. package/lib/ocaml/.compiler.log +2 -2
  98. package/lib/ocaml/AvailableProducts-OrderingPlugin.cmi +0 -0
  99. package/lib/ocaml/AvailableProducts-OrderingPlugin.cmt +0 -0
  100. package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
  101. package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
  102. package/lib/ocaml/AvailableProducts_Projections-OrderingPlugin.cmi +0 -0
  103. package/lib/ocaml/AvailableProducts_Projections-OrderingPlugin.cmt +0 -0
  104. package/lib/ocaml/CatalogProduct-OrderingPlugin.cmi +0 -0
  105. package/lib/ocaml/CatalogProduct-OrderingPlugin.cmt +0 -0
  106. package/lib/ocaml/{CatalogProduct_Behavior-OrderingPlugin.cmi → CatalogProduct_Decision-OrderingPlugin.cmi} +0 -0
  107. package/lib/{bs/src/CatalogProduct/Aggregate/CatalogProduct_Behavior-OrderingPlugin.cmt → ocaml/CatalogProduct_Decision-OrderingPlugin.cmt} +0 -0
  108. package/lib/{bs/src/CatalogProduct/Aggregate/CatalogProduct_Behavior.ast → ocaml/CatalogProduct_Decision.ast} +0 -0
  109. package/{src/CatalogProduct/Aggregate/CatalogProduct_Behavior.res → lib/ocaml/CatalogProduct_Decision.res} +2 -2
  110. package/lib/ocaml/CatalogProduct_GWT-OrderingPlugin.cmi +0 -0
  111. package/lib/ocaml/CatalogProduct_GWT-OrderingPlugin.cmt +0 -0
  112. package/lib/ocaml/CatalogProduct_GWT.ast +0 -0
  113. package/lib/ocaml/CatalogProduct_GWT.res +1 -1
  114. package/lib/ocaml/Customer-OrderingPlugin.cmi +0 -0
  115. package/lib/ocaml/Customer-OrderingPlugin.cmt +0 -0
  116. package/lib/ocaml/CustomerId-OrderingPlugin.cmi +0 -0
  117. package/lib/ocaml/CustomerId-OrderingPlugin.cmt +0 -0
  118. package/lib/ocaml/{Customer_Behavior-OrderingPlugin.cmi → Customer_Decision-OrderingPlugin.cmi} +0 -0
  119. package/lib/ocaml/{Customer_Behavior-OrderingPlugin.cmt → Customer_Decision-OrderingPlugin.cmt} +0 -0
  120. package/lib/ocaml/{Customer_Behavior.ast → Customer_Decision.ast} +0 -0
  121. package/lib/{bs/src/Customer/Aggregate/Customer_Behavior.res → ocaml/Customer_Decision.res} +2 -2
  122. package/lib/ocaml/Customer_GWT-OrderingPlugin.cmi +0 -0
  123. package/lib/ocaml/Customer_GWT-OrderingPlugin.cmt +0 -0
  124. package/lib/ocaml/Customer_GWT.ast +0 -0
  125. package/lib/ocaml/Customer_GWT.res +1 -1
  126. package/lib/ocaml/Customers-OrderingPlugin.cmi +0 -0
  127. package/lib/ocaml/Customers-OrderingPlugin.cmt +0 -0
  128. package/lib/ocaml/Customers_GWT-OrderingPlugin.cmi +0 -0
  129. package/lib/ocaml/Customers_GWT-OrderingPlugin.cmt +0 -0
  130. package/lib/ocaml/Customers_Projections-OrderingPlugin.cmi +0 -0
  131. package/lib/ocaml/Customers_Projections-OrderingPlugin.cmt +0 -0
  132. package/lib/ocaml/EmailService_Mock-OrderingPlugin.cmi +0 -0
  133. package/lib/ocaml/EmailService_Mock-OrderingPlugin.cmt +0 -0
  134. package/lib/ocaml/LifecycleModel-OrderingPlugin.cmi +0 -0
  135. package/lib/ocaml/LifecycleModel-OrderingPlugin.cmt +0 -0
  136. package/lib/ocaml/Order-OrderingPlugin.cmi +0 -0
  137. package/lib/ocaml/Order-OrderingPlugin.cmt +0 -0
  138. package/lib/ocaml/OrderId-OrderingPlugin.cmi +0 -0
  139. package/lib/ocaml/OrderId-OrderingPlugin.cmt +0 -0
  140. package/lib/ocaml/OrderMappings_GWT-OrderingPlugin.cmi +0 -0
  141. package/lib/ocaml/OrderMappings_GWT-OrderingPlugin.cmt +0 -0
  142. package/lib/ocaml/OrderMappings_GWT.ast +0 -0
  143. package/lib/ocaml/OrderMappings_GWT.res +3 -3
  144. package/lib/ocaml/OrderNotifications-OrderingPlugin.cmi +0 -0
  145. package/lib/ocaml/OrderNotifications-OrderingPlugin.cmt +0 -0
  146. package/lib/ocaml/{Order_Behavior-OrderingPlugin.cmi → Order_Decision-OrderingPlugin.cmi} +0 -0
  147. package/lib/ocaml/{Order_Behavior-OrderingPlugin.cmt → Order_Decision-OrderingPlugin.cmt} +0 -0
  148. package/lib/{bs/src/Order/Aggregate/Order_Behavior.ast → ocaml/Order_Decision.ast} +0 -0
  149. package/{src/Order/Aggregate/Order_Behavior.res → lib/ocaml/Order_Decision.res} +2 -2
  150. package/lib/ocaml/Order_EmailNotification-OrderingPlugin.cmi +0 -0
  151. package/lib/ocaml/Order_EmailNotification-OrderingPlugin.cmt +0 -0
  152. package/lib/ocaml/Order_EmailNotification_GWT-OrderingPlugin.cmi +0 -0
  153. package/lib/ocaml/Order_EmailNotification_GWT-OrderingPlugin.cmt +0 -0
  154. package/lib/ocaml/Order_GWT-OrderingPlugin.cmi +0 -0
  155. package/lib/ocaml/Order_GWT-OrderingPlugin.cmt +0 -0
  156. package/lib/ocaml/Order_GWT.ast +0 -0
  157. package/lib/ocaml/Order_GWT.res +1 -1
  158. package/lib/ocaml/Order_Mappings-OrderingPlugin.cmi +0 -0
  159. package/lib/ocaml/Order_Mappings-OrderingPlugin.cmt +0 -0
  160. package/lib/ocaml/OrderingPlugin.cmi +0 -0
  161. package/lib/ocaml/OrderingPlugin.cmt +0 -0
  162. package/lib/ocaml/OrderingPlugin.mlmap +3 -3
  163. package/lib/ocaml/Ordering_Examples-OrderingPlugin.cmi +0 -0
  164. package/lib/ocaml/Ordering_Examples-OrderingPlugin.cmt +0 -0
  165. package/lib/ocaml/Orders-OrderingPlugin.cmi +0 -0
  166. package/lib/ocaml/Orders-OrderingPlugin.cmt +0 -0
  167. package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
  168. package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
  169. package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
  170. package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
  171. package/lib/ocaml/Orders_GWT-OrderingPlugin.cmi +0 -0
  172. package/lib/ocaml/Orders_GWT-OrderingPlugin.cmt +0 -0
  173. package/lib/ocaml/Orders_Projections-OrderingPlugin.cmi +0 -0
  174. package/lib/ocaml/Orders_Projections-OrderingPlugin.cmt +0 -0
  175. package/lib/ocaml/Plugin-OrderingPlugin.cmi +0 -0
  176. package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
  177. package/lib/ocaml/Plugin.ast +0 -0
  178. package/lib/ocaml/Plugin.res +3 -3
  179. package/lib/ocaml/Products_Extension-OrderingPlugin.cmi +0 -0
  180. package/lib/ocaml/Products_Extension-OrderingPlugin.cmt +0 -0
  181. package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
  182. package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
  183. package/package.json +7 -7
  184. package/{lib/ocaml/CatalogProduct_Behavior.res → src/CatalogProduct/Aggregate/CatalogProduct_Decision.res} +2 -2
  185. package/{lib/bs/src/CatalogProduct/Aggregate/CatalogProduct_Behavior.res.mjs → src/CatalogProduct/Aggregate/CatalogProduct_Decision.res.mjs} +1 -1
  186. package/{lib/ocaml/Customer_Behavior.res → src/Customer/Aggregate/Customer_Decision.res} +2 -2
  187. package/{lib/bs/src/Customer/Aggregate/Customer_Behavior.res.mjs → src/Customer/Aggregate/Customer_Decision.res.mjs} +1 -1
  188. package/{lib/bs/src/Order/Aggregate/Order_Behavior.res → src/Order/Aggregate/Order_Decision.res} +2 -2
  189. package/src/Order/Aggregate/{Order_Behavior.res.mjs → Order_Decision.res.mjs} +1 -1
  190. package/src/Plugin.res +3 -3
  191. package/src/Plugin.res.mjs +15 -15
  192. package/tests/CatalogProduct/Aggregate/CatalogProduct_GWT.res +1 -1
  193. package/tests/CatalogProduct/Aggregate/CatalogProduct_GWT.res.mjs +10 -10
  194. package/tests/Customer/Aggregate/Customer_GWT.res +1 -1
  195. package/tests/Customer/Aggregate/Customer_GWT.res.mjs +10 -10
  196. package/tests/Order/Aggregate/OrderMappings_GWT.res +3 -3
  197. package/tests/Order/Aggregate/OrderMappings_GWT.res.mjs +11 -11
  198. package/tests/Order/Aggregate/Order_GWT.res +1 -1
  199. package/tests/Order/Aggregate/Order_GWT.res.mjs +10 -10
  200. /package/lib/bs/src/CatalogProduct/Aggregate/{CatalogProduct_Behavior-OrderingPlugin.cmj → CatalogProduct_Decision-OrderingPlugin.cmj} +0 -0
  201. /package/lib/bs/src/Customer/Aggregate/{Customer_Behavior-OrderingPlugin.cmj → Customer_Decision-OrderingPlugin.cmj} +0 -0
  202. /package/lib/bs/src/Order/Aggregate/{Order_Behavior-OrderingPlugin.cmj → Order_Decision-OrderingPlugin.cmj} +0 -0
  203. /package/lib/ocaml/{CatalogProduct_Behavior-OrderingPlugin.cmj → CatalogProduct_Decision-OrderingPlugin.cmj} +0 -0
  204. /package/lib/ocaml/{Customer_Behavior-OrderingPlugin.cmj → Customer_Decision-OrderingPlugin.cmj} +0 -0
  205. /package/lib/ocaml/{Order_Behavior-OrderingPlugin.cmj → Order_Decision-OrderingPlugin.cmj} +0 -0
@@ -1,11 +1,11 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
3
+ import * as Decision_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Decision_GWT.res.mjs";
4
4
  import * as CatalogProduct$OrderingPlugin from "../../../src/CatalogProduct/Aggregate/CatalogProduct.res.mjs";
5
5
  import * as Ordering_Examples$OrderingPlugin from "../../Ordering_Examples.res.mjs";
6
- import * as CatalogProduct_Behavior$OrderingPlugin from "../../../src/CatalogProduct/Aggregate/CatalogProduct_Behavior.res.mjs";
6
+ import * as CatalogProduct_Decision$OrderingPlugin from "../../../src/CatalogProduct/Aggregate/CatalogProduct_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.MakeFromAggregate({
8
+ let include = Decision_GWT$ReventlessGwt.MakeFromAggregate({
9
9
  name: CatalogProduct$OrderingPlugin.name,
10
10
  commandSchema: CatalogProduct$OrderingPlugin.commandSchema,
11
11
  eventSchema: CatalogProduct$OrderingPlugin.eventSchema,
@@ -19,11 +19,11 @@ let include = Behavior_GWT$ReventlessGwt.MakeFromAggregate({
19
19
  errorSchema: CatalogProduct$OrderingPlugin.errorSchema,
20
20
  authorizationOf: CatalogProduct$OrderingPlugin.authorizationOf
21
21
  },
22
- initialState: CatalogProduct_Behavior$OrderingPlugin.initialState,
23
- evolve: CatalogProduct_Behavior$OrderingPlugin.evolve,
24
- decide: CatalogProduct_Behavior$OrderingPlugin.decide,
22
+ initialState: CatalogProduct_Decision$OrderingPlugin.initialState,
23
+ evolve: CatalogProduct_Decision$OrderingPlugin.evolve,
24
+ decide: CatalogProduct_Decision$OrderingPlugin.decide,
25
25
  snapshot: undefined,
26
- moduleUrl: CatalogProduct_Behavior$OrderingPlugin.moduleUrl
26
+ moduleUrl: CatalogProduct_Decision$OrderingPlugin.moduleUrl
27
27
  });
28
28
 
29
29
  let describe = include.describe;
@@ -38,7 +38,7 @@ let thenEvent = include.thenEvent;
38
38
 
39
39
  let thenNoEvent = include.thenNoEvent;
40
40
 
41
- describe("CatalogProduct Behavior", () => {
41
+ describe("CatalogProduct Decision", () => {
42
42
  test("Sync on new aggregate produces Synced", () => thenEvent(whenCmd(givenEvents([]), {
43
43
  TAG: "Sync",
44
44
  name: Ordering_Examples$OrderingPlugin.laptop,
@@ -92,7 +92,7 @@ let thenEventsWithError = include.thenEventsWithError;
92
92
 
93
93
  let thenError = include.thenError;
94
94
 
95
- let thenRefused = include.thenRefused;
95
+ let thenForbidden = include.thenForbidden;
96
96
 
97
97
  export {
98
98
  Spec,
@@ -110,6 +110,6 @@ export {
110
110
  thenCompareEvents,
111
111
  thenEventsWithError,
112
112
  thenError,
113
- thenRefused,
113
+ thenForbidden,
114
114
  }
115
115
  /* include Not a pure module */
@@ -2,7 +2,7 @@
2
2
 
3
3
  open Ordering_Examples
4
4
 
5
- describe("Customer Behavior", () => {
5
+ describe("Customer Decision", () => {
6
6
  // scenario-id: 5936d064-3500-474f-ac41-619765828d32
7
7
  test("Register on new aggregate produces Registered", () =>
8
8
  givenEvents([])
@@ -1,11 +1,11 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
  import * as Customer$OrderingPlugin from "../../../src/Customer/Aggregate/Customer.res.mjs";
4
- import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
5
- import * as Customer_Behavior$OrderingPlugin from "../../../src/Customer/Aggregate/Customer_Behavior.res.mjs";
4
+ import * as Decision_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Decision_GWT.res.mjs";
5
+ import * as Customer_Decision$OrderingPlugin from "../../../src/Customer/Aggregate/Customer_Decision.res.mjs";
6
6
  import * as Ordering_Examples$OrderingPlugin from "../../Ordering_Examples.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.MakeFromAggregate({
8
+ let include = Decision_GWT$ReventlessGwt.MakeFromAggregate({
9
9
  name: Customer$OrderingPlugin.name,
10
10
  commandSchema: Customer$OrderingPlugin.commandSchema,
11
11
  eventSchema: Customer$OrderingPlugin.eventSchema,
@@ -19,11 +19,11 @@ let include = Behavior_GWT$ReventlessGwt.MakeFromAggregate({
19
19
  errorSchema: Customer$OrderingPlugin.errorSchema,
20
20
  authorizationOf: Customer$OrderingPlugin.authorizationOf
21
21
  },
22
- initialState: Customer_Behavior$OrderingPlugin.initialState,
23
- evolve: Customer_Behavior$OrderingPlugin.evolve,
24
- decide: Customer_Behavior$OrderingPlugin.decide,
22
+ initialState: Customer_Decision$OrderingPlugin.initialState,
23
+ evolve: Customer_Decision$OrderingPlugin.evolve,
24
+ decide: Customer_Decision$OrderingPlugin.decide,
25
25
  snapshot: undefined,
26
- moduleUrl: Customer_Behavior$OrderingPlugin.moduleUrl
26
+ moduleUrl: Customer_Decision$OrderingPlugin.moduleUrl
27
27
  });
28
28
 
29
29
  let describe = include.describe;
@@ -40,7 +40,7 @@ let thenNoEvent = include.thenNoEvent;
40
40
 
41
41
  let thenError = include.thenError;
42
42
 
43
- describe("Customer Behavior", () => {
43
+ describe("Customer Decision", () => {
44
44
  test("Register on new aggregate produces Registered", () => thenEvent(whenCmd(givenEvents([]), {
45
45
  TAG: "Register",
46
46
  email: Ordering_Examples$OrderingPlugin.aliceEmail,
@@ -160,7 +160,7 @@ let thenCompareEvents = include.thenCompareEvents;
160
160
 
161
161
  let thenEventsWithError = include.thenEventsWithError;
162
162
 
163
- let thenRefused = include.thenRefused;
163
+ let thenForbidden = include.thenForbidden;
164
164
 
165
165
  export {
166
166
  Spec,
@@ -178,6 +178,6 @@ export {
178
178
  thenCompareEvents,
179
179
  thenEventsWithError,
180
180
  thenError,
181
- thenRefused,
181
+ thenForbidden,
182
182
  }
183
183
  /* include Not a pure module */
@@ -1,13 +1,13 @@
1
1
  // `Mapping_GWT` exercises Order's self-mapping (auto-ship on placement).
2
- // Bare `@@reventless.gwt` would derive the Behavior DSL from the Aggregate
2
+ // Bare `@@reventless.gwt` would derive the Decision DSL from the Aggregate
3
3
  // folder; the cross-pattern Mapping DSL is wired explicitly instead.
4
4
  //
5
5
  // Self-mappings need the target's per-id history pre-seeded with the
6
6
  // source-emitted event, since Mapping_GWT models source and target as
7
7
  // independent aggregates even when they're the same one in production.
8
8
 
9
- module OrderSource = ReventlessGwt.Mapping_GWT.FromBehavior(Order, Order_Behavior)
10
- module OrderTarget = ReventlessGwt.Mapping_GWT.FromBehavior(Order, Order_Behavior)
9
+ module OrderSource = ReventlessGwt.Mapping_GWT.FromDecision(Order, Order_Decision)
10
+ module OrderTarget = ReventlessGwt.Mapping_GWT.FromDecision(Order, Order_Decision)
11
11
 
12
12
  module AutoShipGwtMapping = {
13
13
  module Source = OrderSource
@@ -5,10 +5,10 @@ import * as ProductId$CatalogSpec from "@reventlessdev/online-shop-aggregates-ca
5
5
  import * as OrderId$OrderingPlugin from "../../../src/Order/OrderId.res.mjs";
6
6
  import * as CustomerId$OrderingPlugin from "../../../src/Customer/CustomerId.res.mjs";
7
7
  import * as Mapping_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Mapping_GWT.res.mjs";
8
- import * as Order_Behavior$OrderingPlugin from "../../../src/Order/Aggregate/Order_Behavior.res.mjs";
8
+ import * as Order_Decision$OrderingPlugin from "../../../src/Order/Aggregate/Order_Decision.res.mjs";
9
9
  import * as Order_Mappings$OrderingPlugin from "../../../src/Order/Aggregate/Order_Mappings.res.mjs";
10
10
 
11
- let OrderSource = Mapping_GWT$ReventlessGwt.FromBehavior({
11
+ let OrderSource = Mapping_GWT$ReventlessGwt.FromDecision({
12
12
  Id: OrderId$OrderingPlugin,
13
13
  name: Order$OrderingPlugin.name,
14
14
  eventSchema: Order$OrderingPlugin.eventSchema,
@@ -30,14 +30,14 @@ let OrderSource = Mapping_GWT$ReventlessGwt.FromBehavior({
30
30
  commandTransition: Order$OrderingPlugin.commandTransition,
31
31
  traits: Order$OrderingPlugin.traits
32
32
  },
33
- initialState: Order_Behavior$OrderingPlugin.initialState,
34
- evolve: Order_Behavior$OrderingPlugin.evolve,
35
- decide: Order_Behavior$OrderingPlugin.decide,
33
+ initialState: Order_Decision$OrderingPlugin.initialState,
34
+ evolve: Order_Decision$OrderingPlugin.evolve,
35
+ decide: Order_Decision$OrderingPlugin.decide,
36
36
  snapshot: undefined,
37
- moduleUrl: Order_Behavior$OrderingPlugin.moduleUrl
37
+ moduleUrl: Order_Decision$OrderingPlugin.moduleUrl
38
38
  });
39
39
 
40
- let OrderTarget = Mapping_GWT$ReventlessGwt.FromBehavior({
40
+ let OrderTarget = Mapping_GWT$ReventlessGwt.FromDecision({
41
41
  Id: OrderId$OrderingPlugin,
42
42
  name: Order$OrderingPlugin.name,
43
43
  eventSchema: Order$OrderingPlugin.eventSchema,
@@ -59,11 +59,11 @@ let OrderTarget = Mapping_GWT$ReventlessGwt.FromBehavior({
59
59
  commandTransition: Order$OrderingPlugin.commandTransition,
60
60
  traits: Order$OrderingPlugin.traits
61
61
  },
62
- initialState: Order_Behavior$OrderingPlugin.initialState,
63
- evolve: Order_Behavior$OrderingPlugin.evolve,
64
- decide: Order_Behavior$OrderingPlugin.decide,
62
+ initialState: Order_Decision$OrderingPlugin.initialState,
63
+ evolve: Order_Decision$OrderingPlugin.evolve,
64
+ decide: Order_Decision$OrderingPlugin.decide,
65
65
  snapshot: undefined,
66
- moduleUrl: Order_Behavior$OrderingPlugin.moduleUrl
66
+ moduleUrl: Order_Decision$OrderingPlugin.moduleUrl
67
67
  });
68
68
 
69
69
  let map = Order_Mappings$OrderingPlugin.AutoShipMapping.map;
@@ -7,7 +7,7 @@ let cust1 = CustomerId.make("cust-1")
7
7
  let prod1 = CatalogSpec.ProductId.make("prod-1")
8
8
  let prod2 = CatalogSpec.ProductId.make("prod-2")
9
9
 
10
- describe("Order Behavior", () => {
10
+ describe("Order Decision", () => {
11
11
  // scenario-id: 4f723805-10e2-4b72-b40a-6cf71e91c375
12
12
  test("Place on new aggregate produces Placed", () =>
13
13
  givenEvents([])
@@ -3,11 +3,11 @@
3
3
  import * as Order$OrderingPlugin from "../../../src/Order/Aggregate/Order.res.mjs";
4
4
  import * as ProductId$CatalogSpec from "@reventlessdev/online-shop-aggregates-catalog-spec/src/ProductId.res.mjs";
5
5
  import * as CustomerId$OrderingPlugin from "../../../src/Customer/CustomerId.res.mjs";
6
- import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
7
- import * as Order_Behavior$OrderingPlugin from "../../../src/Order/Aggregate/Order_Behavior.res.mjs";
6
+ import * as Decision_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Decision_GWT.res.mjs";
7
+ import * as Order_Decision$OrderingPlugin from "../../../src/Order/Aggregate/Order_Decision.res.mjs";
8
8
  import * as Ordering_Examples$OrderingPlugin from "../../Ordering_Examples.res.mjs";
9
9
 
10
- let include = Behavior_GWT$ReventlessGwt.MakeFromAggregate({
10
+ let include = Decision_GWT$ReventlessGwt.MakeFromAggregate({
11
11
  name: Order$OrderingPlugin.name,
12
12
  commandSchema: Order$OrderingPlugin.commandSchema,
13
13
  eventSchema: Order$OrderingPlugin.eventSchema,
@@ -21,11 +21,11 @@ let include = Behavior_GWT$ReventlessGwt.MakeFromAggregate({
21
21
  errorSchema: Order$OrderingPlugin.errorSchema,
22
22
  authorizationOf: Order$OrderingPlugin.authorizationOf
23
23
  },
24
- initialState: Order_Behavior$OrderingPlugin.initialState,
25
- evolve: Order_Behavior$OrderingPlugin.evolve,
26
- decide: Order_Behavior$OrderingPlugin.decide,
24
+ initialState: Order_Decision$OrderingPlugin.initialState,
25
+ evolve: Order_Decision$OrderingPlugin.evolve,
26
+ decide: Order_Decision$OrderingPlugin.decide,
27
27
  snapshot: undefined,
28
- moduleUrl: Order_Behavior$OrderingPlugin.moduleUrl
28
+ moduleUrl: Order_Decision$OrderingPlugin.moduleUrl
29
29
  });
30
30
 
31
31
  let describe = include.describe;
@@ -48,7 +48,7 @@ let prod1 = ProductId$CatalogSpec.make("prod-1");
48
48
 
49
49
  let prod2 = ProductId$CatalogSpec.make("prod-2");
50
50
 
51
- describe("Order Behavior", () => {
51
+ describe("Order Decision", () => {
52
52
  test("Place on new aggregate produces Placed", () => thenEvent(whenCmd(givenEvents([]), {
53
53
  TAG: "Place",
54
54
  customerId: cust1,
@@ -229,7 +229,7 @@ let thenCompareEvents = include.thenCompareEvents;
229
229
 
230
230
  let thenEventsWithError = include.thenEventsWithError;
231
231
 
232
- let thenRefused = include.thenRefused;
232
+ let thenForbidden = include.thenForbidden;
233
233
 
234
234
  export {
235
235
  Spec,
@@ -247,7 +247,7 @@ export {
247
247
  thenCompareEvents,
248
248
  thenEventsWithError,
249
249
  thenError,
250
- thenRefused,
250
+ thenForbidden,
251
251
  cust1,
252
252
  prod1,
253
253
  prod2,