triangulum 0.10.1-x86_64-linux-gnu → 0.10.2-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 +4 -4
- data/lib/triangulum/js/single-validation.js +30 -8
- data/lib/triangulum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73b8c6529d781756348d684420d1cfe202fd82a3f349e9ce0a3eedf547e6d87e
|
|
4
|
+
data.tar.gz: 58ebf6f537727c83e17973969351a58a7f7bb5b3a4e0c24e7249cc1e2f2f1358
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19a33d15402421afb0eb62597b6bf773b75561d73bba6d4bfbe842c45f47aa9c6ceae065208b46ff577b5b5beb8a27f86a8402b9f5628430976ec95516fec89c
|
|
7
|
+
data.tar.gz: 57a83153d9ebdc748aad48fa2854e5f3939721d86de5eef6e924953925369e3e95ed37032724ea3c8383079f4e86df97afbad5936f372a7dc39f12e5d48f755a
|
|
@@ -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-
|
|
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(
|
|
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-
|
|
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
|
-
|
|
173932
|
-
|
|
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
|
-
|
|
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),
|
data/lib/triangulum/version.rb
CHANGED