@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.
- package/CHANGELOG.md +21 -0
- package/package.json +7 -7
- package/src/admin/Platform_Admin_Structure.res +1 -2
- package/src/admin/Platform_Admin_Structure.res.mjs +1 -1
- package/src/admin/UiFragmentRegistry/StateChange/UiFragmentRegistry.res.mjs +2 -2
- package/src/components/AutomationSlice/AutomationSlice_Callback.res +25 -46
- package/src/components/AutomationSlice/AutomationSlice_Callback.res.mjs +27 -46
- package/src/components/AutomationSlice/AutomationSlice_Route.res +50 -0
- package/src/components/AutomationSlice/AutomationSlice_Route.res.mjs +39 -0
- package/src/components/Dcb/Dcb_Builder.res +31 -56
- package/src/components/Dcb/Dcb_Builder.res.mjs +13 -29
- package/src/components/InboundTranslationSlice/InboundTranslationSlice_Builder.res +2 -2
- package/src/components/InboundTranslationSlice/InboundTranslationSlice_Builder.res.mjs +2 -2
- package/src/components/InboundTranslationSlice/InboundTranslationSlice_Callback.res +125 -164
- package/src/components/InboundTranslationSlice/InboundTranslationSlice_Callback.res.mjs +121 -130
- package/src/plugin/component/Plugin_Builder.res +8 -18
- package/src/plugin/component/Plugin_Builder.res.mjs +2 -8
- package/src/plugin/component/Plugin_Helpers.res +16 -9
- package/src/plugin/component/Plugin_Helpers.res.mjs +1 -1
- package/src/plugin/component/Plugin_Structure.res +35 -28
- package/src/plugin/component/Plugin_Structure.res.mjs +18 -8
- package/src/plugin/connect/PluginConnectExtension_Mapping.res.mjs +1 -1
- package/src/plugin/connect/PluginExtensionPoint_Plugin.res.mjs +1 -1
- package/src/plugin/connect/PluginExtensionPoint_UiFragment.res +1 -1
- package/src/plugin/connect/PluginExtensionPoint_UiFragment.res.mjs +1 -1
- package/src/plugin/lifecycle/PluginSpec.res.mjs +2 -2
- package/tests/aggregate/AggregateCacheTest.res.mjs +4 -4
- package/tests/aggregate/AggregateConflictTest.res.mjs +4 -4
- package/tests/aggregate/AggregateFixtures.res.mjs +4 -4
- package/tests/aggregate/AggregateSnapshotTest.res.mjs +6 -6
- package/tests/api/GraphQL_FragmentGeneratorTest.res.mjs +6 -6
- package/tests/commandgenerator/CommandGeneratorFixtures.res.mjs +3 -3
- package/tests/commandgenerator/OwnerActingTest.res.mjs +7 -7
- package/tests/commandtopic/CommandOutcomeHookTest.res.mjs +1 -1
- package/tests/commandtopic/CommandTopicCallbackFixtures.res.mjs +3 -3
- package/tests/dcb/DcbFixtures.res.mjs +2 -2
- package/tests/dcb/DcbStateChangeSliceTest.res.mjs +7 -7
- package/tests/eventmapper/EventMapperFixtures.res.mjs +4 -4
- package/tests/extensionpoint/ExtensionPointFixtures.res.mjs +2 -2
- package/tests/extensionpoint/ExtensionPointOperationsTest.res.mjs +2 -2
- package/tests/plugin/PluginStructureAccessTest.res +57 -0
- package/tests/plugin/PluginStructureAccessTest.res.mjs +91 -1
- package/tests/plugin/PluginStructureTest.res.mjs +10 -10
- package/tests/plugin/StateChange/PsAttachInvoice.res.mjs +2 -2
- package/tests/plugin/StateChange/PsChangePhoto.res.mjs +2 -2
- package/tests/plugin/StateChange/PsDispatchShipment.res.mjs +2 -2
- package/tests/plugin/StateChange/PsGatedCommands.res.mjs +3 -3
- package/tests/plugin/StateChange/PsPlaceOrder.res.mjs +2 -2
- package/tests/plugin/StateChange/PsReserveStock.res.mjs +2 -2
- package/tests/plugin/StateChange/PsShipOrder.res.mjs +2 -2
- package/tests/plugin/StateChange/PsTransitionSwitch.res.mjs +2 -2
- package/tests/plugin/StateChange/PsTypoStore.res.mjs +2 -2
- package/tests/plugin/StateChange/PsUploadAvatar.res.mjs +2 -2
- package/tests/plugin/StateChange/PsUploadImages.res.mjs +2 -2
- package/tests/util/CommandPublisherTest.res.mjs +2 -2
|
@@ -31,7 +31,7 @@ function decide(_state, _command) {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
function
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
27
|
+
authorizationOf: authorizationOf,
|
|
28
28
|
commandTransition: commandTransition,
|
|
29
29
|
traits: traits
|
|
30
30
|
};
|