@reventlessdev/reventless-core 3.0.0-alpha.291 → 3.0.0-alpha.293

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 (55) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +7 -7
  3. package/src/admin/Platform_Admin_Structure.res +1 -2
  4. package/src/admin/Platform_Admin_Structure.res.mjs +1 -1
  5. package/src/admin/UiFragmentRegistry/StateChange/UiFragmentRegistry.res.mjs +2 -2
  6. package/src/components/AutomationSlice/AutomationSlice_Callback.res +25 -46
  7. package/src/components/AutomationSlice/AutomationSlice_Callback.res.mjs +27 -46
  8. package/src/components/AutomationSlice/AutomationSlice_Route.res +50 -0
  9. package/src/components/AutomationSlice/AutomationSlice_Route.res.mjs +39 -0
  10. package/src/components/Dcb/Dcb_Builder.res +31 -56
  11. package/src/components/Dcb/Dcb_Builder.res.mjs +13 -29
  12. package/src/components/InboundTranslationSlice/InboundTranslationSlice_Builder.res +2 -2
  13. package/src/components/InboundTranslationSlice/InboundTranslationSlice_Builder.res.mjs +2 -2
  14. package/src/components/InboundTranslationSlice/InboundTranslationSlice_Callback.res +125 -164
  15. package/src/components/InboundTranslationSlice/InboundTranslationSlice_Callback.res.mjs +121 -130
  16. package/src/plugin/component/Plugin_Builder.res +8 -18
  17. package/src/plugin/component/Plugin_Builder.res.mjs +2 -8
  18. package/src/plugin/component/Plugin_Helpers.res +16 -9
  19. package/src/plugin/component/Plugin_Helpers.res.mjs +1 -1
  20. package/src/plugin/component/Plugin_Structure.res +35 -28
  21. package/src/plugin/component/Plugin_Structure.res.mjs +18 -8
  22. package/src/plugin/connect/PluginConnectExtension_Mapping.res.mjs +1 -1
  23. package/src/plugin/connect/PluginExtensionPoint_Plugin.res.mjs +1 -1
  24. package/src/plugin/connect/PluginExtensionPoint_UiFragment.res +1 -1
  25. package/src/plugin/connect/PluginExtensionPoint_UiFragment.res.mjs +1 -1
  26. package/src/plugin/lifecycle/PluginSpec.res.mjs +2 -2
  27. package/tests/aggregate/AggregateCacheTest.res.mjs +4 -4
  28. package/tests/aggregate/AggregateConflictTest.res.mjs +4 -4
  29. package/tests/aggregate/AggregateFixtures.res.mjs +4 -4
  30. package/tests/aggregate/AggregateSnapshotTest.res.mjs +6 -6
  31. package/tests/api/GraphQL_FragmentGeneratorTest.res.mjs +6 -6
  32. package/tests/commandgenerator/CommandGeneratorFixtures.res.mjs +3 -3
  33. package/tests/commandgenerator/OwnerActingTest.res.mjs +7 -7
  34. package/tests/commandtopic/CommandOutcomeHookTest.res.mjs +1 -1
  35. package/tests/commandtopic/CommandTopicCallbackFixtures.res.mjs +3 -3
  36. package/tests/dcb/DcbFixtures.res.mjs +2 -2
  37. package/tests/dcb/DcbStateChangeSliceTest.res.mjs +7 -7
  38. package/tests/eventmapper/EventMapperFixtures.res.mjs +4 -4
  39. package/tests/extensionpoint/ExtensionPointFixtures.res.mjs +2 -2
  40. package/tests/extensionpoint/ExtensionPointOperationsTest.res.mjs +2 -2
  41. package/tests/plugin/PluginStructureAccessTest.res +57 -0
  42. package/tests/plugin/PluginStructureAccessTest.res.mjs +91 -1
  43. package/tests/plugin/PluginStructureTest.res.mjs +10 -10
  44. package/tests/plugin/StateChange/PsAttachInvoice.res.mjs +2 -2
  45. package/tests/plugin/StateChange/PsChangePhoto.res.mjs +2 -2
  46. package/tests/plugin/StateChange/PsDispatchShipment.res.mjs +2 -2
  47. package/tests/plugin/StateChange/PsGatedCommands.res.mjs +3 -3
  48. package/tests/plugin/StateChange/PsPlaceOrder.res.mjs +2 -2
  49. package/tests/plugin/StateChange/PsReserveStock.res.mjs +2 -2
  50. package/tests/plugin/StateChange/PsShipOrder.res.mjs +2 -2
  51. package/tests/plugin/StateChange/PsTransitionSwitch.res.mjs +2 -2
  52. package/tests/plugin/StateChange/PsTypoStore.res.mjs +2 -2
  53. package/tests/plugin/StateChange/PsUploadAvatar.res.mjs +2 -2
  54. package/tests/plugin/StateChange/PsUploadImages.res.mjs +2 -2
  55. package/tests/util/CommandPublisherTest.res.mjs +2 -2
@@ -31,7 +31,7 @@ function decide(_state, _command) {
31
31
  };
32
32
  }
33
33
 
34
- function commandAuthorization(param) {
34
+ function authorizationOf(param) {
35
35
  return "AllowAuthenticated";
36
36
  }
37
37
 
@@ -62,7 +62,7 @@ export {
62
62
  eventSchema,
63
63
  decide,
64
64
  moduleUrl,
65
- commandAuthorization,
65
+ authorizationOf,
66
66
  readConsistency,
67
67
  commandTransition,
68
68
  traits,
@@ -33,7 +33,7 @@ function decide(_state, _command) {
33
33
  };
34
34
  }
35
35
 
36
- function commandAuthorization(param) {
36
+ function authorizationOf(param) {
37
37
  return "AllowAuthenticated";
38
38
  }
39
39
 
@@ -64,7 +64,7 @@ export {
64
64
  eventSchema,
65
65
  decide,
66
66
  moduleUrl,
67
- commandAuthorization,
67
+ authorizationOf,
68
68
  readConsistency,
69
69
  commandTransition,
70
70
  traits,
@@ -35,7 +35,7 @@ function decide(_state, _command) {
35
35
  };
36
36
  }
37
37
 
38
- function commandAuthorization(param) {
38
+ function authorizationOf(param) {
39
39
  return "AllowAuthenticated";
40
40
  }
41
41
 
@@ -66,7 +66,7 @@ export {
66
66
  eventSchema,
67
67
  decide,
68
68
  moduleUrl,
69
- commandAuthorization,
69
+ authorizationOf,
70
70
  readConsistency,
71
71
  commandTransition,
72
72
  traits,
@@ -11,7 +11,7 @@ let commandSchema = Sury.$schema(s => ({
11
11
  value: s.m(Sury.int32)
12
12
  }));
13
13
 
14
- function commandAuthorization(param) {
14
+ function authorizationOf(param) {
15
15
  return "AllowAuthenticated";
16
16
  }
17
17
 
@@ -24,7 +24,7 @@ let traits = [];
24
24
  let TestSpec = {
25
25
  name: "TestCmd",
26
26
  commandSchema: commandSchema,
27
- commandAuthorization: commandAuthorization,
27
+ authorizationOf: authorizationOf,
28
28
  commandTransition: commandTransition,
29
29
  traits: traits
30
30
  };