@reventlessdev/online-shop-dcb-catalog 1.0.0-alpha.284 → 1.0.0-alpha.285

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 (322) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/bs/.compiler.log +2 -2
  3. package/lib/bs/CatalogPlugin.cmi +0 -0
  4. package/lib/bs/CatalogPlugin.cmt +0 -0
  5. package/lib/bs/CatalogPlugin.mlmap +8 -8
  6. package/lib/bs/compiler-info.json +1 -1
  7. package/lib/bs/src/Category/CategoryId-CatalogPlugin.cmi +0 -0
  8. package/lib/bs/src/Category/CategoryId-CatalogPlugin.cmt +0 -0
  9. package/lib/bs/src/Category/StateChange/AddCategory-CatalogPlugin.cmi +0 -0
  10. package/lib/bs/src/Category/StateChange/AddCategory-CatalogPlugin.cmt +0 -0
  11. package/lib/bs/src/Category/StateChange/{AddCategory_Behavior-CatalogPlugin.cmi → AddCategory_Decision-CatalogPlugin.cmi} +0 -0
  12. package/lib/bs/src/Category/StateChange/{AddCategory_Behavior-CatalogPlugin.cmt → AddCategory_Decision-CatalogPlugin.cmt} +0 -0
  13. package/lib/{ocaml/AddCategory_Behavior.ast → bs/src/Category/StateChange/AddCategory_Decision.ast} +0 -0
  14. package/lib/bs/src/Category/StateChange/{AddCategory_Behavior.res → AddCategory_Decision.res} +1 -1
  15. package/{src/Category/StateChange/AddCategory_Behavior.res.mjs → lib/bs/src/Category/StateChange/AddCategory_Decision.res.mjs} +1 -1
  16. package/lib/bs/src/Category/StateChange/ArchiveCategory-CatalogPlugin.cmi +0 -0
  17. package/lib/bs/src/Category/StateChange/ArchiveCategory-CatalogPlugin.cmt +0 -0
  18. package/lib/bs/src/Category/StateChange/{ArchiveCategory_Behavior-CatalogPlugin.cmi → ArchiveCategory_Decision-CatalogPlugin.cmi} +0 -0
  19. package/lib/bs/src/Category/StateChange/{ArchiveCategory_Behavior-CatalogPlugin.cmt → ArchiveCategory_Decision-CatalogPlugin.cmt} +0 -0
  20. package/lib/{ocaml/ArchiveCategory_Behavior.ast → bs/src/Category/StateChange/ArchiveCategory_Decision.ast} +0 -0
  21. package/{src/Category/StateChange/ArchiveCategory_Behavior.res → lib/bs/src/Category/StateChange/ArchiveCategory_Decision.res} +1 -1
  22. package/{src/Category/StateChange/ArchiveCategory_Behavior.res.mjs → lib/bs/src/Category/StateChange/ArchiveCategory_Decision.res.mjs} +1 -1
  23. package/lib/bs/src/Category/StateChange/RenameCategory-CatalogPlugin.cmi +0 -0
  24. package/lib/bs/src/Category/StateChange/RenameCategory-CatalogPlugin.cmt +0 -0
  25. package/lib/bs/src/Category/StateChange/{RenameCategory_Behavior-CatalogPlugin.cmi → RenameCategory_Decision-CatalogPlugin.cmi} +0 -0
  26. package/lib/bs/src/Category/StateChange/{RenameCategory_Behavior-CatalogPlugin.cmt → RenameCategory_Decision-CatalogPlugin.cmt} +0 -0
  27. package/lib/{ocaml/RenameCategory_Behavior.ast → bs/src/Category/StateChange/RenameCategory_Decision.ast} +0 -0
  28. package/{src/Category/StateChange/RenameCategory_Behavior.res → lib/bs/src/Category/StateChange/RenameCategory_Decision.res} +1 -1
  29. package/{src/Category/StateChange/RenameCategory_Behavior.res.mjs → lib/bs/src/Category/StateChange/RenameCategory_Decision.res.mjs} +1 -1
  30. package/lib/bs/src/Category/StateView/Categories-CatalogPlugin.cmi +0 -0
  31. package/lib/bs/src/Category/StateView/Categories-CatalogPlugin.cmt +0 -0
  32. package/lib/bs/src/Category/StateView/Categories_Projection-CatalogPlugin.cmi +0 -0
  33. package/lib/bs/src/Category/StateView/Categories_Projection-CatalogPlugin.cmt +0 -0
  34. package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity-CatalogPlugin.cmi +0 -0
  35. package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity-CatalogPlugin.cmt +0 -0
  36. package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmi +0 -0
  37. package/lib/bs/src/CategoryActivity/ReadModel/CategoryActivity_Projections-CatalogPlugin.cmt +0 -0
  38. package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmi +0 -0
  39. package/lib/bs/src/Extension/Orders_Extension-CatalogPlugin.cmt +0 -0
  40. package/lib/bs/src/ExtensionPoint/Products_ExtensionPointMapping-CatalogPlugin.cmi +0 -0
  41. package/lib/bs/src/ExtensionPoint/Products_ExtensionPointMapping-CatalogPlugin.cmt +0 -0
  42. package/lib/bs/src/LifecycleModel-CatalogPlugin.cmi +0 -0
  43. package/lib/bs/src/LifecycleModel-CatalogPlugin.cmt +0 -0
  44. package/lib/bs/src/Plugin-CatalogPlugin.cmi +0 -0
  45. package/lib/bs/src/Plugin-CatalogPlugin.cmt +0 -0
  46. package/lib/bs/src/Plugin.ast +0 -0
  47. package/lib/bs/src/Plugin.res +8 -8
  48. package/lib/bs/src/Plugin.res.mjs +40 -40
  49. package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmi +0 -0
  50. package/lib/bs/src/Product/InboundTranslation/ImportProduct-CatalogPlugin.cmt +0 -0
  51. package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
  52. package/lib/bs/src/Product/InboundTranslation/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
  53. package/lib/bs/src/Product/StateChange/AddProduct-CatalogPlugin.cmi +0 -0
  54. package/lib/bs/src/Product/StateChange/AddProduct-CatalogPlugin.cmt +0 -0
  55. package/lib/{ocaml/AddProduct_Behavior-CatalogPlugin.cmi → bs/src/Product/StateChange/AddProduct_Decision-CatalogPlugin.cmi} +0 -0
  56. package/lib/{ocaml/AddProduct_Behavior-CatalogPlugin.cmt → bs/src/Product/StateChange/AddProduct_Decision-CatalogPlugin.cmt} +0 -0
  57. package/lib/{ocaml/AddProduct_Behavior.ast → bs/src/Product/StateChange/AddProduct_Decision.ast} +0 -0
  58. package/{src/Product/StateChange/AddProduct_Behavior.res → lib/bs/src/Product/StateChange/AddProduct_Decision.res} +1 -1
  59. package/{src/Product/StateChange/AddProduct_Behavior.res.mjs → lib/bs/src/Product/StateChange/AddProduct_Decision.res.mjs} +1 -1
  60. package/lib/bs/src/Product/StateChange/ChangeProductDescription-CatalogPlugin.cmi +0 -0
  61. package/lib/bs/src/Product/StateChange/ChangeProductDescription-CatalogPlugin.cmt +0 -0
  62. package/lib/bs/src/Product/StateChange/{ChangeProductDescription_Behavior-CatalogPlugin.cmi → ChangeProductDescription_Decision-CatalogPlugin.cmi} +0 -0
  63. package/lib/{ocaml/ChangeProductDescription_Behavior-CatalogPlugin.cmt → bs/src/Product/StateChange/ChangeProductDescription_Decision-CatalogPlugin.cmt} +0 -0
  64. package/lib/bs/src/Product/StateChange/{ChangeProductDescription_Behavior.ast → ChangeProductDescription_Decision.ast} +0 -0
  65. package/{src/Product/StateChange/ChangeProductDescription_Behavior.res → lib/bs/src/Product/StateChange/ChangeProductDescription_Decision.res} +1 -1
  66. package/{src/Product/StateChange/ChangeProductDescription_Behavior.res.mjs → lib/bs/src/Product/StateChange/ChangeProductDescription_Decision.res.mjs} +1 -1
  67. package/lib/bs/src/Product/StateChange/ChangeProductName-CatalogPlugin.cmi +0 -0
  68. package/lib/bs/src/Product/StateChange/ChangeProductName-CatalogPlugin.cmt +0 -0
  69. package/lib/bs/src/Product/StateChange/{ChangeProductName_Behavior-CatalogPlugin.cmi → ChangeProductName_Decision-CatalogPlugin.cmi} +0 -0
  70. package/lib/bs/src/Product/StateChange/{ChangeProductName_Behavior-CatalogPlugin.cmt → ChangeProductName_Decision-CatalogPlugin.cmt} +0 -0
  71. package/lib/bs/src/Product/StateChange/{ChangeProductName_Behavior.ast → ChangeProductName_Decision.ast} +0 -0
  72. package/{src/Product/StateChange/ChangeProductName_Behavior.res → lib/bs/src/Product/StateChange/ChangeProductName_Decision.res} +1 -1
  73. package/{src/Product/StateChange/ChangeProductName_Behavior.res.mjs → lib/bs/src/Product/StateChange/ChangeProductName_Decision.res.mjs} +1 -1
  74. package/lib/bs/src/Product/StateChange/ChangeProductPrice-CatalogPlugin.cmi +0 -0
  75. package/lib/bs/src/Product/StateChange/ChangeProductPrice-CatalogPlugin.cmt +0 -0
  76. package/lib/{ocaml/ChangeProductPrice_Behavior-CatalogPlugin.cmi → bs/src/Product/StateChange/ChangeProductPrice_Decision-CatalogPlugin.cmi} +0 -0
  77. package/lib/bs/src/Product/StateChange/{ChangeProductPrice_Behavior-CatalogPlugin.cmt → ChangeProductPrice_Decision-CatalogPlugin.cmt} +0 -0
  78. package/lib/bs/src/Product/StateChange/{ChangeProductPrice_Behavior.ast → ChangeProductPrice_Decision.ast} +0 -0
  79. package/lib/bs/src/Product/StateChange/{ChangeProductPrice_Behavior.res → ChangeProductPrice_Decision.res} +1 -1
  80. package/lib/bs/src/Product/StateChange/{ChangeProductPrice_Behavior.res.mjs → ChangeProductPrice_Decision.res.mjs} +1 -1
  81. package/lib/bs/src/Product/StateView/Products-CatalogPlugin.cmi +0 -0
  82. package/lib/bs/src/Product/StateView/Products-CatalogPlugin.cmt +0 -0
  83. package/lib/bs/src/Product/StateView/Products_Projection-CatalogPlugin.cmi +0 -0
  84. package/lib/bs/src/Product/StateView/Products_Projection-CatalogPlugin.cmt +0 -0
  85. package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand-CatalogPlugin.cmi +0 -0
  86. package/lib/bs/src/ProductDemand/StateChange/RecordProductDemand-CatalogPlugin.cmt +0 -0
  87. package/lib/bs/src/ProductDemand/StateChange/{RecordProductDemand_Behavior-CatalogPlugin.cmi → RecordProductDemand_Decision-CatalogPlugin.cmi} +0 -0
  88. package/lib/bs/src/ProductDemand/StateChange/{RecordProductDemand_Behavior-CatalogPlugin.cmt → RecordProductDemand_Decision-CatalogPlugin.cmt} +0 -0
  89. package/lib/bs/src/ProductDemand/StateChange/{RecordProductDemand_Behavior.ast → RecordProductDemand_Decision.ast} +0 -0
  90. package/lib/bs/src/ProductDemand/StateChange/{RecordProductDemand_Behavior.res → RecordProductDemand_Decision.res} +1 -1
  91. package/{src/ProductDemand/StateChange/RecordProductDemand_Behavior.res.mjs → lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Decision.res.mjs} +1 -1
  92. package/lib/bs/src/ProductDemand/StateView/ProductDemand-CatalogPlugin.cmi +0 -0
  93. package/lib/bs/src/ProductDemand/StateView/ProductDemand-CatalogPlugin.cmt +0 -0
  94. package/lib/bs/src/ProductDemand/StateView/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
  95. package/lib/bs/src/ProductDemand/StateView/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
  96. package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmi +0 -0
  97. package/lib/bs/src/Task/ImportProducts-CatalogPlugin.cmt +0 -0
  98. package/lib/bs/tests/Catalog_Examples-CatalogPlugin.cmi +0 -0
  99. package/lib/bs/tests/Catalog_Examples-CatalogPlugin.cmt +0 -0
  100. package/lib/bs/tests/Category/StateChange/AddCategory_GWT-CatalogPlugin.cmi +0 -0
  101. package/lib/bs/tests/Category/StateChange/AddCategory_GWT-CatalogPlugin.cmt +0 -0
  102. package/lib/bs/tests/Category/StateChange/AddCategory_GWT.ast +0 -0
  103. package/lib/bs/tests/Category/StateChange/AddCategory_GWT.res.mjs +8 -8
  104. package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
  105. package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
  106. package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT.ast +0 -0
  107. package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT.res +2 -2
  108. package/lib/bs/tests/Category/StateChange/ArchiveCategory_GWT.res.mjs +10 -10
  109. package/lib/bs/tests/Category/StateChange/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
  110. package/lib/bs/tests/Category/StateChange/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
  111. package/lib/bs/tests/Category/StateChange/RenameCategory_GWT.ast +0 -0
  112. package/lib/bs/tests/Category/StateChange/RenameCategory_GWT.res.mjs +8 -8
  113. package/lib/bs/tests/Category/StateView/Categories_GWT-CatalogPlugin.cmi +0 -0
  114. package/lib/bs/tests/Category/StateView/Categories_GWT-CatalogPlugin.cmt +0 -0
  115. package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
  116. package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
  117. package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT.ast +0 -0
  118. package/lib/bs/tests/CategoryActivity/ReadModel/CategoryActivity_GWT.res +1 -1
  119. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  120. package/lib/bs/tests/Extension/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  121. package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
  122. package/lib/bs/tests/ExtensionPoint/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
  123. package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
  124. package/lib/bs/tests/Product/InboundTranslation/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
  125. package/lib/bs/tests/Product/StateChange/AddProduct_GWT-CatalogPlugin.cmi +0 -0
  126. package/lib/bs/tests/Product/StateChange/AddProduct_GWT-CatalogPlugin.cmt +0 -0
  127. package/lib/bs/tests/Product/StateChange/AddProduct_GWT.ast +0 -0
  128. package/lib/bs/tests/Product/StateChange/AddProduct_GWT.res.mjs +8 -8
  129. package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
  130. package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
  131. package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT.ast +0 -0
  132. package/lib/bs/tests/Product/StateChange/ChangeProductDescription_GWT.res.mjs +8 -8
  133. package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
  134. package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
  135. package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT.ast +0 -0
  136. package/lib/bs/tests/Product/StateChange/ChangeProductName_GWT.res.mjs +8 -8
  137. package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
  138. package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
  139. package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT.ast +0 -0
  140. package/lib/bs/tests/Product/StateChange/ChangeProductPrice_GWT.res.mjs +8 -8
  141. package/lib/bs/tests/Product/StateView/Products_GWT-CatalogPlugin.cmi +0 -0
  142. package/lib/bs/tests/Product/StateView/Products_GWT-CatalogPlugin.cmt +0 -0
  143. package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
  144. package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
  145. package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT.ast +0 -0
  146. package/lib/bs/tests/ProductDemand/StateChange/RecordProductDemand_GWT.res.mjs +8 -8
  147. package/lib/bs/tests/ProductDemand/StateView/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  148. package/lib/bs/tests/ProductDemand/StateView/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  149. package/lib/ocaml/.compiler.log +2 -2
  150. package/lib/ocaml/AddCategory-CatalogPlugin.cmi +0 -0
  151. package/lib/ocaml/AddCategory-CatalogPlugin.cmt +0 -0
  152. package/lib/ocaml/{AddCategory_Behavior-CatalogPlugin.cmi → AddCategory_Decision-CatalogPlugin.cmi} +0 -0
  153. package/lib/ocaml/{AddCategory_Behavior-CatalogPlugin.cmt → AddCategory_Decision-CatalogPlugin.cmt} +0 -0
  154. package/lib/{bs/src/Category/StateChange/AddCategory_Behavior.ast → ocaml/AddCategory_Decision.ast} +0 -0
  155. package/lib/ocaml/{AddCategory_Behavior.res → AddCategory_Decision.res} +1 -1
  156. package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmi +0 -0
  157. package/lib/ocaml/AddCategory_GWT-CatalogPlugin.cmt +0 -0
  158. package/lib/ocaml/AddCategory_GWT.ast +0 -0
  159. package/lib/ocaml/AddProduct-CatalogPlugin.cmi +0 -0
  160. package/lib/ocaml/AddProduct-CatalogPlugin.cmt +0 -0
  161. package/lib/{bs/src/Product/StateChange/AddProduct_Behavior-CatalogPlugin.cmi → ocaml/AddProduct_Decision-CatalogPlugin.cmi} +0 -0
  162. package/lib/{bs/src/Product/StateChange/AddProduct_Behavior-CatalogPlugin.cmt → ocaml/AddProduct_Decision-CatalogPlugin.cmt} +0 -0
  163. package/lib/{bs/src/Product/StateChange/AddProduct_Behavior.ast → ocaml/AddProduct_Decision.ast} +0 -0
  164. package/lib/{bs/src/Product/StateChange/AddProduct_Behavior.res → ocaml/AddProduct_Decision.res} +1 -1
  165. package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmi +0 -0
  166. package/lib/ocaml/AddProduct_GWT-CatalogPlugin.cmt +0 -0
  167. package/lib/ocaml/AddProduct_GWT.ast +0 -0
  168. package/lib/ocaml/ArchiveCategory-CatalogPlugin.cmi +0 -0
  169. package/lib/ocaml/ArchiveCategory-CatalogPlugin.cmt +0 -0
  170. package/lib/ocaml/{ArchiveCategory_Behavior-CatalogPlugin.cmi → ArchiveCategory_Decision-CatalogPlugin.cmi} +0 -0
  171. package/lib/ocaml/{ArchiveCategory_Behavior-CatalogPlugin.cmt → ArchiveCategory_Decision-CatalogPlugin.cmt} +0 -0
  172. package/lib/{bs/src/Category/StateChange/ArchiveCategory_Behavior.ast → ocaml/ArchiveCategory_Decision.ast} +0 -0
  173. package/lib/ocaml/{ArchiveCategory_Behavior.res → ArchiveCategory_Decision.res} +1 -1
  174. package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmi +0 -0
  175. package/lib/ocaml/ArchiveCategory_GWT-CatalogPlugin.cmt +0 -0
  176. package/lib/ocaml/ArchiveCategory_GWT.ast +0 -0
  177. package/lib/ocaml/ArchiveCategory_GWT.res +2 -2
  178. package/lib/ocaml/CatalogPlugin.cmi +0 -0
  179. package/lib/ocaml/CatalogPlugin.cmt +0 -0
  180. package/lib/ocaml/CatalogPlugin.mlmap +8 -8
  181. package/lib/ocaml/Catalog_Examples-CatalogPlugin.cmi +0 -0
  182. package/lib/ocaml/Catalog_Examples-CatalogPlugin.cmt +0 -0
  183. package/lib/ocaml/Categories-CatalogPlugin.cmi +0 -0
  184. package/lib/ocaml/Categories-CatalogPlugin.cmt +0 -0
  185. package/lib/ocaml/Categories_GWT-CatalogPlugin.cmi +0 -0
  186. package/lib/ocaml/Categories_GWT-CatalogPlugin.cmt +0 -0
  187. package/lib/ocaml/Categories_Projection-CatalogPlugin.cmi +0 -0
  188. package/lib/ocaml/Categories_Projection-CatalogPlugin.cmt +0 -0
  189. package/lib/ocaml/CategoryActivity-CatalogPlugin.cmi +0 -0
  190. package/lib/ocaml/CategoryActivity-CatalogPlugin.cmt +0 -0
  191. package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmi +0 -0
  192. package/lib/ocaml/CategoryActivity_GWT-CatalogPlugin.cmt +0 -0
  193. package/lib/ocaml/CategoryActivity_GWT.ast +0 -0
  194. package/lib/ocaml/CategoryActivity_GWT.res +1 -1
  195. package/lib/ocaml/CategoryActivity_Projections-CatalogPlugin.cmi +0 -0
  196. package/lib/ocaml/CategoryActivity_Projections-CatalogPlugin.cmt +0 -0
  197. package/lib/ocaml/CategoryId-CatalogPlugin.cmi +0 -0
  198. package/lib/ocaml/CategoryId-CatalogPlugin.cmt +0 -0
  199. package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmi +0 -0
  200. package/lib/ocaml/ChangeProductDescription-CatalogPlugin.cmt +0 -0
  201. package/lib/ocaml/{ChangeProductDescription_Behavior-CatalogPlugin.cmi → ChangeProductDescription_Decision-CatalogPlugin.cmi} +0 -0
  202. package/lib/{bs/src/Product/StateChange/ChangeProductDescription_Behavior-CatalogPlugin.cmt → ocaml/ChangeProductDescription_Decision-CatalogPlugin.cmt} +0 -0
  203. package/lib/ocaml/{ChangeProductDescription_Behavior.ast → ChangeProductDescription_Decision.ast} +0 -0
  204. package/lib/ocaml/{ChangeProductDescription_Behavior.res → ChangeProductDescription_Decision.res} +1 -1
  205. package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmi +0 -0
  206. package/lib/ocaml/ChangeProductDescription_GWT-CatalogPlugin.cmt +0 -0
  207. package/lib/ocaml/ChangeProductDescription_GWT.ast +0 -0
  208. package/lib/ocaml/ChangeProductName-CatalogPlugin.cmi +0 -0
  209. package/lib/ocaml/ChangeProductName-CatalogPlugin.cmt +0 -0
  210. package/lib/ocaml/{ChangeProductName_Behavior-CatalogPlugin.cmi → ChangeProductName_Decision-CatalogPlugin.cmi} +0 -0
  211. package/lib/ocaml/{ChangeProductName_Behavior-CatalogPlugin.cmt → ChangeProductName_Decision-CatalogPlugin.cmt} +0 -0
  212. package/lib/ocaml/{ChangeProductName_Behavior.ast → ChangeProductName_Decision.ast} +0 -0
  213. package/lib/{bs/src/Product/StateChange/ChangeProductName_Behavior.res → ocaml/ChangeProductName_Decision.res} +1 -1
  214. package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmi +0 -0
  215. package/lib/ocaml/ChangeProductName_GWT-CatalogPlugin.cmt +0 -0
  216. package/lib/ocaml/ChangeProductName_GWT.ast +0 -0
  217. package/lib/ocaml/ChangeProductPrice-CatalogPlugin.cmi +0 -0
  218. package/lib/ocaml/ChangeProductPrice-CatalogPlugin.cmt +0 -0
  219. package/lib/{bs/src/Product/StateChange/ChangeProductPrice_Behavior-CatalogPlugin.cmi → ocaml/ChangeProductPrice_Decision-CatalogPlugin.cmi} +0 -0
  220. package/lib/ocaml/{ChangeProductPrice_Behavior-CatalogPlugin.cmt → ChangeProductPrice_Decision-CatalogPlugin.cmt} +0 -0
  221. package/lib/ocaml/{ChangeProductPrice_Behavior.ast → ChangeProductPrice_Decision.ast} +0 -0
  222. package/{src/Product/StateChange/ChangeProductPrice_Behavior.res → lib/ocaml/ChangeProductPrice_Decision.res} +1 -1
  223. package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmi +0 -0
  224. package/lib/ocaml/ChangeProductPrice_GWT-CatalogPlugin.cmt +0 -0
  225. package/lib/ocaml/ChangeProductPrice_GWT.ast +0 -0
  226. package/lib/ocaml/ImportProduct-CatalogPlugin.cmi +0 -0
  227. package/lib/ocaml/ImportProduct-CatalogPlugin.cmt +0 -0
  228. package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmi +0 -0
  229. package/lib/ocaml/ImportProduct_GWT-CatalogPlugin.cmt +0 -0
  230. package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmi +0 -0
  231. package/lib/ocaml/ImportProduct_Translation-CatalogPlugin.cmt +0 -0
  232. package/lib/ocaml/ImportProducts-CatalogPlugin.cmi +0 -0
  233. package/lib/ocaml/ImportProducts-CatalogPlugin.cmt +0 -0
  234. package/lib/ocaml/LifecycleModel-CatalogPlugin.cmi +0 -0
  235. package/lib/ocaml/LifecycleModel-CatalogPlugin.cmt +0 -0
  236. package/lib/ocaml/Orders_Extension-CatalogPlugin.cmi +0 -0
  237. package/lib/ocaml/Orders_Extension-CatalogPlugin.cmt +0 -0
  238. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmi +0 -0
  239. package/lib/ocaml/Orders_Extension_GWT-CatalogPlugin.cmt +0 -0
  240. package/lib/ocaml/Plugin-CatalogPlugin.cmi +0 -0
  241. package/lib/ocaml/Plugin-CatalogPlugin.cmt +0 -0
  242. package/lib/ocaml/Plugin.ast +0 -0
  243. package/lib/ocaml/Plugin.res +8 -8
  244. package/lib/ocaml/ProductDemand-CatalogPlugin.cmi +0 -0
  245. package/lib/ocaml/ProductDemand-CatalogPlugin.cmt +0 -0
  246. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmi +0 -0
  247. package/lib/ocaml/ProductDemand_GWT-CatalogPlugin.cmt +0 -0
  248. package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmi +0 -0
  249. package/lib/ocaml/ProductDemand_Projection-CatalogPlugin.cmt +0 -0
  250. package/lib/ocaml/Products-CatalogPlugin.cmi +0 -0
  251. package/lib/ocaml/Products-CatalogPlugin.cmt +0 -0
  252. package/lib/ocaml/Products_ExtensionPointMapping-CatalogPlugin.cmi +0 -0
  253. package/lib/ocaml/Products_ExtensionPointMapping-CatalogPlugin.cmt +0 -0
  254. package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmi +0 -0
  255. package/lib/ocaml/Products_ExtensionPointMapping_GWT-CatalogPlugin.cmt +0 -0
  256. package/lib/ocaml/Products_GWT-CatalogPlugin.cmi +0 -0
  257. package/lib/ocaml/Products_GWT-CatalogPlugin.cmt +0 -0
  258. package/lib/ocaml/Products_Projection-CatalogPlugin.cmi +0 -0
  259. package/lib/ocaml/Products_Projection-CatalogPlugin.cmt +0 -0
  260. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmi +0 -0
  261. package/lib/ocaml/RecordProductDemand-CatalogPlugin.cmt +0 -0
  262. package/lib/ocaml/{RecordProductDemand_Behavior-CatalogPlugin.cmi → RecordProductDemand_Decision-CatalogPlugin.cmi} +0 -0
  263. package/lib/ocaml/{RecordProductDemand_Behavior-CatalogPlugin.cmt → RecordProductDemand_Decision-CatalogPlugin.cmt} +0 -0
  264. package/lib/ocaml/{RecordProductDemand_Behavior.ast → RecordProductDemand_Decision.ast} +0 -0
  265. package/{src/ProductDemand/StateChange/RecordProductDemand_Behavior.res → lib/ocaml/RecordProductDemand_Decision.res} +1 -1
  266. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmi +0 -0
  267. package/lib/ocaml/RecordProductDemand_GWT-CatalogPlugin.cmt +0 -0
  268. package/lib/ocaml/RecordProductDemand_GWT.ast +0 -0
  269. package/lib/ocaml/RenameCategory-CatalogPlugin.cmi +0 -0
  270. package/lib/ocaml/RenameCategory-CatalogPlugin.cmt +0 -0
  271. package/lib/ocaml/{RenameCategory_Behavior-CatalogPlugin.cmi → RenameCategory_Decision-CatalogPlugin.cmi} +0 -0
  272. package/lib/ocaml/{RenameCategory_Behavior-CatalogPlugin.cmt → RenameCategory_Decision-CatalogPlugin.cmt} +0 -0
  273. package/lib/{bs/src/Category/StateChange/RenameCategory_Behavior.ast → ocaml/RenameCategory_Decision.ast} +0 -0
  274. package/lib/{bs/src/Category/StateChange/RenameCategory_Behavior.res → ocaml/RenameCategory_Decision.res} +1 -1
  275. package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmi +0 -0
  276. package/lib/ocaml/RenameCategory_GWT-CatalogPlugin.cmt +0 -0
  277. package/lib/ocaml/RenameCategory_GWT.ast +0 -0
  278. package/package.json +7 -7
  279. package/src/Category/StateChange/{AddCategory_Behavior.res → AddCategory_Decision.res} +1 -1
  280. package/{lib/bs/src/Category/StateChange/AddCategory_Behavior.res.mjs → src/Category/StateChange/AddCategory_Decision.res.mjs} +1 -1
  281. package/{lib/bs/src/Category/StateChange/ArchiveCategory_Behavior.res → src/Category/StateChange/ArchiveCategory_Decision.res} +1 -1
  282. package/{lib/bs/src/Category/StateChange/ArchiveCategory_Behavior.res.mjs → src/Category/StateChange/ArchiveCategory_Decision.res.mjs} +1 -1
  283. package/{lib/ocaml/RenameCategory_Behavior.res → src/Category/StateChange/RenameCategory_Decision.res} +1 -1
  284. package/{lib/bs/src/Category/StateChange/RenameCategory_Behavior.res.mjs → src/Category/StateChange/RenameCategory_Decision.res.mjs} +1 -1
  285. package/src/Plugin.res +8 -8
  286. package/src/Plugin.res.mjs +40 -40
  287. package/{lib/ocaml/AddProduct_Behavior.res → src/Product/StateChange/AddProduct_Decision.res} +1 -1
  288. package/{lib/bs/src/Product/StateChange/AddProduct_Behavior.res.mjs → src/Product/StateChange/AddProduct_Decision.res.mjs} +1 -1
  289. package/{lib/bs/src/Product/StateChange/ChangeProductDescription_Behavior.res → src/Product/StateChange/ChangeProductDescription_Decision.res} +1 -1
  290. package/{lib/bs/src/Product/StateChange/ChangeProductDescription_Behavior.res.mjs → src/Product/StateChange/ChangeProductDescription_Decision.res.mjs} +1 -1
  291. package/{lib/ocaml/ChangeProductName_Behavior.res → src/Product/StateChange/ChangeProductName_Decision.res} +1 -1
  292. package/{lib/bs/src/Product/StateChange/ChangeProductName_Behavior.res.mjs → src/Product/StateChange/ChangeProductName_Decision.res.mjs} +1 -1
  293. package/{lib/ocaml/ChangeProductPrice_Behavior.res → src/Product/StateChange/ChangeProductPrice_Decision.res} +1 -1
  294. package/src/Product/StateChange/{ChangeProductPrice_Behavior.res.mjs → ChangeProductPrice_Decision.res.mjs} +1 -1
  295. package/{lib/ocaml/RecordProductDemand_Behavior.res → src/ProductDemand/StateChange/RecordProductDemand_Decision.res} +1 -1
  296. package/{lib/bs/src/ProductDemand/StateChange/RecordProductDemand_Behavior.res.mjs → src/ProductDemand/StateChange/RecordProductDemand_Decision.res.mjs} +1 -1
  297. package/tests/Category/StateChange/AddCategory_GWT.res.mjs +8 -8
  298. package/tests/Category/StateChange/ArchiveCategory_GWT.res +2 -2
  299. package/tests/Category/StateChange/ArchiveCategory_GWT.res.mjs +10 -10
  300. package/tests/Category/StateChange/RenameCategory_GWT.res.mjs +8 -8
  301. package/tests/CategoryActivity/ReadModel/CategoryActivity_GWT.res +1 -1
  302. package/tests/Product/StateChange/AddProduct_GWT.res.mjs +8 -8
  303. package/tests/Product/StateChange/ChangeProductDescription_GWT.res.mjs +8 -8
  304. package/tests/Product/StateChange/ChangeProductName_GWT.res.mjs +8 -8
  305. package/tests/Product/StateChange/ChangeProductPrice_GWT.res.mjs +8 -8
  306. package/tests/ProductDemand/StateChange/RecordProductDemand_GWT.res.mjs +8 -8
  307. /package/lib/bs/src/Category/StateChange/{AddCategory_Behavior-CatalogPlugin.cmj → AddCategory_Decision-CatalogPlugin.cmj} +0 -0
  308. /package/lib/bs/src/Category/StateChange/{ArchiveCategory_Behavior-CatalogPlugin.cmj → ArchiveCategory_Decision-CatalogPlugin.cmj} +0 -0
  309. /package/lib/bs/src/Category/StateChange/{RenameCategory_Behavior-CatalogPlugin.cmj → RenameCategory_Decision-CatalogPlugin.cmj} +0 -0
  310. /package/lib/bs/src/Product/StateChange/{AddProduct_Behavior-CatalogPlugin.cmj → AddProduct_Decision-CatalogPlugin.cmj} +0 -0
  311. /package/lib/bs/src/Product/StateChange/{ChangeProductDescription_Behavior-CatalogPlugin.cmj → ChangeProductDescription_Decision-CatalogPlugin.cmj} +0 -0
  312. /package/lib/bs/src/Product/StateChange/{ChangeProductName_Behavior-CatalogPlugin.cmj → ChangeProductName_Decision-CatalogPlugin.cmj} +0 -0
  313. /package/lib/bs/src/Product/StateChange/{ChangeProductPrice_Behavior-CatalogPlugin.cmj → ChangeProductPrice_Decision-CatalogPlugin.cmj} +0 -0
  314. /package/lib/bs/src/ProductDemand/StateChange/{RecordProductDemand_Behavior-CatalogPlugin.cmj → RecordProductDemand_Decision-CatalogPlugin.cmj} +0 -0
  315. /package/lib/ocaml/{AddCategory_Behavior-CatalogPlugin.cmj → AddCategory_Decision-CatalogPlugin.cmj} +0 -0
  316. /package/lib/ocaml/{AddProduct_Behavior-CatalogPlugin.cmj → AddProduct_Decision-CatalogPlugin.cmj} +0 -0
  317. /package/lib/ocaml/{ArchiveCategory_Behavior-CatalogPlugin.cmj → ArchiveCategory_Decision-CatalogPlugin.cmj} +0 -0
  318. /package/lib/ocaml/{ChangeProductDescription_Behavior-CatalogPlugin.cmj → ChangeProductDescription_Decision-CatalogPlugin.cmj} +0 -0
  319. /package/lib/ocaml/{ChangeProductName_Behavior-CatalogPlugin.cmj → ChangeProductName_Decision-CatalogPlugin.cmj} +0 -0
  320. /package/lib/ocaml/{ChangeProductPrice_Behavior-CatalogPlugin.cmj → ChangeProductPrice_Decision-CatalogPlugin.cmj} +0 -0
  321. /package/lib/ocaml/{RecordProductDemand_Behavior-CatalogPlugin.cmj → RecordProductDemand_Decision-CatalogPlugin.cmj} +0 -0
  322. /package/lib/ocaml/{RenameCategory_Behavior-CatalogPlugin.cmj → RenameCategory_Decision-CatalogPlugin.cmj} +0 -0
@@ -1,11 +1,11 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
  import * as AddCategory$CatalogPlugin from "../../../src/Category/StateChange/AddCategory.res.mjs";
4
- import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
4
+ import * as Decision_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Decision_GWT.res.mjs";
5
5
  import * as Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
6
- import * as AddCategory_Behavior$CatalogPlugin from "../../../src/Category/StateChange/AddCategory_Behavior.res.mjs";
6
+ import * as AddCategory_Decision$CatalogPlugin from "../../../src/Category/StateChange/AddCategory_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: AddCategory$CatalogPlugin.name,
10
10
  consumedEventSchema: AddCategory$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: AddCategory$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: AddCategory$CatalogPlugin.eventSchema,
14
14
  authorizationOf: AddCategory$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: AddCategory_Behavior$CatalogPlugin.initialState,
17
- evolve: AddCategory_Behavior$CatalogPlugin.evolve,
18
- decide: AddCategory_Behavior$CatalogPlugin.decide
16
+ initialState: AddCategory_Decision$CatalogPlugin.initialState,
17
+ evolve: AddCategory_Decision$CatalogPlugin.evolve,
18
+ decide: AddCategory_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -71,7 +71,7 @@ let thenEventWithError = include.thenEventWithError;
71
71
 
72
72
  let thenEventsWithError = include.thenEventsWithError;
73
73
 
74
- let thenRefused = include.thenRefused;
74
+ let thenForbidden = include.thenForbidden;
75
75
 
76
76
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
77
77
 
@@ -92,7 +92,7 @@ export {
92
92
  thenEventWithError,
93
93
  thenEventsWithError,
94
94
  thenError,
95
- thenRefused,
95
+ thenForbidden,
96
96
  thenAppendsConditionedOn,
97
97
  thenAppendsConditionedOnExactly,
98
98
  }
@@ -39,7 +39,7 @@ describe("Who may ArchiveCategory", () => {
39
39
  givenEvents([CategoryAdded])
40
40
  ->asCaller(Caller.owner(shopper))
41
41
  ->whenCmd(ArchiveCategory({categoryId: c1}))
42
- ->thenRefused
42
+ ->thenForbidden
43
43
  )
44
44
 
45
45
  // scenario-id: 1ce2fe61-7c2c-44ee-9f2d-de0e6070242f
@@ -47,6 +47,6 @@ describe("Who may ArchiveCategory", () => {
47
47
  givenEvents([CategoryAdded])
48
48
  ->asCaller(Caller.anonymous)
49
49
  ->whenCmd(ArchiveCategory({categoryId: c1}))
50
- ->thenRefused
50
+ ->thenForbidden
51
51
  )
52
52
  })
@@ -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 ArchiveCategory$CatalogPlugin from "../../../src/Category/StateChange/ArchiveCategory.res.mjs";
5
5
  import * as Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
6
- import * as ArchiveCategory_Behavior$CatalogPlugin from "../../../src/Category/StateChange/ArchiveCategory_Behavior.res.mjs";
6
+ import * as ArchiveCategory_Decision$CatalogPlugin from "../../../src/Category/StateChange/ArchiveCategory_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: ArchiveCategory$CatalogPlugin.name,
10
10
  consumedEventSchema: ArchiveCategory$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: ArchiveCategory$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: ArchiveCategory$CatalogPlugin.eventSchema,
14
14
  authorizationOf: ArchiveCategory$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: ArchiveCategory_Behavior$CatalogPlugin.initialState,
17
- evolve: ArchiveCategory_Behavior$CatalogPlugin.evolve,
18
- decide: ArchiveCategory_Behavior$CatalogPlugin.decide
16
+ initialState: ArchiveCategory_Decision$CatalogPlugin.initialState,
17
+ evolve: ArchiveCategory_Decision$CatalogPlugin.evolve,
18
+ decide: ArchiveCategory_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -36,7 +36,7 @@ let thenNoEvent = include.thenNoEvent;
36
36
 
37
37
  let thenError = include.thenError;
38
38
 
39
- let thenRefused = include.thenRefused;
39
+ let thenForbidden = include.thenForbidden;
40
40
 
41
41
  describe("ArchiveCategory StateChangeSlice", () => {
42
42
  test("non-existent category returns CategoryNotFound", () => thenError(whenCmd(givenEvents([]), {
@@ -67,11 +67,11 @@ describe("Who may ArchiveCategory", () => {
67
67
  TAG: "CategoryArchived",
68
68
  categoryId: Catalog_Examples$CatalogPlugin.c1
69
69
  }));
70
- test("a shopper may not archive a category", () => thenRefused(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.owner(Catalog_Examples$CatalogPlugin.shopper, undefined)), {
70
+ test("a shopper may not archive a category", () => thenForbidden(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.owner(Catalog_Examples$CatalogPlugin.shopper, undefined)), {
71
71
  TAG: "ArchiveCategory",
72
72
  categoryId: Catalog_Examples$CatalogPlugin.c1
73
73
  })));
74
- test("an anonymous caller may not archive a category", () => thenRefused(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.anonymous), {
74
+ test("an anonymous caller may not archive a category", () => thenForbidden(whenCmd(asCaller(givenEvents(["CategoryAdded"]), Caller.anonymous), {
75
75
  TAG: "ArchiveCategory",
76
76
  categoryId: Catalog_Examples$CatalogPlugin.c1
77
77
  })));
@@ -106,7 +106,7 @@ export {
106
106
  thenEventWithError,
107
107
  thenEventsWithError,
108
108
  thenError,
109
- thenRefused,
109
+ thenForbidden,
110
110
  thenAppendsConditionedOn,
111
111
  thenAppendsConditionedOnExactly,
112
112
  }
@@ -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 RenameCategory$CatalogPlugin from "../../../src/Category/StateChange/RenameCategory.res.mjs";
5
5
  import * as Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
6
- import * as RenameCategory_Behavior$CatalogPlugin from "../../../src/Category/StateChange/RenameCategory_Behavior.res.mjs";
6
+ import * as RenameCategory_Decision$CatalogPlugin from "../../../src/Category/StateChange/RenameCategory_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: RenameCategory$CatalogPlugin.name,
10
10
  consumedEventSchema: RenameCategory$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: RenameCategory$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: RenameCategory$CatalogPlugin.eventSchema,
14
14
  authorizationOf: RenameCategory$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: RenameCategory_Behavior$CatalogPlugin.initialState,
17
- evolve: RenameCategory_Behavior$CatalogPlugin.evolve,
18
- decide: RenameCategory_Behavior$CatalogPlugin.decide
16
+ initialState: RenameCategory_Decision$CatalogPlugin.initialState,
17
+ evolve: RenameCategory_Decision$CatalogPlugin.evolve,
18
+ decide: RenameCategory_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -85,7 +85,7 @@ let thenEventWithError = include.thenEventWithError;
85
85
 
86
86
  let thenEventsWithError = include.thenEventsWithError;
87
87
 
88
- let thenRefused = include.thenRefused;
88
+ let thenForbidden = include.thenForbidden;
89
89
 
90
90
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
91
91
 
@@ -106,7 +106,7 @@ export {
106
106
  thenEventWithError,
107
107
  thenEventsWithError,
108
108
  thenError,
109
- thenRefused,
109
+ thenForbidden,
110
110
  thenAppendsConditionedOn,
111
111
  thenAppendsConditionedOnExactly,
112
112
  }
@@ -2,7 +2,7 @@ open Catalog_Examples
2
2
 
3
3
  // Multi-source ReadModel: one `_GWT` instance per source mapping. The
4
4
  // `MultiSourceProjection_GWT.Make` functor is single-source — wire one GWT
5
- // module per Source view and let each describe its own slice of behaviour.
5
+ // module per Source view and let each describe its own slice of behavior.
6
6
 
7
7
  module CategoryGwt = ReventlessGwt.MultiSourceProjection_GWT.Make(
8
8
  CategoryActivity_Projections.CategoryActivityMapping,
@@ -1,11 +1,11 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
3
  import * as AddProduct$CatalogPlugin from "../../../src/Product/StateChange/AddProduct.res.mjs";
4
- import * as Behavior_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Behavior_GWT.res.mjs";
4
+ import * as Decision_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/Decision_GWT.res.mjs";
5
5
  import * as Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
6
- import * as AddProduct_Behavior$CatalogPlugin from "../../../src/Product/StateChange/AddProduct_Behavior.res.mjs";
6
+ import * as AddProduct_Decision$CatalogPlugin from "../../../src/Product/StateChange/AddProduct_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: AddProduct$CatalogPlugin.name,
10
10
  consumedEventSchema: AddProduct$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: AddProduct$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: AddProduct$CatalogPlugin.eventSchema,
14
14
  authorizationOf: AddProduct$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: AddProduct_Behavior$CatalogPlugin.initialState,
17
- evolve: AddProduct_Behavior$CatalogPlugin.evolve,
18
- decide: AddProduct_Behavior$CatalogPlugin.decide
16
+ initialState: AddProduct_Decision$CatalogPlugin.initialState,
17
+ evolve: AddProduct_Decision$CatalogPlugin.evolve,
18
+ decide: AddProduct_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -69,7 +69,7 @@ let thenEventWithError = include.thenEventWithError;
69
69
 
70
70
  let thenEventsWithError = include.thenEventsWithError;
71
71
 
72
- let thenRefused = include.thenRefused;
72
+ let thenForbidden = include.thenForbidden;
73
73
 
74
74
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
75
75
 
@@ -90,7 +90,7 @@ export {
90
90
  thenEventWithError,
91
91
  thenEventsWithError,
92
92
  thenError,
93
- thenRefused,
93
+ thenForbidden,
94
94
  thenAppendsConditionedOn,
95
95
  thenAppendsConditionedOnExactly,
96
96
  }
@@ -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 Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
5
5
  import * as ChangeProductDescription$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductDescription.res.mjs";
6
- import * as ChangeProductDescription_Behavior$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductDescription_Behavior.res.mjs";
6
+ import * as ChangeProductDescription_Decision$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductDescription_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: ChangeProductDescription$CatalogPlugin.name,
10
10
  consumedEventSchema: ChangeProductDescription$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: ChangeProductDescription$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: ChangeProductDescription$CatalogPlugin.eventSchema,
14
14
  authorizationOf: ChangeProductDescription$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: ChangeProductDescription_Behavior$CatalogPlugin.initialState,
17
- evolve: ChangeProductDescription_Behavior$CatalogPlugin.evolve,
18
- decide: ChangeProductDescription_Behavior$CatalogPlugin.decide
16
+ initialState: ChangeProductDescription_Decision$CatalogPlugin.initialState,
17
+ evolve: ChangeProductDescription_Decision$CatalogPlugin.evolve,
18
+ decide: ChangeProductDescription_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -74,7 +74,7 @@ let thenEventWithError = include.thenEventWithError;
74
74
 
75
75
  let thenEventsWithError = include.thenEventsWithError;
76
76
 
77
- let thenRefused = include.thenRefused;
77
+ let thenForbidden = include.thenForbidden;
78
78
 
79
79
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
80
80
 
@@ -95,7 +95,7 @@ export {
95
95
  thenEventWithError,
96
96
  thenEventsWithError,
97
97
  thenError,
98
- thenRefused,
98
+ thenForbidden,
99
99
  thenAppendsConditionedOn,
100
100
  thenAppendsConditionedOnExactly,
101
101
  }
@@ -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 Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
5
5
  import * as ChangeProductName$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductName.res.mjs";
6
- import * as ChangeProductName_Behavior$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductName_Behavior.res.mjs";
6
+ import * as ChangeProductName_Decision$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductName_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: ChangeProductName$CatalogPlugin.name,
10
10
  consumedEventSchema: ChangeProductName$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: ChangeProductName$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: ChangeProductName$CatalogPlugin.eventSchema,
14
14
  authorizationOf: ChangeProductName$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: ChangeProductName_Behavior$CatalogPlugin.initialState,
17
- evolve: ChangeProductName_Behavior$CatalogPlugin.evolve,
18
- decide: ChangeProductName_Behavior$CatalogPlugin.decide
16
+ initialState: ChangeProductName_Decision$CatalogPlugin.initialState,
17
+ evolve: ChangeProductName_Decision$CatalogPlugin.evolve,
18
+ decide: ChangeProductName_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -74,7 +74,7 @@ let thenEventWithError = include.thenEventWithError;
74
74
 
75
75
  let thenEventsWithError = include.thenEventsWithError;
76
76
 
77
- let thenRefused = include.thenRefused;
77
+ let thenForbidden = include.thenForbidden;
78
78
 
79
79
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
80
80
 
@@ -95,7 +95,7 @@ export {
95
95
  thenEventWithError,
96
96
  thenEventsWithError,
97
97
  thenError,
98
- thenRefused,
98
+ thenForbidden,
99
99
  thenAppendsConditionedOn,
100
100
  thenAppendsConditionedOnExactly,
101
101
  }
@@ -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 Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
5
5
  import * as ChangeProductPrice$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductPrice.res.mjs";
6
- import * as ChangeProductPrice_Behavior$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductPrice_Behavior.res.mjs";
6
+ import * as ChangeProductPrice_Decision$CatalogPlugin from "../../../src/Product/StateChange/ChangeProductPrice_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: ChangeProductPrice$CatalogPlugin.name,
10
10
  consumedEventSchema: ChangeProductPrice$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: ChangeProductPrice$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: ChangeProductPrice$CatalogPlugin.eventSchema,
14
14
  authorizationOf: ChangeProductPrice$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: ChangeProductPrice_Behavior$CatalogPlugin.initialState,
17
- evolve: ChangeProductPrice_Behavior$CatalogPlugin.evolve,
18
- decide: ChangeProductPrice_Behavior$CatalogPlugin.decide
16
+ initialState: ChangeProductPrice_Decision$CatalogPlugin.initialState,
17
+ evolve: ChangeProductPrice_Decision$CatalogPlugin.evolve,
18
+ decide: ChangeProductPrice_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -74,7 +74,7 @@ let thenEventWithError = include.thenEventWithError;
74
74
 
75
75
  let thenEventsWithError = include.thenEventsWithError;
76
76
 
77
- let thenRefused = include.thenRefused;
77
+ let thenForbidden = include.thenForbidden;
78
78
 
79
79
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
80
80
 
@@ -95,7 +95,7 @@ export {
95
95
  thenEventWithError,
96
96
  thenEventsWithError,
97
97
  thenError,
98
- thenRefused,
98
+ thenForbidden,
99
99
  thenAppendsConditionedOn,
100
100
  thenAppendsConditionedOnExactly,
101
101
  }
@@ -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 Catalog_Examples$CatalogPlugin from "../../Catalog_Examples.res.mjs";
5
5
  import * as RecordProductDemand$CatalogPlugin from "../../../src/ProductDemand/StateChange/RecordProductDemand.res.mjs";
6
- import * as RecordProductDemand_Behavior$CatalogPlugin from "../../../src/ProductDemand/StateChange/RecordProductDemand_Behavior.res.mjs";
6
+ import * as RecordProductDemand_Decision$CatalogPlugin from "../../../src/ProductDemand/StateChange/RecordProductDemand_Decision.res.mjs";
7
7
 
8
- let include = Behavior_GWT$ReventlessGwt.Make({
8
+ let include = Decision_GWT$ReventlessGwt.Make({
9
9
  name: RecordProductDemand$CatalogPlugin.name,
10
10
  consumedEventSchema: RecordProductDemand$CatalogPlugin.consumedEventSchema,
11
11
  commandSchema: RecordProductDemand$CatalogPlugin.commandSchema,
@@ -13,9 +13,9 @@ let include = Behavior_GWT$ReventlessGwt.Make({
13
13
  eventSchema: RecordProductDemand$CatalogPlugin.eventSchema,
14
14
  authorizationOf: RecordProductDemand$CatalogPlugin.authorizationOf
15
15
  })({
16
- initialState: RecordProductDemand_Behavior$CatalogPlugin.initialState,
17
- evolve: RecordProductDemand_Behavior$CatalogPlugin.evolve,
18
- decide: RecordProductDemand_Behavior$CatalogPlugin.decide
16
+ initialState: RecordProductDemand_Decision$CatalogPlugin.initialState,
17
+ evolve: RecordProductDemand_Decision$CatalogPlugin.evolve,
18
+ decide: RecordProductDemand_Decision$CatalogPlugin.decide
19
19
  });
20
20
 
21
21
  let describe = include.describe;
@@ -103,7 +103,7 @@ let thenEventsWithError = include.thenEventsWithError;
103
103
 
104
104
  let thenError = include.thenError;
105
105
 
106
- let thenRefused = include.thenRefused;
106
+ let thenForbidden = include.thenForbidden;
107
107
 
108
108
  let thenAppendsConditionedOn = include.thenAppendsConditionedOn;
109
109
 
@@ -124,7 +124,7 @@ export {
124
124
  thenEventWithError,
125
125
  thenEventsWithError,
126
126
  thenError,
127
- thenRefused,
127
+ thenForbidden,
128
128
  thenAppendsConditionedOn,
129
129
  thenAppendsConditionedOnExactly,
130
130
  }
@@ -1,2 +1,2 @@
1
- #Start(1792429505950)
2
- #Done(1792429508493)
1
+ #Start(1792571253244)
2
+ #Done(1792571257138)
@@ -1,4 +1,4 @@
1
- @@reventless.behavior
1
+ @@reventless.decision
2
2
 
3
3
  type state = {exists: bool, archived: bool}
4
4
 
Binary file
@@ -1,4 +1,4 @@
1
- @@reventless.behavior
1
+ @@reventless.decision
2
2
 
3
3
  type state = {exists: bool}
4
4
 
Binary file
@@ -1,4 +1,4 @@
1
- @@reventless.behavior
1
+ @@reventless.decision
2
2
 
3
3
  type state = {exists: bool, archived: bool}
4
4
 
Binary file
@@ -39,7 +39,7 @@ describe("Who may ArchiveCategory", () => {
39
39
  givenEvents([CategoryAdded])
40
40
  ->asCaller(Caller.owner(shopper))
41
41
  ->whenCmd(ArchiveCategory({categoryId: c1}))
42
- ->thenRefused
42
+ ->thenForbidden
43
43
  )
44
44
 
45
45
  // scenario-id: 1ce2fe61-7c2c-44ee-9f2d-de0e6070242f
@@ -47,6 +47,6 @@ describe("Who may ArchiveCategory", () => {
47
47
  givenEvents([CategoryAdded])
48
48
  ->asCaller(Caller.anonymous)
49
49
  ->whenCmd(ArchiveCategory({categoryId: c1}))
50
- ->thenRefused
50
+ ->thenForbidden
51
51
  )
52
52
  })
Binary file