@sjcrh/proteinpaint-types 2.126.1 → 2.128.1
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-YOS2YTCE.js → chunk-24RS7HFO.js} +652 -770
- package/dist/{chunk-VSNV3MLV.js → chunk-6C4DMGK3.js} +408 -494
- package/dist/{chunk-DJCPG2RT.js → chunk-BMHL5ZZJ.js} +1216 -1436
- package/dist/{chunk-LVXO4MLR.js → chunk-CI6OEJNH.js} +744 -862
- package/dist/{chunk-NWEXA2YB.js → chunk-DJ5QE625.js} +22 -36
- package/dist/chunk-HUMZDPUU.js +322 -0
- package/dist/{chunk-5O422YU6.js → chunk-KHM52S5N.js} +408 -494
- package/dist/{chunk-GZCIY2WK.js → chunk-PX7P2A6A.js} +652 -770
- package/dist/{chunk-537XOM43.js → chunk-RP6RBKKL.js} +652 -770
- package/dist/{chunk-O4RAE6UJ.js → chunk-UXXLPWL2.js} +650 -768
- package/dist/{chunk-7IRM7OKB.js → chunk-WHO7HCNU.js} +408 -494
- package/dist/{chunk-BXPSDGWG.js → chunk-WK4CKVHY.js} +408 -494
- package/dist/{chunk-CJC7ZHSZ.js → chunk-WSL4JPUP.js} +417 -503
- package/dist/{chunk-2S4T3WUF.js → chunk-Y5BVEGR2.js} +1234 -1430
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +3 -3
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +16 -16
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.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.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/gdc.grin2.ts +14 -7
- package/src/routes/genesetEnrichment.ts +40 -5
- package/src/terms/geneVariant.ts +4 -4
- package/src/terms/term.ts +2 -11
- package/dist/chunk-XZAH6P4D.js +0 -130
|
@@ -22,11 +22,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $
|
|
25
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
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 && $iu3(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)) && (
|
|
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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(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,23 +38,17 @@ var validTermdbClusterRequest = (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) => Array.isArray(input3.
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.
|
|
44
|
-
const $io10 = (input3) =>
|
|
45
|
-
const $io11 = (input3) =>
|
|
46
|
-
const $io12 = (input3) => "
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.
|
|
48
|
-
const $io14 = (input3) => ("string" === typeof input3.
|
|
49
|
-
const $io15 = (input3) => "
|
|
50
|
-
const $io16 = (input3) => "object" === typeof input3.
|
|
51
|
-
const $io17 = (input3) =>
|
|
52
|
-
const $io18 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
53
|
-
const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(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 && $io29(elem)));
|
|
54
|
-
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
|
|
55
|
-
const $io21 = (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);
|
|
56
|
-
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(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);
|
|
57
|
-
const $io23 = (input3) => Object.keys(input3).every((key) => {
|
|
41
|
+
const $io7 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
|
|
42
|
+
const $io8 = (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.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
44
|
+
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
45
|
+
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
46
|
+
const $io12 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
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 && $io14(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 && $io23(elem)));
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
49
|
+
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
|
|
50
|
+
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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 && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
51
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
58
52
|
const value = input3[key];
|
|
59
53
|
if (void 0 === value)
|
|
60
54
|
return true;
|
|
@@ -62,22 +56,25 @@ var validTermdbClusterRequest = (input) => {
|
|
|
62
56
|
return "number" === typeof value;
|
|
63
57
|
return true;
|
|
64
58
|
});
|
|
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 $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
59
|
+
const $io18 = (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);
|
|
60
|
+
const $io19 = (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);
|
|
61
|
+
const $io20 = (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);
|
|
62
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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);
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
65
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io26(elem)));
|
|
66
|
+
const $io25 = (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));
|
|
67
|
+
const $io26 = (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;
|
|
68
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
69
|
+
const $io28 = (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 && $iu8(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));
|
|
70
|
+
const $io29 = (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)) && "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) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
71
|
+
const $io30 = (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)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && "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);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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)) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io36(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
81
78
|
const $iu0 = (input3) => (() => {
|
|
82
79
|
if ("tvslst" === input3.type)
|
|
83
80
|
return $io1(input3);
|
|
@@ -87,69 +84,69 @@ var validTermdbClusterRequest = (input) => {
|
|
|
87
84
|
})();
|
|
88
85
|
const $iu1 = (input3) => (() => {
|
|
89
86
|
if ("string" === typeof input3.type)
|
|
90
|
-
return $
|
|
87
|
+
return $io9(input3);
|
|
91
88
|
if ("filter" === input3.type)
|
|
92
|
-
return $
|
|
89
|
+
return $io11(input3);
|
|
93
90
|
return false;
|
|
94
91
|
})();
|
|
95
92
|
const $iu2 = (input3) => (() => {
|
|
96
93
|
if (true === input3.startunbounded)
|
|
97
|
-
return $
|
|
94
|
+
return $io18(input3);
|
|
98
95
|
if (true === input3.stopunbounded)
|
|
99
|
-
return $
|
|
100
|
-
return $
|
|
96
|
+
return $io20(input3);
|
|
97
|
+
return $io19(input3);
|
|
101
98
|
})();
|
|
102
99
|
const $iu3 = (input3) => (() => {
|
|
103
100
|
if (void 0 !== input3.ranges)
|
|
104
|
-
return $
|
|
101
|
+
return $io13(input3);
|
|
105
102
|
return (() => {
|
|
106
103
|
if ($io3(input3))
|
|
107
104
|
return $io3(input3);
|
|
108
|
-
if ($
|
|
109
|
-
return $
|
|
110
|
-
if ($
|
|
111
|
-
return $
|
|
105
|
+
if ($io24(input3))
|
|
106
|
+
return $io24(input3);
|
|
107
|
+
if ($io27(input3))
|
|
108
|
+
return $io27(input3);
|
|
112
109
|
return false;
|
|
113
110
|
})();
|
|
114
111
|
})();
|
|
115
112
|
const $iu4 = (input3) => (() => {
|
|
116
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
117
|
-
return $
|
|
118
|
-
return $
|
|
113
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)))
|
|
114
|
+
return $io7(input3);
|
|
115
|
+
return $io12(input3);
|
|
119
116
|
})();
|
|
120
117
|
const $iu5 = (input3) => (() => {
|
|
121
|
-
if ("gene" === input3.kind)
|
|
122
|
-
return $io10(input3);
|
|
123
|
-
if ("coord" === input3.kind)
|
|
124
|
-
return $io18(input3);
|
|
125
|
-
return false;
|
|
126
|
-
})();
|
|
127
|
-
const $iu6 = (input3) => (() => {
|
|
128
118
|
if ("regular-bin" === input3.type)
|
|
129
|
-
return $
|
|
119
|
+
return $io16(input3);
|
|
130
120
|
if ("custom-bin" === input3.type)
|
|
131
|
-
return $
|
|
121
|
+
return $io21(input3);
|
|
132
122
|
return false;
|
|
133
123
|
})();
|
|
134
|
-
const $
|
|
124
|
+
const $iu6 = (input3) => (() => {
|
|
135
125
|
if (true === input3.startunbounded)
|
|
136
|
-
return $
|
|
126
|
+
return $io18(input3);
|
|
137
127
|
if (void 0 !== input3.start)
|
|
138
|
-
return $
|
|
128
|
+
return $io19(input3);
|
|
139
129
|
return false;
|
|
140
130
|
})();
|
|
141
|
-
const $
|
|
131
|
+
const $iu7 = (input3) => (() => {
|
|
142
132
|
if (void 0 !== input3.stop)
|
|
143
|
-
return $
|
|
133
|
+
return $io19(input3);
|
|
144
134
|
if (true === input3.stopunbounded)
|
|
145
|
-
return $
|
|
135
|
+
return $io20(input3);
|
|
136
|
+
return false;
|
|
137
|
+
})();
|
|
138
|
+
const $iu8 = (input3) => (() => {
|
|
139
|
+
if ("gene" === input3.kind)
|
|
140
|
+
return $io29(input3);
|
|
141
|
+
if ("coord" === input3.kind)
|
|
142
|
+
return $io30(input3);
|
|
146
143
|
return false;
|
|
147
144
|
})();
|
|
148
145
|
const $iu9 = (input3) => (() => {
|
|
149
146
|
if ("numericDictTerm" === input3.dataType)
|
|
150
|
-
return $
|
|
147
|
+
return $io35(input3);
|
|
151
148
|
if ("metaboliteIntensity" === input3.dataType)
|
|
152
|
-
return $
|
|
149
|
+
return $io33(input3);
|
|
153
150
|
if ("geneExpression" === input3.dataType)
|
|
154
151
|
return $io0(input3);
|
|
155
152
|
return false;
|
|
@@ -196,7 +193,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
196
193
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
197
194
|
expected: "GeneExpressionTerm",
|
|
198
195
|
value: elem
|
|
199
|
-
})) && $
|
|
196
|
+
})) && $vo32(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
200
197
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
201
198
|
expected: "GeneExpressionTerm",
|
|
202
199
|
value: elem
|
|
@@ -344,21 +341,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
344
341
|
path: _path2 + ".values",
|
|
345
342
|
expected: "(TermValues | undefined)",
|
|
346
343
|
value: input3.values
|
|
347
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
348
|
-
path: _path2 + ".filter",
|
|
349
|
-
expected: "(TermFilter | undefined)",
|
|
350
|
-
value: input3.filter
|
|
351
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
352
|
-
path: _path2 + ".filter",
|
|
353
|
-
expected: "(TermFilter | undefined)",
|
|
354
|
-
value: input3.filter
|
|
355
344
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
356
345
|
path: _path2 + ".groupsetting",
|
|
357
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
346
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
358
347
|
value: input3.groupsetting
|
|
359
348
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
360
349
|
path: _path2 + ".groupsetting",
|
|
361
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
350
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
362
351
|
value: input3.groupsetting
|
|
363
352
|
})].every((flag) => flag);
|
|
364
353
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -420,183 +409,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
420
409
|
expected: "(Filter | undefined)",
|
|
421
410
|
value: input3.filter
|
|
422
411
|
})].every((flag) => flag);
|
|
423
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
424
|
-
path: _path2 + ".opts",
|
|
425
|
-
expected: "__type.o1",
|
|
426
|
-
value: input3.opts
|
|
427
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
428
|
-
path: _path2 + ".opts",
|
|
429
|
-
expected: "__type.o1",
|
|
430
|
-
value: input3.opts
|
|
431
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
432
|
-
path: _path2 + ".terms",
|
|
433
|
-
expected: "Array<DtTerm>",
|
|
434
|
-
value: input3.terms
|
|
435
|
-
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
436
|
-
path: _path2 + ".terms[" + _index6 + "]",
|
|
437
|
-
expected: "DtTerm",
|
|
438
|
-
value: elem
|
|
439
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
440
|
-
path: _path2 + ".terms[" + _index6 + "]",
|
|
441
|
-
expected: "DtTerm",
|
|
442
|
-
value: elem
|
|
443
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
444
|
-
path: _path2 + ".terms",
|
|
445
|
-
expected: "Array<DtTerm>",
|
|
446
|
-
value: input3.terms
|
|
447
|
-
})].every((flag) => flag);
|
|
448
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
449
|
-
path: _path2 + ".joinWith",
|
|
450
|
-
expected: "Array<string>",
|
|
451
|
-
value: input3.joinWith
|
|
452
|
-
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
453
|
-
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
454
|
-
expected: "string",
|
|
455
|
-
value: elem
|
|
456
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
457
|
-
path: _path2 + ".joinWith",
|
|
458
|
-
expected: "Array<string>",
|
|
459
|
-
value: input3.joinWith
|
|
460
|
-
})].every((flag) => flag);
|
|
461
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
462
|
-
path: _path2 + ".id",
|
|
463
|
-
expected: "string",
|
|
464
|
-
value: input3.id
|
|
465
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
466
|
-
path: _path2 + ".query",
|
|
467
|
-
expected: "string",
|
|
468
|
-
value: input3.query
|
|
469
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
470
|
-
path: _path2 + ".name",
|
|
471
|
-
expected: "string",
|
|
472
|
-
value: input3.name
|
|
473
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
474
|
-
path: _path2 + ".name_noOrigin",
|
|
475
|
-
expected: "string",
|
|
476
|
-
value: input3.name_noOrigin
|
|
477
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
478
|
-
path: _path2 + ".geneVariantTerm",
|
|
479
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
480
|
-
value: input3.geneVariantTerm
|
|
481
|
-
})) && $vu5(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
482
|
-
path: _path2 + ".geneVariantTerm",
|
|
483
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
484
|
-
value: input3.geneVariantTerm
|
|
485
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
486
|
-
path: _path2 + ".isleaf",
|
|
487
|
-
expected: "boolean",
|
|
488
|
-
value: input3.isleaf
|
|
489
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
490
|
-
path: _path2 + ".type",
|
|
491
|
-
expected: "string",
|
|
492
|
-
value: input3.type
|
|
493
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
494
|
-
path: _path2 + ".dt",
|
|
495
|
-
expected: "number",
|
|
496
|
-
value: input3.dt
|
|
497
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
498
|
-
path: _path2 + ".origin",
|
|
499
|
-
expected: "(string | undefined)",
|
|
500
|
-
value: input3.origin
|
|
501
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
502
|
-
path: _path2 + ".values",
|
|
503
|
-
expected: "TermValues",
|
|
504
|
-
value: input3.values
|
|
505
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
506
|
-
path: _path2 + ".values",
|
|
507
|
-
expected: "TermValues",
|
|
508
|
-
value: input3.values
|
|
509
|
-
})].every((flag) => flag);
|
|
510
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
511
|
-
path: _path2 + ".id",
|
|
512
|
-
expected: "string",
|
|
513
|
-
value: input3.id
|
|
514
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
515
|
-
path: _path2 + ".name",
|
|
516
|
-
expected: "string",
|
|
517
|
-
value: input3.name
|
|
518
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
519
|
-
path: _path2 + ".type",
|
|
520
|
-
expected: '"geneVariant"',
|
|
521
|
-
value: input3.type
|
|
522
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
523
|
-
path: _path2 + ".child_types",
|
|
524
|
-
expected: "(Array<string> | undefined)",
|
|
525
|
-
value: input3.child_types
|
|
526
|
-
})) && input3.child_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
527
|
-
path: _path2 + ".child_types[" + _index8 + "]",
|
|
528
|
-
expected: "string",
|
|
529
|
-
value: elem
|
|
530
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
531
|
-
path: _path2 + ".child_types",
|
|
532
|
-
expected: "(Array<string> | undefined)",
|
|
533
|
-
value: input3.child_types
|
|
534
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
535
|
-
path: _path2 + ".hashtmldetail",
|
|
536
|
-
expected: "(boolean | undefined)",
|
|
537
|
-
value: input3.hashtmldetail
|
|
538
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
539
|
-
path: _path2 + ".included_types",
|
|
540
|
-
expected: "(Array<string> | undefined)",
|
|
541
|
-
value: input3.included_types
|
|
542
|
-
})) && input3.included_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
543
|
-
path: _path2 + ".included_types[" + _index9 + "]",
|
|
544
|
-
expected: "string",
|
|
545
|
-
value: elem
|
|
546
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
547
|
-
path: _path2 + ".included_types",
|
|
548
|
-
expected: "(Array<string> | undefined)",
|
|
549
|
-
value: input3.included_types
|
|
550
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
551
|
-
path: _path2 + ".isleaf",
|
|
552
|
-
expected: "(boolean | undefined)",
|
|
553
|
-
value: input3.isleaf
|
|
554
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
555
|
-
path: _path2 + ".values",
|
|
556
|
-
expected: "(TermValues | undefined)",
|
|
557
|
-
value: input3.values
|
|
558
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
559
|
-
path: _path2 + ".values",
|
|
560
|
-
expected: "(TermValues | undefined)",
|
|
561
|
-
value: input3.values
|
|
562
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
563
|
-
path: _path2 + ".filter",
|
|
564
|
-
expected: "(TermFilter | undefined)",
|
|
565
|
-
value: input3.filter
|
|
566
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
567
|
-
path: _path2 + ".filter",
|
|
568
|
-
expected: "(TermFilter | undefined)",
|
|
569
|
-
value: input3.filter
|
|
570
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
571
|
-
path: _path2 + ".kind",
|
|
572
|
-
expected: '"gene"',
|
|
573
|
-
value: input3.kind
|
|
574
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
575
|
-
path: _path2 + ".gene",
|
|
576
|
-
expected: "string",
|
|
577
|
-
value: input3.gene
|
|
578
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
579
|
-
path: _path2 + ".chr",
|
|
580
|
-
expected: "(string | undefined)",
|
|
581
|
-
value: input3.chr
|
|
582
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
583
|
-
path: _path2 + ".start",
|
|
584
|
-
expected: "(number | undefined)",
|
|
585
|
-
value: input3.start
|
|
586
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
587
|
-
path: _path2 + ".stop",
|
|
588
|
-
expected: "(number | undefined)",
|
|
589
|
-
value: input3.stop
|
|
590
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
591
|
-
path: _path2 + ".groupsetting",
|
|
592
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
593
|
-
value: input3.groupsetting
|
|
594
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
595
|
-
path: _path2 + ".groupsetting",
|
|
596
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
597
|
-
value: input3.groupsetting
|
|
598
|
-
})].every((flag) => flag);
|
|
599
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
412
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
600
413
|
path: _path2 + ".disabled",
|
|
601
414
|
expected: "(boolean | undefined)",
|
|
602
415
|
value: input3.disabled
|
|
@@ -604,12 +417,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
604
417
|
path: _path2 + ".lst",
|
|
605
418
|
expected: "Array<Groupset>",
|
|
606
419
|
value: input3.lst
|
|
607
|
-
})) && input3.lst.map((elem,
|
|
608
|
-
path: _path2 + ".lst[" +
|
|
420
|
+
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
421
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
609
422
|
expected: "Groupset",
|
|
610
423
|
value: elem
|
|
611
|
-
})) && $
|
|
612
|
-
path: _path2 + ".lst[" +
|
|
424
|
+
})) && $vo8(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
425
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
613
426
|
expected: "Groupset",
|
|
614
427
|
value: elem
|
|
615
428
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -617,7 +430,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
617
430
|
expected: "Array<Groupset>",
|
|
618
431
|
value: input3.lst
|
|
619
432
|
})].every((flag) => flag);
|
|
620
|
-
const $
|
|
433
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
621
434
|
path: _path2 + ".name",
|
|
622
435
|
expected: "string",
|
|
623
436
|
value: input3.name
|
|
@@ -637,12 +450,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
637
450
|
path: _path2 + ".groups",
|
|
638
451
|
expected: "Array<GroupEntry>",
|
|
639
452
|
value: input3.groups
|
|
640
|
-
})) && input3.groups.map((elem,
|
|
641
|
-
path: _path2 + ".groups[" +
|
|
453
|
+
})) && input3.groups.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
454
|
+
path: _path2 + ".groups[" + _index7 + "]",
|
|
642
455
|
expected: "(FilterGroup | ValuesGroup)",
|
|
643
456
|
value: elem
|
|
644
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
645
|
-
path: _path2 + ".groups[" +
|
|
457
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
458
|
+
path: _path2 + ".groups[" + _index7 + "]",
|
|
646
459
|
expected: "(FilterGroup | ValuesGroup)",
|
|
647
460
|
value: elem
|
|
648
461
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -650,7 +463,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
650
463
|
expected: "Array<GroupEntry>",
|
|
651
464
|
value: input3.groups
|
|
652
465
|
})].every((flag) => flag);
|
|
653
|
-
const $
|
|
466
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
654
467
|
path: _path2 + ".name",
|
|
655
468
|
expected: "string",
|
|
656
469
|
value: input3.name
|
|
@@ -662,13 +475,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
662
475
|
path: _path2 + ".values",
|
|
663
476
|
expected: "Array<__type>",
|
|
664
477
|
value: input3.values
|
|
665
|
-
})) && input3.values.map((elem,
|
|
666
|
-
path: _path2 + ".values[" +
|
|
667
|
-
expected: "__type.
|
|
478
|
+
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
479
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
480
|
+
expected: "__type.o1",
|
|
668
481
|
value: elem
|
|
669
|
-
})) && $
|
|
670
|
-
path: _path2 + ".values[" +
|
|
671
|
-
expected: "__type.
|
|
482
|
+
})) && $vo10(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
483
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
484
|
+
expected: "__type.o1",
|
|
672
485
|
value: elem
|
|
673
486
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
674
487
|
path: _path2 + ".values",
|
|
@@ -679,7 +492,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
679
492
|
expected: "(boolean | undefined)",
|
|
680
493
|
value: input3.uncomputable
|
|
681
494
|
})].every((flag) => flag);
|
|
682
|
-
const $
|
|
495
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
683
496
|
path: _path2 + ".key",
|
|
684
497
|
expected: "(number | string)",
|
|
685
498
|
value: input3.key
|
|
@@ -688,7 +501,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
688
501
|
expected: "string",
|
|
689
502
|
value: input3.label
|
|
690
503
|
})].every((flag) => flag);
|
|
691
|
-
const $
|
|
504
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
692
505
|
path: _path2 + ".name",
|
|
693
506
|
expected: "string",
|
|
694
507
|
value: input3.name
|
|
@@ -698,55 +511,18 @@ var validTermdbClusterRequest = (input) => {
|
|
|
698
511
|
value: input3.type
|
|
699
512
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
700
513
|
path: _path2 + ".filter",
|
|
701
|
-
expected: "
|
|
514
|
+
expected: "Filter",
|
|
702
515
|
value: input3.filter
|
|
703
|
-
})) && $
|
|
516
|
+
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
704
517
|
path: _path2 + ".filter",
|
|
705
|
-
expected: "
|
|
518
|
+
expected: "Filter",
|
|
706
519
|
value: input3.filter
|
|
707
520
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
708
521
|
path: _path2 + ".uncomputable",
|
|
709
522
|
expected: "boolean",
|
|
710
523
|
value: input3.uncomputable
|
|
711
524
|
})].every((flag) => flag);
|
|
712
|
-
const $
|
|
713
|
-
path: _path2 + ".opts",
|
|
714
|
-
expected: "__type.o1",
|
|
715
|
-
value: input3.opts
|
|
716
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
717
|
-
path: _path2 + ".opts",
|
|
718
|
-
expected: "__type.o1",
|
|
719
|
-
value: input3.opts
|
|
720
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
721
|
-
path: _path2 + ".terms",
|
|
722
|
-
expected: "Array<DtTerm>",
|
|
723
|
-
value: input3.terms
|
|
724
|
-
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
725
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
726
|
-
expected: "DtTerm",
|
|
727
|
-
value: elem
|
|
728
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
729
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
730
|
-
expected: "DtTerm",
|
|
731
|
-
value: elem
|
|
732
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
733
|
-
path: _path2 + ".terms",
|
|
734
|
-
expected: "Array<DtTerm>",
|
|
735
|
-
value: input3.terms
|
|
736
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
737
|
-
path: _path2 + ".active",
|
|
738
|
-
expected: "Filter",
|
|
739
|
-
value: input3.active
|
|
740
|
-
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
741
|
-
path: _path2 + ".active",
|
|
742
|
-
expected: "Filter",
|
|
743
|
-
value: input3.active
|
|
744
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
745
|
-
path: _path2 + ".group",
|
|
746
|
-
expected: "number",
|
|
747
|
-
value: input3.group
|
|
748
|
-
})].every((flag) => flag);
|
|
749
|
-
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
525
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
750
526
|
path: _path2 + ".disabled",
|
|
751
527
|
expected: "boolean",
|
|
752
528
|
value: input3.disabled
|
|
@@ -763,7 +539,56 @@ var validTermdbClusterRequest = (input) => {
|
|
|
763
539
|
expected: "([] | undefined)",
|
|
764
540
|
value: input3.lst
|
|
765
541
|
})].every((flag) => flag);
|
|
766
|
-
const $
|
|
542
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
543
|
+
path: _path2 + ".join",
|
|
544
|
+
expected: "(string | undefined)",
|
|
545
|
+
value: input3.join
|
|
546
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
547
|
+
path: _path2 + ".isnot",
|
|
548
|
+
expected: "(boolean | undefined)",
|
|
549
|
+
value: input3.isnot
|
|
550
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
551
|
+
path: _path2 + ".term",
|
|
552
|
+
expected: "NumericTerm",
|
|
553
|
+
value: input3.term
|
|
554
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
555
|
+
path: _path2 + ".term",
|
|
556
|
+
expected: "NumericTerm",
|
|
557
|
+
value: input3.term
|
|
558
|
+
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
559
|
+
path: _path2 + ".ranges",
|
|
560
|
+
expected: "Array<NumericBin>",
|
|
561
|
+
value: input3.ranges
|
|
562
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
563
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
564
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
565
|
+
value: elem
|
|
566
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
567
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
568
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
569
|
+
value: elem
|
|
570
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
571
|
+
path: _path2 + ".ranges",
|
|
572
|
+
expected: "Array<NumericBin>",
|
|
573
|
+
value: input3.ranges
|
|
574
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
575
|
+
path: _path2 + ".values",
|
|
576
|
+
expected: "Array<__type>.o1",
|
|
577
|
+
value: input3.values
|
|
578
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
579
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
580
|
+
expected: "__type.o4",
|
|
581
|
+
value: elem
|
|
582
|
+
})) && $vo23(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
583
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
584
|
+
expected: "__type.o4",
|
|
585
|
+
value: elem
|
|
586
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
587
|
+
path: _path2 + ".values",
|
|
588
|
+
expected: "Array<__type>.o1",
|
|
589
|
+
value: input3.values
|
|
590
|
+
})].every((flag) => flag);
|
|
591
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
767
592
|
path: _path2 + ".id",
|
|
768
593
|
expected: "string",
|
|
769
594
|
value: input3.id
|
|
@@ -771,16 +596,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
771
596
|
path: _path2 + ".name",
|
|
772
597
|
expected: "string",
|
|
773
598
|
value: input3.name
|
|
774
|
-
}), "
|
|
599
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
775
600
|
path: _path2 + ".type",
|
|
776
|
-
expected: '"
|
|
601
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
777
602
|
value: input3.type
|
|
778
603
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
779
604
|
path: _path2 + ".child_types",
|
|
780
605
|
expected: "(Array<string> | undefined)",
|
|
781
606
|
value: input3.child_types
|
|
782
|
-
})) && input3.child_types.map((elem,
|
|
783
|
-
path: _path2 + ".child_types[" +
|
|
607
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
608
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
784
609
|
expected: "string",
|
|
785
610
|
value: elem
|
|
786
611
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -795,8 +620,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
795
620
|
path: _path2 + ".included_types",
|
|
796
621
|
expected: "(Array<string> | undefined)",
|
|
797
622
|
value: input3.included_types
|
|
798
|
-
})) && input3.included_types.map((elem,
|
|
799
|
-
path: _path2 + ".included_types[" +
|
|
623
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
624
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
800
625
|
expected: "string",
|
|
801
626
|
value: elem
|
|
802
627
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -815,153 +640,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
815
640
|
path: _path2 + ".values",
|
|
816
641
|
expected: "(TermValues | undefined)",
|
|
817
642
|
value: input3.values
|
|
818
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
819
|
-
path: _path2 + ".filter",
|
|
820
|
-
expected: "(TermFilter | undefined)",
|
|
821
|
-
value: input3.filter
|
|
822
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
823
|
-
path: _path2 + ".filter",
|
|
824
|
-
expected: "(TermFilter | undefined)",
|
|
825
|
-
value: input3.filter
|
|
826
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
827
|
-
path: _path2 + ".kind",
|
|
828
|
-
expected: '"coord"',
|
|
829
|
-
value: input3.kind
|
|
830
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
831
|
-
path: _path2 + ".chr",
|
|
832
|
-
expected: "string",
|
|
833
|
-
value: input3.chr
|
|
834
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
835
|
-
path: _path2 + ".start",
|
|
836
|
-
expected: "number",
|
|
837
|
-
value: input3.start
|
|
838
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
839
|
-
path: _path2 + ".stop",
|
|
840
|
-
expected: "number",
|
|
841
|
-
value: input3.stop
|
|
842
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
843
|
-
path: _path2 + ".groupsetting",
|
|
844
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
845
|
-
value: input3.groupsetting
|
|
846
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
847
|
-
path: _path2 + ".groupsetting",
|
|
848
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
849
|
-
value: input3.groupsetting
|
|
850
|
-
})].every((flag) => flag);
|
|
851
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
852
|
-
path: _path2 + ".join",
|
|
853
|
-
expected: "(string | undefined)",
|
|
854
|
-
value: input3.join
|
|
855
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
856
|
-
path: _path2 + ".isnot",
|
|
857
|
-
expected: "(boolean | undefined)",
|
|
858
|
-
value: input3.isnot
|
|
859
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
860
|
-
path: _path2 + ".term",
|
|
861
|
-
expected: "NumericTerm",
|
|
862
|
-
value: input3.term
|
|
863
|
-
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
864
|
-
path: _path2 + ".term",
|
|
865
|
-
expected: "NumericTerm",
|
|
866
|
-
value: input3.term
|
|
867
|
-
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
868
|
-
path: _path2 + ".ranges",
|
|
869
|
-
expected: "Array<NumericBin>",
|
|
870
|
-
value: input3.ranges
|
|
871
|
-
})) && input3.ranges.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
872
|
-
path: _path2 + ".ranges[" + _index16 + "]",
|
|
873
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
874
|
-
value: elem
|
|
875
|
-
})) && $vu2(elem, _path2 + ".ranges[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
876
|
-
path: _path2 + ".ranges[" + _index16 + "]",
|
|
877
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
878
|
-
value: elem
|
|
879
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
880
|
-
path: _path2 + ".ranges",
|
|
881
|
-
expected: "Array<NumericBin>",
|
|
882
|
-
value: input3.ranges
|
|
883
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
884
|
-
path: _path2 + ".values",
|
|
885
|
-
expected: "Array<__type>.o1",
|
|
886
|
-
value: input3.values
|
|
887
|
-
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
888
|
-
path: _path2 + ".values[" + _index17 + "]",
|
|
889
|
-
expected: "__type.o5",
|
|
890
|
-
value: elem
|
|
891
|
-
})) && $vo29(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
892
|
-
path: _path2 + ".values[" + _index17 + "]",
|
|
893
|
-
expected: "__type.o5",
|
|
894
|
-
value: elem
|
|
895
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
896
|
-
path: _path2 + ".values",
|
|
897
|
-
expected: "Array<__type>.o1",
|
|
898
|
-
value: input3.values
|
|
899
|
-
})].every((flag) => flag);
|
|
900
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
901
|
-
path: _path2 + ".id",
|
|
902
|
-
expected: "string",
|
|
903
|
-
value: input3.id
|
|
904
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
905
|
-
path: _path2 + ".name",
|
|
906
|
-
expected: "string",
|
|
907
|
-
value: input3.name
|
|
908
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
909
|
-
path: _path2 + ".type",
|
|
910
|
-
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
911
|
-
value: input3.type
|
|
912
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
913
|
-
path: _path2 + ".child_types",
|
|
914
|
-
expected: "(Array<string> | undefined)",
|
|
915
|
-
value: input3.child_types
|
|
916
|
-
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
917
|
-
path: _path2 + ".child_types[" + _index18 + "]",
|
|
918
|
-
expected: "string",
|
|
919
|
-
value: elem
|
|
920
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
921
|
-
path: _path2 + ".child_types",
|
|
922
|
-
expected: "(Array<string> | undefined)",
|
|
923
|
-
value: input3.child_types
|
|
924
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
925
|
-
path: _path2 + ".hashtmldetail",
|
|
926
|
-
expected: "(boolean | undefined)",
|
|
927
|
-
value: input3.hashtmldetail
|
|
928
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
929
|
-
path: _path2 + ".included_types",
|
|
930
|
-
expected: "(Array<string> | undefined)",
|
|
931
|
-
value: input3.included_types
|
|
932
|
-
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
933
|
-
path: _path2 + ".included_types[" + _index19 + "]",
|
|
934
|
-
expected: "string",
|
|
935
|
-
value: elem
|
|
936
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
937
|
-
path: _path2 + ".included_types",
|
|
938
|
-
expected: "(Array<string> | undefined)",
|
|
939
|
-
value: input3.included_types
|
|
940
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
941
|
-
path: _path2 + ".isleaf",
|
|
942
|
-
expected: "(boolean | undefined)",
|
|
943
|
-
value: input3.isleaf
|
|
944
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
945
|
-
path: _path2 + ".values",
|
|
946
|
-
expected: "(TermValues | undefined)",
|
|
947
|
-
value: input3.values
|
|
948
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
949
|
-
path: _path2 + ".values",
|
|
950
|
-
expected: "(TermValues | undefined)",
|
|
951
|
-
value: input3.values
|
|
952
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
953
|
-
path: _path2 + ".filter",
|
|
954
|
-
expected: "(TermFilter | undefined)",
|
|
955
|
-
value: input3.filter
|
|
956
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
957
|
-
path: _path2 + ".filter",
|
|
958
|
-
expected: "(TermFilter | undefined)",
|
|
959
|
-
value: input3.filter
|
|
960
643
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
961
644
|
path: _path2 + ".bins",
|
|
962
645
|
expected: "PresetNumericBins",
|
|
963
646
|
value: input3.bins
|
|
964
|
-
})) && $
|
|
647
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
965
648
|
path: _path2 + ".bins",
|
|
966
649
|
expected: "PresetNumericBins",
|
|
967
650
|
value: input3.bins
|
|
@@ -971,18 +654,18 @@ var validTermdbClusterRequest = (input) => {
|
|
|
971
654
|
value: input3.unit
|
|
972
655
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
973
656
|
path: _path2 + ".continuousColorScale",
|
|
974
|
-
expected: "(__type.
|
|
657
|
+
expected: "(__type.o3 | undefined)",
|
|
975
658
|
value: input3.continuousColorScale
|
|
976
|
-
})) && $
|
|
659
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
977
660
|
path: _path2 + ".continuousColorScale",
|
|
978
|
-
expected: "(__type.
|
|
661
|
+
expected: "(__type.o3 | undefined)",
|
|
979
662
|
value: input3.continuousColorScale
|
|
980
663
|
})].every((flag) => flag);
|
|
981
|
-
const $
|
|
664
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
982
665
|
path: _path2 + '["default"]',
|
|
983
666
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
984
667
|
value: input3["default"]
|
|
985
|
-
})) && $
|
|
668
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
986
669
|
path: _path2 + '["default"]',
|
|
987
670
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
988
671
|
value: input3["default"]
|
|
@@ -990,7 +673,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
990
673
|
path: _path2 + ".less",
|
|
991
674
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
992
675
|
value: input3.less
|
|
993
|
-
})) && $
|
|
676
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
994
677
|
path: _path2 + ".less",
|
|
995
678
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
996
679
|
value: input3.less
|
|
@@ -1015,11 +698,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1015
698
|
expected: "(number | undefined)",
|
|
1016
699
|
value: input3.max
|
|
1017
700
|
})].every((flag) => flag);
|
|
1018
|
-
const $
|
|
701
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1019
702
|
path: _path2 + ".hiddenValues",
|
|
1020
703
|
expected: "(HiddenValues | undefined)",
|
|
1021
704
|
value: input3.hiddenValues
|
|
1022
|
-
})) && $
|
|
705
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1023
706
|
path: _path2 + ".hiddenValues",
|
|
1024
707
|
expected: "(HiddenValues | undefined)",
|
|
1025
708
|
value: input3.hiddenValues
|
|
@@ -1051,7 +734,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1051
734
|
path: _path2 + ".first_bin",
|
|
1052
735
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1053
736
|
value: input3.first_bin
|
|
1054
|
-
})) && $
|
|
737
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1055
738
|
path: _path2 + ".first_bin",
|
|
1056
739
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1057
740
|
value: input3.first_bin
|
|
@@ -1059,7 +742,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1059
742
|
path: _path2 + ".last_bin",
|
|
1060
743
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1061
744
|
value: input3.last_bin
|
|
1062
|
-
})) && $
|
|
745
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1063
746
|
path: _path2 + ".last_bin",
|
|
1064
747
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1065
748
|
value: input3.last_bin
|
|
@@ -1068,7 +751,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1068
751
|
expected: "(number | undefined)",
|
|
1069
752
|
value: input3.label_offset
|
|
1070
753
|
})].every((flag) => flag);
|
|
1071
|
-
const $
|
|
754
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1072
755
|
const value = input3[key];
|
|
1073
756
|
if (void 0 === value)
|
|
1074
757
|
return true;
|
|
@@ -1080,7 +763,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1080
763
|
});
|
|
1081
764
|
return true;
|
|
1082
765
|
}).every((flag) => flag)].every((flag) => flag);
|
|
1083
|
-
const $
|
|
766
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1084
767
|
path: _path2 + ".startunbounded",
|
|
1085
768
|
expected: "true",
|
|
1086
769
|
value: input3.startunbounded
|
|
@@ -1105,7 +788,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1105
788
|
expected: "(string | undefined)",
|
|
1106
789
|
value: input3.label
|
|
1107
790
|
})].every((flag) => flag);
|
|
1108
|
-
const $
|
|
791
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1109
792
|
path: _path2 + ".startunbounded",
|
|
1110
793
|
expected: "(false | undefined)",
|
|
1111
794
|
value: input3.startunbounded
|
|
@@ -1134,7 +817,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1134
817
|
expected: "(string | undefined)",
|
|
1135
818
|
value: input3.label
|
|
1136
819
|
})].every((flag) => flag);
|
|
1137
|
-
const $
|
|
820
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1138
821
|
path: _path2 + ".start",
|
|
1139
822
|
expected: "number",
|
|
1140
823
|
value: input3.start
|
|
@@ -1159,11 +842,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1159
842
|
expected: "(string | undefined)",
|
|
1160
843
|
value: input3.label
|
|
1161
844
|
})].every((flag) => flag);
|
|
1162
|
-
const $
|
|
845
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1163
846
|
path: _path2 + ".hiddenValues",
|
|
1164
847
|
expected: "(HiddenValues | undefined)",
|
|
1165
848
|
value: input3.hiddenValues
|
|
1166
|
-
})) && $
|
|
849
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1167
850
|
path: _path2 + ".hiddenValues",
|
|
1168
851
|
expected: "(HiddenValues | undefined)",
|
|
1169
852
|
value: input3.hiddenValues
|
|
@@ -1205,12 +888,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1205
888
|
path: _path2 + ".lst",
|
|
1206
889
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1207
890
|
value: input3.lst.slice(1)
|
|
1208
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1209
|
-
path: _path2 + ".lst[" + (1 +
|
|
891
|
+
})) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
892
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1210
893
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1211
894
|
value: elem
|
|
1212
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1213
|
-
path: _path2 + ".lst[" + (1 +
|
|
895
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
896
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1214
897
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1215
898
|
value: elem
|
|
1216
899
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1226,7 +909,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1226
909
|
expected: '("median" | undefined)',
|
|
1227
910
|
value: input3.preferredBins
|
|
1228
911
|
})].every((flag) => flag);
|
|
1229
|
-
const $
|
|
912
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1230
913
|
path: _path2 + ".minColor",
|
|
1231
914
|
expected: "string",
|
|
1232
915
|
value: input3.minColor
|
|
@@ -1235,7 +918,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1235
918
|
expected: "string",
|
|
1236
919
|
value: input3.maxColor
|
|
1237
920
|
})].every((flag) => flag);
|
|
1238
|
-
const $
|
|
921
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1239
922
|
path: _path2 + ".key",
|
|
1240
923
|
expected: "string",
|
|
1241
924
|
value: input3.key
|
|
@@ -1252,7 +935,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1252
935
|
expected: "(string | undefined)",
|
|
1253
936
|
value: input3.label
|
|
1254
937
|
})].every((flag) => flag);
|
|
1255
|
-
const $
|
|
938
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1256
939
|
path: _path2 + ".join",
|
|
1257
940
|
expected: "(string | undefined)",
|
|
1258
941
|
value: input3.join
|
|
@@ -1264,7 +947,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1264
947
|
path: _path2 + ".term",
|
|
1265
948
|
expected: "ConditionTerm",
|
|
1266
949
|
value: input3.term
|
|
1267
|
-
})) && $
|
|
950
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1268
951
|
path: _path2 + ".term",
|
|
1269
952
|
expected: "ConditionTerm",
|
|
1270
953
|
value: input3.term
|
|
@@ -1284,12 +967,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1284
967
|
path: _path2 + ".grade_and_child",
|
|
1285
968
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1286
969
|
value: input3.grade_and_child
|
|
1287
|
-
})) && input3.grade_and_child.map((elem,
|
|
1288
|
-
path: _path2 + ".grade_and_child[" +
|
|
970
|
+
})) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
971
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1289
972
|
expected: "GradeAndChildEntry",
|
|
1290
973
|
value: elem
|
|
1291
|
-
})) && $
|
|
1292
|
-
path: _path2 + ".grade_and_child[" +
|
|
974
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
975
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1293
976
|
expected: "GradeAndChildEntry",
|
|
1294
977
|
value: elem
|
|
1295
978
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1297,7 +980,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1297
980
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1298
981
|
value: input3.grade_and_child
|
|
1299
982
|
})].every((flag) => flag);
|
|
1300
|
-
const $
|
|
983
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1301
984
|
path: _path2 + ".id",
|
|
1302
985
|
expected: "string",
|
|
1303
986
|
value: input3.id
|
|
@@ -1313,8 +996,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1313
996
|
path: _path2 + ".child_types",
|
|
1314
997
|
expected: "(Array<string> | undefined)",
|
|
1315
998
|
value: input3.child_types
|
|
1316
|
-
})) && input3.child_types.map((elem,
|
|
1317
|
-
path: _path2 + ".child_types[" +
|
|
999
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1000
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1318
1001
|
expected: "string",
|
|
1319
1002
|
value: elem
|
|
1320
1003
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1329,8 +1012,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1329
1012
|
path: _path2 + ".included_types",
|
|
1330
1013
|
expected: "(Array<string> | undefined)",
|
|
1331
1014
|
value: input3.included_types
|
|
1332
|
-
})) && input3.included_types.map((elem,
|
|
1333
|
-
path: _path2 + ".included_types[" +
|
|
1015
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1016
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1334
1017
|
expected: "string",
|
|
1335
1018
|
value: elem
|
|
1336
1019
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1349,16 +1032,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1349
1032
|
path: _path2 + ".values",
|
|
1350
1033
|
expected: "(TermValues | undefined)",
|
|
1351
1034
|
value: input3.values
|
|
1352
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1353
|
-
path: _path2 + ".filter",
|
|
1354
|
-
expected: "(TermFilter | undefined)",
|
|
1355
|
-
value: input3.filter
|
|
1356
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1357
|
-
path: _path2 + ".filter",
|
|
1358
|
-
expected: "(TermFilter | undefined)",
|
|
1359
|
-
value: input3.filter
|
|
1360
1035
|
})].every((flag) => flag);
|
|
1361
|
-
const $
|
|
1036
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1362
1037
|
path: _path2 + ".grade",
|
|
1363
1038
|
expected: "number",
|
|
1364
1039
|
value: input3.grade
|
|
@@ -1375,7 +1050,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1375
1050
|
expected: "string",
|
|
1376
1051
|
value: input3.child_label
|
|
1377
1052
|
})].every((flag) => flag);
|
|
1378
|
-
const $
|
|
1053
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1379
1054
|
path: _path2 + ".join",
|
|
1380
1055
|
expected: "(string | undefined)",
|
|
1381
1056
|
value: input3.join
|
|
@@ -1387,7 +1062,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1387
1062
|
path: _path2 + ".term",
|
|
1388
1063
|
expected: "DtTerm",
|
|
1389
1064
|
value: input3.term
|
|
1390
|
-
})) && $
|
|
1065
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1391
1066
|
path: _path2 + ".term",
|
|
1392
1067
|
expected: "DtTerm",
|
|
1393
1068
|
value: input3.term
|
|
@@ -1395,33 +1070,69 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1395
1070
|
path: _path2 + ".values",
|
|
1396
1071
|
expected: "Array<__type>.o2",
|
|
1397
1072
|
value: input3.values
|
|
1398
|
-
})) && input3.values.map((elem,
|
|
1399
|
-
path: _path2 + ".values[" +
|
|
1400
|
-
expected: "__type.
|
|
1073
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1074
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1075
|
+
expected: "__type.o5",
|
|
1401
1076
|
value: elem
|
|
1402
|
-
})) && $
|
|
1403
|
-
path: _path2 + ".values[" +
|
|
1404
|
-
expected: "__type.
|
|
1077
|
+
})) && $vo31(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1078
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1079
|
+
expected: "__type.o5",
|
|
1405
1080
|
value: elem
|
|
1406
1081
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1407
1082
|
path: _path2 + ".values",
|
|
1408
1083
|
expected: "Array<__type>.o2",
|
|
1409
1084
|
value: input3.values
|
|
1410
1085
|
})].every((flag) => flag);
|
|
1411
|
-
const $
|
|
1412
|
-
path: _path2 + ".
|
|
1086
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1087
|
+
path: _path2 + ".id",
|
|
1413
1088
|
expected: "string",
|
|
1414
|
-
value: input3.
|
|
1415
|
-
}), "string" === typeof input3.
|
|
1416
|
-
path: _path2 + ".
|
|
1089
|
+
value: input3.id
|
|
1090
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1091
|
+
path: _path2 + ".query",
|
|
1417
1092
|
expected: "string",
|
|
1418
|
-
value: input3.
|
|
1419
|
-
}), "string" === typeof input3.
|
|
1420
|
-
path: _path2 + ".
|
|
1093
|
+
value: input3.query
|
|
1094
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1095
|
+
path: _path2 + ".name",
|
|
1421
1096
|
expected: "string",
|
|
1422
|
-
value: input3.
|
|
1097
|
+
value: input3.name
|
|
1098
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1099
|
+
path: _path2 + ".name_noOrigin",
|
|
1100
|
+
expected: "string",
|
|
1101
|
+
value: input3.name_noOrigin
|
|
1102
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1103
|
+
path: _path2 + ".parentTerm",
|
|
1104
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1105
|
+
value: input3.parentTerm
|
|
1106
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1107
|
+
path: _path2 + ".parentTerm",
|
|
1108
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1109
|
+
value: input3.parentTerm
|
|
1110
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1111
|
+
path: _path2 + ".isleaf",
|
|
1112
|
+
expected: "boolean",
|
|
1113
|
+
value: input3.isleaf
|
|
1114
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1115
|
+
path: _path2 + ".type",
|
|
1116
|
+
expected: "string",
|
|
1117
|
+
value: input3.type
|
|
1118
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1119
|
+
path: _path2 + ".dt",
|
|
1120
|
+
expected: "number",
|
|
1121
|
+
value: input3.dt
|
|
1122
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1123
|
+
path: _path2 + ".origin",
|
|
1124
|
+
expected: "(string | undefined)",
|
|
1125
|
+
value: input3.origin
|
|
1126
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1127
|
+
path: _path2 + ".values",
|
|
1128
|
+
expected: "TermValues",
|
|
1129
|
+
value: input3.values
|
|
1130
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1131
|
+
path: _path2 + ".values",
|
|
1132
|
+
expected: "TermValues",
|
|
1133
|
+
value: input3.values
|
|
1423
1134
|
})].every((flag) => flag);
|
|
1424
|
-
const $
|
|
1135
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1425
1136
|
path: _path2 + ".id",
|
|
1426
1137
|
expected: "string",
|
|
1427
1138
|
value: input3.id
|
|
@@ -1429,16 +1140,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1429
1140
|
path: _path2 + ".name",
|
|
1430
1141
|
expected: "string",
|
|
1431
1142
|
value: input3.name
|
|
1432
|
-
}), "
|
|
1143
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1433
1144
|
path: _path2 + ".type",
|
|
1434
|
-
expected: '
|
|
1145
|
+
expected: '"geneVariant"',
|
|
1435
1146
|
value: input3.type
|
|
1436
1147
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1437
1148
|
path: _path2 + ".child_types",
|
|
1438
1149
|
expected: "(Array<string> | undefined)",
|
|
1439
1150
|
value: input3.child_types
|
|
1440
|
-
})) && input3.child_types.map((elem,
|
|
1441
|
-
path: _path2 + ".child_types[" +
|
|
1151
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1152
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1442
1153
|
expected: "string",
|
|
1443
1154
|
value: elem
|
|
1444
1155
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1453,8 +1164,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1453
1164
|
path: _path2 + ".included_types",
|
|
1454
1165
|
expected: "(Array<string> | undefined)",
|
|
1455
1166
|
value: input3.included_types
|
|
1456
|
-
})) && input3.included_types.map((elem,
|
|
1457
|
-
path: _path2 + ".included_types[" +
|
|
1167
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1168
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1458
1169
|
expected: "string",
|
|
1459
1170
|
value: elem
|
|
1460
1171
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1473,34 +1184,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1473
1184
|
path: _path2 + ".values",
|
|
1474
1185
|
expected: "(TermValues | undefined)",
|
|
1475
1186
|
value: input3.values
|
|
1476
|
-
}),
|
|
1477
|
-
path: _path2 + ".
|
|
1478
|
-
expected: "
|
|
1479
|
-
value: input3.
|
|
1480
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1481
|
-
path: _path2 + ".filter",
|
|
1482
|
-
expected: "(TermFilter | undefined)",
|
|
1483
|
-
value: input3.filter
|
|
1484
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1485
|
-
path: _path2 + ".bins",
|
|
1486
|
-
expected: "PresetNumericBins",
|
|
1487
|
-
value: input3.bins
|
|
1488
|
-
})) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1489
|
-
path: _path2 + ".bins",
|
|
1490
|
-
expected: "PresetNumericBins",
|
|
1491
|
-
value: input3.bins
|
|
1492
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1493
|
-
path: _path2 + ".unit",
|
|
1494
|
-
expected: "(string | undefined)",
|
|
1495
|
-
value: input3.unit
|
|
1496
|
-
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1497
|
-
path: _path2 + ".continuousColorScale",
|
|
1498
|
-
expected: "(__type.o4 | undefined)",
|
|
1499
|
-
value: input3.continuousColorScale
|
|
1500
|
-
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1501
|
-
path: _path2 + ".continuousColorScale",
|
|
1502
|
-
expected: "(__type.o4 | undefined)",
|
|
1503
|
-
value: input3.continuousColorScale
|
|
1187
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1188
|
+
path: _path2 + ".kind",
|
|
1189
|
+
expected: '"gene"',
|
|
1190
|
+
value: input3.kind
|
|
1504
1191
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1505
1192
|
path: _path2 + ".gene",
|
|
1506
1193
|
expected: "string",
|
|
@@ -1517,21 +1204,240 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1517
1204
|
path: _path2 + ".stop",
|
|
1518
1205
|
expected: "(number | undefined)",
|
|
1519
1206
|
value: input3.stop
|
|
1207
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1208
|
+
path: _path2 + ".groupsetting",
|
|
1209
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1210
|
+
value: input3.groupsetting
|
|
1211
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1212
|
+
path: _path2 + ".groupsetting",
|
|
1213
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1214
|
+
value: input3.groupsetting
|
|
1215
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1216
|
+
path: _path2 + ".childTerms",
|
|
1217
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1218
|
+
value: input3.childTerms
|
|
1219
|
+
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1220
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1221
|
+
expected: "DtTerm",
|
|
1222
|
+
value: elem
|
|
1223
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1224
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1225
|
+
expected: "DtTerm",
|
|
1226
|
+
value: elem
|
|
1227
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1228
|
+
path: _path2 + ".childTerms",
|
|
1229
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1230
|
+
value: input3.childTerms
|
|
1520
1231
|
})].every((flag) => flag);
|
|
1521
|
-
const $
|
|
1522
|
-
path: _path2 + ".
|
|
1232
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1233
|
+
path: _path2 + ".id",
|
|
1523
1234
|
expected: "string",
|
|
1524
|
-
value: input3.
|
|
1525
|
-
}), "string" === typeof input3.
|
|
1526
|
-
path: _path2 + ".
|
|
1235
|
+
value: input3.id
|
|
1236
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1237
|
+
path: _path2 + ".name",
|
|
1527
1238
|
expected: "string",
|
|
1528
|
-
value: input3.
|
|
1529
|
-
}), "
|
|
1530
|
-
path: _path2 + ".
|
|
1239
|
+
value: input3.name
|
|
1240
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1241
|
+
path: _path2 + ".type",
|
|
1242
|
+
expected: '"geneVariant"',
|
|
1243
|
+
value: input3.type
|
|
1244
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1245
|
+
path: _path2 + ".child_types",
|
|
1246
|
+
expected: "(Array<string> | undefined)",
|
|
1247
|
+
value: input3.child_types
|
|
1248
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1249
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1531
1250
|
expected: "string",
|
|
1532
|
-
value:
|
|
1533
|
-
})
|
|
1534
|
-
path: _path2 + ".
|
|
1251
|
+
value: elem
|
|
1252
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1253
|
+
path: _path2 + ".child_types",
|
|
1254
|
+
expected: "(Array<string> | undefined)",
|
|
1255
|
+
value: input3.child_types
|
|
1256
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1257
|
+
path: _path2 + ".hashtmldetail",
|
|
1258
|
+
expected: "(boolean | undefined)",
|
|
1259
|
+
value: input3.hashtmldetail
|
|
1260
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1261
|
+
path: _path2 + ".included_types",
|
|
1262
|
+
expected: "(Array<string> | undefined)",
|
|
1263
|
+
value: input3.included_types
|
|
1264
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1265
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1266
|
+
expected: "string",
|
|
1267
|
+
value: elem
|
|
1268
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1269
|
+
path: _path2 + ".included_types",
|
|
1270
|
+
expected: "(Array<string> | undefined)",
|
|
1271
|
+
value: input3.included_types
|
|
1272
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1273
|
+
path: _path2 + ".isleaf",
|
|
1274
|
+
expected: "(boolean | undefined)",
|
|
1275
|
+
value: input3.isleaf
|
|
1276
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1277
|
+
path: _path2 + ".values",
|
|
1278
|
+
expected: "(TermValues | undefined)",
|
|
1279
|
+
value: input3.values
|
|
1280
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1281
|
+
path: _path2 + ".values",
|
|
1282
|
+
expected: "(TermValues | undefined)",
|
|
1283
|
+
value: input3.values
|
|
1284
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1285
|
+
path: _path2 + ".kind",
|
|
1286
|
+
expected: '"coord"',
|
|
1287
|
+
value: input3.kind
|
|
1288
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1289
|
+
path: _path2 + ".chr",
|
|
1290
|
+
expected: "string",
|
|
1291
|
+
value: input3.chr
|
|
1292
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1293
|
+
path: _path2 + ".start",
|
|
1294
|
+
expected: "number",
|
|
1295
|
+
value: input3.start
|
|
1296
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1297
|
+
path: _path2 + ".stop",
|
|
1298
|
+
expected: "number",
|
|
1299
|
+
value: input3.stop
|
|
1300
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1301
|
+
path: _path2 + ".groupsetting",
|
|
1302
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1303
|
+
value: input3.groupsetting
|
|
1304
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1305
|
+
path: _path2 + ".groupsetting",
|
|
1306
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1307
|
+
value: input3.groupsetting
|
|
1308
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".childTerms",
|
|
1310
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1311
|
+
value: input3.childTerms
|
|
1312
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1313
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1314
|
+
expected: "DtTerm",
|
|
1315
|
+
value: elem
|
|
1316
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1317
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1318
|
+
expected: "DtTerm",
|
|
1319
|
+
value: elem
|
|
1320
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1321
|
+
path: _path2 + ".childTerms",
|
|
1322
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1323
|
+
value: input3.childTerms
|
|
1324
|
+
})].every((flag) => flag);
|
|
1325
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1326
|
+
path: _path2 + ".key",
|
|
1327
|
+
expected: "string",
|
|
1328
|
+
value: input3.key
|
|
1329
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1330
|
+
path: _path2 + ".label",
|
|
1331
|
+
expected: "string",
|
|
1332
|
+
value: input3.label
|
|
1333
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1334
|
+
path: _path2 + ".value",
|
|
1335
|
+
expected: "string",
|
|
1336
|
+
value: input3.value
|
|
1337
|
+
})].every((flag) => flag);
|
|
1338
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1339
|
+
path: _path2 + ".id",
|
|
1340
|
+
expected: "string",
|
|
1341
|
+
value: input3.id
|
|
1342
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1343
|
+
path: _path2 + ".name",
|
|
1344
|
+
expected: "string",
|
|
1345
|
+
value: input3.name
|
|
1346
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1347
|
+
path: _path2 + ".type",
|
|
1348
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
1349
|
+
value: input3.type
|
|
1350
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1351
|
+
path: _path2 + ".child_types",
|
|
1352
|
+
expected: "(Array<string> | undefined)",
|
|
1353
|
+
value: input3.child_types
|
|
1354
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1355
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1356
|
+
expected: "string",
|
|
1357
|
+
value: elem
|
|
1358
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1359
|
+
path: _path2 + ".child_types",
|
|
1360
|
+
expected: "(Array<string> | undefined)",
|
|
1361
|
+
value: input3.child_types
|
|
1362
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1363
|
+
path: _path2 + ".hashtmldetail",
|
|
1364
|
+
expected: "(boolean | undefined)",
|
|
1365
|
+
value: input3.hashtmldetail
|
|
1366
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1367
|
+
path: _path2 + ".included_types",
|
|
1368
|
+
expected: "(Array<string> | undefined)",
|
|
1369
|
+
value: input3.included_types
|
|
1370
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1371
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1372
|
+
expected: "string",
|
|
1373
|
+
value: elem
|
|
1374
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".included_types",
|
|
1376
|
+
expected: "(Array<string> | undefined)",
|
|
1377
|
+
value: input3.included_types
|
|
1378
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".isleaf",
|
|
1380
|
+
expected: "(boolean | undefined)",
|
|
1381
|
+
value: input3.isleaf
|
|
1382
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1383
|
+
path: _path2 + ".values",
|
|
1384
|
+
expected: "(TermValues | undefined)",
|
|
1385
|
+
value: input3.values
|
|
1386
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1387
|
+
path: _path2 + ".values",
|
|
1388
|
+
expected: "(TermValues | undefined)",
|
|
1389
|
+
value: input3.values
|
|
1390
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1391
|
+
path: _path2 + ".bins",
|
|
1392
|
+
expected: "PresetNumericBins",
|
|
1393
|
+
value: input3.bins
|
|
1394
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1395
|
+
path: _path2 + ".bins",
|
|
1396
|
+
expected: "PresetNumericBins",
|
|
1397
|
+
value: input3.bins
|
|
1398
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1399
|
+
path: _path2 + ".unit",
|
|
1400
|
+
expected: "(string | undefined)",
|
|
1401
|
+
value: input3.unit
|
|
1402
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1403
|
+
path: _path2 + ".continuousColorScale",
|
|
1404
|
+
expected: "(__type.o3 | undefined)",
|
|
1405
|
+
value: input3.continuousColorScale
|
|
1406
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1407
|
+
path: _path2 + ".continuousColorScale",
|
|
1408
|
+
expected: "(__type.o3 | undefined)",
|
|
1409
|
+
value: input3.continuousColorScale
|
|
1410
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1411
|
+
path: _path2 + ".gene",
|
|
1412
|
+
expected: "string",
|
|
1413
|
+
value: input3.gene
|
|
1414
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1415
|
+
path: _path2 + ".chr",
|
|
1416
|
+
expected: "(string | undefined)",
|
|
1417
|
+
value: input3.chr
|
|
1418
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1419
|
+
path: _path2 + ".start",
|
|
1420
|
+
expected: "(number | undefined)",
|
|
1421
|
+
value: input3.start
|
|
1422
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1423
|
+
path: _path2 + ".stop",
|
|
1424
|
+
expected: "(number | undefined)",
|
|
1425
|
+
value: input3.stop
|
|
1426
|
+
})].every((flag) => flag);
|
|
1427
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1428
|
+
path: _path2 + ".genome",
|
|
1429
|
+
expected: "string",
|
|
1430
|
+
value: input3.genome
|
|
1431
|
+
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
1432
|
+
path: _path2 + ".dslabel",
|
|
1433
|
+
expected: "string",
|
|
1434
|
+
value: input3.dslabel
|
|
1435
|
+
}), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
|
|
1436
|
+
path: _path2 + ".clusterMethod",
|
|
1437
|
+
expected: "string",
|
|
1438
|
+
value: input3.clusterMethod
|
|
1439
|
+
}), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".distanceMethod",
|
|
1535
1441
|
expected: "string",
|
|
1536
1442
|
value: input3.distanceMethod
|
|
1537
1443
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
@@ -1550,12 +1456,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1550
1456
|
path: _path2 + ".terms",
|
|
1551
1457
|
expected: "Array<MetaboliteIntensityTerm>",
|
|
1552
1458
|
value: input3.terms
|
|
1553
|
-
})) && input3.terms.map((elem,
|
|
1554
|
-
path: _path2 + ".terms[" +
|
|
1459
|
+
})) && input3.terms.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".terms[" + _index26 + "]",
|
|
1555
1461
|
expected: "MetaboliteIntensityTerm",
|
|
1556
1462
|
value: elem
|
|
1557
|
-
})) && $
|
|
1558
|
-
path: _path2 + ".terms[" +
|
|
1463
|
+
})) && $vo34(elem, _path2 + ".terms[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".terms[" + _index26 + "]",
|
|
1559
1465
|
expected: "MetaboliteIntensityTerm",
|
|
1560
1466
|
value: elem
|
|
1561
1467
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1567,7 +1473,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1567
1473
|
expected: "(string | undefined)",
|
|
1568
1474
|
value: input3.zScoreTransformation
|
|
1569
1475
|
})].every((flag) => flag);
|
|
1570
|
-
const $
|
|
1476
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1571
1477
|
path: _path2 + ".id",
|
|
1572
1478
|
expected: "string",
|
|
1573
1479
|
value: input3.id
|
|
@@ -1583,8 +1489,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1583
1489
|
path: _path2 + ".child_types",
|
|
1584
1490
|
expected: "(Array<string> | undefined)",
|
|
1585
1491
|
value: input3.child_types
|
|
1586
|
-
})) && input3.child_types.map((elem,
|
|
1587
|
-
path: _path2 + ".child_types[" +
|
|
1492
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1588
1494
|
expected: "string",
|
|
1589
1495
|
value: elem
|
|
1590
1496
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1599,8 +1505,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1599
1505
|
path: _path2 + ".included_types",
|
|
1600
1506
|
expected: "(Array<string> | undefined)",
|
|
1601
1507
|
value: input3.included_types
|
|
1602
|
-
})) && input3.included_types.map((elem,
|
|
1603
|
-
path: _path2 + ".included_types[" +
|
|
1508
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1604
1510
|
expected: "string",
|
|
1605
1511
|
value: elem
|
|
1606
1512
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1619,32 +1525,24 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1619
1525
|
path: _path2 + ".values",
|
|
1620
1526
|
expected: "(TermValues | undefined)",
|
|
1621
1527
|
value: input3.values
|
|
1622
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1623
|
-
path: _path2 + ".filter",
|
|
1624
|
-
expected: "(TermFilter | undefined)",
|
|
1625
|
-
value: input3.filter
|
|
1626
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1627
|
-
path: _path2 + ".filter",
|
|
1628
|
-
expected: "(TermFilter | undefined)",
|
|
1629
|
-
value: input3.filter
|
|
1630
1528
|
}), true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1631
1529
|
path: _path2 + ".unit",
|
|
1632
1530
|
expected: "(string | undefined)",
|
|
1633
1531
|
value: input3.unit
|
|
1634
1532
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1635
1533
|
path: _path2 + ".continuousColorScale",
|
|
1636
|
-
expected: "(__type.
|
|
1534
|
+
expected: "(__type.o3 | undefined)",
|
|
1637
1535
|
value: input3.continuousColorScale
|
|
1638
|
-
})) && $
|
|
1536
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1639
1537
|
path: _path2 + ".continuousColorScale",
|
|
1640
|
-
expected: "(__type.
|
|
1538
|
+
expected: "(__type.o3 | undefined)",
|
|
1641
1539
|
value: input3.continuousColorScale
|
|
1642
1540
|
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1643
1541
|
path: _path2 + ".metabolite",
|
|
1644
1542
|
expected: "string",
|
|
1645
1543
|
value: input3.metabolite
|
|
1646
1544
|
})].every((flag) => flag);
|
|
1647
|
-
const $
|
|
1545
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1648
1546
|
path: _path2 + ".genome",
|
|
1649
1547
|
expected: "string",
|
|
1650
1548
|
value: input3.genome
|
|
@@ -1676,12 +1574,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1676
1574
|
path: _path2 + ".terms",
|
|
1677
1575
|
expected: "Array<NumericDictTerm>",
|
|
1678
1576
|
value: input3.terms
|
|
1679
|
-
})) && input3.terms.map((elem,
|
|
1680
|
-
path: _path2 + ".terms[" +
|
|
1577
|
+
})) && input3.terms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".terms[" + _index29 + "]",
|
|
1681
1579
|
expected: "NumericDictTerm",
|
|
1682
1580
|
value: elem
|
|
1683
|
-
})) && $
|
|
1684
|
-
path: _path2 + ".terms[" +
|
|
1581
|
+
})) && $vo36(elem, _path2 + ".terms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".terms[" + _index29 + "]",
|
|
1685
1583
|
expected: "NumericDictTerm",
|
|
1686
1584
|
value: elem
|
|
1687
1585
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1693,7 +1591,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1693
1591
|
expected: "(string | undefined)",
|
|
1694
1592
|
value: input3.zScoreTransformation
|
|
1695
1593
|
})].every((flag) => flag);
|
|
1696
|
-
const $
|
|
1594
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1697
1595
|
path: _path2 + ".id",
|
|
1698
1596
|
expected: "string",
|
|
1699
1597
|
value: input3.id
|
|
@@ -1709,8 +1607,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1709
1607
|
path: _path2 + ".child_types",
|
|
1710
1608
|
expected: "(Array<string> | undefined)",
|
|
1711
1609
|
value: input3.child_types
|
|
1712
|
-
})) && input3.child_types.map((elem,
|
|
1713
|
-
path: _path2 + ".child_types[" +
|
|
1610
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1611
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1714
1612
|
expected: "string",
|
|
1715
1613
|
value: elem
|
|
1716
1614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1725,8 +1623,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1725
1623
|
path: _path2 + ".included_types",
|
|
1726
1624
|
expected: "(Array<string> | undefined)",
|
|
1727
1625
|
value: input3.included_types
|
|
1728
|
-
})) && input3.included_types.map((elem,
|
|
1729
|
-
path: _path2 + ".included_types[" +
|
|
1626
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1627
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1730
1628
|
expected: "string",
|
|
1731
1629
|
value: elem
|
|
1732
1630
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1745,19 +1643,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1745
1643
|
path: _path2 + ".values",
|
|
1746
1644
|
expected: "(TermValues | undefined)",
|
|
1747
1645
|
value: input3.values
|
|
1748
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1749
|
-
path: _path2 + ".filter",
|
|
1750
|
-
expected: "(TermFilter | undefined)",
|
|
1751
|
-
value: input3.filter
|
|
1752
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1753
|
-
path: _path2 + ".filter",
|
|
1754
|
-
expected: "(TermFilter | undefined)",
|
|
1755
|
-
value: input3.filter
|
|
1756
1646
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1757
1647
|
path: _path2 + ".bins",
|
|
1758
1648
|
expected: "PresetNumericBins",
|
|
1759
1649
|
value: input3.bins
|
|
1760
|
-
})) && $
|
|
1650
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1761
1651
|
path: _path2 + ".bins",
|
|
1762
1652
|
expected: "PresetNumericBins",
|
|
1763
1653
|
value: input3.bins
|
|
@@ -1779,9 +1669,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1779
1669
|
})();
|
|
1780
1670
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1781
1671
|
if ("string" === typeof input3.type)
|
|
1782
|
-
return $
|
|
1672
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
1783
1673
|
if ("filter" === input3.type)
|
|
1784
|
-
return $
|
|
1674
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1785
1675
|
return $report(_exceptionable2, {
|
|
1786
1676
|
path: _path2,
|
|
1787
1677
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1790,70 +1680,70 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1790
1680
|
})();
|
|
1791
1681
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1792
1682
|
if (true === input3.startunbounded)
|
|
1793
|
-
return $
|
|
1683
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1794
1684
|
if (true === input3.stopunbounded)
|
|
1795
|
-
return $
|
|
1796
|
-
return $
|
|
1685
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1686
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1797
1687
|
})();
|
|
1798
1688
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1799
1689
|
if (void 0 !== input3.ranges)
|
|
1800
|
-
return $
|
|
1801
|
-
return $vo3(input3, _path2, false) || $
|
|
1690
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1691
|
+
return $vo3(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
1802
1692
|
})();
|
|
1803
1693
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1804
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1805
|
-
return $
|
|
1806
|
-
return $
|
|
1694
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index32 + "]", false)).every((flag) => flag))
|
|
1695
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
1696
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1807
1697
|
})();
|
|
1808
1698
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1809
|
-
if ("gene" === input3.kind)
|
|
1810
|
-
return $vo10(input3, _path2, _exceptionable2);
|
|
1811
|
-
if ("coord" === input3.kind)
|
|
1812
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1813
|
-
return $report(_exceptionable2, {
|
|
1814
|
-
path: _path2,
|
|
1815
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
1816
|
-
value: input3
|
|
1817
|
-
});
|
|
1818
|
-
})();
|
|
1819
|
-
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1820
1699
|
if ("regular-bin" === input3.type)
|
|
1821
|
-
return $
|
|
1700
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1822
1701
|
if ("custom-bin" === input3.type)
|
|
1823
|
-
return $
|
|
1702
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1824
1703
|
return $report(_exceptionable2, {
|
|
1825
1704
|
path: _path2,
|
|
1826
1705
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1827
1706
|
value: input3
|
|
1828
1707
|
});
|
|
1829
1708
|
})();
|
|
1830
|
-
const $
|
|
1709
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1831
1710
|
if (true === input3.startunbounded)
|
|
1832
|
-
return $
|
|
1711
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1833
1712
|
if (void 0 !== input3.start)
|
|
1834
|
-
return $
|
|
1713
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1835
1714
|
return $report(_exceptionable2, {
|
|
1836
1715
|
path: _path2,
|
|
1837
1716
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1838
1717
|
value: input3
|
|
1839
1718
|
});
|
|
1840
1719
|
})();
|
|
1841
|
-
const $
|
|
1720
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1842
1721
|
if (void 0 !== input3.stop)
|
|
1843
|
-
return $
|
|
1722
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1844
1723
|
if (true === input3.stopunbounded)
|
|
1845
|
-
return $
|
|
1724
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1846
1725
|
return $report(_exceptionable2, {
|
|
1847
1726
|
path: _path2,
|
|
1848
1727
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1849
1728
|
value: input3
|
|
1850
1729
|
});
|
|
1851
1730
|
})();
|
|
1731
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1732
|
+
if ("gene" === input3.kind)
|
|
1733
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1734
|
+
if ("coord" === input3.kind)
|
|
1735
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1736
|
+
return $report(_exceptionable2, {
|
|
1737
|
+
path: _path2,
|
|
1738
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1739
|
+
value: input3
|
|
1740
|
+
});
|
|
1741
|
+
})();
|
|
1852
1742
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1853
1743
|
if ("numericDictTerm" === input3.dataType)
|
|
1854
|
-
return $
|
|
1744
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1855
1745
|
if ("metaboliteIntensity" === input3.dataType)
|
|
1856
|
-
return $
|
|
1746
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1857
1747
|
if ("geneExpression" === input3.dataType)
|
|
1858
1748
|
return $vo0(input3, _path2, _exceptionable2);
|
|
1859
1749
|
return $report(_exceptionable2, {
|
|
@@ -1909,7 +1799,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1909
1799
|
});
|
|
1910
1800
|
const $io9 = (input3) => "string" === typeof input3.text && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem));
|
|
1911
1801
|
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu3(input3.term) && true;
|
|
1912
|
-
const $io11 = (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) && $io12(input3.values)) &&
|
|
1802
|
+
const $io11 = (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) && $io12(input3.values)) && "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) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1913
1803
|
const $io12 = (input3) => Object.keys(input3).every((key) => {
|
|
1914
1804
|
const value = input3[key];
|
|
1915
1805
|
if (void 0 === value)
|
|
@@ -1924,24 +1814,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1924
1814
|
const $io14 = (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)));
|
|
1925
1815
|
const $io15 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
1926
1816
|
const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io17(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) && $io13(elem)));
|
|
1927
|
-
const $io17 = (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) && $io12(input3.values)) && (
|
|
1928
|
-
const $io18 = (input3) =>
|
|
1929
|
-
const $io19 = (input3) => Array.isArray(input3.
|
|
1930
|
-
const $io20 = (input3) => "string" === typeof input3.
|
|
1931
|
-
const $io21 = (input3) =>
|
|
1932
|
-
const $io22 = (input3) =>
|
|
1933
|
-
const $io23 = (input3) => "
|
|
1934
|
-
const $io24 = (input3) => "string" === typeof input3.
|
|
1935
|
-
const $io25 = (input3) => ("string" === typeof input3.
|
|
1936
|
-
const $io26 = (input3) => "
|
|
1937
|
-
const $io27 = (input3) => "object" === typeof input3.
|
|
1938
|
-
const $io28 = (input3) =>
|
|
1939
|
-
const $io29 = (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) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1940
|
-
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(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 && $io40(elem)));
|
|
1941
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io32(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io39(input3.continuousColorScale));
|
|
1942
|
-
const $io32 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
1943
|
-
const $io33 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io34(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 && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1944
|
-
const $io34 = (input3) => Object.keys(input3).every((key) => {
|
|
1817
|
+
const $io17 = (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) && $io12(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1818
|
+
const $io18 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
1819
|
+
const $io19 = (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.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
1820
|
+
const $io20 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io21(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1821
|
+
const $io21 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1822
|
+
const $io22 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
1823
|
+
const $io23 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1824
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io34(elem)));
|
|
1825
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && $io12(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io33(input3.continuousColorScale));
|
|
1826
|
+
const $io26 = (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);
|
|
1827
|
+
const $io27 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io28(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);
|
|
1828
|
+
const $io28 = (input3) => Object.keys(input3).every((key) => {
|
|
1945
1829
|
const value = input3[key];
|
|
1946
1830
|
if (void 0 === value)
|
|
1947
1831
|
return true;
|
|
@@ -1949,38 +1833,41 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1949
1833
|
return "number" === typeof value;
|
|
1950
1834
|
return true;
|
|
1951
1835
|
});
|
|
1952
|
-
const $
|
|
1953
|
-
const $
|
|
1954
|
-
const $
|
|
1955
|
-
const $
|
|
1956
|
-
const $
|
|
1957
|
-
const $
|
|
1958
|
-
const $
|
|
1959
|
-
const $
|
|
1960
|
-
const $
|
|
1961
|
-
const $
|
|
1962
|
-
const $
|
|
1963
|
-
const $
|
|
1964
|
-
const $
|
|
1965
|
-
const $
|
|
1966
|
-
const $
|
|
1967
|
-
const $
|
|
1968
|
-
const $
|
|
1969
|
-
const $
|
|
1970
|
-
const $
|
|
1971
|
-
const $
|
|
1972
|
-
const $
|
|
1836
|
+
const $io29 = (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);
|
|
1837
|
+
const $io30 = (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);
|
|
1838
|
+
const $io31 = (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);
|
|
1839
|
+
const $io32 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io28(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);
|
|
1840
|
+
const $io33 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1841
|
+
const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1842
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(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 && $io37(elem)));
|
|
1843
|
+
const $io36 = (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) && $io12(input3.values));
|
|
1844
|
+
const $io37 = (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;
|
|
1845
|
+
const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io42(elem)));
|
|
1846
|
+
const $io39 = (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) && $io12(input3.values));
|
|
1847
|
+
const $io40 = (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) && $io12(input3.values)) && "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) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1848
|
+
const $io41 = (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) && $io12(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1849
|
+
const $io42 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1850
|
+
const $io43 = (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) && $io12(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1851
|
+
const $io44 = (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) && $io12(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1852
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && $io12(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io33(input3.continuousColorScale));
|
|
1853
|
+
const $io46 = (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) && $io12(input3.values));
|
|
1854
|
+
const $io47 = (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) && $io12(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io48(elem)));
|
|
1855
|
+
const $io48 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io50(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
1856
|
+
const $io49 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1857
|
+
const $io50 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1858
|
+
const $io51 = (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) && $io52(input3.values));
|
|
1859
|
+
const $io52 = (input3) => Object.keys(input3).every((key) => {
|
|
1973
1860
|
const value = input3[key];
|
|
1974
1861
|
if (void 0 === value)
|
|
1975
1862
|
return true;
|
|
1976
1863
|
if (RegExp(/(.*)/).test(key))
|
|
1977
|
-
return "object" === typeof value && null !== value && $
|
|
1864
|
+
return "object" === typeof value && null !== value && $io53(value);
|
|
1978
1865
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1979
|
-
return "object" === typeof value && null !== value && $
|
|
1866
|
+
return "object" === typeof value && null !== value && $io53(value);
|
|
1980
1867
|
return true;
|
|
1981
1868
|
});
|
|
1982
|
-
const $
|
|
1983
|
-
const $
|
|
1869
|
+
const $io53 = (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 && $io14(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io54(elem))) && true;
|
|
1870
|
+
const $io54 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1984
1871
|
const $iu0 = (input3) => (() => {
|
|
1985
1872
|
if ("tvslst" === input3.type)
|
|
1986
1873
|
return $io14(input3);
|
|
@@ -1990,84 +1877,84 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1990
1877
|
})();
|
|
1991
1878
|
const $iu1 = (input3) => (() => {
|
|
1992
1879
|
if ("string" === typeof input3.type)
|
|
1993
|
-
return $
|
|
1880
|
+
return $io20(input3);
|
|
1994
1881
|
if ("filter" === input3.type)
|
|
1995
|
-
return $
|
|
1882
|
+
return $io22(input3);
|
|
1996
1883
|
return false;
|
|
1997
1884
|
})();
|
|
1998
1885
|
const $iu2 = (input3) => (() => {
|
|
1999
1886
|
if (true === input3.startunbounded)
|
|
2000
|
-
return $
|
|
1887
|
+
return $io29(input3);
|
|
2001
1888
|
if (true === input3.stopunbounded)
|
|
2002
|
-
return $
|
|
2003
|
-
return $
|
|
1889
|
+
return $io31(input3);
|
|
1890
|
+
return $io30(input3);
|
|
2004
1891
|
})();
|
|
2005
1892
|
const $iu3 = (input3) => (() => {
|
|
2006
1893
|
if ("gene" === input3.kind)
|
|
2007
1894
|
return $io11(input3);
|
|
2008
1895
|
if ("coord" === input3.kind)
|
|
2009
|
-
return $
|
|
1896
|
+
return $io43(input3);
|
|
2010
1897
|
if ("categorical" === input3.type)
|
|
2011
|
-
return $
|
|
1898
|
+
return $io44(input3);
|
|
2012
1899
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
2013
|
-
return $
|
|
1900
|
+
return $io45(input3);
|
|
2014
1901
|
if ("condition" === input3.type)
|
|
2015
|
-
return $
|
|
1902
|
+
return $io46(input3);
|
|
2016
1903
|
return (() => {
|
|
2017
|
-
if ($
|
|
2018
|
-
return $
|
|
2019
|
-
if ($
|
|
2020
|
-
return $
|
|
1904
|
+
if ($io47(input3))
|
|
1905
|
+
return $io47(input3);
|
|
1906
|
+
if ($io51(input3))
|
|
1907
|
+
return $io51(input3);
|
|
2021
1908
|
return false;
|
|
2022
1909
|
})();
|
|
2023
1910
|
})();
|
|
2024
1911
|
const $iu4 = (input3) => (() => {
|
|
2025
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
2026
|
-
return $
|
|
2027
|
-
return $
|
|
1912
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)))
|
|
1913
|
+
return $io18(input3);
|
|
1914
|
+
return $io23(input3);
|
|
2028
1915
|
})();
|
|
2029
1916
|
const $iu5 = (input3) => (() => {
|
|
2030
1917
|
if (void 0 !== input3.ranges)
|
|
2031
|
-
return $
|
|
1918
|
+
return $io24(input3);
|
|
2032
1919
|
return (() => {
|
|
2033
1920
|
if ($io16(input3))
|
|
2034
1921
|
return $io16(input3);
|
|
2035
|
-
if ($
|
|
2036
|
-
return $
|
|
2037
|
-
if ($
|
|
2038
|
-
return $
|
|
1922
|
+
if ($io35(input3))
|
|
1923
|
+
return $io35(input3);
|
|
1924
|
+
if ($io38(input3))
|
|
1925
|
+
return $io38(input3);
|
|
2039
1926
|
return false;
|
|
2040
1927
|
})();
|
|
2041
1928
|
})();
|
|
2042
1929
|
const $iu6 = (input3) => (() => {
|
|
2043
|
-
if ("gene" === input3.kind)
|
|
2044
|
-
return $io21(input3);
|
|
2045
|
-
if ("coord" === input3.kind)
|
|
2046
|
-
return $io29(input3);
|
|
2047
|
-
return false;
|
|
2048
|
-
})();
|
|
2049
|
-
const $iu7 = (input3) => (() => {
|
|
2050
1930
|
if ("regular-bin" === input3.type)
|
|
2051
|
-
return $
|
|
1931
|
+
return $io27(input3);
|
|
2052
1932
|
if ("custom-bin" === input3.type)
|
|
2053
|
-
return $
|
|
1933
|
+
return $io32(input3);
|
|
2054
1934
|
return false;
|
|
2055
1935
|
})();
|
|
2056
|
-
const $
|
|
1936
|
+
const $iu7 = (input3) => (() => {
|
|
2057
1937
|
if (true === input3.startunbounded)
|
|
2058
|
-
return $
|
|
1938
|
+
return $io29(input3);
|
|
2059
1939
|
if (void 0 !== input3.start)
|
|
2060
|
-
return $
|
|
1940
|
+
return $io30(input3);
|
|
2061
1941
|
return false;
|
|
2062
1942
|
})();
|
|
2063
|
-
const $
|
|
1943
|
+
const $iu8 = (input3) => (() => {
|
|
2064
1944
|
if (void 0 !== input3.stop)
|
|
2065
|
-
return $
|
|
1945
|
+
return $io30(input3);
|
|
2066
1946
|
if (true === input3.stopunbounded)
|
|
2067
|
-
return $
|
|
1947
|
+
return $io31(input3);
|
|
2068
1948
|
return false;
|
|
2069
1949
|
})();
|
|
2070
|
-
const $
|
|
1950
|
+
const $iu9 = (input3) => (() => {
|
|
1951
|
+
if ("gene" === input3.kind)
|
|
1952
|
+
return $io40(input3);
|
|
1953
|
+
if ("coord" === input3.kind)
|
|
1954
|
+
return $io41(input3);
|
|
1955
|
+
return false;
|
|
1956
|
+
})();
|
|
1957
|
+
const $iu10 = (input3) => (() => {
|
|
2071
1958
|
if (void 0 !== input3.status)
|
|
2072
1959
|
return $io0(input3);
|
|
2073
1960
|
if (void 0 !== input3.clustering)
|
|
@@ -2284,11 +2171,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2284
2171
|
})].every((flag) => flag);
|
|
2285
2172
|
const $vo10 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2286
2173
|
path: _path2 + ".term",
|
|
2287
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting;
|
|
2174
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2288
2175
|
value: input3.term
|
|
2289
2176
|
})) && $vu3(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2290
2177
|
path: _path2 + ".term",
|
|
2291
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting;
|
|
2178
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2292
2179
|
value: input3.term
|
|
2293
2180
|
}), true].every((flag) => flag);
|
|
2294
2181
|
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2343,14 +2230,6 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2343
2230
|
path: _path2 + ".values",
|
|
2344
2231
|
expected: "(TermValues | undefined)",
|
|
2345
2232
|
value: input3.values
|
|
2346
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2347
|
-
path: _path2 + ".filter",
|
|
2348
|
-
expected: "(TermFilter | undefined)",
|
|
2349
|
-
value: input3.filter
|
|
2350
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2351
|
-
path: _path2 + ".filter",
|
|
2352
|
-
expected: "(TermFilter | undefined)",
|
|
2353
|
-
value: input3.filter
|
|
2354
2233
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2355
2234
|
path: _path2 + ".kind",
|
|
2356
2235
|
expected: '"gene"',
|
|
@@ -2373,12 +2252,28 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2373
2252
|
value: input3.stop
|
|
2374
2253
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2375
2254
|
path: _path2 + ".groupsetting",
|
|
2376
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2255
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
2377
2256
|
value: input3.groupsetting
|
|
2378
2257
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2379
2258
|
path: _path2 + ".groupsetting",
|
|
2380
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2259
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
2381
2260
|
value: input3.groupsetting
|
|
2261
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2262
|
+
path: _path2 + ".childTerms",
|
|
2263
|
+
expected: "Array<DtTerm>",
|
|
2264
|
+
value: input3.childTerms
|
|
2265
|
+
})) && input3.childTerms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2266
|
+
path: _path2 + ".childTerms[" + _index11 + "]",
|
|
2267
|
+
expected: "DtTerm",
|
|
2268
|
+
value: elem
|
|
2269
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2270
|
+
path: _path2 + ".childTerms[" + _index11 + "]",
|
|
2271
|
+
expected: "DtTerm",
|
|
2272
|
+
value: elem
|
|
2273
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2274
|
+
path: _path2 + ".childTerms",
|
|
2275
|
+
expected: "Array<DtTerm>",
|
|
2276
|
+
value: input3.childTerms
|
|
2382
2277
|
})].every((flag) => flag);
|
|
2383
2278
|
const $vo12 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2384
2279
|
const value = input3[key];
|
|
@@ -2459,12 +2354,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2459
2354
|
path: _path2 + ".lst",
|
|
2460
2355
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
2461
2356
|
value: input3.lst
|
|
2462
|
-
})) && input3.lst.map((elem,
|
|
2463
|
-
path: _path2 + ".lst[" +
|
|
2357
|
+
})) && input3.lst.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2358
|
+
path: _path2 + ".lst[" + _index12 + "]",
|
|
2464
2359
|
expected: "(Filter | __type.o6)",
|
|
2465
2360
|
value: elem
|
|
2466
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
2467
|
-
path: _path2 + ".lst[" +
|
|
2361
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2362
|
+
path: _path2 + ".lst[" + _index12 + "]",
|
|
2468
2363
|
expected: "(Filter | __type.o6)",
|
|
2469
2364
|
value: elem
|
|
2470
2365
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2509,12 +2404,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2509
2404
|
path: _path2 + ".values",
|
|
2510
2405
|
expected: "Array<BaseValue>",
|
|
2511
2406
|
value: input3.values
|
|
2512
|
-
})) && input3.values.map((elem,
|
|
2513
|
-
path: _path2 + ".values[" +
|
|
2407
|
+
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2408
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
2514
2409
|
expected: "BaseValue",
|
|
2515
2410
|
value: elem
|
|
2516
|
-
})) && $vo13(elem, _path2 + ".values[" +
|
|
2517
|
-
path: _path2 + ".values[" +
|
|
2411
|
+
})) && $vo13(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2412
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
2518
2413
|
expected: "BaseValue",
|
|
2519
2414
|
value: elem
|
|
2520
2415
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2538,8 +2433,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2538
2433
|
path: _path2 + ".child_types",
|
|
2539
2434
|
expected: "(Array<string> | undefined)",
|
|
2540
2435
|
value: input3.child_types
|
|
2541
|
-
})) && input3.child_types.map((elem,
|
|
2542
|
-
path: _path2 + ".child_types[" +
|
|
2436
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2437
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
2543
2438
|
expected: "string",
|
|
2544
2439
|
value: elem
|
|
2545
2440
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2554,8 +2449,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2554
2449
|
path: _path2 + ".included_types",
|
|
2555
2450
|
expected: "(Array<string> | undefined)",
|
|
2556
2451
|
value: input3.included_types
|
|
2557
|
-
})) && input3.included_types.map((elem,
|
|
2558
|
-
path: _path2 + ".included_types[" +
|
|
2452
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2453
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
2559
2454
|
expected: "string",
|
|
2560
2455
|
value: elem
|
|
2561
2456
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2574,200 +2469,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2574
2469
|
path: _path2 + ".values",
|
|
2575
2470
|
expected: "(TermValues | undefined)",
|
|
2576
2471
|
value: input3.values
|
|
2577
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2578
|
-
path: _path2 + ".filter",
|
|
2579
|
-
expected: "(TermFilter | undefined)",
|
|
2580
|
-
value: input3.filter
|
|
2581
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2582
|
-
path: _path2 + ".filter",
|
|
2583
|
-
expected: "(TermFilter | undefined)",
|
|
2584
|
-
value: input3.filter
|
|
2585
2472
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2586
2473
|
path: _path2 + ".groupsetting",
|
|
2587
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2588
|
-
value: input3.groupsetting
|
|
2589
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2590
|
-
path: _path2 + ".groupsetting",
|
|
2591
|
-
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
2592
|
-
value: input3.groupsetting
|
|
2593
|
-
})].every((flag) => flag);
|
|
2594
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
2595
|
-
path: _path2 + ".opts",
|
|
2596
|
-
expected: "__type.o7",
|
|
2597
|
-
value: input3.opts
|
|
2598
|
-
})) && $vo19(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
2599
|
-
path: _path2 + ".opts",
|
|
2600
|
-
expected: "__type.o7",
|
|
2601
|
-
value: input3.opts
|
|
2602
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
2603
|
-
path: _path2 + ".terms",
|
|
2604
|
-
expected: "Array<DtTerm>",
|
|
2605
|
-
value: input3.terms
|
|
2606
|
-
})) && input3.terms.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2607
|
-
path: _path2 + ".terms[" + _index15 + "]",
|
|
2608
|
-
expected: "DtTerm",
|
|
2609
|
-
value: elem
|
|
2610
|
-
})) && $vo20(elem, _path2 + ".terms[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2611
|
-
path: _path2 + ".terms[" + _index15 + "]",
|
|
2612
|
-
expected: "DtTerm",
|
|
2613
|
-
value: elem
|
|
2614
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2615
|
-
path: _path2 + ".terms",
|
|
2616
|
-
expected: "Array<DtTerm>",
|
|
2617
|
-
value: input3.terms
|
|
2618
|
-
})].every((flag) => flag);
|
|
2619
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
2620
|
-
path: _path2 + ".joinWith",
|
|
2621
|
-
expected: "Array<string>",
|
|
2622
|
-
value: input3.joinWith
|
|
2623
|
-
})) && input3.joinWith.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2624
|
-
path: _path2 + ".joinWith[" + _index16 + "]",
|
|
2625
|
-
expected: "string",
|
|
2626
|
-
value: elem
|
|
2627
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2628
|
-
path: _path2 + ".joinWith",
|
|
2629
|
-
expected: "Array<string>",
|
|
2630
|
-
value: input3.joinWith
|
|
2631
|
-
})].every((flag) => flag);
|
|
2632
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2633
|
-
path: _path2 + ".id",
|
|
2634
|
-
expected: "string",
|
|
2635
|
-
value: input3.id
|
|
2636
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2637
|
-
path: _path2 + ".query",
|
|
2638
|
-
expected: "string",
|
|
2639
|
-
value: input3.query
|
|
2640
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2641
|
-
path: _path2 + ".name",
|
|
2642
|
-
expected: "string",
|
|
2643
|
-
value: input3.name
|
|
2644
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2645
|
-
path: _path2 + ".name_noOrigin",
|
|
2646
|
-
expected: "string",
|
|
2647
|
-
value: input3.name_noOrigin
|
|
2648
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
2649
|
-
path: _path2 + ".geneVariantTerm",
|
|
2650
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
2651
|
-
value: input3.geneVariantTerm
|
|
2652
|
-
})) && $vu6(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2653
|
-
path: _path2 + ".geneVariantTerm",
|
|
2654
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
2655
|
-
value: input3.geneVariantTerm
|
|
2656
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2657
|
-
path: _path2 + ".isleaf",
|
|
2658
|
-
expected: "boolean",
|
|
2659
|
-
value: input3.isleaf
|
|
2660
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2661
|
-
path: _path2 + ".type",
|
|
2662
|
-
expected: "string",
|
|
2663
|
-
value: input3.type
|
|
2664
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2665
|
-
path: _path2 + ".dt",
|
|
2666
|
-
expected: "number",
|
|
2667
|
-
value: input3.dt
|
|
2668
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2669
|
-
path: _path2 + ".origin",
|
|
2670
|
-
expected: "(string | undefined)",
|
|
2671
|
-
value: input3.origin
|
|
2672
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2673
|
-
path: _path2 + ".values",
|
|
2674
|
-
expected: "TermValues",
|
|
2675
|
-
value: input3.values
|
|
2676
|
-
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2677
|
-
path: _path2 + ".values",
|
|
2678
|
-
expected: "TermValues",
|
|
2679
|
-
value: input3.values
|
|
2680
|
-
})].every((flag) => flag);
|
|
2681
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2682
|
-
path: _path2 + ".id",
|
|
2683
|
-
expected: "string",
|
|
2684
|
-
value: input3.id
|
|
2685
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2686
|
-
path: _path2 + ".name",
|
|
2687
|
-
expected: "string",
|
|
2688
|
-
value: input3.name
|
|
2689
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2690
|
-
path: _path2 + ".type",
|
|
2691
|
-
expected: '"geneVariant"',
|
|
2692
|
-
value: input3.type
|
|
2693
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2694
|
-
path: _path2 + ".child_types",
|
|
2695
|
-
expected: "(Array<string> | undefined)",
|
|
2696
|
-
value: input3.child_types
|
|
2697
|
-
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2698
|
-
path: _path2 + ".child_types[" + _index17 + "]",
|
|
2699
|
-
expected: "string",
|
|
2700
|
-
value: elem
|
|
2701
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2702
|
-
path: _path2 + ".child_types",
|
|
2703
|
-
expected: "(Array<string> | undefined)",
|
|
2704
|
-
value: input3.child_types
|
|
2705
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2706
|
-
path: _path2 + ".hashtmldetail",
|
|
2707
|
-
expected: "(boolean | undefined)",
|
|
2708
|
-
value: input3.hashtmldetail
|
|
2709
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2710
|
-
path: _path2 + ".included_types",
|
|
2711
|
-
expected: "(Array<string> | undefined)",
|
|
2712
|
-
value: input3.included_types
|
|
2713
|
-
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2714
|
-
path: _path2 + ".included_types[" + _index18 + "]",
|
|
2715
|
-
expected: "string",
|
|
2716
|
-
value: elem
|
|
2717
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2718
|
-
path: _path2 + ".included_types",
|
|
2719
|
-
expected: "(Array<string> | undefined)",
|
|
2720
|
-
value: input3.included_types
|
|
2721
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2722
|
-
path: _path2 + ".isleaf",
|
|
2723
|
-
expected: "(boolean | undefined)",
|
|
2724
|
-
value: input3.isleaf
|
|
2725
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2726
|
-
path: _path2 + ".values",
|
|
2727
|
-
expected: "(TermValues | undefined)",
|
|
2728
|
-
value: input3.values
|
|
2729
|
-
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2730
|
-
path: _path2 + ".values",
|
|
2731
|
-
expected: "(TermValues | undefined)",
|
|
2732
|
-
value: input3.values
|
|
2733
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2734
|
-
path: _path2 + ".filter",
|
|
2735
|
-
expected: "(TermFilter | undefined)",
|
|
2736
|
-
value: input3.filter
|
|
2737
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2738
|
-
path: _path2 + ".filter",
|
|
2739
|
-
expected: "(TermFilter | undefined)",
|
|
2740
|
-
value: input3.filter
|
|
2741
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2742
|
-
path: _path2 + ".kind",
|
|
2743
|
-
expected: '"gene"',
|
|
2744
|
-
value: input3.kind
|
|
2745
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2746
|
-
path: _path2 + ".gene",
|
|
2747
|
-
expected: "string",
|
|
2748
|
-
value: input3.gene
|
|
2749
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2750
|
-
path: _path2 + ".chr",
|
|
2751
|
-
expected: "(string | undefined)",
|
|
2752
|
-
value: input3.chr
|
|
2753
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2754
|
-
path: _path2 + ".start",
|
|
2755
|
-
expected: "(number | undefined)",
|
|
2756
|
-
value: input3.start
|
|
2757
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2758
|
-
path: _path2 + ".stop",
|
|
2759
|
-
expected: "(number | undefined)",
|
|
2760
|
-
value: input3.stop
|
|
2761
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2762
|
-
path: _path2 + ".groupsetting",
|
|
2763
|
-
expected: "(EnabledTermGroupSetting | __type.o9 | undefined)",
|
|
2474
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
2764
2475
|
value: input3.groupsetting
|
|
2765
2476
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2766
2477
|
path: _path2 + ".groupsetting",
|
|
2767
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2478
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
2768
2479
|
value: input3.groupsetting
|
|
2769
2480
|
})].every((flag) => flag);
|
|
2770
|
-
const $
|
|
2481
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2771
2482
|
path: _path2 + ".disabled",
|
|
2772
2483
|
expected: "(boolean | undefined)",
|
|
2773
2484
|
value: input3.disabled
|
|
@@ -2775,12 +2486,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2775
2486
|
path: _path2 + ".lst",
|
|
2776
2487
|
expected: "Array<Groupset>",
|
|
2777
2488
|
value: input3.lst
|
|
2778
|
-
})) && input3.lst.map((elem,
|
|
2779
|
-
path: _path2 + ".lst[" +
|
|
2489
|
+
})) && input3.lst.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2490
|
+
path: _path2 + ".lst[" + _index16 + "]",
|
|
2780
2491
|
expected: "Groupset",
|
|
2781
2492
|
value: elem
|
|
2782
|
-
})) && $
|
|
2783
|
-
path: _path2 + ".lst[" +
|
|
2493
|
+
})) && $vo19(elem, _path2 + ".lst[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2494
|
+
path: _path2 + ".lst[" + _index16 + "]",
|
|
2784
2495
|
expected: "Groupset",
|
|
2785
2496
|
value: elem
|
|
2786
2497
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2788,7 +2499,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2788
2499
|
expected: "Array<Groupset>",
|
|
2789
2500
|
value: input3.lst
|
|
2790
2501
|
})].every((flag) => flag);
|
|
2791
|
-
const $
|
|
2502
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2792
2503
|
path: _path2 + ".name",
|
|
2793
2504
|
expected: "string",
|
|
2794
2505
|
value: input3.name
|
|
@@ -2808,12 +2519,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2808
2519
|
path: _path2 + ".groups",
|
|
2809
2520
|
expected: "Array<GroupEntry>",
|
|
2810
2521
|
value: input3.groups
|
|
2811
|
-
})) && input3.groups.map((elem,
|
|
2812
|
-
path: _path2 + ".groups[" +
|
|
2522
|
+
})) && input3.groups.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2523
|
+
path: _path2 + ".groups[" + _index17 + "]",
|
|
2813
2524
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2814
2525
|
value: elem
|
|
2815
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
2816
|
-
path: _path2 + ".groups[" +
|
|
2526
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2527
|
+
path: _path2 + ".groups[" + _index17 + "]",
|
|
2817
2528
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2818
2529
|
value: elem
|
|
2819
2530
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2821,7 +2532,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2821
2532
|
expected: "Array<GroupEntry>",
|
|
2822
2533
|
value: input3.groups
|
|
2823
2534
|
})].every((flag) => flag);
|
|
2824
|
-
const $
|
|
2535
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2825
2536
|
path: _path2 + ".name",
|
|
2826
2537
|
expected: "string",
|
|
2827
2538
|
value: input3.name
|
|
@@ -2833,13 +2544,13 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2833
2544
|
path: _path2 + ".values",
|
|
2834
2545
|
expected: "Array<__type>.o4",
|
|
2835
2546
|
value: input3.values
|
|
2836
|
-
})) && input3.values.map((elem,
|
|
2837
|
-
path: _path2 + ".values[" +
|
|
2838
|
-
expected: "__type.
|
|
2547
|
+
})) && input3.values.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2548
|
+
path: _path2 + ".values[" + _index18 + "]",
|
|
2549
|
+
expected: "__type.o7",
|
|
2839
2550
|
value: elem
|
|
2840
|
-
})) && $
|
|
2841
|
-
path: _path2 + ".values[" +
|
|
2842
|
-
expected: "__type.
|
|
2551
|
+
})) && $vo21(elem, _path2 + ".values[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2552
|
+
path: _path2 + ".values[" + _index18 + "]",
|
|
2553
|
+
expected: "__type.o7",
|
|
2843
2554
|
value: elem
|
|
2844
2555
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2845
2556
|
path: _path2 + ".values",
|
|
@@ -2850,7 +2561,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2850
2561
|
expected: "(boolean | undefined)",
|
|
2851
2562
|
value: input3.uncomputable
|
|
2852
2563
|
})].every((flag) => flag);
|
|
2853
|
-
const $
|
|
2564
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2854
2565
|
path: _path2 + ".key",
|
|
2855
2566
|
expected: "(number | string)",
|
|
2856
2567
|
value: input3.key
|
|
@@ -2859,7 +2570,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2859
2570
|
expected: "string",
|
|
2860
2571
|
value: input3.label
|
|
2861
2572
|
})].every((flag) => flag);
|
|
2862
|
-
const $
|
|
2573
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2863
2574
|
path: _path2 + ".name",
|
|
2864
2575
|
expected: "string",
|
|
2865
2576
|
value: input3.name
|
|
@@ -2869,55 +2580,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2869
2580
|
value: input3.type
|
|
2870
2581
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2871
2582
|
path: _path2 + ".filter",
|
|
2872
|
-
expected: "
|
|
2583
|
+
expected: "Filter",
|
|
2873
2584
|
value: input3.filter
|
|
2874
|
-
})) && $
|
|
2585
|
+
})) && $vo14(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2875
2586
|
path: _path2 + ".filter",
|
|
2876
|
-
expected: "
|
|
2587
|
+
expected: "Filter",
|
|
2877
2588
|
value: input3.filter
|
|
2878
2589
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2879
2590
|
path: _path2 + ".uncomputable",
|
|
2880
2591
|
expected: "boolean",
|
|
2881
2592
|
value: input3.uncomputable
|
|
2882
2593
|
})].every((flag) => flag);
|
|
2883
|
-
const $
|
|
2884
|
-
path: _path2 + ".opts",
|
|
2885
|
-
expected: "__type.o7",
|
|
2886
|
-
value: input3.opts
|
|
2887
|
-
})) && $vo19(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
2888
|
-
path: _path2 + ".opts",
|
|
2889
|
-
expected: "__type.o7",
|
|
2890
|
-
value: input3.opts
|
|
2891
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
2892
|
-
path: _path2 + ".terms",
|
|
2893
|
-
expected: "Array<DtTerm>",
|
|
2894
|
-
value: input3.terms
|
|
2895
|
-
})) && input3.terms.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2896
|
-
path: _path2 + ".terms[" + _index22 + "]",
|
|
2897
|
-
expected: "DtTerm",
|
|
2898
|
-
value: elem
|
|
2899
|
-
})) && $vo20(elem, _path2 + ".terms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2900
|
-
path: _path2 + ".terms[" + _index22 + "]",
|
|
2901
|
-
expected: "DtTerm",
|
|
2902
|
-
value: elem
|
|
2903
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2904
|
-
path: _path2 + ".terms",
|
|
2905
|
-
expected: "Array<DtTerm>",
|
|
2906
|
-
value: input3.terms
|
|
2907
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
2908
|
-
path: _path2 + ".active",
|
|
2909
|
-
expected: "Filter",
|
|
2910
|
-
value: input3.active
|
|
2911
|
-
})) && $vo14(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
2912
|
-
path: _path2 + ".active",
|
|
2913
|
-
expected: "Filter",
|
|
2914
|
-
value: input3.active
|
|
2915
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
2916
|
-
path: _path2 + ".group",
|
|
2917
|
-
expected: "number",
|
|
2918
|
-
value: input3.group
|
|
2919
|
-
})].every((flag) => flag);
|
|
2920
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2594
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2921
2595
|
path: _path2 + ".disabled",
|
|
2922
2596
|
expected: "boolean",
|
|
2923
2597
|
value: input3.disabled
|
|
@@ -2934,7 +2608,56 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2934
2608
|
expected: "([] | undefined)",
|
|
2935
2609
|
value: input3.lst
|
|
2936
2610
|
})].every((flag) => flag);
|
|
2937
|
-
const $
|
|
2611
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2612
|
+
path: _path2 + ".join",
|
|
2613
|
+
expected: "(string | undefined)",
|
|
2614
|
+
value: input3.join
|
|
2615
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2616
|
+
path: _path2 + ".isnot",
|
|
2617
|
+
expected: "(boolean | undefined)",
|
|
2618
|
+
value: input3.isnot
|
|
2619
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2620
|
+
path: _path2 + ".term",
|
|
2621
|
+
expected: "NumericTerm",
|
|
2622
|
+
value: input3.term
|
|
2623
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2624
|
+
path: _path2 + ".term",
|
|
2625
|
+
expected: "NumericTerm",
|
|
2626
|
+
value: input3.term
|
|
2627
|
+
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
2628
|
+
path: _path2 + ".ranges",
|
|
2629
|
+
expected: "Array<NumericBin>",
|
|
2630
|
+
value: input3.ranges
|
|
2631
|
+
})) && input3.ranges.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2632
|
+
path: _path2 + ".ranges[" + _index19 + "]",
|
|
2633
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2634
|
+
value: elem
|
|
2635
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2636
|
+
path: _path2 + ".ranges[" + _index19 + "]",
|
|
2637
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2638
|
+
value: elem
|
|
2639
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2640
|
+
path: _path2 + ".ranges",
|
|
2641
|
+
expected: "Array<NumericBin>",
|
|
2642
|
+
value: input3.ranges
|
|
2643
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2644
|
+
path: _path2 + ".values",
|
|
2645
|
+
expected: "Array<__type>.o5",
|
|
2646
|
+
value: input3.values
|
|
2647
|
+
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2648
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
2649
|
+
expected: "__type.o10",
|
|
2650
|
+
value: elem
|
|
2651
|
+
})) && $vo34(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2652
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
2653
|
+
expected: "__type.o10",
|
|
2654
|
+
value: elem
|
|
2655
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2656
|
+
path: _path2 + ".values",
|
|
2657
|
+
expected: "Array<__type>.o5",
|
|
2658
|
+
value: input3.values
|
|
2659
|
+
})].every((flag) => flag);
|
|
2660
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2938
2661
|
path: _path2 + ".id",
|
|
2939
2662
|
expected: "string",
|
|
2940
2663
|
value: input3.id
|
|
@@ -2942,16 +2665,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2942
2665
|
path: _path2 + ".name",
|
|
2943
2666
|
expected: "string",
|
|
2944
2667
|
value: input3.name
|
|
2945
|
-
}), "
|
|
2668
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
2946
2669
|
path: _path2 + ".type",
|
|
2947
|
-
expected: '"
|
|
2670
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
2948
2671
|
value: input3.type
|
|
2949
2672
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2950
2673
|
path: _path2 + ".child_types",
|
|
2951
2674
|
expected: "(Array<string> | undefined)",
|
|
2952
2675
|
value: input3.child_types
|
|
2953
|
-
})) && input3.child_types.map((elem,
|
|
2954
|
-
path: _path2 + ".child_types[" +
|
|
2676
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2677
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
2955
2678
|
expected: "string",
|
|
2956
2679
|
value: elem
|
|
2957
2680
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2966,8 +2689,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2966
2689
|
path: _path2 + ".included_types",
|
|
2967
2690
|
expected: "(Array<string> | undefined)",
|
|
2968
2691
|
value: input3.included_types
|
|
2969
|
-
})) && input3.included_types.map((elem,
|
|
2970
|
-
path: _path2 + ".included_types[" +
|
|
2692
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2693
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
2971
2694
|
expected: "string",
|
|
2972
2695
|
value: elem
|
|
2973
2696
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2986,153 +2709,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2986
2709
|
path: _path2 + ".values",
|
|
2987
2710
|
expected: "(TermValues | undefined)",
|
|
2988
2711
|
value: input3.values
|
|
2989
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2990
|
-
path: _path2 + ".filter",
|
|
2991
|
-
expected: "(TermFilter | undefined)",
|
|
2992
|
-
value: input3.filter
|
|
2993
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2994
|
-
path: _path2 + ".filter",
|
|
2995
|
-
expected: "(TermFilter | undefined)",
|
|
2996
|
-
value: input3.filter
|
|
2997
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2998
|
-
path: _path2 + ".kind",
|
|
2999
|
-
expected: '"coord"',
|
|
3000
|
-
value: input3.kind
|
|
3001
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3002
|
-
path: _path2 + ".chr",
|
|
3003
|
-
expected: "string",
|
|
3004
|
-
value: input3.chr
|
|
3005
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3006
|
-
path: _path2 + ".start",
|
|
3007
|
-
expected: "number",
|
|
3008
|
-
value: input3.start
|
|
3009
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3010
|
-
path: _path2 + ".stop",
|
|
3011
|
-
expected: "number",
|
|
3012
|
-
value: input3.stop
|
|
3013
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3014
|
-
path: _path2 + ".groupsetting",
|
|
3015
|
-
expected: "(EnabledTermGroupSetting | __type.o9 | undefined)",
|
|
3016
|
-
value: input3.groupsetting
|
|
3017
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3018
|
-
path: _path2 + ".groupsetting",
|
|
3019
|
-
expected: "(EnabledTermGroupSetting | __type.o9 | undefined)",
|
|
3020
|
-
value: input3.groupsetting
|
|
3021
|
-
})].every((flag) => flag);
|
|
3022
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3023
|
-
path: _path2 + ".join",
|
|
3024
|
-
expected: "(string | undefined)",
|
|
3025
|
-
value: input3.join
|
|
3026
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3027
|
-
path: _path2 + ".isnot",
|
|
3028
|
-
expected: "(boolean | undefined)",
|
|
3029
|
-
value: input3.isnot
|
|
3030
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3031
|
-
path: _path2 + ".term",
|
|
3032
|
-
expected: "NumericTerm",
|
|
3033
|
-
value: input3.term
|
|
3034
|
-
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3035
|
-
path: _path2 + ".term",
|
|
3036
|
-
expected: "NumericTerm",
|
|
3037
|
-
value: input3.term
|
|
3038
|
-
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
3039
|
-
path: _path2 + ".ranges",
|
|
3040
|
-
expected: "Array<NumericBin>",
|
|
3041
|
-
value: input3.ranges
|
|
3042
|
-
})) && input3.ranges.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3043
|
-
path: _path2 + ".ranges[" + _index25 + "]",
|
|
3044
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3045
|
-
value: elem
|
|
3046
|
-
})) && $vu2(elem, _path2 + ".ranges[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3047
|
-
path: _path2 + ".ranges[" + _index25 + "]",
|
|
3048
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3049
|
-
value: elem
|
|
3050
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3051
|
-
path: _path2 + ".ranges",
|
|
3052
|
-
expected: "Array<NumericBin>",
|
|
3053
|
-
value: input3.ranges
|
|
3054
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3055
|
-
path: _path2 + ".values",
|
|
3056
|
-
expected: "Array<__type>.o5",
|
|
3057
|
-
value: input3.values
|
|
3058
|
-
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3059
|
-
path: _path2 + ".values[" + _index26 + "]",
|
|
3060
|
-
expected: "__type.o11",
|
|
3061
|
-
value: elem
|
|
3062
|
-
})) && $vo40(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3063
|
-
path: _path2 + ".values[" + _index26 + "]",
|
|
3064
|
-
expected: "__type.o11",
|
|
3065
|
-
value: elem
|
|
3066
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3067
|
-
path: _path2 + ".values",
|
|
3068
|
-
expected: "Array<__type>.o5",
|
|
3069
|
-
value: input3.values
|
|
3070
|
-
})].every((flag) => flag);
|
|
3071
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3072
|
-
path: _path2 + ".id",
|
|
3073
|
-
expected: "string",
|
|
3074
|
-
value: input3.id
|
|
3075
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3076
|
-
path: _path2 + ".name",
|
|
3077
|
-
expected: "string",
|
|
3078
|
-
value: input3.name
|
|
3079
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
3080
|
-
path: _path2 + ".type",
|
|
3081
|
-
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
3082
|
-
value: input3.type
|
|
3083
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3084
|
-
path: _path2 + ".child_types",
|
|
3085
|
-
expected: "(Array<string> | undefined)",
|
|
3086
|
-
value: input3.child_types
|
|
3087
|
-
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3088
|
-
path: _path2 + ".child_types[" + _index27 + "]",
|
|
3089
|
-
expected: "string",
|
|
3090
|
-
value: elem
|
|
3091
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3092
|
-
path: _path2 + ".child_types",
|
|
3093
|
-
expected: "(Array<string> | undefined)",
|
|
3094
|
-
value: input3.child_types
|
|
3095
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3096
|
-
path: _path2 + ".hashtmldetail",
|
|
3097
|
-
expected: "(boolean | undefined)",
|
|
3098
|
-
value: input3.hashtmldetail
|
|
3099
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3100
|
-
path: _path2 + ".included_types",
|
|
3101
|
-
expected: "(Array<string> | undefined)",
|
|
3102
|
-
value: input3.included_types
|
|
3103
|
-
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3104
|
-
path: _path2 + ".included_types[" + _index28 + "]",
|
|
3105
|
-
expected: "string",
|
|
3106
|
-
value: elem
|
|
3107
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3108
|
-
path: _path2 + ".included_types",
|
|
3109
|
-
expected: "(Array<string> | undefined)",
|
|
3110
|
-
value: input3.included_types
|
|
3111
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3112
|
-
path: _path2 + ".isleaf",
|
|
3113
|
-
expected: "(boolean | undefined)",
|
|
3114
|
-
value: input3.isleaf
|
|
3115
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3116
|
-
path: _path2 + ".values",
|
|
3117
|
-
expected: "(TermValues | undefined)",
|
|
3118
|
-
value: input3.values
|
|
3119
|
-
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3120
|
-
path: _path2 + ".values",
|
|
3121
|
-
expected: "(TermValues | undefined)",
|
|
3122
|
-
value: input3.values
|
|
3123
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3124
|
-
path: _path2 + ".filter",
|
|
3125
|
-
expected: "(TermFilter | undefined)",
|
|
3126
|
-
value: input3.filter
|
|
3127
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3128
|
-
path: _path2 + ".filter",
|
|
3129
|
-
expected: "(TermFilter | undefined)",
|
|
3130
|
-
value: input3.filter
|
|
3131
2712
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3132
2713
|
path: _path2 + ".bins",
|
|
3133
2714
|
expected: "PresetNumericBins",
|
|
3134
2715
|
value: input3.bins
|
|
3135
|
-
})) && $
|
|
2716
|
+
})) && $vo26(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3136
2717
|
path: _path2 + ".bins",
|
|
3137
2718
|
expected: "PresetNumericBins",
|
|
3138
2719
|
value: input3.bins
|
|
@@ -3142,18 +2723,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3142
2723
|
value: input3.unit
|
|
3143
2724
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3144
2725
|
path: _path2 + ".continuousColorScale",
|
|
3145
|
-
expected: "(__type.
|
|
2726
|
+
expected: "(__type.o9 | undefined)",
|
|
3146
2727
|
value: input3.continuousColorScale
|
|
3147
|
-
})) && $
|
|
2728
|
+
})) && $vo33(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3148
2729
|
path: _path2 + ".continuousColorScale",
|
|
3149
|
-
expected: "(__type.
|
|
2730
|
+
expected: "(__type.o9 | undefined)",
|
|
3150
2731
|
value: input3.continuousColorScale
|
|
3151
2732
|
})].every((flag) => flag);
|
|
3152
|
-
const $
|
|
2733
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
3153
2734
|
path: _path2 + '["default"]',
|
|
3154
2735
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3155
2736
|
value: input3["default"]
|
|
3156
|
-
})) && $
|
|
2737
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
3157
2738
|
path: _path2 + '["default"]',
|
|
3158
2739
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3159
2740
|
value: input3["default"]
|
|
@@ -3161,7 +2742,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3161
2742
|
path: _path2 + ".less",
|
|
3162
2743
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3163
2744
|
value: input3.less
|
|
3164
|
-
})) && $
|
|
2745
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
3165
2746
|
path: _path2 + ".less",
|
|
3166
2747
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3167
2748
|
value: input3.less
|
|
@@ -3186,11 +2767,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3186
2767
|
expected: "(number | undefined)",
|
|
3187
2768
|
value: input3.max
|
|
3188
2769
|
})].every((flag) => flag);
|
|
3189
|
-
const $
|
|
2770
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3190
2771
|
path: _path2 + ".hiddenValues",
|
|
3191
2772
|
expected: "(HiddenValues | undefined)",
|
|
3192
2773
|
value: input3.hiddenValues
|
|
3193
|
-
})) && $
|
|
2774
|
+
})) && $vo28(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3194
2775
|
path: _path2 + ".hiddenValues",
|
|
3195
2776
|
expected: "(HiddenValues | undefined)",
|
|
3196
2777
|
value: input3.hiddenValues
|
|
@@ -3222,7 +2803,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3222
2803
|
path: _path2 + ".first_bin",
|
|
3223
2804
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
3224
2805
|
value: input3.first_bin
|
|
3225
|
-
})) && $
|
|
2806
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
3226
2807
|
path: _path2 + ".first_bin",
|
|
3227
2808
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
3228
2809
|
value: input3.first_bin
|
|
@@ -3230,7 +2811,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3230
2811
|
path: _path2 + ".last_bin",
|
|
3231
2812
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
3232
2813
|
value: input3.last_bin
|
|
3233
|
-
})) && $
|
|
2814
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
3234
2815
|
path: _path2 + ".last_bin",
|
|
3235
2816
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
3236
2817
|
value: input3.last_bin
|
|
@@ -3239,7 +2820,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3239
2820
|
expected: "(number | undefined)",
|
|
3240
2821
|
value: input3.label_offset
|
|
3241
2822
|
})].every((flag) => flag);
|
|
3242
|
-
const $
|
|
2823
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3243
2824
|
const value = input3[key];
|
|
3244
2825
|
if (void 0 === value)
|
|
3245
2826
|
return true;
|
|
@@ -3251,7 +2832,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3251
2832
|
});
|
|
3252
2833
|
return true;
|
|
3253
2834
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3254
|
-
const $
|
|
2835
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
3255
2836
|
path: _path2 + ".startunbounded",
|
|
3256
2837
|
expected: "true",
|
|
3257
2838
|
value: input3.startunbounded
|
|
@@ -3276,7 +2857,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3276
2857
|
expected: "(string | undefined)",
|
|
3277
2858
|
value: input3.label
|
|
3278
2859
|
})].every((flag) => flag);
|
|
3279
|
-
const $
|
|
2860
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
3280
2861
|
path: _path2 + ".startunbounded",
|
|
3281
2862
|
expected: "(false | undefined)",
|
|
3282
2863
|
value: input3.startunbounded
|
|
@@ -3305,7 +2886,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3305
2886
|
expected: "(string | undefined)",
|
|
3306
2887
|
value: input3.label
|
|
3307
2888
|
})].every((flag) => flag);
|
|
3308
|
-
const $
|
|
2889
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
3309
2890
|
path: _path2 + ".start",
|
|
3310
2891
|
expected: "number",
|
|
3311
2892
|
value: input3.start
|
|
@@ -3330,11 +2911,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3330
2911
|
expected: "(string | undefined)",
|
|
3331
2912
|
value: input3.label
|
|
3332
2913
|
})].every((flag) => flag);
|
|
3333
|
-
const $
|
|
2914
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3334
2915
|
path: _path2 + ".hiddenValues",
|
|
3335
2916
|
expected: "(HiddenValues | undefined)",
|
|
3336
2917
|
value: input3.hiddenValues
|
|
3337
|
-
})) && $
|
|
2918
|
+
})) && $vo28(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3338
2919
|
path: _path2 + ".hiddenValues",
|
|
3339
2920
|
expected: "(HiddenValues | undefined)",
|
|
3340
2921
|
value: input3.hiddenValues
|
|
@@ -3376,99 +2957,348 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3376
2957
|
path: _path2 + ".lst",
|
|
3377
2958
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3378
2959
|
value: input3.lst.slice(1)
|
|
3379
|
-
})) && input3.lst.slice(1).map((elem,
|
|
3380
|
-
path: _path2 + ".lst[" + (1 +
|
|
2960
|
+
})) && input3.lst.slice(1).map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2961
|
+
path: _path2 + ".lst[" + (1 + _index23) + "]",
|
|
3381
2962
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3382
2963
|
value: elem
|
|
3383
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
3384
|
-
path: _path2 + ".lst[" + (1 +
|
|
2964
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index23) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2965
|
+
path: _path2 + ".lst[" + (1 + _index23) + "]",
|
|
3385
2966
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3386
2967
|
value: elem
|
|
3387
2968
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3388
|
-
path: _path2 + ".lst",
|
|
3389
|
-
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3390
|
-
value: input3.lst.slice(1)
|
|
3391
|
-
}))) || $report(_exceptionable2, {
|
|
3392
|
-
path: _path2 + ".lst",
|
|
3393
|
-
expected: "[NumericBin, ...NumericBin[]]",
|
|
3394
|
-
value: input3.lst
|
|
3395
|
-
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
3396
|
-
path: _path2 + ".preferredBins",
|
|
3397
|
-
expected: '("median" | undefined)',
|
|
3398
|
-
value: input3.preferredBins
|
|
3399
|
-
})].every((flag) => flag);
|
|
3400
|
-
const $
|
|
3401
|
-
path: _path2 + ".minColor",
|
|
3402
|
-
expected: "string",
|
|
3403
|
-
value: input3.minColor
|
|
3404
|
-
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
3405
|
-
path: _path2 + ".maxColor",
|
|
3406
|
-
expected: "string",
|
|
3407
|
-
value: input3.maxColor
|
|
3408
|
-
})].every((flag) => flag);
|
|
3409
|
-
const $
|
|
3410
|
-
path: _path2 + ".key",
|
|
2969
|
+
path: _path2 + ".lst",
|
|
2970
|
+
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2971
|
+
value: input3.lst.slice(1)
|
|
2972
|
+
}))) || $report(_exceptionable2, {
|
|
2973
|
+
path: _path2 + ".lst",
|
|
2974
|
+
expected: "[NumericBin, ...NumericBin[]]",
|
|
2975
|
+
value: input3.lst
|
|
2976
|
+
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
2977
|
+
path: _path2 + ".preferredBins",
|
|
2978
|
+
expected: '("median" | undefined)',
|
|
2979
|
+
value: input3.preferredBins
|
|
2980
|
+
})].every((flag) => flag);
|
|
2981
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2982
|
+
path: _path2 + ".minColor",
|
|
2983
|
+
expected: "string",
|
|
2984
|
+
value: input3.minColor
|
|
2985
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2986
|
+
path: _path2 + ".maxColor",
|
|
2987
|
+
expected: "string",
|
|
2988
|
+
value: input3.maxColor
|
|
2989
|
+
})].every((flag) => flag);
|
|
2990
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2991
|
+
path: _path2 + ".key",
|
|
2992
|
+
expected: "string",
|
|
2993
|
+
value: input3.key
|
|
2994
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
2995
|
+
path: _path2 + ".value",
|
|
2996
|
+
expected: "number",
|
|
2997
|
+
value: input3.value
|
|
2998
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
2999
|
+
path: _path2 + ".uncomputable",
|
|
3000
|
+
expected: "true",
|
|
3001
|
+
value: input3.uncomputable
|
|
3002
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3003
|
+
path: _path2 + ".label",
|
|
3004
|
+
expected: "(string | undefined)",
|
|
3005
|
+
value: input3.label
|
|
3006
|
+
})].every((flag) => flag);
|
|
3007
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3008
|
+
path: _path2 + ".join",
|
|
3009
|
+
expected: "(string | undefined)",
|
|
3010
|
+
value: input3.join
|
|
3011
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3012
|
+
path: _path2 + ".isnot",
|
|
3013
|
+
expected: "(boolean | undefined)",
|
|
3014
|
+
value: input3.isnot
|
|
3015
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3016
|
+
path: _path2 + ".term",
|
|
3017
|
+
expected: "ConditionTerm",
|
|
3018
|
+
value: input3.term
|
|
3019
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3020
|
+
path: _path2 + ".term",
|
|
3021
|
+
expected: "ConditionTerm",
|
|
3022
|
+
value: input3.term
|
|
3023
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3024
|
+
path: _path2 + ".value_by_max_grade",
|
|
3025
|
+
expected: "(boolean | undefined)",
|
|
3026
|
+
value: input3.value_by_max_grade
|
|
3027
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
3028
|
+
path: _path2 + ".value_by_most_recent",
|
|
3029
|
+
expected: "(boolean | undefined)",
|
|
3030
|
+
value: input3.value_by_most_recent
|
|
3031
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
3032
|
+
path: _path2 + ".value_by_computable_grade",
|
|
3033
|
+
expected: "(boolean | undefined)",
|
|
3034
|
+
value: input3.value_by_computable_grade
|
|
3035
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
3036
|
+
path: _path2 + ".grade_and_child",
|
|
3037
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3038
|
+
value: input3.grade_and_child
|
|
3039
|
+
})) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3040
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
3041
|
+
expected: "GradeAndChildEntry",
|
|
3042
|
+
value: elem
|
|
3043
|
+
})) && $vo37(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3044
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
3045
|
+
expected: "GradeAndChildEntry",
|
|
3046
|
+
value: elem
|
|
3047
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3048
|
+
path: _path2 + ".grade_and_child",
|
|
3049
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3050
|
+
value: input3.grade_and_child
|
|
3051
|
+
})].every((flag) => flag);
|
|
3052
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3053
|
+
path: _path2 + ".id",
|
|
3054
|
+
expected: "string",
|
|
3055
|
+
value: input3.id
|
|
3056
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3057
|
+
path: _path2 + ".name",
|
|
3058
|
+
expected: "string",
|
|
3059
|
+
value: input3.name
|
|
3060
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
3061
|
+
path: _path2 + ".type",
|
|
3062
|
+
expected: '"condition"',
|
|
3063
|
+
value: input3.type
|
|
3064
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3065
|
+
path: _path2 + ".child_types",
|
|
3066
|
+
expected: "(Array<string> | undefined)",
|
|
3067
|
+
value: input3.child_types
|
|
3068
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3069
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
3070
|
+
expected: "string",
|
|
3071
|
+
value: elem
|
|
3072
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3073
|
+
path: _path2 + ".child_types",
|
|
3074
|
+
expected: "(Array<string> | undefined)",
|
|
3075
|
+
value: input3.child_types
|
|
3076
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3077
|
+
path: _path2 + ".hashtmldetail",
|
|
3078
|
+
expected: "(boolean | undefined)",
|
|
3079
|
+
value: input3.hashtmldetail
|
|
3080
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3081
|
+
path: _path2 + ".included_types",
|
|
3082
|
+
expected: "(Array<string> | undefined)",
|
|
3083
|
+
value: input3.included_types
|
|
3084
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3085
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
3086
|
+
expected: "string",
|
|
3087
|
+
value: elem
|
|
3088
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3089
|
+
path: _path2 + ".included_types",
|
|
3090
|
+
expected: "(Array<string> | undefined)",
|
|
3091
|
+
value: input3.included_types
|
|
3092
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3093
|
+
path: _path2 + ".isleaf",
|
|
3094
|
+
expected: "(boolean | undefined)",
|
|
3095
|
+
value: input3.isleaf
|
|
3096
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3097
|
+
path: _path2 + ".values",
|
|
3098
|
+
expected: "(TermValues | undefined)",
|
|
3099
|
+
value: input3.values
|
|
3100
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3101
|
+
path: _path2 + ".values",
|
|
3102
|
+
expected: "(TermValues | undefined)",
|
|
3103
|
+
value: input3.values
|
|
3104
|
+
})].every((flag) => flag);
|
|
3105
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3106
|
+
path: _path2 + ".grade",
|
|
3107
|
+
expected: "number",
|
|
3108
|
+
value: input3.grade
|
|
3109
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
3110
|
+
path: _path2 + ".grade_label",
|
|
3111
|
+
expected: "string",
|
|
3112
|
+
value: input3.grade_label
|
|
3113
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
3114
|
+
path: _path2 + ".child_id",
|
|
3115
|
+
expected: "(string | undefined)",
|
|
3116
|
+
value: input3.child_id
|
|
3117
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
3118
|
+
path: _path2 + ".child_label",
|
|
3119
|
+
expected: "string",
|
|
3120
|
+
value: input3.child_label
|
|
3121
|
+
})].every((flag) => flag);
|
|
3122
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3123
|
+
path: _path2 + ".join",
|
|
3124
|
+
expected: "(string | undefined)",
|
|
3125
|
+
value: input3.join
|
|
3126
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3127
|
+
path: _path2 + ".isnot",
|
|
3128
|
+
expected: "(boolean | undefined)",
|
|
3129
|
+
value: input3.isnot
|
|
3130
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3131
|
+
path: _path2 + ".term",
|
|
3132
|
+
expected: "DtTerm",
|
|
3133
|
+
value: input3.term
|
|
3134
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3135
|
+
path: _path2 + ".term",
|
|
3136
|
+
expected: "DtTerm",
|
|
3137
|
+
value: input3.term
|
|
3138
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3139
|
+
path: _path2 + ".values",
|
|
3140
|
+
expected: "Array<__type>.o6",
|
|
3141
|
+
value: input3.values
|
|
3142
|
+
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3143
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
3144
|
+
expected: "__type.o11",
|
|
3145
|
+
value: elem
|
|
3146
|
+
})) && $vo42(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3147
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
3148
|
+
expected: "__type.o11",
|
|
3149
|
+
value: elem
|
|
3150
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3151
|
+
path: _path2 + ".values",
|
|
3152
|
+
expected: "Array<__type>.o6",
|
|
3153
|
+
value: input3.values
|
|
3154
|
+
})].every((flag) => flag);
|
|
3155
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3156
|
+
path: _path2 + ".id",
|
|
3157
|
+
expected: "string",
|
|
3158
|
+
value: input3.id
|
|
3159
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
3160
|
+
path: _path2 + ".query",
|
|
3161
|
+
expected: "string",
|
|
3162
|
+
value: input3.query
|
|
3163
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3164
|
+
path: _path2 + ".name",
|
|
3165
|
+
expected: "string",
|
|
3166
|
+
value: input3.name
|
|
3167
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
3168
|
+
path: _path2 + ".name_noOrigin",
|
|
3169
|
+
expected: "string",
|
|
3170
|
+
value: input3.name_noOrigin
|
|
3171
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
3172
|
+
path: _path2 + ".parentTerm",
|
|
3173
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
3174
|
+
value: input3.parentTerm
|
|
3175
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
3176
|
+
path: _path2 + ".parentTerm",
|
|
3177
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
3178
|
+
value: input3.parentTerm
|
|
3179
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3180
|
+
path: _path2 + ".isleaf",
|
|
3181
|
+
expected: "boolean",
|
|
3182
|
+
value: input3.isleaf
|
|
3183
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3184
|
+
path: _path2 + ".type",
|
|
3185
|
+
expected: "string",
|
|
3186
|
+
value: input3.type
|
|
3187
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3188
|
+
path: _path2 + ".dt",
|
|
3189
|
+
expected: "number",
|
|
3190
|
+
value: input3.dt
|
|
3191
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3192
|
+
path: _path2 + ".origin",
|
|
3193
|
+
expected: "(string | undefined)",
|
|
3194
|
+
value: input3.origin
|
|
3195
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3196
|
+
path: _path2 + ".values",
|
|
3197
|
+
expected: "TermValues",
|
|
3198
|
+
value: input3.values
|
|
3199
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3200
|
+
path: _path2 + ".values",
|
|
3201
|
+
expected: "TermValues",
|
|
3202
|
+
value: input3.values
|
|
3203
|
+
})].every((flag) => flag);
|
|
3204
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3205
|
+
path: _path2 + ".id",
|
|
3206
|
+
expected: "string",
|
|
3207
|
+
value: input3.id
|
|
3208
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3209
|
+
path: _path2 + ".name",
|
|
3210
|
+
expected: "string",
|
|
3211
|
+
value: input3.name
|
|
3212
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3213
|
+
path: _path2 + ".type",
|
|
3214
|
+
expected: '"geneVariant"',
|
|
3215
|
+
value: input3.type
|
|
3216
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3217
|
+
path: _path2 + ".child_types",
|
|
3218
|
+
expected: "(Array<string> | undefined)",
|
|
3219
|
+
value: input3.child_types
|
|
3220
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3221
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
3222
|
+
expected: "string",
|
|
3223
|
+
value: elem
|
|
3224
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3225
|
+
path: _path2 + ".child_types",
|
|
3226
|
+
expected: "(Array<string> | undefined)",
|
|
3227
|
+
value: input3.child_types
|
|
3228
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3229
|
+
path: _path2 + ".hashtmldetail",
|
|
3230
|
+
expected: "(boolean | undefined)",
|
|
3231
|
+
value: input3.hashtmldetail
|
|
3232
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3233
|
+
path: _path2 + ".included_types",
|
|
3234
|
+
expected: "(Array<string> | undefined)",
|
|
3235
|
+
value: input3.included_types
|
|
3236
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3237
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
3238
|
+
expected: "string",
|
|
3239
|
+
value: elem
|
|
3240
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3241
|
+
path: _path2 + ".included_types",
|
|
3242
|
+
expected: "(Array<string> | undefined)",
|
|
3243
|
+
value: input3.included_types
|
|
3244
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3245
|
+
path: _path2 + ".isleaf",
|
|
3246
|
+
expected: "(boolean | undefined)",
|
|
3247
|
+
value: input3.isleaf
|
|
3248
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3249
|
+
path: _path2 + ".values",
|
|
3250
|
+
expected: "(TermValues | undefined)",
|
|
3251
|
+
value: input3.values
|
|
3252
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3253
|
+
path: _path2 + ".values",
|
|
3254
|
+
expected: "(TermValues | undefined)",
|
|
3255
|
+
value: input3.values
|
|
3256
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3257
|
+
path: _path2 + ".kind",
|
|
3258
|
+
expected: '"gene"',
|
|
3259
|
+
value: input3.kind
|
|
3260
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3261
|
+
path: _path2 + ".gene",
|
|
3411
3262
|
expected: "string",
|
|
3412
|
-
value: input3.
|
|
3413
|
-
}), "
|
|
3414
|
-
path: _path2 + ".
|
|
3415
|
-
expected: "number",
|
|
3416
|
-
value: input3.value
|
|
3417
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
3418
|
-
path: _path2 + ".uncomputable",
|
|
3419
|
-
expected: "true",
|
|
3420
|
-
value: input3.uncomputable
|
|
3421
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3422
|
-
path: _path2 + ".label",
|
|
3423
|
-
expected: "(string | undefined)",
|
|
3424
|
-
value: input3.label
|
|
3425
|
-
})].every((flag) => flag);
|
|
3426
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3427
|
-
path: _path2 + ".join",
|
|
3263
|
+
value: input3.gene
|
|
3264
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3265
|
+
path: _path2 + ".chr",
|
|
3428
3266
|
expected: "(string | undefined)",
|
|
3429
|
-
value: input3.
|
|
3430
|
-
}), void 0 === input3.
|
|
3431
|
-
path: _path2 + ".
|
|
3432
|
-
expected: "(
|
|
3433
|
-
value: input3.
|
|
3434
|
-
}),
|
|
3435
|
-
path: _path2 + ".
|
|
3436
|
-
expected: "
|
|
3437
|
-
value: input3.
|
|
3438
|
-
})
|
|
3439
|
-
path: _path2 + ".
|
|
3440
|
-
expected: "
|
|
3441
|
-
value: input3.
|
|
3442
|
-
})
|
|
3443
|
-
path: _path2 + ".
|
|
3444
|
-
expected: "(
|
|
3445
|
-
value: input3.
|
|
3446
|
-
}), void 0 === input3.
|
|
3447
|
-
path: _path2 + ".
|
|
3448
|
-
expected: "(
|
|
3449
|
-
value: input3.
|
|
3450
|
-
})
|
|
3451
|
-
path: _path2 + ".
|
|
3452
|
-
expected: "
|
|
3453
|
-
value: input3.value_by_computable_grade
|
|
3454
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
3455
|
-
path: _path2 + ".grade_and_child",
|
|
3456
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3457
|
-
value: input3.grade_and_child
|
|
3458
|
-
})) && input3.grade_and_child.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3459
|
-
path: _path2 + ".grade_and_child[" + _index30 + "]",
|
|
3460
|
-
expected: "GradeAndChildEntry",
|
|
3267
|
+
value: input3.chr
|
|
3268
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3269
|
+
path: _path2 + ".start",
|
|
3270
|
+
expected: "(number | undefined)",
|
|
3271
|
+
value: input3.start
|
|
3272
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3273
|
+
path: _path2 + ".stop",
|
|
3274
|
+
expected: "(number | undefined)",
|
|
3275
|
+
value: input3.stop
|
|
3276
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3277
|
+
path: _path2 + ".groupsetting",
|
|
3278
|
+
expected: "(EnabledTermGroupSetting | __type.o8 | undefined)",
|
|
3279
|
+
value: input3.groupsetting
|
|
3280
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3281
|
+
path: _path2 + ".groupsetting",
|
|
3282
|
+
expected: "(EnabledTermGroupSetting | __type.o8 | undefined)",
|
|
3283
|
+
value: input3.groupsetting
|
|
3284
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3285
|
+
path: _path2 + ".childTerms",
|
|
3286
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3287
|
+
value: input3.childTerms
|
|
3288
|
+
})) && input3.childTerms.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3289
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
3290
|
+
expected: "DtTerm",
|
|
3461
3291
|
value: elem
|
|
3462
|
-
})) && $
|
|
3463
|
-
path: _path2 + ".
|
|
3464
|
-
expected: "
|
|
3292
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3293
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
3294
|
+
expected: "DtTerm",
|
|
3465
3295
|
value: elem
|
|
3466
3296
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3467
|
-
path: _path2 + ".
|
|
3468
|
-
expected: "(Array<
|
|
3469
|
-
value: input3.
|
|
3297
|
+
path: _path2 + ".childTerms",
|
|
3298
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3299
|
+
value: input3.childTerms
|
|
3470
3300
|
})].every((flag) => flag);
|
|
3471
|
-
const $
|
|
3301
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3472
3302
|
path: _path2 + ".id",
|
|
3473
3303
|
expected: "string",
|
|
3474
3304
|
value: input3.id
|
|
@@ -3476,9 +3306,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3476
3306
|
path: _path2 + ".name",
|
|
3477
3307
|
expected: "string",
|
|
3478
3308
|
value: input3.name
|
|
3479
|
-
}), "
|
|
3309
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3480
3310
|
path: _path2 + ".type",
|
|
3481
|
-
expected: '"
|
|
3311
|
+
expected: '"geneVariant"',
|
|
3482
3312
|
value: input3.type
|
|
3483
3313
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3484
3314
|
path: _path2 + ".child_types",
|
|
@@ -3520,66 +3350,48 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3520
3350
|
path: _path2 + ".values",
|
|
3521
3351
|
expected: "(TermValues | undefined)",
|
|
3522
3352
|
value: input3.values
|
|
3523
|
-
}),
|
|
3524
|
-
path: _path2 + ".
|
|
3525
|
-
expected: "
|
|
3526
|
-
value: input3.
|
|
3527
|
-
})
|
|
3528
|
-
path: _path2 + ".
|
|
3529
|
-
expected: "(TermFilter | undefined)",
|
|
3530
|
-
value: input3.filter
|
|
3531
|
-
})].every((flag) => flag);
|
|
3532
|
-
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3533
|
-
path: _path2 + ".grade",
|
|
3534
|
-
expected: "number",
|
|
3535
|
-
value: input3.grade
|
|
3536
|
-
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
3537
|
-
path: _path2 + ".grade_label",
|
|
3538
|
-
expected: "string",
|
|
3539
|
-
value: input3.grade_label
|
|
3540
|
-
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
3541
|
-
path: _path2 + ".child_id",
|
|
3542
|
-
expected: "(string | undefined)",
|
|
3543
|
-
value: input3.child_id
|
|
3544
|
-
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
3545
|
-
path: _path2 + ".child_label",
|
|
3353
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3354
|
+
path: _path2 + ".kind",
|
|
3355
|
+
expected: '"coord"',
|
|
3356
|
+
value: input3.kind
|
|
3357
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3358
|
+
path: _path2 + ".chr",
|
|
3546
3359
|
expected: "string",
|
|
3547
|
-
value: input3.
|
|
3548
|
-
})
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3360
|
+
value: input3.chr
|
|
3361
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3362
|
+
path: _path2 + ".start",
|
|
3363
|
+
expected: "number",
|
|
3364
|
+
value: input3.start
|
|
3365
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3366
|
+
path: _path2 + ".stop",
|
|
3367
|
+
expected: "number",
|
|
3368
|
+
value: input3.stop
|
|
3369
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3370
|
+
path: _path2 + ".groupsetting",
|
|
3371
|
+
expected: "(EnabledTermGroupSetting | __type.o8 | undefined)",
|
|
3372
|
+
value: input3.groupsetting
|
|
3373
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3374
|
+
path: _path2 + ".groupsetting",
|
|
3375
|
+
expected: "(EnabledTermGroupSetting | __type.o8 | undefined)",
|
|
3376
|
+
value: input3.groupsetting
|
|
3377
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3378
|
+
path: _path2 + ".childTerms",
|
|
3379
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3380
|
+
value: input3.childTerms
|
|
3381
|
+
})) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3382
|
+
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
3563
3383
|
expected: "DtTerm",
|
|
3564
|
-
value: input3.term
|
|
3565
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3566
|
-
path: _path2 + ".values",
|
|
3567
|
-
expected: "Array<__type>.o6",
|
|
3568
|
-
value: input3.values
|
|
3569
|
-
})) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3570
|
-
path: _path2 + ".values[" + _index33 + "]",
|
|
3571
|
-
expected: "__type.o12",
|
|
3572
3384
|
value: elem
|
|
3573
|
-
})) && $
|
|
3574
|
-
path: _path2 + ".
|
|
3575
|
-
expected: "
|
|
3385
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3386
|
+
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
3387
|
+
expected: "DtTerm",
|
|
3576
3388
|
value: elem
|
|
3577
3389
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3578
|
-
path: _path2 + ".
|
|
3579
|
-
expected: "Array<
|
|
3580
|
-
value: input3.
|
|
3390
|
+
path: _path2 + ".childTerms",
|
|
3391
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3392
|
+
value: input3.childTerms
|
|
3581
3393
|
})].every((flag) => flag);
|
|
3582
|
-
const $
|
|
3394
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3583
3395
|
path: _path2 + ".key",
|
|
3584
3396
|
expected: "string",
|
|
3585
3397
|
value: input3.key
|
|
@@ -3592,7 +3404,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3592
3404
|
expected: "string",
|
|
3593
3405
|
value: input3.value
|
|
3594
3406
|
})].every((flag) => flag);
|
|
3595
|
-
const $
|
|
3407
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3596
3408
|
path: _path2 + ".id",
|
|
3597
3409
|
expected: "string",
|
|
3598
3410
|
value: input3.id
|
|
@@ -3644,14 +3456,6 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3644
3456
|
path: _path2 + ".values",
|
|
3645
3457
|
expected: "(TermValues | undefined)",
|
|
3646
3458
|
value: input3.values
|
|
3647
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3648
|
-
path: _path2 + ".filter",
|
|
3649
|
-
expected: "(TermFilter | undefined)",
|
|
3650
|
-
value: input3.filter
|
|
3651
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3652
|
-
path: _path2 + ".filter",
|
|
3653
|
-
expected: "(TermFilter | undefined)",
|
|
3654
|
-
value: input3.filter
|
|
3655
3459
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3656
3460
|
path: _path2 + ".kind",
|
|
3657
3461
|
expected: '"coord"',
|
|
@@ -3670,14 +3474,30 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3670
3474
|
value: input3.stop
|
|
3671
3475
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3672
3476
|
path: _path2 + ".groupsetting",
|
|
3673
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
3477
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
3674
3478
|
value: input3.groupsetting
|
|
3675
3479
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3676
3480
|
path: _path2 + ".groupsetting",
|
|
3677
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
3481
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
3678
3482
|
value: input3.groupsetting
|
|
3483
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3484
|
+
path: _path2 + ".childTerms",
|
|
3485
|
+
expected: "Array<DtTerm>",
|
|
3486
|
+
value: input3.childTerms
|
|
3487
|
+
})) && input3.childTerms.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3488
|
+
path: _path2 + ".childTerms[" + _index36 + "]",
|
|
3489
|
+
expected: "DtTerm",
|
|
3490
|
+
value: elem
|
|
3491
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3492
|
+
path: _path2 + ".childTerms[" + _index36 + "]",
|
|
3493
|
+
expected: "DtTerm",
|
|
3494
|
+
value: elem
|
|
3495
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3496
|
+
path: _path2 + ".childTerms",
|
|
3497
|
+
expected: "Array<DtTerm>",
|
|
3498
|
+
value: input3.childTerms
|
|
3679
3499
|
})].every((flag) => flag);
|
|
3680
|
-
const $
|
|
3500
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3681
3501
|
path: _path2 + ".id",
|
|
3682
3502
|
expected: "string",
|
|
3683
3503
|
value: input3.id
|
|
@@ -3693,8 +3513,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3693
3513
|
path: _path2 + ".child_types",
|
|
3694
3514
|
expected: "(Array<string> | undefined)",
|
|
3695
3515
|
value: input3.child_types
|
|
3696
|
-
})) && input3.child_types.map((elem,
|
|
3697
|
-
path: _path2 + ".child_types[" +
|
|
3516
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3517
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
3698
3518
|
expected: "string",
|
|
3699
3519
|
value: elem
|
|
3700
3520
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3709,8 +3529,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3709
3529
|
path: _path2 + ".included_types",
|
|
3710
3530
|
expected: "(Array<string> | undefined)",
|
|
3711
3531
|
value: input3.included_types
|
|
3712
|
-
})) && input3.included_types.map((elem,
|
|
3713
|
-
path: _path2 + ".included_types[" +
|
|
3532
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3533
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
3714
3534
|
expected: "string",
|
|
3715
3535
|
value: elem
|
|
3716
3536
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3729,24 +3549,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3729
3549
|
path: _path2 + ".values",
|
|
3730
3550
|
expected: "(TermValues | undefined)",
|
|
3731
3551
|
value: input3.values
|
|
3732
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3733
|
-
path: _path2 + ".filter",
|
|
3734
|
-
expected: "(TermFilter | undefined)",
|
|
3735
|
-
value: input3.filter
|
|
3736
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3737
|
-
path: _path2 + ".filter",
|
|
3738
|
-
expected: "(TermFilter | undefined)",
|
|
3739
|
-
value: input3.filter
|
|
3740
3552
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3741
3553
|
path: _path2 + ".groupsetting",
|
|
3742
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
3554
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
3743
3555
|
value: input3.groupsetting
|
|
3744
3556
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3745
3557
|
path: _path2 + ".groupsetting",
|
|
3746
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
3558
|
+
expected: "(EnabledTermGroupSetting | __type.o8)",
|
|
3747
3559
|
value: input3.groupsetting
|
|
3748
3560
|
})].every((flag) => flag);
|
|
3749
|
-
const $
|
|
3561
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3750
3562
|
path: _path2 + ".id",
|
|
3751
3563
|
expected: "string",
|
|
3752
3564
|
value: input3.id
|
|
@@ -3762,8 +3574,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3762
3574
|
path: _path2 + ".child_types",
|
|
3763
3575
|
expected: "(Array<string> | undefined)",
|
|
3764
3576
|
value: input3.child_types
|
|
3765
|
-
})) && input3.child_types.map((elem,
|
|
3766
|
-
path: _path2 + ".child_types[" +
|
|
3577
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3578
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
3767
3579
|
expected: "string",
|
|
3768
3580
|
value: elem
|
|
3769
3581
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3778,8 +3590,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3778
3590
|
path: _path2 + ".included_types",
|
|
3779
3591
|
expected: "(Array<string> | undefined)",
|
|
3780
3592
|
value: input3.included_types
|
|
3781
|
-
})) && input3.included_types.map((elem,
|
|
3782
|
-
path: _path2 + ".included_types[" +
|
|
3593
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3594
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
3783
3595
|
expected: "string",
|
|
3784
3596
|
value: elem
|
|
3785
3597
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3798,19 +3610,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3798
3610
|
path: _path2 + ".values",
|
|
3799
3611
|
expected: "(TermValues | undefined)",
|
|
3800
3612
|
value: input3.values
|
|
3801
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3802
|
-
path: _path2 + ".filter",
|
|
3803
|
-
expected: "(TermFilter | undefined)",
|
|
3804
|
-
value: input3.filter
|
|
3805
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3806
|
-
path: _path2 + ".filter",
|
|
3807
|
-
expected: "(TermFilter | undefined)",
|
|
3808
|
-
value: input3.filter
|
|
3809
3613
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3810
3614
|
path: _path2 + ".bins",
|
|
3811
3615
|
expected: "PresetNumericBins",
|
|
3812
3616
|
value: input3.bins
|
|
3813
|
-
})) && $
|
|
3617
|
+
})) && $vo26(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3814
3618
|
path: _path2 + ".bins",
|
|
3815
3619
|
expected: "PresetNumericBins",
|
|
3816
3620
|
value: input3.bins
|
|
@@ -3820,14 +3624,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3820
3624
|
value: input3.unit
|
|
3821
3625
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3822
3626
|
path: _path2 + ".continuousColorScale",
|
|
3823
|
-
expected: "(__type.
|
|
3627
|
+
expected: "(__type.o9 | undefined)",
|
|
3824
3628
|
value: input3.continuousColorScale
|
|
3825
|
-
})) && $
|
|
3629
|
+
})) && $vo33(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3826
3630
|
path: _path2 + ".continuousColorScale",
|
|
3827
|
-
expected: "(__type.
|
|
3631
|
+
expected: "(__type.o9 | undefined)",
|
|
3828
3632
|
value: input3.continuousColorScale
|
|
3829
3633
|
})].every((flag) => flag);
|
|
3830
|
-
const $
|
|
3634
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3831
3635
|
path: _path2 + ".id",
|
|
3832
3636
|
expected: "string",
|
|
3833
3637
|
value: input3.id
|
|
@@ -3843,8 +3647,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3843
3647
|
path: _path2 + ".child_types",
|
|
3844
3648
|
expected: "(Array<string> | undefined)",
|
|
3845
3649
|
value: input3.child_types
|
|
3846
|
-
})) && input3.child_types.map((elem,
|
|
3847
|
-
path: _path2 + ".child_types[" +
|
|
3650
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3651
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
3848
3652
|
expected: "string",
|
|
3849
3653
|
value: elem
|
|
3850
3654
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3859,8 +3663,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3859
3663
|
path: _path2 + ".included_types",
|
|
3860
3664
|
expected: "(Array<string> | undefined)",
|
|
3861
3665
|
value: input3.included_types
|
|
3862
|
-
})) && input3.included_types.map((elem,
|
|
3863
|
-
path: _path2 + ".included_types[" +
|
|
3666
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3667
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
3864
3668
|
expected: "string",
|
|
3865
3669
|
value: elem
|
|
3866
3670
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3879,16 +3683,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3879
3683
|
path: _path2 + ".values",
|
|
3880
3684
|
expected: "(TermValues | undefined)",
|
|
3881
3685
|
value: input3.values
|
|
3882
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3883
|
-
path: _path2 + ".filter",
|
|
3884
|
-
expected: "(TermFilter | undefined)",
|
|
3885
|
-
value: input3.filter
|
|
3886
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3887
|
-
path: _path2 + ".filter",
|
|
3888
|
-
expected: "(TermFilter | undefined)",
|
|
3889
|
-
value: input3.filter
|
|
3890
3686
|
})].every((flag) => flag);
|
|
3891
|
-
const $
|
|
3687
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3892
3688
|
path: _path2 + ".id",
|
|
3893
3689
|
expected: "string",
|
|
3894
3690
|
value: input3.id
|
|
@@ -3904,8 +3700,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3904
3700
|
path: _path2 + ".child_types",
|
|
3905
3701
|
expected: "(Array<string> | undefined)",
|
|
3906
3702
|
value: input3.child_types
|
|
3907
|
-
})) && input3.child_types.map((elem,
|
|
3908
|
-
path: _path2 + ".child_types[" +
|
|
3703
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3704
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
3909
3705
|
expected: "string",
|
|
3910
3706
|
value: elem
|
|
3911
3707
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3920,8 +3716,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3920
3716
|
path: _path2 + ".included_types",
|
|
3921
3717
|
expected: "(Array<string> | undefined)",
|
|
3922
3718
|
value: input3.included_types
|
|
3923
|
-
})) && input3.included_types.map((elem,
|
|
3924
|
-
path: _path2 + ".included_types[" +
|
|
3719
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3720
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
3925
3721
|
expected: "string",
|
|
3926
3722
|
value: elem
|
|
3927
3723
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3940,14 +3736,6 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3940
3736
|
path: _path2 + ".values",
|
|
3941
3737
|
expected: "(TermValues | undefined)",
|
|
3942
3738
|
value: input3.values
|
|
3943
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3944
|
-
path: _path2 + ".filter",
|
|
3945
|
-
expected: "(TermFilter | undefined)",
|
|
3946
|
-
value: input3.filter
|
|
3947
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3948
|
-
path: _path2 + ".filter",
|
|
3949
|
-
expected: "(TermFilter | undefined)",
|
|
3950
|
-
value: input3.filter
|
|
3951
3739
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
3952
3740
|
path: _path2 + ".reachedVariantLimit",
|
|
3953
3741
|
expected: "(boolean | undefined)",
|
|
@@ -3956,12 +3744,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3956
3744
|
path: _path2 + ".snps",
|
|
3957
3745
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3958
3746
|
value: input3.snps
|
|
3959
|
-
})) && input3.snps.map((elem,
|
|
3960
|
-
path: _path2 + ".snps[" +
|
|
3747
|
+
})) && input3.snps.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3748
|
+
path: _path2 + ".snps[" + _index45 + "]",
|
|
3961
3749
|
expected: "SnpsEntry",
|
|
3962
3750
|
value: elem
|
|
3963
|
-
})) && $
|
|
3964
|
-
path: _path2 + ".snps[" +
|
|
3751
|
+
})) && $vo48(elem, _path2 + ".snps[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3752
|
+
path: _path2 + ".snps[" + _index45 + "]",
|
|
3965
3753
|
expected: "SnpsEntry",
|
|
3966
3754
|
value: elem
|
|
3967
3755
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3969,12 +3757,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3969
3757
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3970
3758
|
value: input3.snps
|
|
3971
3759
|
})].every((flag) => flag);
|
|
3972
|
-
const $
|
|
3760
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3973
3761
|
path: _path2 + ".altAlleles",
|
|
3974
3762
|
expected: "(Array<string> | undefined)",
|
|
3975
3763
|
value: input3.altAlleles
|
|
3976
|
-
})) && input3.altAlleles.map((elem,
|
|
3977
|
-
path: _path2 + ".altAlleles[" +
|
|
3764
|
+
})) && input3.altAlleles.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3765
|
+
path: _path2 + ".altAlleles[" + _index46 + "]",
|
|
3978
3766
|
expected: "string",
|
|
3979
3767
|
value: elem
|
|
3980
3768
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3985,12 +3773,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3985
3773
|
path: _path2 + ".alleles",
|
|
3986
3774
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3987
3775
|
value: input3.alleles
|
|
3988
|
-
})) && input3.alleles.map((elem,
|
|
3989
|
-
path: _path2 + ".alleles[" +
|
|
3776
|
+
})) && input3.alleles.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3777
|
+
path: _path2 + ".alleles[" + _index47 + "]",
|
|
3990
3778
|
expected: "AllelesEntry",
|
|
3991
3779
|
value: elem
|
|
3992
|
-
})) && $
|
|
3993
|
-
path: _path2 + ".alleles[" +
|
|
3780
|
+
})) && $vo49(elem, _path2 + ".alleles[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3781
|
+
path: _path2 + ".alleles[" + _index47 + "]",
|
|
3994
3782
|
expected: "AllelesEntry",
|
|
3995
3783
|
value: elem
|
|
3996
3784
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4003,11 +3791,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4003
3791
|
value: input3.effectAllele
|
|
4004
3792
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
4005
3793
|
path: _path2 + ".gt2count",
|
|
4006
|
-
expected: "(__type.
|
|
3794
|
+
expected: "(__type.o12 | undefined)",
|
|
4007
3795
|
value: input3.gt2count
|
|
4008
|
-
})) && $
|
|
3796
|
+
})) && $vo50(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
4009
3797
|
path: _path2 + ".gt2count",
|
|
4010
|
-
expected: "(__type.
|
|
3798
|
+
expected: "(__type.o12 | undefined)",
|
|
4011
3799
|
value: input3.gt2count
|
|
4012
3800
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
4013
3801
|
path: _path2 + ".invalid",
|
|
@@ -4034,7 +3822,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4034
3822
|
expected: "(number | undefined)",
|
|
4035
3823
|
value: input3.pos
|
|
4036
3824
|
})].every((flag) => flag);
|
|
4037
|
-
const $
|
|
3825
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
4038
3826
|
path: _path2 + ".allele",
|
|
4039
3827
|
expected: "string",
|
|
4040
3828
|
value: input3.allele
|
|
@@ -4047,7 +3835,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4047
3835
|
expected: "boolean",
|
|
4048
3836
|
value: input3.isRef
|
|
4049
3837
|
})].every((flag) => flag);
|
|
4050
|
-
const $
|
|
3838
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
4051
3839
|
path: _path2 + ".k",
|
|
4052
3840
|
expected: "string",
|
|
4053
3841
|
value: input3.k
|
|
@@ -4056,7 +3844,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4056
3844
|
expected: "(number | string)",
|
|
4057
3845
|
value: input3.v
|
|
4058
3846
|
})].every((flag) => flag);
|
|
4059
|
-
const $
|
|
3847
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4060
3848
|
path: _path2 + ".id",
|
|
4061
3849
|
expected: "string",
|
|
4062
3850
|
value: input3.id
|
|
@@ -4072,8 +3860,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4072
3860
|
path: _path2 + ".child_types",
|
|
4073
3861
|
expected: "(Array<string> | undefined)",
|
|
4074
3862
|
value: input3.child_types
|
|
4075
|
-
})) && input3.child_types.map((elem,
|
|
4076
|
-
path: _path2 + ".child_types[" +
|
|
3863
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3864
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
4077
3865
|
expected: "string",
|
|
4078
3866
|
value: elem
|
|
4079
3867
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4088,8 +3876,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4088
3876
|
path: _path2 + ".included_types",
|
|
4089
3877
|
expected: "(Array<string> | undefined)",
|
|
4090
3878
|
value: input3.included_types
|
|
4091
|
-
})) && input3.included_types.map((elem,
|
|
4092
|
-
path: _path2 + ".included_types[" +
|
|
3879
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3880
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
4093
3881
|
expected: "string",
|
|
4094
3882
|
value: elem
|
|
4095
3883
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4104,20 +3892,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4104
3892
|
path: _path2 + ".values",
|
|
4105
3893
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4106
3894
|
value: input3.values
|
|
4107
|
-
})) && $
|
|
3895
|
+
})) && $vo52(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4108
3896
|
path: _path2 + ".values",
|
|
4109
3897
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4110
3898
|
value: input3.values
|
|
4111
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
4112
|
-
path: _path2 + ".filter",
|
|
4113
|
-
expected: "(TermFilter | undefined)",
|
|
4114
|
-
value: input3.filter
|
|
4115
|
-
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
4116
|
-
path: _path2 + ".filter",
|
|
4117
|
-
expected: "(TermFilter | undefined)",
|
|
4118
|
-
value: input3.filter
|
|
4119
3899
|
})].every((flag) => flag);
|
|
4120
|
-
const $
|
|
3900
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4121
3901
|
const value = input3[key];
|
|
4122
3902
|
if (void 0 === value)
|
|
4123
3903
|
return true;
|
|
@@ -4126,7 +3906,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4126
3906
|
path: _path2 + $join(key),
|
|
4127
3907
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4128
3908
|
value
|
|
4129
|
-
})) && $
|
|
3909
|
+
})) && $vo53(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4130
3910
|
path: _path2 + $join(key),
|
|
4131
3911
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4132
3912
|
value
|
|
@@ -4136,14 +3916,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4136
3916
|
path: _path2 + $join(key),
|
|
4137
3917
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4138
3918
|
value
|
|
4139
|
-
})) && $
|
|
3919
|
+
})) && $vo53(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4140
3920
|
path: _path2 + $join(key),
|
|
4141
3921
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4142
3922
|
value
|
|
4143
3923
|
});
|
|
4144
3924
|
return true;
|
|
4145
3925
|
}).every((flag) => flag)].every((flag) => flag);
|
|
4146
|
-
const $
|
|
3926
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
4147
3927
|
path: _path2 + ".key",
|
|
4148
3928
|
expected: "(string | undefined)",
|
|
4149
3929
|
value: input3.key
|
|
@@ -4187,20 +3967,20 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4187
3967
|
path: _path2 + ".list",
|
|
4188
3968
|
expected: "Array<__type>.o7",
|
|
4189
3969
|
value: input3.list
|
|
4190
|
-
})) && input3.list.map((elem,
|
|
4191
|
-
path: _path2 + ".list[" +
|
|
4192
|
-
expected: "__type.
|
|
3970
|
+
})) && input3.list.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3971
|
+
path: _path2 + ".list[" + _index50 + "]",
|
|
3972
|
+
expected: "__type.o13",
|
|
4193
3973
|
value: elem
|
|
4194
|
-
})) && $
|
|
4195
|
-
path: _path2 + ".list[" +
|
|
4196
|
-
expected: "__type.
|
|
3974
|
+
})) && $vo54(elem, _path2 + ".list[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3975
|
+
path: _path2 + ".list[" + _index50 + "]",
|
|
3976
|
+
expected: "__type.o13",
|
|
4197
3977
|
value: elem
|
|
4198
3978
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4199
3979
|
path: _path2 + ".list",
|
|
4200
3980
|
expected: "Array<__type>.o7",
|
|
4201
3981
|
value: input3.list
|
|
4202
3982
|
}), true].every((flag) => flag);
|
|
4203
|
-
const $
|
|
3983
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
4204
3984
|
path: _path2 + ".sampleId",
|
|
4205
3985
|
expected: "string",
|
|
4206
3986
|
value: input3.sampleId
|
|
@@ -4222,9 +4002,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4222
4002
|
})();
|
|
4223
4003
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4224
4004
|
if ("string" === typeof input3.type)
|
|
4225
|
-
return $
|
|
4005
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
4226
4006
|
if ("filter" === input3.type)
|
|
4227
|
-
return $
|
|
4007
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
4228
4008
|
return $report(_exceptionable2, {
|
|
4229
4009
|
path: _path2,
|
|
4230
4010
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -4233,78 +4013,78 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4233
4013
|
})();
|
|
4234
4014
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4235
4015
|
if (true === input3.startunbounded)
|
|
4236
|
-
return $
|
|
4016
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4237
4017
|
if (true === input3.stopunbounded)
|
|
4238
|
-
return $
|
|
4239
|
-
return $
|
|
4018
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
4019
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4240
4020
|
})();
|
|
4241
4021
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4242
4022
|
if ("gene" === input3.kind)
|
|
4243
4023
|
return $vo11(input3, _path2, _exceptionable2);
|
|
4244
4024
|
if ("coord" === input3.kind)
|
|
4245
|
-
return $
|
|
4025
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
4246
4026
|
if ("categorical" === input3.type)
|
|
4247
|
-
return $
|
|
4027
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
4248
4028
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
4249
|
-
return $
|
|
4029
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
4250
4030
|
if ("condition" === input3.type)
|
|
4251
|
-
return $
|
|
4252
|
-
return $
|
|
4031
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
4032
|
+
return $vo47(input3, _path2, false) || $vo51(input3, _path2, false);
|
|
4253
4033
|
})();
|
|
4254
4034
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4255
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
4256
|
-
return $
|
|
4257
|
-
return $
|
|
4035
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index51) => "object" === typeof elem && null !== elem && $vo19(elem, _path2 + ".lst[" + _index51 + "]", false)).every((flag) => flag))
|
|
4036
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
4037
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
4258
4038
|
})();
|
|
4259
4039
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4260
4040
|
if (void 0 !== input3.ranges)
|
|
4261
|
-
return $
|
|
4262
|
-
return $vo16(input3, _path2, false) || $
|
|
4041
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
4042
|
+
return $vo16(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
4263
4043
|
})();
|
|
4264
4044
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4265
|
-
if ("gene" === input3.kind)
|
|
4266
|
-
return $vo21(input3, _path2, _exceptionable2);
|
|
4267
|
-
if ("coord" === input3.kind)
|
|
4268
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
4269
|
-
return $report(_exceptionable2, {
|
|
4270
|
-
path: _path2,
|
|
4271
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
4272
|
-
value: input3
|
|
4273
|
-
});
|
|
4274
|
-
})();
|
|
4275
|
-
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4276
4045
|
if ("regular-bin" === input3.type)
|
|
4277
|
-
return $
|
|
4046
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
4278
4047
|
if ("custom-bin" === input3.type)
|
|
4279
|
-
return $
|
|
4048
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
4280
4049
|
return $report(_exceptionable2, {
|
|
4281
4050
|
path: _path2,
|
|
4282
4051
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
4283
4052
|
value: input3
|
|
4284
4053
|
});
|
|
4285
4054
|
})();
|
|
4286
|
-
const $
|
|
4055
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4287
4056
|
if (true === input3.startunbounded)
|
|
4288
|
-
return $
|
|
4057
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4289
4058
|
if (void 0 !== input3.start)
|
|
4290
|
-
return $
|
|
4059
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4291
4060
|
return $report(_exceptionable2, {
|
|
4292
4061
|
path: _path2,
|
|
4293
4062
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
4294
4063
|
value: input3
|
|
4295
4064
|
});
|
|
4296
4065
|
})();
|
|
4297
|
-
const $
|
|
4066
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4298
4067
|
if (void 0 !== input3.stop)
|
|
4299
|
-
return $
|
|
4068
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4300
4069
|
if (true === input3.stopunbounded)
|
|
4301
|
-
return $
|
|
4070
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
4302
4071
|
return $report(_exceptionable2, {
|
|
4303
4072
|
path: _path2,
|
|
4304
4073
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
4305
4074
|
value: input3
|
|
4306
4075
|
});
|
|
4307
4076
|
})();
|
|
4077
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4078
|
+
if ("gene" === input3.kind)
|
|
4079
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
4080
|
+
if ("coord" === input3.kind)
|
|
4081
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
4082
|
+
return $report(_exceptionable2, {
|
|
4083
|
+
path: _path2,
|
|
4084
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
4085
|
+
value: input3
|
|
4086
|
+
});
|
|
4087
|
+
})();
|
|
4308
4088
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4309
4089
|
if (void 0 !== input3.status)
|
|
4310
4090
|
return $vo0(input3, _path2, _exceptionable2);
|