triangulum 0.25.4 → 0.25.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0f082a598c92c44ba2bb3294633d6fb2a18e6208eb4ab6a106df283241331d2
4
- data.tar.gz: 502aece641faa24ee517988ef16f2e214e79c57af9e6a30838ff74ff388fe14a
3
+ metadata.gz: 697f652eac55d59a15b57a43d5042ea7ac124e1a30da43e146cc8a27aa63e671
4
+ data.tar.gz: e2a0a4b440c551c8acc3e2726cf12df3b96dede02856299d12f890d4d03b57b7
5
5
  SHA512:
6
- metadata.gz: 874e9084d18e7efe6079a2b90a1664400507d85c84182296e75d0076fe235680c43d38432abb97ddf5838e7810a4269e5c93ccd715db01a91da328101ec89c89
7
- data.tar.gz: 6d5a6089e839370759f219780a03a08193feb86b7349ec735f26495b103e57747b74cb68bcb5fa2490418eb5bdafbb9627a57ff43b7537badd24c74e8dee6116
6
+ metadata.gz: d358bb84461bf270a3d597f265608ff7fd0c2cc1c7d2c4abf4af9c9282a32126b2c4595618aa96200dccf44cef0e21ed44f75a129abd32341e586702411ced68
7
+ data.tar.gz: c88370e6394b8975e3ab7c9a96e17cd26a88cb12c26f1d0edb86be34463d9b90d03d6aef301d668d53ed9469a7377232facc3cbac773f0e1b6248af5118f02f2
@@ -175736,9 +175736,11 @@ var b3 = {
175736
175736
  function x3(e6, t3 = "any", n3 = true) {
175737
175737
  let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []))).map((e7) => `type ${e7} = ${t3};`).join(`
175738
175738
  `), i3 = e6?.map((e7) => `type ${e7.identifier}${(e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : ""} = ${e7.type};`).join(`
175739
- `);
175739
+ `), a3 = e6?.filter((e7) => (e7.genericKeys?.length ?? 0) > 0).map((e7) => `declare const __widen_${e7.identifier}: ${e7.identifier}<${e7.genericKeys.map(() => "any").join(", ")}>;`).join(`
175740
+ `) ?? "";
175740
175741
  return `${n3 ? r3 : ""}
175741
- ${i3}`;
175742
+ ${i3}
175743
+ ${a3}`;
175742
175744
  }
175743
175745
  var S3 = (e6) => e6?.replace(/[^a-zA-Z0-9]/g, "_");
175744
175746
  function C3(e6, t3, n3, r3 = false) {
@@ -175800,7 +175802,7 @@ ${s4(e7.startingNodeId || e7.functionDefinition?.id, n4 + " ")}${n4}}`;
175800
175802
  )();
175801
175803
  `;
175802
175804
  }
175803
- var T3 = (e6, n3, r3) => {
175805
+ var ee2 = (e6, n3, r3) => {
175804
175806
  if (!e6?.startingNodeId)
175805
175807
  return {
175806
175808
  isValid: false,
@@ -175867,5 +175869,5 @@ var T3 = (e6, n3, r3) => {
175867
175869
  // ../entrypoint/single-validation.ts
175868
175870
  var data = await readSingleValidation(console);
175869
175871
  var validationInput = mapToFlowValidation(data);
175870
- var result = T3(validationInput.flow, validationInput.functions, validationInput.dataTypes);
175872
+ var result = ee2(validationInput.flow, validationInput.functions, validationInput.dataTypes);
175871
175873
  console.info(JSON.stringify(result));
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Triangulum
4
- VERSION = '0.25.4'
4
+ VERSION = '0.25.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triangulum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.4
4
+ version: 0.25.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niklas van Schrick