@reventlessdev/reventless-core 3.0.0-alpha.238 → 3.0.0-alpha.240
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 +40 -0
- package/package.json +12 -12
- package/src/Message.res +11 -11
- package/src/Message.res.mjs +15 -14
- package/src/Projection.res +2 -2
- package/src/Projection.res.mjs +5 -4
- package/src/adapter/Monitoring/Monitoring.res +24 -2
- package/src/adapter/Monitoring/Monitoring.res.mjs +3 -3
- package/src/admin/Platform_AdminApi.res.mjs +3 -3
- package/src/admin/Platform_Admin_Structure.res +33 -112
- package/src/admin/Platform_Admin_Structure.res.mjs +8 -138
- package/src/admin/Platform_ComponentDefinitionsApi.res +2 -1
- package/src/admin/Platform_ComponentDefinitionsApi.res.mjs +5 -1
- package/src/admin/UiFragmentRegistry/StateChangeSlice/UiFragmentRegistry.res.mjs +12 -12
- package/src/admin/UiFragmentRegistry/StateViewSlice/UiFragments.res.mjs +14 -14
- package/src/components/Aggregate/Aggregate_Callback.res +2 -2
- package/src/components/Aggregate/Aggregate_Callback.res.mjs +4 -4
- package/src/components/Api/ApiAllowedStatesHelpers.res.mjs +3 -3
- package/src/components/Api/ApiNoApiHelpers.res.mjs +5 -5
- package/src/components/Api/ApiTargetStateHelpers.res.mjs +3 -3
- package/src/components/Api/GraphQL_FragmentGenerator.res +140 -24
- package/src/components/Api/GraphQL_FragmentGenerator.res.mjs +48 -21
- package/src/components/Api/GraphQL_SchemaInspector.res +1 -1
- package/src/components/Api/GraphQL_SchemaInspector.res.mjs +1 -1
- package/src/components/Api/MCP_SchemaGenerator.res +1 -1
- package/src/components/Api/MCP_SchemaGenerator.res.mjs +1 -1
- package/src/components/Api/SchemaType.res +6 -10
- package/src/components/Api/SchemaType.res.mjs +4 -4
- package/src/components/Api/StorageRefFields.res +1 -1
- package/src/components/Api/StorageRefFields.res.mjs +1 -1
- package/src/components/Api/SuryToJsonSchema.res +19 -0
- package/src/components/Api/SuryToJsonSchema.res.mjs +10 -5
- package/src/components/AutomationSlice/AutomationSlice_Callback.res +3 -4
- package/src/components/AutomationSlice/AutomationSlice_Callback.res.mjs +22 -23
- package/src/components/CommandTopic/CommandTopic_Callback.res +1 -2
- package/src/components/CommandTopic/CommandTopic_Callback.res.mjs +3 -4
- package/src/components/CommandTopic/CommandTopic_Helpers.res +1 -1
- package/src/components/CommandTopic/CommandTopic_Helpers.res.mjs +3 -3
- package/src/components/Counter/Counter.res.mjs +2 -2
- package/src/components/Counter/Counter_Callback.res.mjs +4 -4
- package/src/components/Counter/Counter_Operations.res.mjs +4 -4
- package/src/components/Dcb/Dcb_Builder.res +1 -1
- package/src/components/Dcb/Dcb_Builder.res.mjs +8 -6
- package/src/components/DcbEventLog/DcbEventLog_Builder.res.mjs +4 -3
- package/src/components/EventCollector/EventCollector_Builder.res +1 -1
- package/src/components/InboundTranslationSlice/InboundTranslationSlice_Callback.res +1 -2
- package/src/components/InboundTranslationSlice/InboundTranslationSlice_Callback.res.mjs +11 -12
- package/src/components/OutboundTranslationSlice/OutboundTranslationSlice_Callback.res +3 -4
- package/src/components/OutboundTranslationSlice/OutboundTranslationSlice_Callback.res.mjs +24 -25
- package/src/components/SideEffectHandler/SideEffectHandler_Callback.res +1 -1
- package/src/components/SideEffectHandler/SideEffectHandler_Callback.res.mjs +3 -3
- package/src/components/StateChangeSlice/StateChangeSlice_Callback.res +2 -2
- package/src/components/StateChangeSlice/StateChangeSlice_Callback.res.mjs +4 -4
- package/src/components/StateViewSlice/StateViewSlice_Builder.res +1 -1
- package/src/components/StateViewSlice/StateViewSlice_Builder.res.mjs +3 -3
- package/src/plugin/api/PluginBaseFragment.res +12 -29
- package/src/plugin/api/PluginBaseFragment.res.mjs +3 -22
- package/src/plugin/component/Capability_Inference.res +118 -1
- package/src/plugin/component/Capability_Inference.res.mjs +128 -1
- package/src/plugin/component/Plugin_Builder.res +9 -2
- package/src/plugin/component/Plugin_Builder.res.mjs +5 -2
- package/src/plugin/component/Plugin_Helpers.res +11 -11
- package/src/plugin/component/Plugin_Helpers.res.mjs +11 -10
- package/src/plugin/component/Plugin_Structure.res +458 -296
- package/src/plugin/component/Plugin_Structure.res.mjs +259 -182
- package/src/plugin/component/Plugin_SubscriptionSchema.res +1 -1
- package/src/plugin/component/Plugin_SubscriptionSchema.res.mjs +1 -1
- package/src/plugin/component/SchemaWalker.res +11 -11
- package/src/plugin/component/SchemaWalker.res.mjs +8 -9
- package/src/plugin/connect/PluginExtensionPoint_Plugin.res.mjs +15 -15
- package/src/plugin/lifecycle/PluginBehavior.res.mjs +55 -55
- package/src/plugin/lifecycle/PluginSpec.res +22 -7
- package/src/plugin/lifecycle/PluginSpec.res.mjs +91 -36
- package/src/plugin/lifecycle/PluginsReadModelSpec.res +36 -9
- package/src/plugin/lifecycle/PluginsReadModelSpec.res.mjs +33 -22
- package/src/util/Interstack.res +3 -3
- package/src/util/LogFormat.res +1 -2
- package/src/util/LogFormat.res.mjs +2 -2
- package/tests/IdentityTest.res +6 -7
- package/tests/IdentityTest.res.mjs +7 -9
- package/tests/adapter/MonitoringTest.res +30 -3
- package/tests/adapter/MonitoringTest.res.mjs +31 -12
- package/tests/adapter/RuntimeExtensionHookReachTest.res +0 -1
- package/tests/adapter/RuntimeExtensionHookReachTest.res.mjs +5 -7
- package/tests/admin/Platform_Admin_StructureTest.res +254 -0
- package/tests/admin/Platform_Admin_StructureTest.res.mjs +219 -0
- package/tests/admin/Platform_BakedManifestTest.res +1 -0
- package/tests/admin/Platform_BakedManifestTest.res.mjs +1 -0
- package/tests/admin/Platform_ComponentDefinitionsApiTest.res +3 -0
- package/tests/admin/Platform_ComponentDefinitionsApiTest.res.mjs +6 -0
- package/tests/admin/Platform_PluginStructuresApiTest.res +1 -0
- package/tests/admin/Platform_PluginStructuresApiTest.res.mjs +2 -0
- package/tests/aggregate/AggregateCacheTest.res +0 -1
- package/tests/aggregate/AggregateCacheTest.res.mjs +13 -15
- package/tests/aggregate/AggregateConflictTest.res +0 -1
- package/tests/aggregate/AggregateConflictTest.res.mjs +7 -9
- package/tests/aggregate/AggregateFixtures.res +0 -1
- package/tests/aggregate/AggregateFixtures.res.mjs +19 -21
- package/tests/aggregate/AggregateSnapshotTest.res +1 -2
- package/tests/aggregate/AggregateSnapshotTest.res.mjs +15 -16
- package/tests/api/ApiNoApiTest.res.mjs +17 -9
- package/tests/api/GraphQL_FragmentGeneratorTest.res +232 -0
- package/tests/api/GraphQL_FragmentGeneratorTest.res.mjs +207 -55
- package/tests/api/PsInternalFieldsReadModel.res +21 -0
- package/tests/api/PsInternalFieldsReadModel.res.mjs +74 -0
- package/tests/api/StorageRefFieldsTest.res.mjs +13 -13
- package/tests/api/SuryToJsonSchemaTest.res +73 -3
- package/tests/api/SuryToJsonSchemaTest.res.mjs +364 -816
- package/tests/commandgenerator/CommandGeneratorFixtures.res +0 -1
- package/tests/commandgenerator/CommandGeneratorFixtures.res.mjs +19 -21
- package/tests/commandgenerator/OwnerStampingTest.res +0 -1
- package/tests/commandgenerator/OwnerStampingTest.res.mjs +9 -11
- package/tests/commandtopic/CommandTopicCallbackFixtures.res +0 -1
- package/tests/commandtopic/CommandTopicCallbackFixtures.res.mjs +7 -9
- package/tests/counter/CounterFixtures.res +0 -1
- package/tests/counter/CounterFixtures.res.mjs +1 -4
- package/tests/dcb/DcbDecodeTest.res.mjs +24 -24
- package/tests/dcb/DcbEventLogOperationsTest.res +2 -2
- package/tests/dcb/DcbEventLogOperationsTest.res.mjs +3 -3
- package/tests/dcb/DcbEventLogSchemaTest.res.mjs +7 -7
- package/tests/dcb/DcbFixtures.res +0 -1
- package/tests/dcb/DcbFixtures.res.mjs +87 -89
- package/tests/dcb/DcbTagTest.res.mjs +6 -6
- package/tests/dcb/DcbValidationTest.res.mjs +52 -52
- package/tests/eventlog/EventLogFixtures.res +0 -1
- package/tests/eventlog/EventLogFixtures.res.mjs +7 -9
- package/tests/eventmapper/EventMapperFixtures.res +0 -1
- package/tests/eventmapper/EventMapperFixtures.res.mjs +24 -26
- package/tests/eventtopic/EventTopicFixtures.res +0 -1
- package/tests/eventtopic/EventTopicFixtures.res.mjs +7 -9
- package/tests/extensionpoint/ExtensionPointFixtures.res +0 -1
- package/tests/extensionpoint/ExtensionPointFixtures.res.mjs +10 -12
- package/tests/extensionpoint/ExtensionPointOperationsTest.res +1 -2
- package/tests/extensionpoint/ExtensionPointOperationsTest.res.mjs +9 -10
- package/tests/logger/LogFormatTest.res +3 -2
- package/tests/logger/LogFormatTest.res.mjs +7 -9
- package/tests/message/MessageTest.res +2 -2
- package/tests/message/MessageTest.res.mjs +8 -7
- package/tests/message/MetaEnvelopeTest.res +5 -5
- package/tests/message/MetaEnvelopeTest.res.mjs +12 -11
- package/tests/plugin/ManifestVisibilityTest.res.mjs +7 -7
- package/tests/plugin/PluginDefinitionScalars.res +5 -3
- package/tests/plugin/PluginDefinitionScalars.res.mjs +2 -2
- package/tests/plugin/PluginLifecycleCorpusTest.res +4 -3
- package/tests/plugin/PluginLifecycleCorpusTest.res.mjs +3 -6
- package/tests/plugin/PluginSpecExperiment.res +0 -1
- package/tests/plugin/PluginSpecExperiment.res.mjs +12 -14
- package/tests/plugin/PluginStructureTest.res +292 -2
- package/tests/plugin/PluginStructureTest.res.mjs +391 -88
- package/tests/plugin/Plugin_EventQuerySchemaTest.res.mjs +3 -3
- package/tests/plugin/SchemaWalkerTest.res +0 -1
- package/tests/plugin/SchemaWalkerTest.res.mjs +17 -19
- package/tests/plugin/StateChangeSlice/PsAttachInvoice.res.mjs +5 -5
- package/tests/plugin/StateChangeSlice/PsChangePhoto.res.mjs +8 -8
- package/tests/plugin/StateChangeSlice/PsDispatchShipment.res.mjs +5 -5
- package/tests/plugin/StateChangeSlice/PsGatedCommands.res.mjs +9 -9
- package/tests/plugin/StateChangeSlice/PsPlaceOrder.res.mjs +5 -5
- package/tests/plugin/StateChangeSlice/PsReserveStock.res.mjs +8 -8
- package/tests/plugin/StateChangeSlice/PsShipOrder.res.mjs +15 -15
- package/tests/plugin/StateChangeSlice/PsTypoStore.res +31 -0
- package/tests/plugin/StateChangeSlice/PsTypoStore.res.mjs +62 -0
- package/tests/plugin/StateChangeSlice/PsUploadAvatar.res.mjs +8 -8
- package/tests/plugin/StateChangeSlice/PsUploadImages.res +40 -0
- package/tests/plugin/StateChangeSlice/PsUploadImages.res.mjs +66 -0
- package/tests/plugin/StateViewSlice/PsAnnotatedView.res.mjs +13 -12
- package/tests/plugin/StateViewSlice/PsAvailableProductsView.res.mjs +8 -8
- package/tests/plugin/StateViewSlice/PsCategoriesView.res.mjs +6 -6
- package/tests/plugin/StateViewSlice/PsCustomersView.res.mjs +10 -10
- package/tests/plugin/StateViewSlice/PsGatedView.res.mjs +6 -6
- package/tests/plugin/StateViewSlice/PsOrdersView.res.mjs +9 -9
- package/tests/plugin/StateViewSlice/PsShipmentsView.res.mjs +11 -10
- package/tests/plugin/pluginDefinitionRequiredScalars.txt +15 -0
- package/tests/querydb/QueryDbFixtures.res +0 -1
- package/tests/querydb/QueryDbFixtures.res.mjs +5 -7
- package/tests/sideeffecthandler/SideEffectHandlerFixtures.res +0 -1
- package/tests/sideeffecthandler/SideEffectHandlerFixtures.res.mjs +4 -6
- package/tests/util/CommandPublisherTest.res +0 -1
- package/tests/util/CommandPublisherTest.res.mjs +4 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as
|
|
3
|
+
import * as Sury from "sury";
|
|
4
4
|
import * as Stdlib_Int from "@rescript/runtime/lib/es6/Stdlib_Int.js";
|
|
5
5
|
import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
|
|
6
6
|
import * as Effect from "effect/Effect";
|
|
@@ -8,27 +8,25 @@ import * as Stream from "effect/Stream";
|
|
|
8
8
|
import * as DcbTag$Reventless from "@reventlessdev/reventless-spec/src/components/DcbTag.res.mjs";
|
|
9
9
|
import * as Message$ReventlessCore from "../../src/Message.res.mjs";
|
|
10
10
|
|
|
11
|
-
S.enableJson();
|
|
12
|
-
|
|
13
11
|
let moduleUrl = import.meta.url;
|
|
14
12
|
|
|
15
|
-
let eventSchema =
|
|
16
|
-
|
|
13
|
+
let eventSchema = Sury.union([
|
|
14
|
+
Sury.$schema(s => ({
|
|
17
15
|
TAG: "ItemCreated",
|
|
18
16
|
itemId: s.m(DcbTag$Reventless.string),
|
|
19
|
-
name: s.m(
|
|
17
|
+
name: s.m(Sury.string)
|
|
20
18
|
})),
|
|
21
|
-
|
|
19
|
+
Sury.$schema(s => ({
|
|
22
20
|
TAG: "ItemRenamed",
|
|
23
21
|
itemId: s.m(DcbTag$Reventless.string),
|
|
24
|
-
newName: s.m(
|
|
22
|
+
newName: s.m(Sury.string)
|
|
25
23
|
})),
|
|
26
|
-
|
|
24
|
+
Sury.$schema(s => ({
|
|
27
25
|
TAG: "CountUpdated",
|
|
28
26
|
category: s.m(DcbTag$Reventless.string),
|
|
29
27
|
amount: s.m(DcbTag$Reventless.int)
|
|
30
28
|
})),
|
|
31
|
-
|
|
29
|
+
Sury.literal("SimpleEvent")
|
|
32
30
|
]);
|
|
33
31
|
|
|
34
32
|
let TestEventLogSpec = {
|
|
@@ -36,69 +34,69 @@ let TestEventLogSpec = {
|
|
|
36
34
|
eventSchema: eventSchema
|
|
37
35
|
};
|
|
38
36
|
|
|
39
|
-
let eventSchema$1 =
|
|
40
|
-
|
|
37
|
+
let eventSchema$1 = Sury.union([
|
|
38
|
+
Sury.$schema(s => ({
|
|
41
39
|
TAG: "PlainEvent",
|
|
42
|
-
name: s.m(
|
|
43
|
-
value: s.m(
|
|
40
|
+
name: s.m(Sury.string),
|
|
41
|
+
value: s.m(Sury.int)
|
|
44
42
|
})),
|
|
45
|
-
|
|
43
|
+
Sury.literal("EmptyEvent")
|
|
46
44
|
]);
|
|
47
45
|
|
|
48
46
|
let UntaggedEventSpec = {
|
|
49
47
|
eventSchema: eventSchema$1
|
|
50
48
|
};
|
|
51
49
|
|
|
52
|
-
let objectEventSchema =
|
|
50
|
+
let objectEventSchema = Sury.$schema(s => ({
|
|
53
51
|
tenantId: s.m(DcbTag$Reventless.string),
|
|
54
|
-
data: s.m(
|
|
52
|
+
data: s.m(Sury.string)
|
|
55
53
|
}));
|
|
56
54
|
|
|
57
55
|
let moduleUrl$1 = import.meta.url;
|
|
58
56
|
|
|
59
|
-
let eventSchema$2 =
|
|
60
|
-
|
|
57
|
+
let eventSchema$2 = Sury.union([
|
|
58
|
+
Sury.$schema(s => ({
|
|
61
59
|
TAG: "ItemCreated",
|
|
62
60
|
itemId: s.m(DcbTag$Reventless.string),
|
|
63
|
-
name: s.m(
|
|
61
|
+
name: s.m(Sury.string)
|
|
64
62
|
})),
|
|
65
|
-
|
|
63
|
+
Sury.$schema(s => ({
|
|
66
64
|
TAG: "ItemRenamed",
|
|
67
65
|
itemId: s.m(DcbTag$Reventless.string),
|
|
68
|
-
newName: s.m(
|
|
66
|
+
newName: s.m(Sury.string)
|
|
69
67
|
}))
|
|
70
68
|
]);
|
|
71
69
|
|
|
72
|
-
let consumedEventSchema =
|
|
73
|
-
|
|
70
|
+
let consumedEventSchema = Sury.union([
|
|
71
|
+
Sury.$schema(s => ({
|
|
74
72
|
TAG: "ItemCreated",
|
|
75
73
|
itemId: s.m(DcbTag$Reventless.string),
|
|
76
|
-
name: s.m(
|
|
74
|
+
name: s.m(Sury.string)
|
|
77
75
|
})),
|
|
78
|
-
|
|
76
|
+
Sury.$schema(s => ({
|
|
79
77
|
TAG: "ItemRenamed",
|
|
80
78
|
itemId: s.m(DcbTag$Reventless.string),
|
|
81
|
-
newName: s.m(
|
|
79
|
+
newName: s.m(Sury.string)
|
|
82
80
|
}))
|
|
83
81
|
]);
|
|
84
82
|
|
|
85
|
-
let commandSchema =
|
|
86
|
-
|
|
83
|
+
let commandSchema = Sury.union([
|
|
84
|
+
Sury.$schema(s => ({
|
|
87
85
|
TAG: "CreateItem",
|
|
88
86
|
itemId: s.m(DcbTag$Reventless.string),
|
|
89
|
-
name: s.m(
|
|
87
|
+
name: s.m(Sury.string)
|
|
90
88
|
})),
|
|
91
|
-
|
|
89
|
+
Sury.$schema(s => ({
|
|
92
90
|
TAG: "RenameItem",
|
|
93
91
|
itemId: s.m(DcbTag$Reventless.string),
|
|
94
|
-
newName: s.m(
|
|
92
|
+
newName: s.m(Sury.string)
|
|
95
93
|
})),
|
|
96
|
-
|
|
94
|
+
Sury.literal("NoOp")
|
|
97
95
|
]);
|
|
98
96
|
|
|
99
|
-
let errorSchema =
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
let errorSchema = Sury.union([
|
|
98
|
+
Sury.literal("ItemAlreadyExists"),
|
|
99
|
+
Sury.literal("ItemNotFound")
|
|
102
100
|
]);
|
|
103
101
|
|
|
104
102
|
function evolve(state, event) {
|
|
@@ -317,176 +315,176 @@ function makeMockStorage() {
|
|
|
317
315
|
};
|
|
318
316
|
}
|
|
319
317
|
|
|
320
|
-
let plainRecordSchema =
|
|
321
|
-
name: s.m(
|
|
322
|
-
value: s.m(
|
|
318
|
+
let plainRecordSchema = Sury.$schema(s => ({
|
|
319
|
+
name: s.m(Sury.string),
|
|
320
|
+
value: s.m(Sury.int)
|
|
323
321
|
}));
|
|
324
322
|
|
|
325
|
-
let multiTagRecordSchema =
|
|
323
|
+
let multiTagRecordSchema = Sury.$schema(s => ({
|
|
326
324
|
userId: s.m(DcbTag$Reventless.string),
|
|
327
325
|
tenantId: s.m(DcbTag$Reventless.string),
|
|
328
|
-
data: s.m(
|
|
326
|
+
data: s.m(Sury.string)
|
|
329
327
|
}));
|
|
330
328
|
|
|
331
|
-
let emptyVariantSchema =
|
|
329
|
+
let emptyVariantSchema = Sury.literal("Empty");
|
|
332
330
|
|
|
333
|
-
let intTagEventSchema =
|
|
331
|
+
let intTagEventSchema = Sury.$schema(s => ({
|
|
334
332
|
TAG: "CountEvent",
|
|
335
333
|
count: s.m(DcbTag$Reventless.int)
|
|
336
334
|
}));
|
|
337
335
|
|
|
338
|
-
let mixedEventSchema =
|
|
339
|
-
|
|
336
|
+
let mixedEventSchema = Sury.union([
|
|
337
|
+
Sury.$schema(s => ({
|
|
340
338
|
TAG: "EventA",
|
|
341
339
|
id: s.m(DcbTag$Reventless.string),
|
|
342
|
-
name: s.m(
|
|
340
|
+
name: s.m(Sury.string)
|
|
343
341
|
})),
|
|
344
|
-
|
|
342
|
+
Sury.$schema(s => ({
|
|
345
343
|
TAG: "EventB",
|
|
346
344
|
id: s.m(DcbTag$Reventless.string),
|
|
347
|
-
count: s.m(
|
|
345
|
+
count: s.m(Sury.int)
|
|
348
346
|
})),
|
|
349
|
-
|
|
347
|
+
Sury.$schema(s => ({
|
|
350
348
|
TAG: "EventC",
|
|
351
|
-
untaggedField: s.m(
|
|
349
|
+
untaggedField: s.m(Sury.string)
|
|
352
350
|
}))
|
|
353
351
|
]);
|
|
354
352
|
|
|
355
|
-
let complexEventSchema =
|
|
356
|
-
|
|
353
|
+
let complexEventSchema = Sury.union([
|
|
354
|
+
Sury.$schema(s => ({
|
|
357
355
|
TAG: "UserCreated",
|
|
358
356
|
userId: s.m(DcbTag$Reventless.string),
|
|
359
|
-
name: s.m(
|
|
357
|
+
name: s.m(Sury.string)
|
|
360
358
|
})),
|
|
361
|
-
|
|
359
|
+
Sury.$schema(s => ({
|
|
362
360
|
TAG: "UserUpdated",
|
|
363
361
|
userId: s.m(DcbTag$Reventless.string),
|
|
364
|
-
email: s.m(
|
|
362
|
+
email: s.m(Sury.string)
|
|
365
363
|
})),
|
|
366
|
-
|
|
364
|
+
Sury.$schema(s => ({
|
|
367
365
|
TAG: "OrderPlaced",
|
|
368
366
|
orderId: s.m(DcbTag$Reventless.string),
|
|
369
367
|
userId: s.m(DcbTag$Reventless.string),
|
|
370
|
-
amount: s.m(
|
|
368
|
+
amount: s.m(Sury.float)
|
|
371
369
|
})),
|
|
372
|
-
|
|
370
|
+
Sury.$schema(s => ({
|
|
373
371
|
TAG: "OrderShipped",
|
|
374
372
|
orderId: s.m(DcbTag$Reventless.string),
|
|
375
373
|
trackingId: s.m(DcbTag$Reventless.string)
|
|
376
374
|
})),
|
|
377
|
-
|
|
375
|
+
Sury.$schema(s => ({
|
|
378
376
|
TAG: "PaymentProcessed",
|
|
379
377
|
paymentId: s.m(DcbTag$Reventless.string),
|
|
380
|
-
amount: s.m(
|
|
378
|
+
amount: s.m(Sury.float)
|
|
381
379
|
}))
|
|
382
380
|
]);
|
|
383
381
|
|
|
384
|
-
let multiFieldEventSchema =
|
|
382
|
+
let multiFieldEventSchema = Sury.$schema(s => ({
|
|
385
383
|
TAG: "EventWithMultipleTags",
|
|
386
384
|
userId: s.m(DcbTag$Reventless.string),
|
|
387
385
|
tenantId: s.m(DcbTag$Reventless.string),
|
|
388
386
|
sessionId: s.m(DcbTag$Reventless.string)
|
|
389
387
|
}));
|
|
390
388
|
|
|
391
|
-
let crossEntityCommandSchema =
|
|
389
|
+
let crossEntityCommandSchema = Sury.$schema(s => ({
|
|
392
390
|
TAG: "PlaceOrder",
|
|
393
391
|
orderId: s.m(DcbTag$Reventless.string),
|
|
394
|
-
customerId: s.m(
|
|
395
|
-
productId: s.m(
|
|
392
|
+
customerId: s.m(Sury.string),
|
|
393
|
+
productId: s.m(Sury.array(DcbTag$Reventless.string))
|
|
396
394
|
}));
|
|
397
395
|
|
|
398
|
-
let singleTagCommandSchema =
|
|
396
|
+
let singleTagCommandSchema = Sury.$schema(s => ({
|
|
399
397
|
TAG: "CreateItem",
|
|
400
398
|
itemId: s.m(DcbTag$Reventless.string),
|
|
401
|
-
name: s.m(
|
|
399
|
+
name: s.m(Sury.string)
|
|
402
400
|
}));
|
|
403
401
|
|
|
404
|
-
let orderEventLogSchema =
|
|
405
|
-
|
|
402
|
+
let orderEventLogSchema = Sury.union([
|
|
403
|
+
Sury.$schema(s => ({
|
|
406
404
|
TAG: "OrderPlaced",
|
|
407
405
|
orderId: s.m(DcbTag$Reventless.string),
|
|
408
406
|
customerId: s.m(DcbTag$Reventless.string),
|
|
409
407
|
productId: s.m(DcbTag$Reventless.string)
|
|
410
408
|
})),
|
|
411
|
-
|
|
409
|
+
Sury.$schema(s => ({
|
|
412
410
|
TAG: "CatalogProductSynced",
|
|
413
411
|
productId: s.m(DcbTag$Reventless.string)
|
|
414
412
|
}))
|
|
415
413
|
]);
|
|
416
414
|
|
|
417
|
-
let singleProductEventSchema =
|
|
415
|
+
let singleProductEventSchema = Sury.$schema(s => ({
|
|
418
416
|
TAG: "CatalogProductSynced",
|
|
419
417
|
productId: s.m(DcbTag$Reventless.string)
|
|
420
418
|
}));
|
|
421
419
|
|
|
422
|
-
let multiProductCommandSchema =
|
|
420
|
+
let multiProductCommandSchema = Sury.$schema(s => ({
|
|
423
421
|
TAG: "PlaceOrderWithMany",
|
|
424
422
|
orderId: s.m(DcbTag$Reventless.string),
|
|
425
|
-
productIds: s.m(
|
|
423
|
+
productIds: s.m(Sury.array(DcbTag$Reventless.stringForKey("productId")))
|
|
426
424
|
}));
|
|
427
425
|
|
|
428
|
-
let customKeyEventSchema =
|
|
426
|
+
let customKeyEventSchema = Sury.$schema(s => ({
|
|
429
427
|
TAG: "ProductLabelled",
|
|
430
428
|
sku: s.m(DcbTag$Reventless.stringForKey("productSku"))
|
|
431
429
|
}));
|
|
432
430
|
|
|
433
|
-
let compositeEventSchema =
|
|
431
|
+
let compositeEventSchema = Sury.$schema(s => ({
|
|
434
432
|
TAG: "SyncPlugin",
|
|
435
433
|
environment: s.m(DcbTag$Reventless.compositePartitionMember(0, undefined)),
|
|
436
434
|
platformName: s.m(DcbTag$Reventless.compositePartitionMember(1, undefined)),
|
|
437
435
|
pluginName: s.m(DcbTag$Reventless.compositePartitionMember(2, undefined)),
|
|
438
|
-
version: s.m(
|
|
436
|
+
version: s.m(Sury.string)
|
|
439
437
|
}));
|
|
440
438
|
|
|
441
|
-
let compositeEventCustomSepSchema =
|
|
439
|
+
let compositeEventCustomSepSchema = Sury.$schema(s => ({
|
|
442
440
|
TAG: "ConfigUpdated",
|
|
443
441
|
tenantId: s.m(DcbTag$Reventless.compositePartitionMember(0, ":")),
|
|
444
442
|
region: s.m(DcbTag$Reventless.compositePartitionMember(1, "/")),
|
|
445
443
|
service: s.m(DcbTag$Reventless.compositePartitionMember(2, undefined)),
|
|
446
|
-
value: s.m(
|
|
444
|
+
value: s.m(Sury.string)
|
|
447
445
|
}));
|
|
448
446
|
|
|
449
|
-
let compositeMultiVariantSchema =
|
|
450
|
-
|
|
447
|
+
let compositeMultiVariantSchema = Sury.union([
|
|
448
|
+
Sury.$schema(s => ({
|
|
451
449
|
TAG: "VariantA",
|
|
452
450
|
env: s.m(DcbTag$Reventless.compositePartitionMember(0, undefined)),
|
|
453
451
|
name: s.m(DcbTag$Reventless.compositePartitionMember(1, undefined)),
|
|
454
|
-
data: s.m(
|
|
452
|
+
data: s.m(Sury.string)
|
|
455
453
|
})),
|
|
456
|
-
|
|
454
|
+
Sury.$schema(s => ({
|
|
457
455
|
TAG: "VariantB",
|
|
458
456
|
env: s.m(DcbTag$Reventless.compositePartitionMember(0, undefined)),
|
|
459
457
|
name: s.m(DcbTag$Reventless.compositePartitionMember(1, undefined)),
|
|
460
|
-
count: s.m(
|
|
458
|
+
count: s.m(Sury.int)
|
|
461
459
|
}))
|
|
462
460
|
]);
|
|
463
461
|
|
|
464
|
-
let simplePartitionEventSchema =
|
|
462
|
+
let simplePartitionEventSchema = Sury.$schema(s => ({
|
|
465
463
|
TAG: "OrderPlaced",
|
|
466
464
|
orderId: s.m(DcbTag$Reventless.partition),
|
|
467
465
|
customerId: s.m(DcbTag$Reventless.string)
|
|
468
466
|
}));
|
|
469
467
|
|
|
470
|
-
let mixedStrategyEventSchema =
|
|
468
|
+
let mixedStrategyEventSchema = Sury.$schema(s => ({
|
|
471
469
|
TAG: "BadEvent",
|
|
472
470
|
env: s.m(DcbTag$Reventless.compositePartitionMember(0, undefined)),
|
|
473
471
|
name: s.m(DcbTag$Reventless.compositePartitionMember(1, undefined)),
|
|
474
472
|
orderId: s.m(DcbTag$Reventless.partition)
|
|
475
473
|
}));
|
|
476
474
|
|
|
477
|
-
let singleCompositeEventSchema =
|
|
475
|
+
let singleCompositeEventSchema = Sury.$schema(s => ({
|
|
478
476
|
TAG: "OnlyOne",
|
|
479
477
|
env: s.m(DcbTag$Reventless.compositePartitionMember(0, undefined)),
|
|
480
|
-
data: s.m(
|
|
478
|
+
data: s.m(Sury.string)
|
|
481
479
|
}));
|
|
482
480
|
|
|
483
|
-
let subscriptionEventSchema =
|
|
481
|
+
let subscriptionEventSchema = Sury.$schema(s => ({
|
|
484
482
|
TAG: "StudentSubscribed",
|
|
485
483
|
courseId: s.m(DcbTag$Reventless.partition),
|
|
486
484
|
studentId: s.m(DcbTag$Reventless.crossPartition)
|
|
487
485
|
}));
|
|
488
486
|
|
|
489
|
-
let subscribeCommandSchema =
|
|
487
|
+
let subscribeCommandSchema = Sury.$schema(s => ({
|
|
490
488
|
TAG: "SubscribeStudent",
|
|
491
489
|
courseId: s.m(DcbTag$Reventless.partition),
|
|
492
490
|
studentId: s.m(DcbTag$Reventless.crossPartition)
|
|
@@ -531,4 +529,4 @@ export {
|
|
|
531
529
|
subscriptionEventSchema,
|
|
532
530
|
subscribeCommandSchema,
|
|
533
531
|
}
|
|
534
|
-
/*
|
|
532
|
+
/* moduleUrl Not a pure module */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as
|
|
3
|
+
import * as Sury from "sury";
|
|
4
4
|
import * as JestGlobals from "@reventlessdev/rescript-jest/src/JestGlobals.res.mjs";
|
|
5
5
|
import * as Stdlib_JsExn from "@rescript/runtime/lib/es6/Stdlib_JsExn.js";
|
|
6
6
|
import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
|
|
@@ -44,7 +44,7 @@ globalThis.describe("DcbTag:", () => {
|
|
|
44
44
|
globalThis.expect(DcbTag$Reventless.isTagged(DcbTag$Reventless.int)).toBe(true);
|
|
45
45
|
});
|
|
46
46
|
globalThis.test("returns false for plain S.string schema", () => {
|
|
47
|
-
globalThis.expect(DcbTag$Reventless.isTagged(
|
|
47
|
+
globalThis.expect(DcbTag$Reventless.isTagged(Sury.string)).toBe(false);
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
50
|
globalThis.describe("extractTags from variant (Union) schema", () => {
|
|
@@ -191,18 +191,18 @@ globalThis.describe("DcbTag:", () => {
|
|
|
191
191
|
});
|
|
192
192
|
globalThis.describe("isTaggedArray", () => {
|
|
193
193
|
globalThis.test("returns true for array of tagged strings", () => {
|
|
194
|
-
let schema =
|
|
194
|
+
let schema = Sury.array(DcbTag$Reventless.string);
|
|
195
195
|
globalThis.expect(DcbTag$Reventless.isTaggedArray(schema)).toBe(true);
|
|
196
196
|
});
|
|
197
197
|
globalThis.test("returns false for array of plain strings", () => {
|
|
198
|
-
let schema =
|
|
198
|
+
let schema = Sury.array(Sury.string);
|
|
199
199
|
globalThis.expect(DcbTag$Reventless.isTaggedArray(schema)).toBe(false);
|
|
200
200
|
});
|
|
201
201
|
globalThis.test("returns false for tagged scalar", () => {
|
|
202
202
|
globalThis.expect(DcbTag$Reventless.isTaggedArray(DcbTag$Reventless.string)).toBe(false);
|
|
203
203
|
});
|
|
204
204
|
globalThis.test("returns false for plain string", () => {
|
|
205
|
-
globalThis.expect(DcbTag$Reventless.isTaggedArray(
|
|
205
|
+
globalThis.expect(DcbTag$Reventless.isTaggedArray(Sury.string)).toBe(false);
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
globalThis.describe("Complex schemas", () => {
|
|
@@ -528,7 +528,7 @@ globalThis.describe("DcbTag:", () => {
|
|
|
528
528
|
globalThis.expect(DcbTag$Reventless.isCompositePartitionMember(DcbTag$Reventless.string)).toBe(false);
|
|
529
529
|
});
|
|
530
530
|
globalThis.test("returns false for plain S.string", () => {
|
|
531
|
-
globalThis.expect(DcbTag$Reventless.isCompositePartitionMember(
|
|
531
|
+
globalThis.expect(DcbTag$Reventless.isCompositePartitionMember(Sury.string)).toBe(false);
|
|
532
532
|
});
|
|
533
533
|
});
|
|
534
534
|
globalThis.describe("buildQueryFromCommand", () => {
|
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as
|
|
3
|
+
import * as Sury from "sury";
|
|
4
4
|
import * as JestGlobals from "@reventlessdev/rescript-jest/src/JestGlobals.res.mjs";
|
|
5
5
|
import * as DcbTag$Reventless from "@reventlessdev/reventless-spec/src/components/DcbTag.res.mjs";
|
|
6
6
|
import * as DcbValidation$Reventless from "@reventlessdev/reventless-spec/src/components/DcbValidation.res.mjs";
|
|
7
7
|
|
|
8
|
-
let producedASchema =
|
|
9
|
-
|
|
8
|
+
let producedASchema = Sury.union([
|
|
9
|
+
Sury.$schema(s => ({
|
|
10
10
|
TAG: "ItemCreated",
|
|
11
11
|
itemId: s.m(DcbTag$Reventless.string),
|
|
12
|
-
name: s.m(
|
|
12
|
+
name: s.m(Sury.string)
|
|
13
13
|
})),
|
|
14
|
-
|
|
14
|
+
Sury.$schema(s => ({
|
|
15
15
|
TAG: "ItemRenamed",
|
|
16
16
|
itemId: s.m(DcbTag$Reventless.string),
|
|
17
|
-
newName: s.m(
|
|
17
|
+
newName: s.m(Sury.string)
|
|
18
18
|
}))
|
|
19
19
|
]);
|
|
20
20
|
|
|
21
|
-
let producedBSchema =
|
|
21
|
+
let producedBSchema = Sury.$schema(s => ({
|
|
22
22
|
TAG: "ItemArchived",
|
|
23
23
|
itemId: s.m(DcbTag$Reventless.string)
|
|
24
24
|
}));
|
|
25
25
|
|
|
26
|
-
let producedADuplicateSchema =
|
|
26
|
+
let producedADuplicateSchema = Sury.$schema(s => ({
|
|
27
27
|
TAG: "ItemCreated",
|
|
28
28
|
itemId: s.m(DcbTag$Reventless.string),
|
|
29
|
-
name: s.m(
|
|
29
|
+
name: s.m(Sury.string)
|
|
30
30
|
}));
|
|
31
31
|
|
|
32
|
-
let producedAMismatchFieldsSchema =
|
|
32
|
+
let producedAMismatchFieldsSchema = Sury.$schema(s => ({
|
|
33
33
|
TAG: "ItemCreated",
|
|
34
34
|
itemId: s.m(DcbTag$Reventless.string)
|
|
35
35
|
}));
|
|
36
36
|
|
|
37
|
-
let producedAMismatchTagsSchema =
|
|
37
|
+
let producedAMismatchTagsSchema = Sury.$schema(s => ({
|
|
38
38
|
TAG: "ItemCreated",
|
|
39
|
-
itemId: s.m(
|
|
40
|
-
name: s.m(
|
|
39
|
+
itemId: s.m(Sury.string),
|
|
40
|
+
name: s.m(Sury.string)
|
|
41
41
|
}));
|
|
42
42
|
|
|
43
|
-
let producedAMismatchTypeSchema =
|
|
43
|
+
let producedAMismatchTypeSchema = Sury.$schema(s => ({
|
|
44
44
|
TAG: "ItemCreated",
|
|
45
45
|
itemId: s.m(DcbTag$Reventless.string),
|
|
46
|
-
name: s.m(
|
|
46
|
+
name: s.m(Sury.float)
|
|
47
47
|
}));
|
|
48
48
|
|
|
49
|
-
let consumedFullSchema =
|
|
50
|
-
|
|
49
|
+
let consumedFullSchema = Sury.union([
|
|
50
|
+
Sury.$schema(s => ({
|
|
51
51
|
TAG: "ItemCreated",
|
|
52
|
-
itemId: s.m(
|
|
53
|
-
name: s.m(
|
|
52
|
+
itemId: s.m(Sury.string),
|
|
53
|
+
name: s.m(Sury.string)
|
|
54
54
|
})),
|
|
55
|
-
|
|
55
|
+
Sury.$schema(s => ({
|
|
56
56
|
TAG: "ItemRenamed",
|
|
57
|
-
itemId: s.m(
|
|
58
|
-
newName: s.m(
|
|
57
|
+
itemId: s.m(Sury.string),
|
|
58
|
+
newName: s.m(Sury.string)
|
|
59
59
|
}))
|
|
60
60
|
]);
|
|
61
61
|
|
|
62
|
-
let consumedPartialSchema =
|
|
62
|
+
let consumedPartialSchema = Sury.$schema(s => ({
|
|
63
63
|
TAG: "ItemCreated",
|
|
64
|
-
itemId: s.m(
|
|
64
|
+
itemId: s.m(Sury.string)
|
|
65
65
|
}));
|
|
66
66
|
|
|
67
|
-
let consumedPayloadLessSchema =
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
let consumedPayloadLessSchema = Sury.union([
|
|
68
|
+
Sury.literal("ItemCreated"),
|
|
69
|
+
Sury.literal("ItemArchived")
|
|
70
70
|
]);
|
|
71
71
|
|
|
72
|
-
let consumedDanglingSchema =
|
|
72
|
+
let consumedDanglingSchema = Sury.$schema(s => ({
|
|
73
73
|
TAG: "ItemDeleted",
|
|
74
|
-
itemId: s.m(
|
|
74
|
+
itemId: s.m(Sury.string)
|
|
75
75
|
}));
|
|
76
76
|
|
|
77
|
-
let consumedBadFieldSchema =
|
|
77
|
+
let consumedBadFieldSchema = Sury.$schema(s => ({
|
|
78
78
|
TAG: "ItemCreated",
|
|
79
|
-
itemId: s.m(
|
|
80
|
-
rating: s.m(
|
|
79
|
+
itemId: s.m(Sury.string),
|
|
80
|
+
rating: s.m(Sury.float)
|
|
81
81
|
}));
|
|
82
82
|
|
|
83
|
-
let consumedBadTypeSchema =
|
|
83
|
+
let consumedBadTypeSchema = Sury.$schema(s => ({
|
|
84
84
|
TAG: "ItemCreated",
|
|
85
|
-
itemId: s.m(
|
|
86
|
-
name: s.m(
|
|
85
|
+
itemId: s.m(Sury.string),
|
|
86
|
+
name: s.m(Sury.float)
|
|
87
87
|
}));
|
|
88
88
|
|
|
89
|
-
let recordDemandCommandSchema =
|
|
89
|
+
let recordDemandCommandSchema = Sury.$schema(s => ({
|
|
90
90
|
TAG: "RecordDemand",
|
|
91
91
|
productId: s.m(DcbTag$Reventless.string),
|
|
92
92
|
orderId: s.m(DcbTag$Reventless.string)
|
|
93
93
|
}));
|
|
94
94
|
|
|
95
|
-
let touchDemandCommandSchema =
|
|
95
|
+
let touchDemandCommandSchema = Sury.$schema(s => ({
|
|
96
96
|
TAG: "TouchDemand",
|
|
97
97
|
productId: s.m(DcbTag$Reventless.string)
|
|
98
98
|
}));
|
|
99
99
|
|
|
100
|
-
let placeOrderCommandSchema =
|
|
100
|
+
let placeOrderCommandSchema = Sury.$schema(s => ({
|
|
101
101
|
TAG: "PlaceOrder",
|
|
102
102
|
orderId: s.m(DcbTag$Reventless.string),
|
|
103
|
-
productIds: s.m(
|
|
103
|
+
productIds: s.m(Sury.array(DcbTag$Reventless.stringForKey("productId")))
|
|
104
104
|
}));
|
|
105
105
|
|
|
106
|
-
let demandConsumedSchema =
|
|
107
|
-
|
|
106
|
+
let demandConsumedSchema = Sury.union([
|
|
107
|
+
Sury.$schema(s => ({
|
|
108
108
|
TAG: "ProductDemandRecorded",
|
|
109
|
-
productId: s.m(
|
|
110
|
-
orderId: s.m(
|
|
109
|
+
productId: s.m(Sury.string),
|
|
110
|
+
orderId: s.m(Sury.string)
|
|
111
111
|
})),
|
|
112
|
-
|
|
112
|
+
Sury.$schema(s => ({
|
|
113
113
|
TAG: "ProductDemandRevoked",
|
|
114
|
-
productId: s.m(
|
|
115
|
-
orderId: s.m(
|
|
114
|
+
productId: s.m(Sury.string),
|
|
115
|
+
orderId: s.m(Sury.string)
|
|
116
116
|
}))
|
|
117
117
|
]);
|
|
118
118
|
|
|
119
|
-
let demandProducedSchema =
|
|
120
|
-
|
|
119
|
+
let demandProducedSchema = Sury.union([
|
|
120
|
+
Sury.$schema(s => ({
|
|
121
121
|
TAG: "ProductDemandRecorded",
|
|
122
122
|
productId: s.m(DcbTag$Reventless.string),
|
|
123
123
|
orderId: s.m(DcbTag$Reventless.string)
|
|
124
124
|
})),
|
|
125
|
-
|
|
125
|
+
Sury.$schema(s => ({
|
|
126
126
|
TAG: "ProductDemandRevoked",
|
|
127
127
|
productId: s.m(DcbTag$Reventless.string),
|
|
128
128
|
orderId: s.m(DcbTag$Reventless.string),
|
|
@@ -136,19 +136,19 @@ function u(prim) {
|
|
|
136
136
|
|
|
137
137
|
let producedTagKeys = DcbTag$Reventless.extractTagKeysByEventType(demandProducedSchema);
|
|
138
138
|
|
|
139
|
-
let subscribedCrossPartitionSchema =
|
|
139
|
+
let subscribedCrossPartitionSchema = Sury.$schema(s => ({
|
|
140
140
|
TAG: "StudentSubscribed",
|
|
141
141
|
courseId: s.m(DcbTag$Reventless.partition),
|
|
142
142
|
studentId: s.m(DcbTag$Reventless.crossPartition)
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
let unsubscribedCrossPartitionSchema =
|
|
145
|
+
let unsubscribedCrossPartitionSchema = Sury.$schema(s => ({
|
|
146
146
|
TAG: "StudentUnsubscribed",
|
|
147
147
|
courseId: s.m(DcbTag$Reventless.partition),
|
|
148
148
|
studentId: s.m(DcbTag$Reventless.crossPartition)
|
|
149
149
|
}));
|
|
150
150
|
|
|
151
|
-
let flaggedPartitionScopedSchema =
|
|
151
|
+
let flaggedPartitionScopedSchema = Sury.$schema(s => ({
|
|
152
152
|
TAG: "StudentFlagged",
|
|
153
153
|
studentId: s.m(DcbTag$Reventless.partition),
|
|
154
154
|
courseId: s.m(DcbTag$Reventless.string)
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as
|
|
3
|
+
import * as Sury from "sury";
|
|
4
4
|
import * as Id$Reventless from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
|
|
5
5
|
import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
|
|
6
6
|
import * as Effect from "effect/Effect";
|
|
7
7
|
import * as Stream from "effect/Stream";
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
let eventSchema = S.union([
|
|
12
|
-
S.schema(s => ({
|
|
9
|
+
let eventSchema = Sury.union([
|
|
10
|
+
Sury.$schema(s => ({
|
|
13
11
|
TAG: "ItemCreated",
|
|
14
|
-
name: s.m(
|
|
12
|
+
name: s.m(Sury.string)
|
|
15
13
|
})),
|
|
16
|
-
|
|
14
|
+
Sury.$schema(s => ({
|
|
17
15
|
TAG: "ItemDeleted",
|
|
18
|
-
id: s.m(
|
|
16
|
+
id: s.m(Sury.string)
|
|
19
17
|
}))
|
|
20
18
|
]);
|
|
21
19
|
|
|
@@ -193,4 +191,4 @@ export {
|
|
|
193
191
|
makeEvent$p,
|
|
194
192
|
reset,
|
|
195
193
|
}
|
|
196
|
-
/*
|
|
194
|
+
/* eventSchema Not a pure module */
|