triangulum 0.10.1-x86_64-linux-gnu → 0.11.0-x86_64-linux-gnu

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: f80a1e48a56665ccda1d48e69fbad0a1532f33be4b9c0e7bd0aaaef60635f218
4
- data.tar.gz: f42595b38a4af5c69767f73e6b31cf74b4e28f9d3de8d9cf94e79ac0a9af92c3
3
+ metadata.gz: 9f7225a288f16d45dbff021b09cb4822aefcfb42e2b02fd76f7ef8e0124d4fbb
4
+ data.tar.gz: '08509a187e55a1d8a5575848379929a0caf3f1f2a58f0b263ccd0a737c6e5bec'
5
5
  SHA512:
6
- metadata.gz: bb684a81562689853b42286472b5c06df39511d9712a68fb7b813283625b25244f51a1d76b695f67afd1895a3c913f5626a113c1bf87a2d2fb7325b80b70c374
7
- data.tar.gz: 4b5cd9ac145e8e214b51ed8a2510aeea099c64349d223f6e2c725392a5644d8a75a2eeee9815415735035bfa8b5f80e50440280b6ffc02f8b5c008e220a441ef
6
+ metadata.gz: 1b82656ff480099fa12a5b6044fc5535180f3d0d0ffbb7a5526fcbcaeb17655947780aeb788c3c2bf4138cc276419533e73b4a00f2eadd8aae6217b29f13aa9c
7
+ data.tar.gz: ce8c4c687852e59c16c1b7b2d0c6605877e25c05419da1344997666d7da04f20e7634ff5d12aa46bf52d9bba3ca6732c1c7cc0a196c8178860e3e0ae2b9b8d0e
@@ -169461,7 +169461,7 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
169461
169461
  } });
169462
169462
  });
169463
169463
 
169464
- // ../entrypoint/node_modules/@code0-tech/tucana/dist/shared.runtime_usage_pb-SKgDYw_k.js
169464
+ // ../entrypoint/node_modules/@code0-tech/tucana/dist/shared.runtime_usage_pb-C4_UdBmo.js
169465
169465
  function e(e2) {
169466
169466
  let t = typeof e2;
169467
169467
  if (t == "object") {
@@ -171487,6 +171487,11 @@ var je = new class extends L {
171487
171487
  constructor() {
171488
171488
  super("shared.ActionConfigurations", [{
171489
171489
  no: 1,
171490
+ name: "action_identifier",
171491
+ kind: "scalar",
171492
+ T: 9
171493
+ }, {
171494
+ no: 2,
171490
171495
  name: "action_configurations",
171491
171496
  kind: "message",
171492
171497
  repeat: 2,
@@ -171495,7 +171500,7 @@ var je = new class extends L {
171495
171500
  }
171496
171501
  create(e4) {
171497
171502
  let t2 = globalThis.Object.create(this.messagePrototype);
171498
- return t2.actionConfigurations = [], e4 !== undefined && N(this, t2, e4), t2;
171503
+ return t2.actionIdentifier = "", t2.actionConfigurations = [], e4 !== undefined && N(this, t2, e4), t2;
171499
171504
  }
171500
171505
  internalBinaryRead(e4, t2, n2, r2) {
171501
171506
  let i2 = r2 ?? this.create(), a2 = e4.pos + t2;
@@ -171503,6 +171508,9 @@ var je = new class extends L {
171503
171508
  let [t3, r3] = e4.tag();
171504
171509
  switch (t3) {
171505
171510
  case 1:
171511
+ i2.actionIdentifier = e4.string();
171512
+ break;
171513
+ case 2:
171506
171514
  i2.actionConfigurations.push(W.internalBinaryRead(e4, e4.uint32(), n2));
171507
171515
  break;
171508
171516
  default:
@@ -171516,8 +171524,9 @@ var je = new class extends L {
171516
171524
  return i2;
171517
171525
  }
171518
171526
  internalBinaryWrite(e4, t2, n2) {
171527
+ e4.actionIdentifier !== "" && t2.tag(1, s.LengthDelimited).string(e4.actionIdentifier);
171519
171528
  for (let r3 = 0;r3 < e4.actionConfigurations.length; r3++)
171520
- W.internalBinaryWrite(e4.actionConfigurations[r3], t2.tag(1, s.LengthDelimited).fork(), n2).join();
171529
+ W.internalBinaryWrite(e4.actionConfigurations[r3], t2.tag(2, s.LengthDelimited).fork(), n2).join();
171521
171530
  let r2 = n2.writeUnknownFields;
171522
171531
  return r2 !== false && (r2 == 1 ? o.onWrite : r2)(this.typeName, e4, t2), t2;
171523
171532
  }
@@ -173152,7 +173161,7 @@ var Ue = new class extends L {
173152
173161
  }
173153
173162
  };
173154
173163
 
173155
- // ../entrypoint/node_modules/@code0-tech/tucana/dist/shared.flow_pb-5xI6xoXb.js
173164
+ // ../entrypoint/node_modules/@code0-tech/tucana/dist/shared.flow_pb-B3074C-y.js
173156
173165
  var o2 = new class extends L {
173157
173166
  constructor() {
173158
173167
  super("shared.ValidationFlow", [
@@ -173927,11 +173936,13 @@ function e4(t2) {
173927
173936
  return null;
173928
173937
  case "numberValue":
173929
173938
  let n2 = t2.kind.numberValue;
173930
- if (n2.number.oneofKind === "integer")
173931
- return n2.number.integer;
173932
- if (n2.number.oneofKind === "float")
173939
+ if (n2.number.oneofKind === "integer") {
173940
+ let e5 = n2.number.integer;
173941
+ return 2 ** 53 - 1 < e5 || e5 < -(2 ** 53 - 1) ? e5 : Number(e5);
173942
+ } else if (n2.number.oneofKind === "float")
173933
173943
  return n2.number.float;
173934
- throw Error("Unsupported NumberValue number kind: " + n2.number.oneofKind);
173944
+ else
173945
+ throw Error("Unsupported NumberValue number kind: " + n2.number.oneofKind);
173935
173946
  case "stringValue":
173936
173947
  return t2.kind.stringValue;
173937
173948
  case "boolValue":
@@ -173965,11 +173976,22 @@ function mapFlow(flow) {
173965
173976
  id: gid("Flow", flow.flowId),
173966
173977
  signature: flow.signature,
173967
173978
  startingNodeId: gid("NodeFunction", flow.startingNodeId),
173979
+ settings: {
173980
+ nodes: flow.settings.map(mapFlowSetting)
173981
+ },
173968
173982
  nodes: {
173969
173983
  nodes: flow.nodeFunctions.map(mapNodeFunction)
173970
173984
  }
173971
173985
  };
173972
173986
  }
173987
+ function mapFlowSetting(flowSetting) {
173988
+ return {
173989
+ __typename: "FlowSetting",
173990
+ id: gid("FlowSetting", flowSetting.databaseId),
173991
+ flowSettingIdentifier: flowSetting.flowSettingId,
173992
+ value: flowSetting.value ? e4(flowSetting.value) : null
173993
+ };
173994
+ }
173973
173995
  function mapNodeFunction(nodeFunction) {
173974
173996
  return {
173975
173997
  id: gid("NodeFunction", nodeFunction.databaseId),
@@ -174445,6 +174467,12 @@ var x2 = `
174445
174467
  interface NewableFunction extends Function {}
174446
174468
  interface IArguments { }
174447
174469
  interface RegExp { }
174470
+
174471
+ declare namespace Utils {
174472
+ type ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any;
174473
+ }
174474
+
174475
+ import ReturnType = Utils.ReturnType;
174448
174476
  `;
174449
174477
  function S2(t3, n3) {
174450
174478
  let r3 = /* @__PURE__ */ new Map;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Triangulum
4
- VERSION = '0.10.1'
4
+ VERSION = '0.11.0'
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.10.1
4
+ version: 0.11.0
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - Niklas van Schrick