@sjcrh/proteinpaint-types 2.150.0 → 2.152.0
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/brainImaging.js +1 -1
- package/dist/{chunk-OSBVSZBB.js → chunk-5BNDT4E6.js} +13 -77
- package/dist/{chunk-TTUU5XQC.js → chunk-5F24QFE7.js} +471 -253
- package/dist/{chunk-KSVIBMFQ.js → chunk-5OMJAZK4.js} +323 -185
- package/dist/{chunk-WL7ZVGZS.js → chunk-C27KCAQH.js} +476 -302
- package/dist/{chunk-5MGSKBUU.js → chunk-CC32XCET.js} +950 -574
- package/dist/{chunk-OZ3CVAFP.js → chunk-EBPGV76U.js} +279 -157
- package/dist/{chunk-KQNLROUN.js → chunk-GZKTMVAU.js} +750 -410
- package/dist/{chunk-3SKFYOKV.js → chunk-JT4DSNJ3.js} +476 -302
- package/dist/{chunk-75GS5ZG5.js → chunk-LXW2FSLR.js} +526 -352
- package/dist/{chunk-RA7IEGS4.js → chunk-MCL6EDOS.js} +482 -308
- package/dist/{chunk-DBSRGRXR.js → chunk-OAETETAO.js} +279 -157
- package/dist/{chunk-4MLQS6N7.js → chunk-OLWNM7QP.js} +279 -157
- package/dist/{chunk-MMFL6N5M.js → chunk-OLXOQLZH.js} +279 -157
- package/dist/{chunk-4SJC57Y6.js → chunk-ZXPLL3NT.js} +476 -302
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +14 -14
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.sampleScatter.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/routes/termdb.sampleScatter.ts +1 -3
- package/src/terms/numeric.ts +17 -1
- package/src/terms/term.ts +5 -0
|
@@ -26,7 +26,7 @@ var validChatRequest = (input) => {
|
|
|
26
26
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
27
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
28
28
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
|
-
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
29
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
31
31
|
const value = input3[key];
|
|
32
32
|
if (void 0 === value)
|
|
@@ -38,17 +38,18 @@ var validChatRequest = (input) => {
|
|
|
38
38
|
return true;
|
|
39
39
|
});
|
|
40
40
|
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
|
-
const $io7 = (input3) => "
|
|
42
|
-
const $io8 = (input3) => "
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.name && "
|
|
44
|
-
const $io10 = (input3) =>
|
|
45
|
-
const $io11 = (input3) => "string" === typeof input3.
|
|
46
|
-
const $io12 = (input3) =>
|
|
47
|
-
const $io13 = (input3) =>
|
|
48
|
-
const $io14 = (input3) => "string" === typeof input3.
|
|
49
|
-
const $io15 = (input3) => "
|
|
50
|
-
const $io16 = (input3) =>
|
|
51
|
-
const $io17 = (input3) =>
|
|
41
|
+
const $io7 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
42
|
+
const $io8 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
44
|
+
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
45
|
+
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
46
|
+
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
47
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
49
|
+
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
50
|
+
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
51
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding);
|
|
52
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
52
53
|
const value = input3[key];
|
|
53
54
|
if (void 0 === value)
|
|
54
55
|
return true;
|
|
@@ -56,26 +57,26 @@ var validChatRequest = (input) => {
|
|
|
56
57
|
return "number" === typeof value;
|
|
57
58
|
return true;
|
|
58
59
|
});
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
60
|
+
const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
61
|
+
const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
62
|
+
const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
63
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
66
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
70
|
+
const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
71
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
72
|
+
const $io31 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
73
|
+
const $io32 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io33(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
79
|
+
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
79
80
|
const $iu0 = (input3) => (() => {
|
|
80
81
|
if ("tvslst" === input3.type)
|
|
81
82
|
return $io1(input3);
|
|
@@ -85,81 +86,81 @@ var validChatRequest = (input) => {
|
|
|
85
86
|
})();
|
|
86
87
|
const $iu1 = (input3) => (() => {
|
|
87
88
|
if ("string" === typeof input3.type)
|
|
88
|
-
return $
|
|
89
|
+
return $io10(input3);
|
|
89
90
|
if ("filter" === input3.type)
|
|
90
|
-
return $
|
|
91
|
+
return $io12(input3);
|
|
91
92
|
return false;
|
|
92
93
|
})();
|
|
93
94
|
const $iu2 = (input3) => (() => {
|
|
94
95
|
if (true === input3.startunbounded)
|
|
95
|
-
return $
|
|
96
|
+
return $io19(input3);
|
|
96
97
|
if (true === input3.stopunbounded)
|
|
97
|
-
return $
|
|
98
|
-
return $
|
|
98
|
+
return $io21(input3);
|
|
99
|
+
return $io20(input3);
|
|
99
100
|
})();
|
|
100
101
|
const $iu3 = (input3) => (() => {
|
|
101
102
|
if ("gene" === input3.kind)
|
|
102
|
-
return $io34(input3);
|
|
103
|
-
if ("coord" === input3.kind)
|
|
104
103
|
return $io35(input3);
|
|
104
|
+
if ("coord" === input3.kind)
|
|
105
|
+
return $io36(input3);
|
|
105
106
|
return false;
|
|
106
107
|
})();
|
|
107
108
|
const $iu4 = (input3) => (() => {
|
|
108
109
|
if (void 0 !== input3.ranges)
|
|
109
|
-
return $
|
|
110
|
+
return $io13(input3);
|
|
110
111
|
return (() => {
|
|
111
112
|
if ($io3(input3))
|
|
112
113
|
return $io3(input3);
|
|
113
|
-
if ($
|
|
114
|
-
return $
|
|
115
|
-
if ($
|
|
116
|
-
return $
|
|
114
|
+
if ($io29(input3))
|
|
115
|
+
return $io29(input3);
|
|
116
|
+
if ($io32(input3))
|
|
117
|
+
return $io32(input3);
|
|
117
118
|
return false;
|
|
118
119
|
})();
|
|
119
120
|
})();
|
|
120
121
|
const $iu5 = (input3) => (() => {
|
|
121
122
|
if ("integer" === input3.type || "float" === input3.type)
|
|
122
|
-
return $
|
|
123
|
+
return $io14(input3);
|
|
123
124
|
if ("metaboliteIntensity" === input3.type)
|
|
124
|
-
return $io24(input3);
|
|
125
|
-
if ("date" === input3.type)
|
|
126
125
|
return $io25(input3);
|
|
127
|
-
if ("
|
|
126
|
+
if ("date" === input3.type)
|
|
128
127
|
return $io26(input3);
|
|
128
|
+
if ("ssGSEA" === input3.type)
|
|
129
|
+
return $io27(input3);
|
|
129
130
|
return (() => {
|
|
131
|
+
if ($io24(input3))
|
|
132
|
+
return $io24(input3);
|
|
130
133
|
if ($io23(input3))
|
|
131
134
|
return $io23(input3);
|
|
132
|
-
if ($io22(input3))
|
|
133
|
-
return $io22(input3);
|
|
134
135
|
return false;
|
|
135
136
|
})();
|
|
136
137
|
})();
|
|
137
138
|
const $iu6 = (input3) => (() => {
|
|
138
139
|
if ("regular-bin" === input3.type)
|
|
139
|
-
return $
|
|
140
|
+
return $io17(input3);
|
|
140
141
|
if ("custom-bin" === input3.type)
|
|
141
|
-
return $
|
|
142
|
+
return $io22(input3);
|
|
142
143
|
return false;
|
|
143
144
|
})();
|
|
144
145
|
const $iu7 = (input3) => (() => {
|
|
145
146
|
if (true === input3.startunbounded)
|
|
146
|
-
return $io18(input3);
|
|
147
|
-
if (void 0 !== input3.start)
|
|
148
147
|
return $io19(input3);
|
|
148
|
+
if (void 0 !== input3.start)
|
|
149
|
+
return $io20(input3);
|
|
149
150
|
return false;
|
|
150
151
|
})();
|
|
151
152
|
const $iu8 = (input3) => (() => {
|
|
152
153
|
if (void 0 !== input3.stop)
|
|
153
|
-
return $io19(input3);
|
|
154
|
-
if (true === input3.stopunbounded)
|
|
155
154
|
return $io20(input3);
|
|
155
|
+
if (true === input3.stopunbounded)
|
|
156
|
+
return $io21(input3);
|
|
156
157
|
return false;
|
|
157
158
|
})();
|
|
158
159
|
const $iu9 = (input3) => (() => {
|
|
159
160
|
if ("gene" === input3.kind)
|
|
160
|
-
return $
|
|
161
|
+
return $io34(input3);
|
|
161
162
|
if ("coord" === input3.kind)
|
|
162
|
-
return $
|
|
163
|
+
return $io37(input3);
|
|
163
164
|
return false;
|
|
164
165
|
})();
|
|
165
166
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -328,11 +329,19 @@ var validChatRequest = (input) => {
|
|
|
328
329
|
path: _path2 + ".skipValuesBuild",
|
|
329
330
|
expected: "(boolean | undefined)",
|
|
330
331
|
value: input3.skipValuesBuild
|
|
332
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
333
|
+
path: _path2 + ".valueConversion",
|
|
334
|
+
expected: "(__type.o1 | undefined)",
|
|
335
|
+
value: input3.valueConversion
|
|
336
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
337
|
+
path: _path2 + ".valueConversion",
|
|
338
|
+
expected: "(__type.o1 | undefined)",
|
|
339
|
+
value: input3.valueConversion
|
|
331
340
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
332
341
|
path: _path2 + ".groupsetting",
|
|
333
342
|
expected: "TermGroupSetting",
|
|
334
343
|
value: input3.groupsetting
|
|
335
|
-
})) && $
|
|
344
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
336
345
|
path: _path2 + ".groupsetting",
|
|
337
346
|
expected: "TermGroupSetting",
|
|
338
347
|
value: input3.groupsetting
|
|
@@ -396,7 +405,20 @@ var validChatRequest = (input) => {
|
|
|
396
405
|
expected: "(Filter | undefined)",
|
|
397
406
|
value: input3.filter
|
|
398
407
|
})].every((flag) => flag);
|
|
399
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["
|
|
408
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
|
|
409
|
+
path: _path2 + ".fromUnit",
|
|
410
|
+
expected: "string",
|
|
411
|
+
value: input3.fromUnit
|
|
412
|
+
}), "string" === typeof input3.toUnit || $report(_exceptionable2, {
|
|
413
|
+
path: _path2 + ".toUnit",
|
|
414
|
+
expected: "string",
|
|
415
|
+
value: input3.toUnit
|
|
416
|
+
}), "string" === typeof input3.scaleFactor || $report(_exceptionable2, {
|
|
417
|
+
path: _path2 + ".scaleFactor",
|
|
418
|
+
expected: "string",
|
|
419
|
+
value: input3.scaleFactor
|
|
420
|
+
})].every((flag) => flag);
|
|
421
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
400
422
|
path: _path2 + ".disabled",
|
|
401
423
|
expected: "boolean",
|
|
402
424
|
value: input3.disabled
|
|
@@ -408,7 +430,7 @@ var validChatRequest = (input) => {
|
|
|
408
430
|
path: _path2 + ".lst[" + _index5 + "]",
|
|
409
431
|
expected: "Groupset",
|
|
410
432
|
value: elem
|
|
411
|
-
})) && $
|
|
433
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
412
434
|
path: _path2 + ".lst[" + _index5 + "]",
|
|
413
435
|
expected: "Groupset",
|
|
414
436
|
value: elem
|
|
@@ -417,7 +439,7 @@ var validChatRequest = (input) => {
|
|
|
417
439
|
expected: "(Array<Groupset> | undefined)",
|
|
418
440
|
value: input3.lst
|
|
419
441
|
})].every((flag) => flag);
|
|
420
|
-
const $
|
|
442
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
421
443
|
path: _path2 + ".name",
|
|
422
444
|
expected: "string",
|
|
423
445
|
value: input3.name
|
|
@@ -450,7 +472,7 @@ var validChatRequest = (input) => {
|
|
|
450
472
|
expected: "Array<GroupEntry>",
|
|
451
473
|
value: input3.groups
|
|
452
474
|
})].every((flag) => flag);
|
|
453
|
-
const $
|
|
475
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
454
476
|
path: _path2 + ".name",
|
|
455
477
|
expected: "string",
|
|
456
478
|
value: input3.name
|
|
@@ -464,11 +486,11 @@ var validChatRequest = (input) => {
|
|
|
464
486
|
value: input3.values
|
|
465
487
|
})) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
466
488
|
path: _path2 + ".values[" + _index7 + "]",
|
|
467
|
-
expected: "__type.
|
|
489
|
+
expected: "__type.o2",
|
|
468
490
|
value: elem
|
|
469
|
-
})) && $
|
|
491
|
+
})) && $vo11(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
470
492
|
path: _path2 + ".values[" + _index7 + "]",
|
|
471
|
-
expected: "__type.
|
|
493
|
+
expected: "__type.o2",
|
|
472
494
|
value: elem
|
|
473
495
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
474
496
|
path: _path2 + ".values",
|
|
@@ -479,7 +501,7 @@ var validChatRequest = (input) => {
|
|
|
479
501
|
expected: "(boolean | undefined)",
|
|
480
502
|
value: input3.uncomputable
|
|
481
503
|
})].every((flag) => flag);
|
|
482
|
-
const $
|
|
504
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
483
505
|
path: _path2 + ".key",
|
|
484
506
|
expected: "(number | string)",
|
|
485
507
|
value: input3.key
|
|
@@ -488,7 +510,7 @@ var validChatRequest = (input) => {
|
|
|
488
510
|
expected: "string",
|
|
489
511
|
value: input3.label
|
|
490
512
|
})].every((flag) => flag);
|
|
491
|
-
const $
|
|
513
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
492
514
|
path: _path2 + ".name",
|
|
493
515
|
expected: "string",
|
|
494
516
|
value: input3.name
|
|
@@ -509,7 +531,7 @@ var validChatRequest = (input) => {
|
|
|
509
531
|
expected: "string",
|
|
510
532
|
value: input3.color
|
|
511
533
|
})].every((flag) => flag);
|
|
512
|
-
const $
|
|
534
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
513
535
|
path: _path2 + ".join",
|
|
514
536
|
expected: "(string | undefined)",
|
|
515
537
|
value: input3.join
|
|
@@ -547,18 +569,18 @@ var validChatRequest = (input) => {
|
|
|
547
569
|
value: input3.values
|
|
548
570
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
549
571
|
path: _path2 + ".values[" + _index9 + "]",
|
|
550
|
-
expected: "__type.
|
|
572
|
+
expected: "__type.o4",
|
|
551
573
|
value: elem
|
|
552
|
-
})) && $
|
|
574
|
+
})) && $vo28(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
553
575
|
path: _path2 + ".values[" + _index9 + "]",
|
|
554
|
-
expected: "__type.
|
|
576
|
+
expected: "__type.o4",
|
|
555
577
|
value: elem
|
|
556
578
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
557
579
|
path: _path2 + ".values",
|
|
558
580
|
expected: "Array<__type>.o1",
|
|
559
581
|
value: input3.values
|
|
560
582
|
})].every((flag) => flag);
|
|
561
|
-
const $
|
|
583
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
562
584
|
path: _path2 + ".id",
|
|
563
585
|
expected: "string",
|
|
564
586
|
value: input3.id
|
|
@@ -614,13 +636,21 @@ var validChatRequest = (input) => {
|
|
|
614
636
|
path: _path2 + ".skipValuesBuild",
|
|
615
637
|
expected: "(boolean | undefined)",
|
|
616
638
|
value: input3.skipValuesBuild
|
|
639
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
640
|
+
path: _path2 + ".valueConversion",
|
|
641
|
+
expected: "(__type.o1 | undefined)",
|
|
642
|
+
value: input3.valueConversion
|
|
643
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
644
|
+
path: _path2 + ".valueConversion",
|
|
645
|
+
expected: "(__type.o1 | undefined)",
|
|
646
|
+
value: input3.valueConversion
|
|
617
647
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
618
648
|
path: _path2 + ".continuousColorScale",
|
|
619
|
-
expected: "(__type.
|
|
649
|
+
expected: "(__type.o3 | undefined)",
|
|
620
650
|
value: input3.continuousColorScale
|
|
621
|
-
})) && $
|
|
651
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
622
652
|
path: _path2 + ".continuousColorScale",
|
|
623
|
-
expected: "(__type.
|
|
653
|
+
expected: "(__type.o3 | undefined)",
|
|
624
654
|
value: input3.continuousColorScale
|
|
625
655
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
626
656
|
path: _path2 + ".unit",
|
|
@@ -630,12 +660,12 @@ var validChatRequest = (input) => {
|
|
|
630
660
|
path: _path2 + ".bins",
|
|
631
661
|
expected: "PresetNumericBins",
|
|
632
662
|
value: input3.bins
|
|
633
|
-
})) && $
|
|
663
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
634
664
|
path: _path2 + ".bins",
|
|
635
665
|
expected: "PresetNumericBins",
|
|
636
666
|
value: input3.bins
|
|
637
667
|
})].every((flag) => flag);
|
|
638
|
-
const $
|
|
668
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
639
669
|
path: _path2 + ".minColor",
|
|
640
670
|
expected: "string",
|
|
641
671
|
value: input3.minColor
|
|
@@ -644,7 +674,7 @@ var validChatRequest = (input) => {
|
|
|
644
674
|
expected: "string",
|
|
645
675
|
value: input3.maxColor
|
|
646
676
|
})].every((flag) => flag);
|
|
647
|
-
const $
|
|
677
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
648
678
|
path: _path2 + '["default"]',
|
|
649
679
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
650
680
|
value: input3["default"]
|
|
@@ -681,11 +711,11 @@ var validChatRequest = (input) => {
|
|
|
681
711
|
expected: "(number | undefined)",
|
|
682
712
|
value: input3.max
|
|
683
713
|
})].every((flag) => flag);
|
|
684
|
-
const $
|
|
714
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
685
715
|
path: _path2 + ".hiddenValues",
|
|
686
716
|
expected: "(HiddenValues | undefined)",
|
|
687
717
|
value: input3.hiddenValues
|
|
688
|
-
})) && $
|
|
718
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
689
719
|
path: _path2 + ".hiddenValues",
|
|
690
720
|
expected: "(HiddenValues | undefined)",
|
|
691
721
|
value: input3.hiddenValues
|
|
@@ -733,8 +763,20 @@ var validChatRequest = (input) => {
|
|
|
733
763
|
path: _path2 + ".label_offset",
|
|
734
764
|
expected: "(number | undefined)",
|
|
735
765
|
value: input3.label_offset
|
|
766
|
+
}), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
|
|
767
|
+
path: _path2 + ".startinclusive",
|
|
768
|
+
expected: "(boolean | undefined)",
|
|
769
|
+
value: input3.startinclusive
|
|
770
|
+
}), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
|
|
771
|
+
path: _path2 + ".stopinclusive",
|
|
772
|
+
expected: "(boolean | undefined)",
|
|
773
|
+
value: input3.stopinclusive
|
|
774
|
+
}), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
|
|
775
|
+
path: _path2 + ".rounding",
|
|
776
|
+
expected: "(string | undefined)",
|
|
777
|
+
value: input3.rounding
|
|
736
778
|
})].every((flag) => flag);
|
|
737
|
-
const $
|
|
779
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
738
780
|
const value = input3[key];
|
|
739
781
|
if (void 0 === value)
|
|
740
782
|
return true;
|
|
@@ -746,7 +788,7 @@ var validChatRequest = (input) => {
|
|
|
746
788
|
});
|
|
747
789
|
return true;
|
|
748
790
|
}).every((flag) => flag)].every((flag) => flag);
|
|
749
|
-
const $
|
|
791
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
750
792
|
path: _path2 + ".startunbounded",
|
|
751
793
|
expected: "true",
|
|
752
794
|
value: input3.startunbounded
|
|
@@ -775,7 +817,7 @@ var validChatRequest = (input) => {
|
|
|
775
817
|
expected: "(string | undefined)",
|
|
776
818
|
value: input3.range
|
|
777
819
|
})].every((flag) => flag);
|
|
778
|
-
const $
|
|
820
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
779
821
|
path: _path2 + ".startunbounded",
|
|
780
822
|
expected: "(false | undefined)",
|
|
781
823
|
value: input3.startunbounded
|
|
@@ -808,7 +850,7 @@ var validChatRequest = (input) => {
|
|
|
808
850
|
expected: "(string | undefined)",
|
|
809
851
|
value: input3.range
|
|
810
852
|
})].every((flag) => flag);
|
|
811
|
-
const $
|
|
853
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
812
854
|
path: _path2 + ".start",
|
|
813
855
|
expected: "number",
|
|
814
856
|
value: input3.start
|
|
@@ -837,11 +879,11 @@ var validChatRequest = (input) => {
|
|
|
837
879
|
expected: "(string | undefined)",
|
|
838
880
|
value: input3.range
|
|
839
881
|
})].every((flag) => flag);
|
|
840
|
-
const $
|
|
882
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
841
883
|
path: _path2 + ".hiddenValues",
|
|
842
884
|
expected: "(HiddenValues | undefined)",
|
|
843
885
|
value: input3.hiddenValues
|
|
844
|
-
})) && $
|
|
886
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
845
887
|
path: _path2 + ".hiddenValues",
|
|
846
888
|
expected: "(HiddenValues | undefined)",
|
|
847
889
|
value: input3.hiddenValues
|
|
@@ -867,7 +909,7 @@ var validChatRequest = (input) => {
|
|
|
867
909
|
value: input3.mode
|
|
868
910
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
869
911
|
path: _path2 + ".lst",
|
|
870
|
-
expected: "
|
|
912
|
+
expected: "CustomNumericBinConfigLst",
|
|
871
913
|
value: input3.lst
|
|
872
914
|
})) && ([
|
|
873
915
|
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
@@ -897,14 +939,14 @@ var validChatRequest = (input) => {
|
|
|
897
939
|
value: input3.lst.slice(1)
|
|
898
940
|
}))) || $report(_exceptionable2, {
|
|
899
941
|
path: _path2 + ".lst",
|
|
900
|
-
expected: "
|
|
942
|
+
expected: "CustomNumericBinConfigLst",
|
|
901
943
|
value: input3.lst
|
|
902
944
|
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
903
945
|
path: _path2 + ".preferredBins",
|
|
904
946
|
expected: '("median" | undefined)',
|
|
905
947
|
value: input3.preferredBins
|
|
906
948
|
})].every((flag) => flag);
|
|
907
|
-
const $
|
|
949
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
908
950
|
path: _path2 + ".id",
|
|
909
951
|
expected: "string",
|
|
910
952
|
value: input3.id
|
|
@@ -960,13 +1002,21 @@ var validChatRequest = (input) => {
|
|
|
960
1002
|
path: _path2 + ".skipValuesBuild",
|
|
961
1003
|
expected: "(boolean | undefined)",
|
|
962
1004
|
value: input3.skipValuesBuild
|
|
1005
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1006
|
+
path: _path2 + ".valueConversion",
|
|
1007
|
+
expected: "(__type.o1 | undefined)",
|
|
1008
|
+
value: input3.valueConversion
|
|
1009
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1010
|
+
path: _path2 + ".valueConversion",
|
|
1011
|
+
expected: "(__type.o1 | undefined)",
|
|
1012
|
+
value: input3.valueConversion
|
|
963
1013
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
964
1014
|
path: _path2 + ".continuousColorScale",
|
|
965
|
-
expected: "(__type.
|
|
1015
|
+
expected: "(__type.o3 | undefined)",
|
|
966
1016
|
value: input3.continuousColorScale
|
|
967
|
-
})) && $
|
|
1017
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
968
1018
|
path: _path2 + ".continuousColorScale",
|
|
969
|
-
expected: "(__type.
|
|
1019
|
+
expected: "(__type.o3 | undefined)",
|
|
970
1020
|
value: input3.continuousColorScale
|
|
971
1021
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
972
1022
|
path: _path2 + ".unit",
|
|
@@ -976,7 +1026,7 @@ var validChatRequest = (input) => {
|
|
|
976
1026
|
path: _path2 + ".bins",
|
|
977
1027
|
expected: "(PresetNumericBins | undefined)",
|
|
978
1028
|
value: input3.bins
|
|
979
|
-
})) && $
|
|
1029
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
980
1030
|
path: _path2 + ".bins",
|
|
981
1031
|
expected: "(PresetNumericBins | undefined)",
|
|
982
1032
|
value: input3.bins
|
|
@@ -1001,7 +1051,7 @@ var validChatRequest = (input) => {
|
|
|
1001
1051
|
expected: "(number | undefined)",
|
|
1002
1052
|
value: input3.stop
|
|
1003
1053
|
})].every((flag) => flag);
|
|
1004
|
-
const $
|
|
1054
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1005
1055
|
path: _path2 + ".id",
|
|
1006
1056
|
expected: "string",
|
|
1007
1057
|
value: input3.id
|
|
@@ -1057,13 +1107,21 @@ var validChatRequest = (input) => {
|
|
|
1057
1107
|
path: _path2 + ".skipValuesBuild",
|
|
1058
1108
|
expected: "(boolean | undefined)",
|
|
1059
1109
|
value: input3.skipValuesBuild
|
|
1110
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1111
|
+
path: _path2 + ".valueConversion",
|
|
1112
|
+
expected: "(__type.o1 | undefined)",
|
|
1113
|
+
value: input3.valueConversion
|
|
1114
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1115
|
+
path: _path2 + ".valueConversion",
|
|
1116
|
+
expected: "(__type.o1 | undefined)",
|
|
1117
|
+
value: input3.valueConversion
|
|
1060
1118
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1061
1119
|
path: _path2 + ".continuousColorScale",
|
|
1062
|
-
expected: "(__type.
|
|
1120
|
+
expected: "(__type.o3 | undefined)",
|
|
1063
1121
|
value: input3.continuousColorScale
|
|
1064
|
-
})) && $
|
|
1122
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1065
1123
|
path: _path2 + ".continuousColorScale",
|
|
1066
|
-
expected: "(__type.
|
|
1124
|
+
expected: "(__type.o3 | undefined)",
|
|
1067
1125
|
value: input3.continuousColorScale
|
|
1068
1126
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1069
1127
|
path: _path2 + ".unit",
|
|
@@ -1073,7 +1131,7 @@ var validChatRequest = (input) => {
|
|
|
1073
1131
|
path: _path2 + ".bins",
|
|
1074
1132
|
expected: "(PresetNumericBins | undefined)",
|
|
1075
1133
|
value: input3.bins
|
|
1076
|
-
})) && $
|
|
1134
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1077
1135
|
path: _path2 + ".bins",
|
|
1078
1136
|
expected: "(PresetNumericBins | undefined)",
|
|
1079
1137
|
value: input3.bins
|
|
@@ -1098,7 +1156,7 @@ var validChatRequest = (input) => {
|
|
|
1098
1156
|
expected: "number",
|
|
1099
1157
|
value: input3.stop
|
|
1100
1158
|
})].every((flag) => flag);
|
|
1101
|
-
const $
|
|
1159
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1102
1160
|
path: _path2 + ".id",
|
|
1103
1161
|
expected: "string",
|
|
1104
1162
|
value: input3.id
|
|
@@ -1154,13 +1212,21 @@ var validChatRequest = (input) => {
|
|
|
1154
1212
|
path: _path2 + ".skipValuesBuild",
|
|
1155
1213
|
expected: "(boolean | undefined)",
|
|
1156
1214
|
value: input3.skipValuesBuild
|
|
1215
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1216
|
+
path: _path2 + ".valueConversion",
|
|
1217
|
+
expected: "(__type.o1 | undefined)",
|
|
1218
|
+
value: input3.valueConversion
|
|
1219
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1220
|
+
path: _path2 + ".valueConversion",
|
|
1221
|
+
expected: "(__type.o1 | undefined)",
|
|
1222
|
+
value: input3.valueConversion
|
|
1157
1223
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1158
1224
|
path: _path2 + ".continuousColorScale",
|
|
1159
|
-
expected: "(__type.
|
|
1225
|
+
expected: "(__type.o3 | undefined)",
|
|
1160
1226
|
value: input3.continuousColorScale
|
|
1161
|
-
})) && $
|
|
1227
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1162
1228
|
path: _path2 + ".continuousColorScale",
|
|
1163
|
-
expected: "(__type.
|
|
1229
|
+
expected: "(__type.o3 | undefined)",
|
|
1164
1230
|
value: input3.continuousColorScale
|
|
1165
1231
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1166
1232
|
path: _path2 + ".unit",
|
|
@@ -1174,12 +1240,12 @@ var validChatRequest = (input) => {
|
|
|
1174
1240
|
path: _path2 + ".bins",
|
|
1175
1241
|
expected: "(PresetNumericBins | undefined)",
|
|
1176
1242
|
value: input3.bins
|
|
1177
|
-
})) && $
|
|
1243
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1178
1244
|
path: _path2 + ".bins",
|
|
1179
1245
|
expected: "(PresetNumericBins | undefined)",
|
|
1180
1246
|
value: input3.bins
|
|
1181
1247
|
})].every((flag) => flag);
|
|
1182
|
-
const $
|
|
1248
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1183
1249
|
path: _path2 + ".id",
|
|
1184
1250
|
expected: "string",
|
|
1185
1251
|
value: input3.id
|
|
@@ -1235,13 +1301,21 @@ var validChatRequest = (input) => {
|
|
|
1235
1301
|
path: _path2 + ".skipValuesBuild",
|
|
1236
1302
|
expected: "(boolean | undefined)",
|
|
1237
1303
|
value: input3.skipValuesBuild
|
|
1304
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1305
|
+
path: _path2 + ".valueConversion",
|
|
1306
|
+
expected: "(__type.o1 | undefined)",
|
|
1307
|
+
value: input3.valueConversion
|
|
1308
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".valueConversion",
|
|
1310
|
+
expected: "(__type.o1 | undefined)",
|
|
1311
|
+
value: input3.valueConversion
|
|
1238
1312
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1239
1313
|
path: _path2 + ".continuousColorScale",
|
|
1240
|
-
expected: "(__type.
|
|
1314
|
+
expected: "(__type.o3 | undefined)",
|
|
1241
1315
|
value: input3.continuousColorScale
|
|
1242
|
-
})) && $
|
|
1316
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1243
1317
|
path: _path2 + ".continuousColorScale",
|
|
1244
|
-
expected: "(__type.
|
|
1318
|
+
expected: "(__type.o3 | undefined)",
|
|
1245
1319
|
value: input3.continuousColorScale
|
|
1246
1320
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1247
1321
|
path: _path2 + ".unit",
|
|
@@ -1251,12 +1325,12 @@ var validChatRequest = (input) => {
|
|
|
1251
1325
|
path: _path2 + ".bins",
|
|
1252
1326
|
expected: "(PresetNumericBins | undefined)",
|
|
1253
1327
|
value: input3.bins
|
|
1254
|
-
})) && $
|
|
1328
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1255
1329
|
path: _path2 + ".bins",
|
|
1256
1330
|
expected: "(PresetNumericBins | undefined)",
|
|
1257
1331
|
value: input3.bins
|
|
1258
1332
|
})].every((flag) => flag);
|
|
1259
|
-
const $
|
|
1333
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1260
1334
|
path: _path2 + ".id",
|
|
1261
1335
|
expected: "string",
|
|
1262
1336
|
value: input3.id
|
|
@@ -1312,13 +1386,21 @@ var validChatRequest = (input) => {
|
|
|
1312
1386
|
path: _path2 + ".skipValuesBuild",
|
|
1313
1387
|
expected: "(boolean | undefined)",
|
|
1314
1388
|
value: input3.skipValuesBuild
|
|
1389
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".valueConversion",
|
|
1391
|
+
expected: "(__type.o1 | undefined)",
|
|
1392
|
+
value: input3.valueConversion
|
|
1393
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".valueConversion",
|
|
1395
|
+
expected: "(__type.o1 | undefined)",
|
|
1396
|
+
value: input3.valueConversion
|
|
1315
1397
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1316
1398
|
path: _path2 + ".continuousColorScale",
|
|
1317
|
-
expected: "(__type.
|
|
1399
|
+
expected: "(__type.o3 | undefined)",
|
|
1318
1400
|
value: input3.continuousColorScale
|
|
1319
|
-
})) && $
|
|
1401
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1320
1402
|
path: _path2 + ".continuousColorScale",
|
|
1321
|
-
expected: "(__type.
|
|
1403
|
+
expected: "(__type.o3 | undefined)",
|
|
1322
1404
|
value: input3.continuousColorScale
|
|
1323
1405
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1324
1406
|
path: _path2 + ".unit",
|
|
@@ -1340,12 +1422,12 @@ var validChatRequest = (input) => {
|
|
|
1340
1422
|
path: _path2 + ".bins",
|
|
1341
1423
|
expected: "(PresetNumericBins | undefined)",
|
|
1342
1424
|
value: input3.bins
|
|
1343
|
-
})) && $
|
|
1425
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1344
1426
|
path: _path2 + ".bins",
|
|
1345
1427
|
expected: "(PresetNumericBins | undefined)",
|
|
1346
1428
|
value: input3.bins
|
|
1347
1429
|
})].every((flag) => flag);
|
|
1348
|
-
const $
|
|
1430
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1349
1431
|
path: _path2 + ".key",
|
|
1350
1432
|
expected: "string",
|
|
1351
1433
|
value: input3.key
|
|
@@ -1362,7 +1444,7 @@ var validChatRequest = (input) => {
|
|
|
1362
1444
|
expected: "(string | undefined)",
|
|
1363
1445
|
value: input3.label
|
|
1364
1446
|
})].every((flag) => flag);
|
|
1365
|
-
const $
|
|
1447
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1366
1448
|
path: _path2 + ".join",
|
|
1367
1449
|
expected: "(string | undefined)",
|
|
1368
1450
|
value: input3.join
|
|
@@ -1374,7 +1456,7 @@ var validChatRequest = (input) => {
|
|
|
1374
1456
|
path: _path2 + ".term",
|
|
1375
1457
|
expected: "ConditionTerm",
|
|
1376
1458
|
value: input3.term
|
|
1377
|
-
})) && $
|
|
1459
|
+
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1378
1460
|
path: _path2 + ".term",
|
|
1379
1461
|
expected: "ConditionTerm",
|
|
1380
1462
|
value: input3.term
|
|
@@ -1398,7 +1480,7 @@ var validChatRequest = (input) => {
|
|
|
1398
1480
|
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1399
1481
|
expected: "GradeAndChildEntry",
|
|
1400
1482
|
value: elem
|
|
1401
|
-
})) && $
|
|
1483
|
+
})) && $vo31(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1402
1484
|
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1403
1485
|
expected: "GradeAndChildEntry",
|
|
1404
1486
|
value: elem
|
|
@@ -1407,7 +1489,7 @@ var validChatRequest = (input) => {
|
|
|
1407
1489
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1408
1490
|
value: input3.grade_and_child
|
|
1409
1491
|
})].every((flag) => flag);
|
|
1410
|
-
const $
|
|
1492
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1411
1493
|
path: _path2 + ".id",
|
|
1412
1494
|
expected: "string",
|
|
1413
1495
|
value: input3.id
|
|
@@ -1463,8 +1545,16 @@ var validChatRequest = (input) => {
|
|
|
1463
1545
|
path: _path2 + ".skipValuesBuild",
|
|
1464
1546
|
expected: "(boolean | undefined)",
|
|
1465
1547
|
value: input3.skipValuesBuild
|
|
1548
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".valueConversion",
|
|
1550
|
+
expected: "(__type.o1 | undefined)",
|
|
1551
|
+
value: input3.valueConversion
|
|
1552
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".valueConversion",
|
|
1554
|
+
expected: "(__type.o1 | undefined)",
|
|
1555
|
+
value: input3.valueConversion
|
|
1466
1556
|
})].every((flag) => flag);
|
|
1467
|
-
const $
|
|
1557
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1468
1558
|
path: _path2 + ".grade",
|
|
1469
1559
|
expected: "number",
|
|
1470
1560
|
value: input3.grade
|
|
@@ -1481,7 +1571,7 @@ var validChatRequest = (input) => {
|
|
|
1481
1571
|
expected: "string",
|
|
1482
1572
|
value: input3.child_label
|
|
1483
1573
|
})].every((flag) => flag);
|
|
1484
|
-
const $
|
|
1574
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1485
1575
|
path: _path2 + ".join",
|
|
1486
1576
|
expected: "(string | undefined)",
|
|
1487
1577
|
value: input3.join
|
|
@@ -1493,7 +1583,7 @@ var validChatRequest = (input) => {
|
|
|
1493
1583
|
path: _path2 + ".term",
|
|
1494
1584
|
expected: "DtTerm",
|
|
1495
1585
|
value: input3.term
|
|
1496
|
-
})) && $
|
|
1586
|
+
})) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1497
1587
|
path: _path2 + ".term",
|
|
1498
1588
|
expected: "DtTerm",
|
|
1499
1589
|
value: input3.term
|
|
@@ -1503,11 +1593,11 @@ var validChatRequest = (input) => {
|
|
|
1503
1593
|
value: input3.values
|
|
1504
1594
|
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1505
1595
|
path: _path2 + ".values[" + _index27 + "]",
|
|
1506
|
-
expected: "__type.
|
|
1596
|
+
expected: "__type.o5",
|
|
1507
1597
|
value: elem
|
|
1508
|
-
})) && $
|
|
1598
|
+
})) && $vo38(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1509
1599
|
path: _path2 + ".values[" + _index27 + "]",
|
|
1510
|
-
expected: "__type.
|
|
1600
|
+
expected: "__type.o5",
|
|
1511
1601
|
value: elem
|
|
1512
1602
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1513
1603
|
path: _path2 + ".values",
|
|
@@ -1522,7 +1612,7 @@ var validChatRequest = (input) => {
|
|
|
1522
1612
|
expected: "(boolean | undefined)",
|
|
1523
1613
|
value: input3.excludeGeneName
|
|
1524
1614
|
})].every((flag) => flag);
|
|
1525
|
-
const $
|
|
1615
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1526
1616
|
path: _path2 + ".id",
|
|
1527
1617
|
expected: "string",
|
|
1528
1618
|
value: input3.id
|
|
@@ -1571,7 +1661,7 @@ var validChatRequest = (input) => {
|
|
|
1571
1661
|
expected: "TermValues",
|
|
1572
1662
|
value: input3.values
|
|
1573
1663
|
})].every((flag) => flag);
|
|
1574
|
-
const $
|
|
1664
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1575
1665
|
path: _path2 + ".id",
|
|
1576
1666
|
expected: "string",
|
|
1577
1667
|
value: input3.id
|
|
@@ -1627,6 +1717,14 @@ var validChatRequest = (input) => {
|
|
|
1627
1717
|
path: _path2 + ".skipValuesBuild",
|
|
1628
1718
|
expected: "(boolean | undefined)",
|
|
1629
1719
|
value: input3.skipValuesBuild
|
|
1720
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1721
|
+
path: _path2 + ".valueConversion",
|
|
1722
|
+
expected: "(__type.o1 | undefined)",
|
|
1723
|
+
value: input3.valueConversion
|
|
1724
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1725
|
+
path: _path2 + ".valueConversion",
|
|
1726
|
+
expected: "(__type.o1 | undefined)",
|
|
1727
|
+
value: input3.valueConversion
|
|
1630
1728
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1631
1729
|
path: _path2 + ".kind",
|
|
1632
1730
|
expected: '"gene"',
|
|
@@ -1667,7 +1765,7 @@ var validChatRequest = (input) => {
|
|
|
1667
1765
|
path: _path2 + ".groupsetting",
|
|
1668
1766
|
expected: "(TermGroupSetting | undefined)",
|
|
1669
1767
|
value: input3.groupsetting
|
|
1670
|
-
})) && $
|
|
1768
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1671
1769
|
path: _path2 + ".groupsetting",
|
|
1672
1770
|
expected: "(TermGroupSetting | undefined)",
|
|
1673
1771
|
value: input3.groupsetting
|
|
@@ -1679,7 +1777,7 @@ var validChatRequest = (input) => {
|
|
|
1679
1777
|
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1680
1778
|
expected: "DtTerm",
|
|
1681
1779
|
value: elem
|
|
1682
|
-
})) && $
|
|
1780
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1683
1781
|
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1684
1782
|
expected: "DtTerm",
|
|
1685
1783
|
value: elem
|
|
@@ -1688,7 +1786,7 @@ var validChatRequest = (input) => {
|
|
|
1688
1786
|
expected: "(Array<DtTerm> | undefined)",
|
|
1689
1787
|
value: input3.childTerms
|
|
1690
1788
|
})].every((flag) => flag);
|
|
1691
|
-
const $
|
|
1789
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1692
1790
|
path: _path2 + ".id",
|
|
1693
1791
|
expected: "string",
|
|
1694
1792
|
value: input3.id
|
|
@@ -1744,6 +1842,14 @@ var validChatRequest = (input) => {
|
|
|
1744
1842
|
path: _path2 + ".skipValuesBuild",
|
|
1745
1843
|
expected: "(boolean | undefined)",
|
|
1746
1844
|
value: input3.skipValuesBuild
|
|
1845
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1846
|
+
path: _path2 + ".valueConversion",
|
|
1847
|
+
expected: "(__type.o1 | undefined)",
|
|
1848
|
+
value: input3.valueConversion
|
|
1849
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".valueConversion",
|
|
1851
|
+
expected: "(__type.o1 | undefined)",
|
|
1852
|
+
value: input3.valueConversion
|
|
1747
1853
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1748
1854
|
path: _path2 + ".kind",
|
|
1749
1855
|
expected: '"gene"',
|
|
@@ -1765,7 +1871,7 @@ var validChatRequest = (input) => {
|
|
|
1765
1871
|
expected: "(number | undefined)",
|
|
1766
1872
|
value: input3.stop
|
|
1767
1873
|
})].every((flag) => flag);
|
|
1768
|
-
const $
|
|
1874
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1769
1875
|
path: _path2 + ".id",
|
|
1770
1876
|
expected: "string",
|
|
1771
1877
|
value: input3.id
|
|
@@ -1821,6 +1927,14 @@ var validChatRequest = (input) => {
|
|
|
1821
1927
|
path: _path2 + ".skipValuesBuild",
|
|
1822
1928
|
expected: "(boolean | undefined)",
|
|
1823
1929
|
value: input3.skipValuesBuild
|
|
1930
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1931
|
+
path: _path2 + ".valueConversion",
|
|
1932
|
+
expected: "(__type.o1 | undefined)",
|
|
1933
|
+
value: input3.valueConversion
|
|
1934
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1935
|
+
path: _path2 + ".valueConversion",
|
|
1936
|
+
expected: "(__type.o1 | undefined)",
|
|
1937
|
+
value: input3.valueConversion
|
|
1824
1938
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1825
1939
|
path: _path2 + ".kind",
|
|
1826
1940
|
expected: '"coord"',
|
|
@@ -1838,7 +1952,7 @@ var validChatRequest = (input) => {
|
|
|
1838
1952
|
expected: "number",
|
|
1839
1953
|
value: input3.stop
|
|
1840
1954
|
})].every((flag) => flag);
|
|
1841
|
-
const $
|
|
1955
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1842
1956
|
path: _path2 + ".id",
|
|
1843
1957
|
expected: "string",
|
|
1844
1958
|
value: input3.id
|
|
@@ -1894,6 +2008,14 @@ var validChatRequest = (input) => {
|
|
|
1894
2008
|
path: _path2 + ".skipValuesBuild",
|
|
1895
2009
|
expected: "(boolean | undefined)",
|
|
1896
2010
|
value: input3.skipValuesBuild
|
|
2011
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2012
|
+
path: _path2 + ".valueConversion",
|
|
2013
|
+
expected: "(__type.o1 | undefined)",
|
|
2014
|
+
value: input3.valueConversion
|
|
2015
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2016
|
+
path: _path2 + ".valueConversion",
|
|
2017
|
+
expected: "(__type.o1 | undefined)",
|
|
2018
|
+
value: input3.valueConversion
|
|
1897
2019
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1898
2020
|
path: _path2 + ".kind",
|
|
1899
2021
|
expected: '"coord"',
|
|
@@ -1930,7 +2052,7 @@ var validChatRequest = (input) => {
|
|
|
1930
2052
|
path: _path2 + ".groupsetting",
|
|
1931
2053
|
expected: "(TermGroupSetting | undefined)",
|
|
1932
2054
|
value: input3.groupsetting
|
|
1933
|
-
})) && $
|
|
2055
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1934
2056
|
path: _path2 + ".groupsetting",
|
|
1935
2057
|
expected: "(TermGroupSetting | undefined)",
|
|
1936
2058
|
value: input3.groupsetting
|
|
@@ -1942,7 +2064,7 @@ var validChatRequest = (input) => {
|
|
|
1942
2064
|
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1943
2065
|
expected: "DtTerm",
|
|
1944
2066
|
value: elem
|
|
1945
|
-
})) && $
|
|
2067
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1946
2068
|
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1947
2069
|
expected: "DtTerm",
|
|
1948
2070
|
value: elem
|
|
@@ -1951,7 +2073,7 @@ var validChatRequest = (input) => {
|
|
|
1951
2073
|
expected: "(Array<DtTerm> | undefined)",
|
|
1952
2074
|
value: input3.childTerms
|
|
1953
2075
|
})].every((flag) => flag);
|
|
1954
|
-
const $
|
|
2076
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1955
2077
|
path: _path2 + ".key",
|
|
1956
2078
|
expected: "string",
|
|
1957
2079
|
value: input3.key
|
|
@@ -1977,9 +2099,9 @@ var validChatRequest = (input) => {
|
|
|
1977
2099
|
})();
|
|
1978
2100
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1979
2101
|
if ("string" === typeof input3.type)
|
|
1980
|
-
return $
|
|
2102
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1981
2103
|
if ("filter" === input3.type)
|
|
1982
|
-
return $
|
|
2104
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1983
2105
|
return $report(_exceptionable2, {
|
|
1984
2106
|
path: _path2,
|
|
1985
2107
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1988,16 +2110,16 @@ var validChatRequest = (input) => {
|
|
|
1988
2110
|
})();
|
|
1989
2111
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1990
2112
|
if (true === input3.startunbounded)
|
|
1991
|
-
return $
|
|
2113
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1992
2114
|
if (true === input3.stopunbounded)
|
|
1993
|
-
return $
|
|
1994
|
-
return $
|
|
2115
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2116
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1995
2117
|
})();
|
|
1996
2118
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1997
2119
|
if ("gene" === input3.kind)
|
|
1998
|
-
return $vo34(input3, _path2, _exceptionable2);
|
|
1999
|
-
if ("coord" === input3.kind)
|
|
2000
2120
|
return $vo35(input3, _path2, _exceptionable2);
|
|
2121
|
+
if ("coord" === input3.kind)
|
|
2122
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2001
2123
|
return $report(_exceptionable2, {
|
|
2002
2124
|
path: _path2,
|
|
2003
2125
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2006,25 +2128,25 @@ var validChatRequest = (input) => {
|
|
|
2006
2128
|
})();
|
|
2007
2129
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2008
2130
|
if (void 0 !== input3.ranges)
|
|
2009
|
-
return $
|
|
2010
|
-
return $vo3(input3, _path2, false) || $
|
|
2131
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
2132
|
+
return $vo3(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
2011
2133
|
})();
|
|
2012
2134
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2013
2135
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2014
|
-
return $
|
|
2136
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
2015
2137
|
if ("metaboliteIntensity" === input3.type)
|
|
2016
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
2017
|
-
if ("date" === input3.type)
|
|
2018
2138
|
return $vo25(input3, _path2, _exceptionable2);
|
|
2019
|
-
if ("
|
|
2139
|
+
if ("date" === input3.type)
|
|
2020
2140
|
return $vo26(input3, _path2, _exceptionable2);
|
|
2021
|
-
|
|
2141
|
+
if ("ssGSEA" === input3.type)
|
|
2142
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
2143
|
+
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false);
|
|
2022
2144
|
})();
|
|
2023
2145
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2024
2146
|
if ("regular-bin" === input3.type)
|
|
2025
|
-
return $
|
|
2147
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2026
2148
|
if ("custom-bin" === input3.type)
|
|
2027
|
-
return $
|
|
2149
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2028
2150
|
return $report(_exceptionable2, {
|
|
2029
2151
|
path: _path2,
|
|
2030
2152
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -2033,9 +2155,9 @@ var validChatRequest = (input) => {
|
|
|
2033
2155
|
})();
|
|
2034
2156
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2035
2157
|
if (true === input3.startunbounded)
|
|
2036
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
2037
|
-
if (void 0 !== input3.start)
|
|
2038
2158
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2159
|
+
if (void 0 !== input3.start)
|
|
2160
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2039
2161
|
return $report(_exceptionable2, {
|
|
2040
2162
|
path: _path2,
|
|
2041
2163
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -2044,9 +2166,9 @@ var validChatRequest = (input) => {
|
|
|
2044
2166
|
})();
|
|
2045
2167
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2046
2168
|
if (void 0 !== input3.stop)
|
|
2047
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
2048
|
-
if (true === input3.stopunbounded)
|
|
2049
2169
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2170
|
+
if (true === input3.stopunbounded)
|
|
2171
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2050
2172
|
return $report(_exceptionable2, {
|
|
2051
2173
|
path: _path2,
|
|
2052
2174
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -2055,9 +2177,9 @@ var validChatRequest = (input) => {
|
|
|
2055
2177
|
})();
|
|
2056
2178
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2057
2179
|
if ("gene" === input3.kind)
|
|
2058
|
-
return $
|
|
2180
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
2059
2181
|
if ("coord" === input3.kind)
|
|
2060
|
-
return $
|
|
2182
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
2061
2183
|
return $report(_exceptionable2, {
|
|
2062
2184
|
path: _path2,
|
|
2063
2185
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|