@rkmodules/rules 0.0.140 → 0.0.142

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/dist/index.cjs.js CHANGED
@@ -1478,14 +1478,14 @@ var stringEqualTo = {
1478
1478
 
1479
1479
  var stringTemplate = {
1480
1480
  name: "stringTemplate",
1481
- label: "String template",
1481
+ label: "String Template",
1482
1482
  description: "Assembles a string from inputs",
1483
1483
  nodeType: "DynamicInput",
1484
1484
  inputs: {
1485
1485
  template: { type: "string", default: "" },
1486
1486
  },
1487
1487
  outputs: {
1488
- tree: "string",
1488
+ tree: { type: "string", label: "string" },
1489
1489
  },
1490
1490
  impl: function (_a, params) { return __awaiter(void 0, void 0, void 0, function () {
1491
1491
  var trees;
@@ -2999,6 +2999,7 @@ var Engine = /** @class */ (function () {
2999
2999
  context = {
3000
3000
  scope: { inputs: inputs },
3001
3001
  inputs: { inputs: inputs },
3002
+ params: { params: params },
3002
3003
  timings: {},
3003
3004
  activations: {},
3004
3005
  };
@@ -3023,6 +3024,7 @@ var Engine = /** @class */ (function () {
3023
3024
  params_1 = fnCall.params || {};
3024
3025
  result_1 = {};
3025
3026
  context.inputs[name_1] = inputs_1;
3027
+ context.params[name_1] = params_1;
3026
3028
  cacheResult = this.checkCache(name_1, inputs_1);
3027
3029
  if (!(cacheResult !== this.cacheMiss)) return [3 /*break*/, 2];
3028
3030
  // use as result
@@ -8327,7 +8329,10 @@ exports.Engine = Engine;
8327
8329
  exports.Flow = Flow;
8328
8330
  exports.FlowContext = FlowContext;
8329
8331
  exports.GenericNode = GenericNode;
8332
+ exports.Input = Input;
8330
8333
  exports.Lib = Lib;
8334
+ exports.Output = Output;
8335
+ exports.Param = Param;
8331
8336
  exports.binaryOnTree = binaryOnTree;
8332
8337
  exports.binaryOnTreeBranch = binaryOnTreeBranch;
8333
8338
  exports.broadCast = broadCast;