@reventlessdev/reventless-core 3.0.0-alpha.169 → 3.0.0-alpha.170

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 (44) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +14 -14
  3. package/src/admin/Platform_Admin.res +5 -2
  4. package/src/admin/Platform_Admin.res.mjs +4 -4
  5. package/src/components/Aggregate/Aggregate.res +5 -1
  6. package/src/components/Aggregate/Aggregate_Builder.res +21 -6
  7. package/src/components/Aggregate/Aggregate_Builder.res.mjs +10 -7
  8. package/src/components/AutomationSlice/AutomationSlice.res +1 -0
  9. package/src/components/AutomationSlice/AutomationSlice_Builder.res +13 -2
  10. package/src/components/AutomationSlice/AutomationSlice_Builder.res.mjs +5 -2
  11. package/src/components/Builder_Helpers.res +16 -2
  12. package/src/components/Builder_Helpers.res.mjs +6 -6
  13. package/src/components/Dcb/Dcb_Builder.res +46 -4
  14. package/src/components/Dcb/Dcb_Builder.res.mjs +13 -9
  15. package/src/components/ExtensionPoint/ExtensionPoint.res +2 -0
  16. package/src/components/ExtensionPoint/ExtensionPoint_Builder.res +7 -0
  17. package/src/components/ExtensionPoint/ExtensionPoint_Builder.res.mjs +4 -2
  18. package/src/components/InboundTranslationSlice/InboundTranslationSlice.res +1 -0
  19. package/src/components/InboundTranslationSlice/InboundTranslationSlice_Builder.res +8 -1
  20. package/src/components/InboundTranslationSlice/InboundTranslationSlice_Builder.res.mjs +1 -1
  21. package/src/components/OutboundTranslationSlice/OutboundTranslationSlice.res +1 -0
  22. package/src/components/OutboundTranslationSlice/OutboundTranslationSlice_Builder.res +12 -3
  23. package/src/components/OutboundTranslationSlice/OutboundTranslationSlice_Builder.res.mjs +5 -2
  24. package/src/components/ReadModel/ReadModel.res +1 -0
  25. package/src/components/ReadModel/ReadModel_Builder.res +9 -1
  26. package/src/components/ReadModel/ReadModel_Builder.res.mjs +5 -2
  27. package/src/components/StateChangeSlice/StateChangeSlice.res +1 -0
  28. package/src/components/StateChangeSlice/StateChangeSlice_Builder.res +6 -0
  29. package/src/components/StateChangeSlice/StateChangeSlice_Builder.res.mjs +1 -1
  30. package/src/components/StateViewSlice/StateViewSlice.res +1 -0
  31. package/src/components/StateViewSlice/StateViewSlice_Builder.res +11 -3
  32. package/src/components/StateViewSlice/StateViewSlice_Builder.res.mjs +5 -2
  33. package/src/components/Task/Task.res +1 -0
  34. package/src/components/Task/Task_Builder.res +9 -2
  35. package/src/components/Task/Task_Builder.res.mjs +5 -2
  36. package/src/plugin/component/Plugin.res +5 -0
  37. package/src/plugin/component/Plugin_Builder.res +10 -2
  38. package/src/plugin/component/Plugin_Builder.res.mjs +7 -6
  39. package/src/plugin/component/Plugin_Helpers.res +2 -0
  40. package/src/plugin/component/Plugin_Helpers.res.mjs +2 -2
  41. package/tests/plugin/ManifestVisibilityTest.res +2 -2
  42. package/tests/plugin/ManifestVisibilityTest.res.mjs +2 -2
  43. package/tests/plugin/PluginStructureTest.res +6 -6
  44. package/tests/plugin/PluginStructureTest.res.mjs +6 -6
@@ -56,6 +56,7 @@ module Make = (
56
56
  ~outboundTranslationSlices: array<module(ReventlessInfra.OutboundTranslationSlice.T)>,
57
57
  ~inboundTranslationSlices: array<module(ReventlessInfra.InboundTranslationSlice.T)>,
58
58
  ~systemCallableComponents: array<string>,
59
+ ~componentRuntime: dict<ReventlessInfra.RuntimeHints.t>,
59
60
  ~uiFragments: option<Reventless.Plugin.uiFragmentManifest>,
60
61
  ~pluginStructure: option<Reventless.Plugin.pluginStructure>,
61
62
  self,
@@ -133,7 +134,8 @@ module Make = (
133
134
  // AutomationSlices created inside DcbBuilder. The same `aggregateEventTopics`
134
135
  // dict (after merging in the DCB EventLog topic) is reused later as
135
136
  // `allEventTopics` for ReadModels.
136
- let aggregatesWithoutEventMappers = aggregates->createAggregatesWithoutEventMappers(~api, opts)
137
+ let aggregatesWithoutEventMappers =
138
+ aggregates->createAggregatesWithoutEventMappers(~api, ~componentRuntime, opts)
137
139
  let aggregateEventTopics = Aggregate.allEventTopics(aggregatesWithoutEventMappers)
138
140
 
139
141
  // Construct DCB components and derive DCB-specific API schema entries
@@ -157,6 +159,7 @@ module Make = (
157
159
  ~outboundTranslationSlices,
158
160
  ~inboundTranslationSlices,
159
161
  ~systemCallableComponents,
162
+ ~componentRuntime,
160
163
  ~pluginStructure?,
161
164
  ~opts,
162
165
  )
@@ -335,7 +338,8 @@ module Make = (
335
338
  | None => ()
336
339
  }
337
340
 
338
- let readModelsOutputs = readModels->createReadModels(~api, ~apiRole, allEventTopics, opts)
341
+ let readModelsOutputs =
342
+ readModels->createReadModels(~api, ~apiRole, ~componentRuntime, allEventTopics, opts)
339
343
  let allQueryDbs = readModelsOutputs->ReadModel.allQueryDbs
340
344
  // Merge DCB StateViewSlice, InboundTranslation, AutomationSlice, and
341
345
  // OutboundTranslation QueryDbs into allQueryDbs so createResolvers builds
@@ -613,6 +617,7 @@ module Make = (
613
617
  ~scheduler,
614
618
  ~queryEngine,
615
619
  ~resourceNaming=Spec.resourceNaming,
620
+ ~componentRuntime,
616
621
  ~opts,
617
622
  )
618
623
 
@@ -858,6 +863,7 @@ module Make = (
858
863
  ~publishToAggregates,
859
864
  ~queryEngine,
860
865
  ~resourceNaming=Spec.resourceNaming,
866
+ ~componentRuntime,
861
867
  ~opts,
862
868
  )
863
869
 
@@ -1063,6 +1069,7 @@ module Make = (
1063
1069
  ~outboundTranslationSlices=[],
1064
1070
  ~inboundTranslationSlices=[],
1065
1071
  ~systemCallableComponents=[],
1072
+ ~componentRuntime=Dict.make(),
1066
1073
  ~uiFragments: option<Reventless.Plugin.uiFragmentManifest>=?,
1067
1074
  ~pluginStructure: option<Reventless.Plugin.pluginStructure>=?,
1068
1075
  ~opts=?,
@@ -1086,6 +1093,7 @@ module Make = (
1086
1093
  ~outboundTranslationSlices,
1087
1094
  ~inboundTranslationSlices,
1088
1095
  ~systemCallableComponents,
1096
+ ~componentRuntime,
1089
1097
  ~uiFragments,
1090
1098
  ~pluginStructure,
1091
1099
  ...
@@ -103,7 +103,7 @@ function Make(Spec) {
103
103
  let componentChapters = componentChaptersOpt !== undefined ? componentChaptersOpt : ({});
104
104
  return Plugin_Structure$ReventlessCore.make(name, aggregates, readModels, stateViewSlices, stateChangeSlices, automationSlices, outboundTranslationSlices, inboundTranslationSlices, extensions, extensionPoints, componentChapters);
105
105
  };
106
- let make = (name, heartbeatInterval, extensionPointsOpt, extensionsOpt, aggregatesOpt, readModelsOpt, tasksOpt, stateChangeSlicesOpt, stateViewSlicesOpt, automationSlicesOpt, outboundTranslationSlicesOpt, inboundTranslationSlicesOpt, systemCallableComponentsOpt, uiFragments, pluginStructure, opts) => {
106
+ let make = (name, heartbeatInterval, extensionPointsOpt, extensionsOpt, aggregatesOpt, readModelsOpt, tasksOpt, stateChangeSlicesOpt, stateViewSlicesOpt, automationSlicesOpt, outboundTranslationSlicesOpt, inboundTranslationSlicesOpt, systemCallableComponentsOpt, componentRuntimeOpt, uiFragments, pluginStructure, opts) => {
107
107
  let extensionPoints = extensionPointsOpt !== undefined ? extensionPointsOpt : [];
108
108
  let extensions = extensionsOpt !== undefined ? extensionsOpt : [];
109
109
  let aggregates = aggregatesOpt !== undefined ? aggregatesOpt : [];
@@ -115,6 +115,7 @@ function Make(Spec) {
115
115
  let outboundTranslationSlices = outboundTranslationSlicesOpt !== undefined ? outboundTranslationSlicesOpt : [];
116
116
  let inboundTranslationSlices = inboundTranslationSlicesOpt !== undefined ? inboundTranslationSlicesOpt : [];
117
117
  let systemCallableComponents = systemCallableComponentsOpt !== undefined ? systemCallableComponentsOpt : [];
118
+ let componentRuntime = componentRuntimeOpt !== undefined ? componentRuntimeOpt : ({});
118
119
  PluginRuntimeBuilder.registerPluginName(name);
119
120
  let version = PackageVersion$Reventless.fromCaller();
120
121
  return Component$ReventlessCore.make(ComponentType$ReventlessCore.toString(Plugin$ReventlessCore.componentType), name, (extra, extra$1) => {
@@ -142,12 +143,12 @@ function Make(Spec) {
142
143
  parent: opts_parent
143
144
  };
144
145
  let childName = ComponentType$ReventlessCore.name(extra$1, Plugin$ReventlessCore.componentType);
145
- let aggregatesWithoutEventMappers = Plugin_Helpers$ReventlessCore.createAggregatesWithoutEventMappers(aggregates, api, opts);
146
+ let aggregatesWithoutEventMappers = Plugin_Helpers$ReventlessCore.createAggregatesWithoutEventMappers(aggregates, api, componentRuntime, opts);
146
147
  let aggregateEventTopics = Aggregate$ReventlessCore.allEventTopics(aggregatesWithoutEventMappers);
147
148
  let DcbBuilder = Dcb_Builder$ReventlessCore.Make(DcbEventLogStorage)(DcbEventTopicPublisher)(DcbCommandTopicChannel)(DcbCommandTopicChannelAsync)(PluginRuntimeBuilder)({
148
149
  hooks: Spec.hooks
149
150
  });
150
- let dcbResult = DcbBuilder.construct(extra$1, childName, undefined, undefined, Spec.environment, Spec.platformName, aggregateEventTopics, stateChangeSlices, stateViewSlices, automationSlices, outboundTranslationSlices, inboundTranslationSlices, systemCallableComponents, pluginStructure, opts);
151
+ let dcbResult = DcbBuilder.construct(extra$1, childName, undefined, undefined, Spec.environment, Spec.platformName, aggregateEventTopics, stateChangeSlices, stateViewSlices, automationSlices, outboundTranslationSlices, inboundTranslationSlices, systemCallableComponents, componentRuntime, pluginStructure, opts);
151
152
  let mutationEntriesFromAggregates = aggregates.flatMap(M => {
152
153
  let commandSchema = M.Spec.commandSchema;
153
154
  if (ApiNoApiHelpers$ReventlessCore.isNoApi(commandSchema)) {
@@ -252,7 +253,7 @@ function Make(Spec) {
252
253
  if (dcbOutputs !== undefined) {
253
254
  aggregateEventTopics[extra$1 + "DcbEventLog"] = dcbOutputs.eventTopic;
254
255
  }
255
- let readModelsOutputs = Plugin_Helpers$ReventlessCore.createReadModels(readModels, api, apiRole, aggregateEventTopics, opts);
256
+ let readModelsOutputs = Plugin_Helpers$ReventlessCore.createReadModels(readModels, api, apiRole, componentRuntime, aggregateEventTopics, opts);
256
257
  let allQueryDbs = ReadModel$ReventlessCore.allQueryDbs(readModelsOutputs);
257
258
  Object.entries(dcbResult.stateViewSlicesOutputs).forEach(param => {
258
259
  allQueryDbs[param[0]] = param[1].queryDb;
@@ -428,7 +429,7 @@ function Make(Spec) {
428
429
  let localAdminResolvedEP = match[1];
429
430
  let interstackAdminExtensionPoints = match[0];
430
431
  let aggregatesOutputs = Plugin_Helpers$ReventlessCore.addEventMappers(aggregateEventTopics, queryEngine);
431
- let match$1 = Plugin_Helpers$ReventlessCore.createExtensionPoints(extensionPoints, aggregateResources, publishToAggregates, scheduler, queryEngine, Spec.resourceNaming, opts);
432
+ let match$1 = Plugin_Helpers$ReventlessCore.createExtensionPoints(extensionPoints, aggregateResources, publishToAggregates, scheduler, queryEngine, Spec.resourceNaming, componentRuntime, opts);
432
433
  let extensionPointsHandlers = match$1[1];
433
434
  let extensionPointsOutputs = match$1[0];
434
435
  let coreSetup;
@@ -531,7 +532,7 @@ function Make(Spec) {
531
532
  } else {
532
533
  EventCollectorHelper.connect(eventCollector, eventTopics, extensionPointsOutputs, extensionsOutputs, undefined, pluginDefinition, Primitive_option.some(uiFragments), undefined, extensionsHandlers, extensionPointsHandlers, undefined, extensionRegistryInfos, undefined, aggregateQueueUrls, readModelQueueUrls, Plugin_Helpers$ReventlessCore.readModelNamesForSourceName);
533
534
  }
534
- let tasksOutputs = Plugin_Helpers$ReventlessCore.createTasks(tasks, aggregatesOutputs, scheduler, schedulerRoleUrn, publishToAggregates, queryEngine, Spec.resourceNaming, opts);
535
+ let tasksOutputs = Plugin_Helpers$ReventlessCore.createTasks(tasks, aggregatesOutputs, scheduler, schedulerRoleUrn, publishToAggregates, queryEngine, Spec.resourceNaming, componentRuntime, opts);
535
536
  let resolvers = Plugin_Helpers$ReventlessCore.createResolvers(allQueryDbs);
536
537
  Stdlib_Option.forEach(Spec.hooks.subscriptionInfraHook, hook => hook({
537
538
  allQueryDbs: allQueryDbs,
@@ -416,6 +416,7 @@ let createTasks = (
416
416
  ~publishToAggregates,
417
417
  ~queryEngine,
418
418
  ~resourceNaming,
419
+ ~componentRuntime: dict<ReventlessInfra.RuntimeHints.t>,
419
420
  ~opts,
420
421
  ) => {
421
422
  tasksOutputs :=
@@ -429,6 +430,7 @@ let createTasks = (
429
430
  ~queryEngine,
430
431
  ~resourceNaming,
431
432
  ~allAggregates=aggregatesOutputs,
433
+ ~runtime=?componentRuntime->Dict.get(SpecificTask.Spec.name),
432
434
  ~opts=Some(opts),
433
435
  ))
434
436
  )
@@ -243,11 +243,11 @@ let tasksOutputs = {
243
243
  contents: []
244
244
  };
245
245
 
246
- function createTasks(tasks, aggregatesOutputs, scheduler, schedulerRoleUrn, publishToAggregates, queryEngine, resourceNaming, opts) {
246
+ function createTasks(tasks, aggregatesOutputs, scheduler, schedulerRoleUrn, publishToAggregates, queryEngine, resourceNaming, componentRuntime, opts) {
247
247
  tasksOutputs.contents = tasks.map(SpecificTask => SpecificTask.outputs(SpecificTask.make((taskName, bucketNameOpt) => {
248
248
  let bucketName = bucketNameOpt !== undefined ? bucketNameOpt : "Bucket";
249
249
  return ResourceQueryRuntime$ReventlessCore.bucketNameOfTaskExn(tasksOutputs.contents, taskName, bucketName);
250
- }, scheduler, schedulerRoleUrn, publishToAggregates, queryEngine, resourceNaming, aggregatesOutputs, opts)));
250
+ }, scheduler, schedulerRoleUrn, publishToAggregates, queryEngine, resourceNaming, aggregatesOutputs, componentRuntime[SpecificTask.Spec.name], opts)));
251
251
  return tasksOutputs.contents;
252
252
  }
253
253
 
@@ -48,7 +48,7 @@ module PublicReadModel: ReventlessInfra.ReadModel.T
48
48
  // A read model that projects an event reaching it via a (DCB-log-sourced) mapping — the
49
49
  // case Plugin_Structure must surface as a qualified `consumedEventTypes` entry.
50
50
  let consumedEventNames: array<string> = ["OrderPlaced"]
51
- let make = (~api as _, ~apiRole as _, ~allEventTopics as _, ~opts as _=?): component =>
51
+ let make = (~api as _, ~apiRole as _, ~allEventTopics as _, ~runtime as _=?, ~opts as _=?): component =>
52
52
  Obj.magic(0)
53
53
  let outputs = (_: component): ReventlessInfra.ReadModel.outputs => Obj.magic(0)
54
54
  let operations = (_: component): Pulumi.Output.t<ReventlessInfra.ReadModel.operations> =>
@@ -64,7 +64,7 @@ module InternalReadModel: ReventlessInfra.ReadModel.T
64
64
  type component
65
65
  let sourceNames: array<string> = []
66
66
  let consumedEventNames: array<string> = []
67
- let make = (~api as _, ~apiRole as _, ~allEventTopics as _, ~opts as _=?): component =>
67
+ let make = (~api as _, ~apiRole as _, ~allEventTopics as _, ~runtime as _=?, ~opts as _=?): component =>
68
68
  Obj.magic(0)
69
69
  let outputs = (_: component): ReventlessInfra.ReadModel.outputs => Obj.magic(0)
70
70
  let operations = (_: component): Pulumi.Output.t<ReventlessInfra.ReadModel.operations> =>
@@ -55,7 +55,7 @@ let sourceNames = [];
55
55
 
56
56
  let consumedEventNames = ["OrderPlaced"];
57
57
 
58
- function make(param, param$1, param$2, param$3) {
58
+ function make(param, param$1, param$2, param$3, param$4) {
59
59
  return 0;
60
60
  }
61
61
 
@@ -102,7 +102,7 @@ let sourceNames$1 = [];
102
102
 
103
103
  let consumedEventNames$1 = [];
104
104
 
105
- function make$1(param, param$1, param$2, param$3) {
105
+ function make$1(param, param$1, param$2, param$3, param$4) {
106
106
  return 0;
107
107
  }
108
108
 
@@ -27,7 +27,7 @@ module PsPlaceOrderSlice: ReventlessInfra.StateChangeSlice.T = {
27
27
  }
28
28
  let isAsync = false
29
29
  type component = scsComponent
30
- let make = (~dcbEventLog as _, ~publishJsons as _, ~tagKeysByEventType as _=?, ~crossPartitionTagKeys as _=?, ~opts as _=?): component => Obj.magic(0)
30
+ let make = (~dcbEventLog as _, ~publishJsons as _, ~tagKeysByEventType as _=?, ~crossPartitionTagKeys as _=?, ~runtime as _=?, ~opts as _=?): component => Obj.magic(0)
31
31
  }
32
32
  module PsShipOrderSlice: ReventlessInfra.StateChangeSlice.T = {
33
33
  module Spec = PsShipOrder
@@ -40,7 +40,7 @@ module PsShipOrderSlice: ReventlessInfra.StateChangeSlice.T = {
40
40
  }
41
41
  let isAsync = false
42
42
  type component = scsComponent
43
- let make = (~dcbEventLog as _, ~publishJsons as _, ~tagKeysByEventType as _=?, ~crossPartitionTagKeys as _=?, ~opts as _=?): component => Obj.magic(0)
43
+ let make = (~dcbEventLog as _, ~publishJsons as _, ~tagKeysByEventType as _=?, ~crossPartitionTagKeys as _=?, ~runtime as _=?, ~opts as _=?): component => Obj.magic(0)
44
44
  }
45
45
  module PsOrdersViewSlice: ReventlessInfra.StateViewSlice.T = {
46
46
  module Spec = PsOrdersView
@@ -49,7 +49,7 @@ module PsOrdersViewSlice: ReventlessInfra.StateViewSlice.T = {
49
49
  let moduleUrl = PsOrdersView.moduleUrl
50
50
  }
51
51
  type component = svsComponent
52
- let make = (~dcbEventLog as _, ~opts as _=?): component => Obj.magic(0)
52
+ let make = (~dcbEventLog as _, ~runtime as _=?, ~opts as _=?): component => Obj.magic(0)
53
53
  }
54
54
  module PsAvailableProductsViewSlice: ReventlessInfra.StateViewSlice.T = {
55
55
  module Spec = PsAvailableProductsView
@@ -58,7 +58,7 @@ module PsAvailableProductsViewSlice: ReventlessInfra.StateViewSlice.T = {
58
58
  let moduleUrl = PsAvailableProductsView.moduleUrl
59
59
  }
60
60
  type component = svsComponent
61
- let make = (~dcbEventLog as _, ~opts as _=?): component => Obj.magic(0)
61
+ let make = (~dcbEventLog as _, ~runtime as _=?, ~opts as _=?): component => Obj.magic(0)
62
62
  }
63
63
  module PsCustomersViewSlice: ReventlessInfra.StateViewSlice.T = {
64
64
  module Spec = PsCustomersView
@@ -67,7 +67,7 @@ module PsCustomersViewSlice: ReventlessInfra.StateViewSlice.T = {
67
67
  let moduleUrl = PsCustomersView.moduleUrl
68
68
  }
69
69
  type component = svsComponent
70
- let make = (~dcbEventLog as _, ~opts as _=?): component => Obj.magic(0)
70
+ let make = (~dcbEventLog as _, ~runtime as _=?, ~opts as _=?): component => Obj.magic(0)
71
71
  }
72
72
  module PsAnnotatedViewSlice: ReventlessInfra.StateViewSlice.T = {
73
73
  module Spec = PsAnnotatedView
@@ -76,7 +76,7 @@ module PsAnnotatedViewSlice: ReventlessInfra.StateViewSlice.T = {
76
76
  let moduleUrl = PsAnnotatedView.moduleUrl
77
77
  }
78
78
  type component = svsComponent
79
- let make = (~dcbEventLog as _, ~opts as _=?): component => Obj.magic(0)
79
+ let make = (~dcbEventLog as _, ~runtime as _=?, ~opts as _=?): component => Obj.magic(0)
80
80
  }
81
81
 
82
82
  let structure = Plugin_Structure.make(
@@ -18,7 +18,7 @@ let Behavior = {
18
18
  moduleUrl: PsPlaceOrder$ReventlessCore.moduleUrl
19
19
  };
20
20
 
21
- function make(param, param$1, param$2, param$3, param$4) {
21
+ function make(param, param$1, param$2, param$3, param$4, param$5) {
22
22
  return 0;
23
23
  }
24
24
 
@@ -48,7 +48,7 @@ let Behavior$1 = {
48
48
  moduleUrl: PsShipOrder$ReventlessCore.moduleUrl
49
49
  };
50
50
 
51
- function make$1(param, param$1, param$2, param$3, param$4) {
51
+ function make$1(param, param$1, param$2, param$3, param$4, param$5) {
52
52
  return 0;
53
53
  }
54
54
 
@@ -76,7 +76,7 @@ let Projection = {
76
76
  moduleUrl: PsOrdersView$ReventlessCore.moduleUrl
77
77
  };
78
78
 
79
- function make$2(param, param$1) {
79
+ function make$2(param, param$1, param$2) {
80
80
  return 0;
81
81
  }
82
82
 
@@ -102,7 +102,7 @@ let Projection$1 = {
102
102
  moduleUrl: PsAvailableProductsView$ReventlessCore.moduleUrl
103
103
  };
104
104
 
105
- function make$3(param, param$1) {
105
+ function make$3(param, param$1, param$2) {
106
106
  return 0;
107
107
  }
108
108
 
@@ -128,7 +128,7 @@ let Projection$2 = {
128
128
  moduleUrl: PsCustomersView$ReventlessCore.moduleUrl
129
129
  };
130
130
 
131
- function make$4(param, param$1) {
131
+ function make$4(param, param$1, param$2) {
132
132
  return 0;
133
133
  }
134
134
 
@@ -154,7 +154,7 @@ let Projection$3 = {
154
154
  moduleUrl: PsAnnotatedView$ReventlessCore.moduleUrl
155
155
  };
156
156
 
157
- function make$5(param, param$1) {
157
+ function make$5(param, param$1, param$2) {
158
158
  return 0;
159
159
  }
160
160