@sjcrh/proteinpaint-types 2.123.0 → 2.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-NCFUZ5VV.js → chunk-2S4T3WUF.js} +790 -386
- package/dist/{chunk-XPOHYEAY.js → chunk-537XOM43.js} +584 -382
- package/dist/{chunk-LBGUOJR3.js → chunk-5O422YU6.js} +343 -141
- package/dist/{chunk-SQBZAOWB.js → chunk-7IRM7OKB.js} +343 -141
- package/dist/{chunk-3ZT4UCFM.js → chunk-BXPSDGWG.js} +343 -141
- package/dist/{chunk-QMWUUGEK.js → chunk-CJC7ZHSZ.js} +376 -174
- package/dist/{chunk-F64WJMRL.js → chunk-DJCPG2RT.js} +817 -413
- package/dist/{chunk-ZMOSABYP.js → chunk-GZCIY2WK.js} +584 -382
- package/dist/{chunk-K7P6C6KU.js → chunk-LVXO4MLR.js} +586 -384
- package/dist/{chunk-AGSW7G4T.js → chunk-O4RAE6UJ.js} +582 -380
- package/dist/{chunk-RX5EB2HL.js → chunk-VSNV3MLV.js} +343 -141
- package/dist/{chunk-5XRJ5ATE.js → chunk-YOS2YTCE.js} +584 -382
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- 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/dataset.ts +11 -6
- package/src/genome.ts +6 -0
- package/src/terms/geneVariant.ts +1 -0
|
@@ -22,7 +22,7 @@ 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 && $io35(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)));
|
|
@@ -40,19 +40,21 @@ var validTermdbClusterRequest = (input) => {
|
|
|
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
41
|
const $io7 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
42
42
|
const $io8 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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));
|
|
44
|
-
const $io10 = (input3) => (void 0 === input3.
|
|
45
|
-
const $io11 = (input3) =>
|
|
46
|
-
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.
|
|
47
|
-
const $io13 = (input3) =>
|
|
48
|
-
const $io14 = (input3) => "string" === typeof input3.
|
|
49
|
-
const $io15 = (input3) => "
|
|
50
|
-
const $io16 = (input3) => "
|
|
51
|
-
const $io17 = (input3) =>
|
|
52
|
-
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
53
|
-
const $io19 = (input3) => "
|
|
54
|
-
const $io20 = (input3) =>
|
|
55
|
-
const $io21 = (input3) =>
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.geneVariantTerm || "object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm && $iu5(input3.geneVariantTerm)) && 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));
|
|
44
|
+
const $io10 = (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)) && "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));
|
|
45
|
+
const $io11 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io12(elem)));
|
|
46
|
+
const $io12 = (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)));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
48
|
+
const $io14 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
49
|
+
const $io15 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io16(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
50
|
+
const $io16 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && ("object" === typeof input3.active && null !== input3.active && $io1(input3.active)) && "number" === typeof input3.group;
|
|
51
|
+
const $io17 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
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) => {
|
|
56
58
|
const value = input3[key];
|
|
57
59
|
if (void 0 === value)
|
|
58
60
|
return true;
|
|
@@ -60,22 +62,22 @@ var validTermdbClusterRequest = (input) => {
|
|
|
60
62
|
return "number" === typeof value;
|
|
61
63
|
return true;
|
|
62
64
|
});
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
65
|
+
const $io24 = (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);
|
|
66
|
+
const $io25 = (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);
|
|
67
|
+
const $io26 = (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);
|
|
68
|
+
const $io27 = (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) && "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);
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
71
|
+
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)) && (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 && $io32(elem)));
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter));
|
|
73
|
+
const $io32 = (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;
|
|
74
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
76
|
+
const $io35 = (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)) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.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 && $io37(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
78
|
+
const $io37 = (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)) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
79
|
+
const $io38 = (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 && $io39(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
80
|
+
const $io39 = (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)) && (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);
|
|
79
81
|
const $iu0 = (input3) => (() => {
|
|
80
82
|
if ("tvslst" === input3.type)
|
|
81
83
|
return $io1(input3);
|
|
@@ -85,67 +87,74 @@ var validTermdbClusterRequest = (input) => {
|
|
|
85
87
|
})();
|
|
86
88
|
const $iu1 = (input3) => (() => {
|
|
87
89
|
if ("string" === typeof input3.type)
|
|
88
|
-
return $
|
|
90
|
+
return $io13(input3);
|
|
89
91
|
if ("filter" === input3.type)
|
|
90
|
-
return $
|
|
92
|
+
return $io15(input3);
|
|
91
93
|
return false;
|
|
92
94
|
})();
|
|
93
95
|
const $iu2 = (input3) => (() => {
|
|
94
96
|
if (true === input3.startunbounded)
|
|
95
|
-
return $io22(input3);
|
|
96
|
-
if (true === input3.stopunbounded)
|
|
97
97
|
return $io24(input3);
|
|
98
|
-
|
|
98
|
+
if (true === input3.stopunbounded)
|
|
99
|
+
return $io26(input3);
|
|
100
|
+
return $io25(input3);
|
|
99
101
|
})();
|
|
100
102
|
const $iu3 = (input3) => (() => {
|
|
101
103
|
if (void 0 !== input3.ranges)
|
|
102
|
-
return $
|
|
104
|
+
return $io19(input3);
|
|
103
105
|
return (() => {
|
|
104
106
|
if ($io3(input3))
|
|
105
107
|
return $io3(input3);
|
|
106
|
-
if ($
|
|
107
|
-
return $
|
|
108
|
-
if ($
|
|
109
|
-
return $
|
|
108
|
+
if ($io30(input3))
|
|
109
|
+
return $io30(input3);
|
|
110
|
+
if ($io33(input3))
|
|
111
|
+
return $io33(input3);
|
|
110
112
|
return false;
|
|
111
113
|
})();
|
|
112
114
|
})();
|
|
113
115
|
const $iu4 = (input3) => (() => {
|
|
114
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
115
|
-
return $
|
|
116
|
-
return $
|
|
116
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io12(elem)))
|
|
117
|
+
return $io11(input3);
|
|
118
|
+
return $io17(input3);
|
|
117
119
|
})();
|
|
118
120
|
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) => (() => {
|
|
119
128
|
if ("regular-bin" === input3.type)
|
|
120
|
-
return $
|
|
129
|
+
return $io22(input3);
|
|
121
130
|
if ("custom-bin" === input3.type)
|
|
122
|
-
return $
|
|
131
|
+
return $io27(input3);
|
|
123
132
|
return false;
|
|
124
133
|
})();
|
|
125
|
-
const $
|
|
134
|
+
const $iu7 = (input3) => (() => {
|
|
126
135
|
if (true === input3.startunbounded)
|
|
127
|
-
return $
|
|
136
|
+
return $io24(input3);
|
|
128
137
|
if (void 0 !== input3.start)
|
|
129
|
-
return $
|
|
138
|
+
return $io25(input3);
|
|
130
139
|
return false;
|
|
131
140
|
})();
|
|
132
|
-
const $
|
|
141
|
+
const $iu8 = (input3) => (() => {
|
|
133
142
|
if (void 0 !== input3.stop)
|
|
134
|
-
return $
|
|
143
|
+
return $io25(input3);
|
|
135
144
|
if (true === input3.stopunbounded)
|
|
136
|
-
return $
|
|
145
|
+
return $io26(input3);
|
|
137
146
|
return false;
|
|
138
147
|
})();
|
|
139
|
-
const $
|
|
148
|
+
const $iu9 = (input3) => (() => {
|
|
140
149
|
if ("numericDictTerm" === input3.dataType)
|
|
141
|
-
return $
|
|
150
|
+
return $io38(input3);
|
|
142
151
|
if ("metaboliteIntensity" === input3.dataType)
|
|
143
|
-
return $
|
|
152
|
+
return $io36(input3);
|
|
144
153
|
if ("geneExpression" === input3.dataType)
|
|
145
154
|
return $io0(input3);
|
|
146
155
|
return false;
|
|
147
156
|
})();
|
|
148
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
157
|
+
return "object" === typeof input2 && null !== input2 && $iu9(input2);
|
|
149
158
|
};
|
|
150
159
|
if (false === __is(input)) {
|
|
151
160
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -187,7 +196,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
187
196
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
188
197
|
expected: "GeneExpressionTerm",
|
|
189
198
|
value: elem
|
|
190
|
-
})) && $
|
|
199
|
+
})) && $vo35(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
191
200
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
192
201
|
expected: "GeneExpressionTerm",
|
|
193
202
|
value: elem
|
|
@@ -465,6 +474,14 @@ var validTermdbClusterRequest = (input) => {
|
|
|
465
474
|
path: _path2 + ".name_noOrigin",
|
|
466
475
|
expected: "string",
|
|
467
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
|
|
468
485
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
469
486
|
path: _path2 + ".isleaf",
|
|
470
487
|
expected: "boolean",
|
|
@@ -490,7 +507,96 @@ var validTermdbClusterRequest = (input) => {
|
|
|
490
507
|
expected: "TermValues",
|
|
491
508
|
value: input3.values
|
|
492
509
|
})].every((flag) => flag);
|
|
493
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => [
|
|
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, {
|
|
494
600
|
path: _path2 + ".disabled",
|
|
495
601
|
expected: "(boolean | undefined)",
|
|
496
602
|
value: input3.disabled
|
|
@@ -498,12 +604,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
498
604
|
path: _path2 + ".lst",
|
|
499
605
|
expected: "Array<Groupset>",
|
|
500
606
|
value: input3.lst
|
|
501
|
-
})) && input3.lst.map((elem,
|
|
502
|
-
path: _path2 + ".lst[" +
|
|
607
|
+
})) && input3.lst.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
608
|
+
path: _path2 + ".lst[" + _index10 + "]",
|
|
503
609
|
expected: "Groupset",
|
|
504
610
|
value: elem
|
|
505
|
-
})) && $
|
|
506
|
-
path: _path2 + ".lst[" +
|
|
611
|
+
})) && $vo12(elem, _path2 + ".lst[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
612
|
+
path: _path2 + ".lst[" + _index10 + "]",
|
|
507
613
|
expected: "Groupset",
|
|
508
614
|
value: elem
|
|
509
615
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -511,7 +617,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
511
617
|
expected: "Array<Groupset>",
|
|
512
618
|
value: input3.lst
|
|
513
619
|
})].every((flag) => flag);
|
|
514
|
-
const $
|
|
620
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
515
621
|
path: _path2 + ".name",
|
|
516
622
|
expected: "string",
|
|
517
623
|
value: input3.name
|
|
@@ -531,12 +637,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
531
637
|
path: _path2 + ".groups",
|
|
532
638
|
expected: "Array<GroupEntry>",
|
|
533
639
|
value: input3.groups
|
|
534
|
-
})) && input3.groups.map((elem,
|
|
535
|
-
path: _path2 + ".groups[" +
|
|
640
|
+
})) && input3.groups.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
641
|
+
path: _path2 + ".groups[" + _index11 + "]",
|
|
536
642
|
expected: "(FilterGroup | ValuesGroup)",
|
|
537
643
|
value: elem
|
|
538
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
539
|
-
path: _path2 + ".groups[" +
|
|
644
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".groups[" + _index11 + "]",
|
|
540
646
|
expected: "(FilterGroup | ValuesGroup)",
|
|
541
647
|
value: elem
|
|
542
648
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -544,7 +650,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
544
650
|
expected: "Array<GroupEntry>",
|
|
545
651
|
value: input3.groups
|
|
546
652
|
})].every((flag) => flag);
|
|
547
|
-
const $
|
|
653
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
548
654
|
path: _path2 + ".name",
|
|
549
655
|
expected: "string",
|
|
550
656
|
value: input3.name
|
|
@@ -556,12 +662,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
556
662
|
path: _path2 + ".values",
|
|
557
663
|
expected: "Array<__type>",
|
|
558
664
|
value: input3.values
|
|
559
|
-
})) && input3.values.map((elem,
|
|
560
|
-
path: _path2 + ".values[" +
|
|
665
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
666
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
561
667
|
expected: "__type.o2",
|
|
562
668
|
value: elem
|
|
563
|
-
})) && $
|
|
564
|
-
path: _path2 + ".values[" +
|
|
669
|
+
})) && $vo14(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
670
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
565
671
|
expected: "__type.o2",
|
|
566
672
|
value: elem
|
|
567
673
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -573,7 +679,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
573
679
|
expected: "(boolean | undefined)",
|
|
574
680
|
value: input3.uncomputable
|
|
575
681
|
})].every((flag) => flag);
|
|
576
|
-
const $
|
|
682
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
577
683
|
path: _path2 + ".key",
|
|
578
684
|
expected: "(number | string)",
|
|
579
685
|
value: input3.key
|
|
@@ -582,7 +688,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
582
688
|
expected: "string",
|
|
583
689
|
value: input3.label
|
|
584
690
|
})].every((flag) => flag);
|
|
585
|
-
const $
|
|
691
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
586
692
|
path: _path2 + ".name",
|
|
587
693
|
expected: "string",
|
|
588
694
|
value: input3.name
|
|
@@ -594,7 +700,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
594
700
|
path: _path2 + ".filter",
|
|
595
701
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
596
702
|
value: input3.filter
|
|
597
|
-
})) && $
|
|
703
|
+
})) && $vo16(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
598
704
|
path: _path2 + ".filter",
|
|
599
705
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
600
706
|
value: input3.filter
|
|
@@ -603,7 +709,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
603
709
|
expected: "boolean",
|
|
604
710
|
value: input3.uncomputable
|
|
605
711
|
})].every((flag) => flag);
|
|
606
|
-
const $
|
|
712
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
607
713
|
path: _path2 + ".opts",
|
|
608
714
|
expected: "__type.o1",
|
|
609
715
|
value: input3.opts
|
|
@@ -615,12 +721,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
615
721
|
path: _path2 + ".terms",
|
|
616
722
|
expected: "Array<DtTerm>",
|
|
617
723
|
value: input3.terms
|
|
618
|
-
})) && input3.terms.map((elem,
|
|
619
|
-
path: _path2 + ".terms[" +
|
|
724
|
+
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
725
|
+
path: _path2 + ".terms[" + _index13 + "]",
|
|
620
726
|
expected: "DtTerm",
|
|
621
727
|
value: elem
|
|
622
|
-
})) && $vo9(elem, _path2 + ".terms[" +
|
|
623
|
-
path: _path2 + ".terms[" +
|
|
728
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
729
|
+
path: _path2 + ".terms[" + _index13 + "]",
|
|
624
730
|
expected: "DtTerm",
|
|
625
731
|
value: elem
|
|
626
732
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -640,7 +746,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
640
746
|
expected: "number",
|
|
641
747
|
value: input3.group
|
|
642
748
|
})].every((flag) => flag);
|
|
643
|
-
const $
|
|
749
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
644
750
|
path: _path2 + ".disabled",
|
|
645
751
|
expected: "boolean",
|
|
646
752
|
value: input3.disabled
|
|
@@ -657,7 +763,92 @@ var validTermdbClusterRequest = (input) => {
|
|
|
657
763
|
expected: "([] | undefined)",
|
|
658
764
|
value: input3.lst
|
|
659
765
|
})].every((flag) => flag);
|
|
660
|
-
const $
|
|
766
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
767
|
+
path: _path2 + ".id",
|
|
768
|
+
expected: "string",
|
|
769
|
+
value: input3.id
|
|
770
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
771
|
+
path: _path2 + ".name",
|
|
772
|
+
expected: "string",
|
|
773
|
+
value: input3.name
|
|
774
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
775
|
+
path: _path2 + ".type",
|
|
776
|
+
expected: '"geneVariant"',
|
|
777
|
+
value: input3.type
|
|
778
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
779
|
+
path: _path2 + ".child_types",
|
|
780
|
+
expected: "(Array<string> | undefined)",
|
|
781
|
+
value: input3.child_types
|
|
782
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
783
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
784
|
+
expected: "string",
|
|
785
|
+
value: elem
|
|
786
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
787
|
+
path: _path2 + ".child_types",
|
|
788
|
+
expected: "(Array<string> | undefined)",
|
|
789
|
+
value: input3.child_types
|
|
790
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
791
|
+
path: _path2 + ".hashtmldetail",
|
|
792
|
+
expected: "(boolean | undefined)",
|
|
793
|
+
value: input3.hashtmldetail
|
|
794
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
795
|
+
path: _path2 + ".included_types",
|
|
796
|
+
expected: "(Array<string> | undefined)",
|
|
797
|
+
value: input3.included_types
|
|
798
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
799
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
800
|
+
expected: "string",
|
|
801
|
+
value: elem
|
|
802
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
803
|
+
path: _path2 + ".included_types",
|
|
804
|
+
expected: "(Array<string> | undefined)",
|
|
805
|
+
value: input3.included_types
|
|
806
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
807
|
+
path: _path2 + ".isleaf",
|
|
808
|
+
expected: "(boolean | undefined)",
|
|
809
|
+
value: input3.isleaf
|
|
810
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
811
|
+
path: _path2 + ".values",
|
|
812
|
+
expected: "(TermValues | undefined)",
|
|
813
|
+
value: input3.values
|
|
814
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
815
|
+
path: _path2 + ".values",
|
|
816
|
+
expected: "(TermValues | undefined)",
|
|
817
|
+
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, {
|
|
661
852
|
path: _path2 + ".join",
|
|
662
853
|
expected: "(string | undefined)",
|
|
663
854
|
value: input3.join
|
|
@@ -669,7 +860,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
669
860
|
path: _path2 + ".term",
|
|
670
861
|
expected: "NumericTerm",
|
|
671
862
|
value: input3.term
|
|
672
|
-
})) && $
|
|
863
|
+
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
673
864
|
path: _path2 + ".term",
|
|
674
865
|
expected: "NumericTerm",
|
|
675
866
|
value: input3.term
|
|
@@ -677,12 +868,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
677
868
|
path: _path2 + ".ranges",
|
|
678
869
|
expected: "Array<NumericBin>",
|
|
679
870
|
value: input3.ranges
|
|
680
|
-
})) && input3.ranges.map((elem,
|
|
681
|
-
path: _path2 + ".ranges[" +
|
|
871
|
+
})) && input3.ranges.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
872
|
+
path: _path2 + ".ranges[" + _index16 + "]",
|
|
682
873
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
683
874
|
value: elem
|
|
684
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
685
|
-
path: _path2 + ".ranges[" +
|
|
875
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
876
|
+
path: _path2 + ".ranges[" + _index16 + "]",
|
|
686
877
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
687
878
|
value: elem
|
|
688
879
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -693,12 +884,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
693
884
|
path: _path2 + ".values",
|
|
694
885
|
expected: "Array<__type>.o1",
|
|
695
886
|
value: input3.values
|
|
696
|
-
})) && input3.values.map((elem,
|
|
697
|
-
path: _path2 + ".values[" +
|
|
887
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
888
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
698
889
|
expected: "__type.o5",
|
|
699
890
|
value: elem
|
|
700
|
-
})) && $
|
|
701
|
-
path: _path2 + ".values[" +
|
|
891
|
+
})) && $vo29(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
892
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
702
893
|
expected: "__type.o5",
|
|
703
894
|
value: elem
|
|
704
895
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -706,7 +897,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
706
897
|
expected: "Array<__type>.o1",
|
|
707
898
|
value: input3.values
|
|
708
899
|
})].every((flag) => flag);
|
|
709
|
-
const $
|
|
900
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
710
901
|
path: _path2 + ".id",
|
|
711
902
|
expected: "string",
|
|
712
903
|
value: input3.id
|
|
@@ -722,8 +913,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
722
913
|
path: _path2 + ".child_types",
|
|
723
914
|
expected: "(Array<string> | undefined)",
|
|
724
915
|
value: input3.child_types
|
|
725
|
-
})) && input3.child_types.map((elem,
|
|
726
|
-
path: _path2 + ".child_types[" +
|
|
916
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
917
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
727
918
|
expected: "string",
|
|
728
919
|
value: elem
|
|
729
920
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -738,8 +929,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
738
929
|
path: _path2 + ".included_types",
|
|
739
930
|
expected: "(Array<string> | undefined)",
|
|
740
931
|
value: input3.included_types
|
|
741
|
-
})) && input3.included_types.map((elem,
|
|
742
|
-
path: _path2 + ".included_types[" +
|
|
932
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
933
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
743
934
|
expected: "string",
|
|
744
935
|
value: elem
|
|
745
936
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -770,7 +961,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
770
961
|
path: _path2 + ".bins",
|
|
771
962
|
expected: "PresetNumericBins",
|
|
772
963
|
value: input3.bins
|
|
773
|
-
})) && $
|
|
964
|
+
})) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
774
965
|
path: _path2 + ".bins",
|
|
775
966
|
expected: "PresetNumericBins",
|
|
776
967
|
value: input3.bins
|
|
@@ -782,16 +973,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
782
973
|
path: _path2 + ".continuousColorScale",
|
|
783
974
|
expected: "(__type.o4 | undefined)",
|
|
784
975
|
value: input3.continuousColorScale
|
|
785
|
-
})) && $
|
|
976
|
+
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
786
977
|
path: _path2 + ".continuousColorScale",
|
|
787
978
|
expected: "(__type.o4 | undefined)",
|
|
788
979
|
value: input3.continuousColorScale
|
|
789
980
|
})].every((flag) => flag);
|
|
790
|
-
const $
|
|
981
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
791
982
|
path: _path2 + '["default"]',
|
|
792
983
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
793
984
|
value: input3["default"]
|
|
794
|
-
})) && $
|
|
985
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
795
986
|
path: _path2 + '["default"]',
|
|
796
987
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
797
988
|
value: input3["default"]
|
|
@@ -799,7 +990,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
799
990
|
path: _path2 + ".less",
|
|
800
991
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
801
992
|
value: input3.less
|
|
802
|
-
})) && $
|
|
993
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
803
994
|
path: _path2 + ".less",
|
|
804
995
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
805
996
|
value: input3.less
|
|
@@ -824,11 +1015,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
824
1015
|
expected: "(number | undefined)",
|
|
825
1016
|
value: input3.max
|
|
826
1017
|
})].every((flag) => flag);
|
|
827
|
-
const $
|
|
1018
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
828
1019
|
path: _path2 + ".hiddenValues",
|
|
829
1020
|
expected: "(HiddenValues | undefined)",
|
|
830
1021
|
value: input3.hiddenValues
|
|
831
|
-
})) && $
|
|
1022
|
+
})) && $vo23(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
832
1023
|
path: _path2 + ".hiddenValues",
|
|
833
1024
|
expected: "(HiddenValues | undefined)",
|
|
834
1025
|
value: input3.hiddenValues
|
|
@@ -860,7 +1051,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
860
1051
|
path: _path2 + ".first_bin",
|
|
861
1052
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
862
1053
|
value: input3.first_bin
|
|
863
|
-
})) && $
|
|
1054
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
864
1055
|
path: _path2 + ".first_bin",
|
|
865
1056
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
866
1057
|
value: input3.first_bin
|
|
@@ -868,7 +1059,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
868
1059
|
path: _path2 + ".last_bin",
|
|
869
1060
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
870
1061
|
value: input3.last_bin
|
|
871
|
-
})) && $
|
|
1062
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
872
1063
|
path: _path2 + ".last_bin",
|
|
873
1064
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
874
1065
|
value: input3.last_bin
|
|
@@ -877,7 +1068,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
877
1068
|
expected: "(number | undefined)",
|
|
878
1069
|
value: input3.label_offset
|
|
879
1070
|
})].every((flag) => flag);
|
|
880
|
-
const $
|
|
1071
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
881
1072
|
const value = input3[key];
|
|
882
1073
|
if (void 0 === value)
|
|
883
1074
|
return true;
|
|
@@ -889,7 +1080,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
889
1080
|
});
|
|
890
1081
|
return true;
|
|
891
1082
|
}).every((flag) => flag)].every((flag) => flag);
|
|
892
|
-
const $
|
|
1083
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
893
1084
|
path: _path2 + ".startunbounded",
|
|
894
1085
|
expected: "true",
|
|
895
1086
|
value: input3.startunbounded
|
|
@@ -914,7 +1105,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
914
1105
|
expected: "(string | undefined)",
|
|
915
1106
|
value: input3.label
|
|
916
1107
|
})].every((flag) => flag);
|
|
917
|
-
const $
|
|
1108
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
918
1109
|
path: _path2 + ".startunbounded",
|
|
919
1110
|
expected: "(false | undefined)",
|
|
920
1111
|
value: input3.startunbounded
|
|
@@ -943,7 +1134,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
943
1134
|
expected: "(string | undefined)",
|
|
944
1135
|
value: input3.label
|
|
945
1136
|
})].every((flag) => flag);
|
|
946
|
-
const $
|
|
1137
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
947
1138
|
path: _path2 + ".start",
|
|
948
1139
|
expected: "number",
|
|
949
1140
|
value: input3.start
|
|
@@ -968,11 +1159,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
968
1159
|
expected: "(string | undefined)",
|
|
969
1160
|
value: input3.label
|
|
970
1161
|
})].every((flag) => flag);
|
|
971
|
-
const $
|
|
1162
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
972
1163
|
path: _path2 + ".hiddenValues",
|
|
973
1164
|
expected: "(HiddenValues | undefined)",
|
|
974
1165
|
value: input3.hiddenValues
|
|
975
|
-
})) && $
|
|
1166
|
+
})) && $vo23(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
976
1167
|
path: _path2 + ".hiddenValues",
|
|
977
1168
|
expected: "(HiddenValues | undefined)",
|
|
978
1169
|
value: input3.hiddenValues
|
|
@@ -1014,12 +1205,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1014
1205
|
path: _path2 + ".lst",
|
|
1015
1206
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1016
1207
|
value: input3.lst.slice(1)
|
|
1017
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1018
|
-
path: _path2 + ".lst[" + (1 +
|
|
1208
|
+
})) && input3.lst.slice(1).map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1209
|
+
path: _path2 + ".lst[" + (1 + _index20) + "]",
|
|
1019
1210
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1020
1211
|
value: elem
|
|
1021
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1022
|
-
path: _path2 + ".lst[" + (1 +
|
|
1212
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index20) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1213
|
+
path: _path2 + ".lst[" + (1 + _index20) + "]",
|
|
1023
1214
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1024
1215
|
value: elem
|
|
1025
1216
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1035,7 +1226,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1035
1226
|
expected: '("median" | undefined)',
|
|
1036
1227
|
value: input3.preferredBins
|
|
1037
1228
|
})].every((flag) => flag);
|
|
1038
|
-
const $
|
|
1229
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1039
1230
|
path: _path2 + ".minColor",
|
|
1040
1231
|
expected: "string",
|
|
1041
1232
|
value: input3.minColor
|
|
@@ -1044,7 +1235,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1044
1235
|
expected: "string",
|
|
1045
1236
|
value: input3.maxColor
|
|
1046
1237
|
})].every((flag) => flag);
|
|
1047
|
-
const $
|
|
1238
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1048
1239
|
path: _path2 + ".key",
|
|
1049
1240
|
expected: "string",
|
|
1050
1241
|
value: input3.key
|
|
@@ -1061,7 +1252,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1061
1252
|
expected: "(string | undefined)",
|
|
1062
1253
|
value: input3.label
|
|
1063
1254
|
})].every((flag) => flag);
|
|
1064
|
-
const $
|
|
1255
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1065
1256
|
path: _path2 + ".join",
|
|
1066
1257
|
expected: "(string | undefined)",
|
|
1067
1258
|
value: input3.join
|
|
@@ -1073,7 +1264,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1073
1264
|
path: _path2 + ".term",
|
|
1074
1265
|
expected: "ConditionTerm",
|
|
1075
1266
|
value: input3.term
|
|
1076
|
-
})) && $
|
|
1267
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1077
1268
|
path: _path2 + ".term",
|
|
1078
1269
|
expected: "ConditionTerm",
|
|
1079
1270
|
value: input3.term
|
|
@@ -1093,12 +1284,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1093
1284
|
path: _path2 + ".grade_and_child",
|
|
1094
1285
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1095
1286
|
value: input3.grade_and_child
|
|
1096
|
-
})) && input3.grade_and_child.map((elem,
|
|
1097
|
-
path: _path2 + ".grade_and_child[" +
|
|
1287
|
+
})) && input3.grade_and_child.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".grade_and_child[" + _index21 + "]",
|
|
1098
1289
|
expected: "GradeAndChildEntry",
|
|
1099
1290
|
value: elem
|
|
1100
|
-
})) && $
|
|
1101
|
-
path: _path2 + ".grade_and_child[" +
|
|
1291
|
+
})) && $vo32(elem, _path2 + ".grade_and_child[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".grade_and_child[" + _index21 + "]",
|
|
1102
1293
|
expected: "GradeAndChildEntry",
|
|
1103
1294
|
value: elem
|
|
1104
1295
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1106,7 +1297,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1106
1297
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1107
1298
|
value: input3.grade_and_child
|
|
1108
1299
|
})].every((flag) => flag);
|
|
1109
|
-
const $
|
|
1300
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1110
1301
|
path: _path2 + ".id",
|
|
1111
1302
|
expected: "string",
|
|
1112
1303
|
value: input3.id
|
|
@@ -1122,8 +1313,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1122
1313
|
path: _path2 + ".child_types",
|
|
1123
1314
|
expected: "(Array<string> | undefined)",
|
|
1124
1315
|
value: input3.child_types
|
|
1125
|
-
})) && input3.child_types.map((elem,
|
|
1126
|
-
path: _path2 + ".child_types[" +
|
|
1316
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1317
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1127
1318
|
expected: "string",
|
|
1128
1319
|
value: elem
|
|
1129
1320
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1138,8 +1329,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1138
1329
|
path: _path2 + ".included_types",
|
|
1139
1330
|
expected: "(Array<string> | undefined)",
|
|
1140
1331
|
value: input3.included_types
|
|
1141
|
-
})) && input3.included_types.map((elem,
|
|
1142
|
-
path: _path2 + ".included_types[" +
|
|
1332
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1333
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1143
1334
|
expected: "string",
|
|
1144
1335
|
value: elem
|
|
1145
1336
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1167,7 +1358,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1167
1358
|
expected: "(TermFilter | undefined)",
|
|
1168
1359
|
value: input3.filter
|
|
1169
1360
|
})].every((flag) => flag);
|
|
1170
|
-
const $
|
|
1361
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1171
1362
|
path: _path2 + ".grade",
|
|
1172
1363
|
expected: "number",
|
|
1173
1364
|
value: input3.grade
|
|
@@ -1184,7 +1375,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1184
1375
|
expected: "string",
|
|
1185
1376
|
value: input3.child_label
|
|
1186
1377
|
})].every((flag) => flag);
|
|
1187
|
-
const $
|
|
1378
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1188
1379
|
path: _path2 + ".join",
|
|
1189
1380
|
expected: "(string | undefined)",
|
|
1190
1381
|
value: input3.join
|
|
@@ -1204,12 +1395,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1204
1395
|
path: _path2 + ".values",
|
|
1205
1396
|
expected: "Array<__type>.o2",
|
|
1206
1397
|
value: input3.values
|
|
1207
|
-
})) && input3.values.map((elem,
|
|
1208
|
-
path: _path2 + ".values[" +
|
|
1398
|
+
})) && input3.values.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1399
|
+
path: _path2 + ".values[" + _index24 + "]",
|
|
1209
1400
|
expected: "__type.o6",
|
|
1210
1401
|
value: elem
|
|
1211
|
-
})) && $
|
|
1212
|
-
path: _path2 + ".values[" +
|
|
1402
|
+
})) && $vo34(elem, _path2 + ".values[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1403
|
+
path: _path2 + ".values[" + _index24 + "]",
|
|
1213
1404
|
expected: "__type.o6",
|
|
1214
1405
|
value: elem
|
|
1215
1406
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1217,7 +1408,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1217
1408
|
expected: "Array<__type>.o2",
|
|
1218
1409
|
value: input3.values
|
|
1219
1410
|
})].every((flag) => flag);
|
|
1220
|
-
const $
|
|
1411
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1221
1412
|
path: _path2 + ".key",
|
|
1222
1413
|
expected: "string",
|
|
1223
1414
|
value: input3.key
|
|
@@ -1230,7 +1421,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1230
1421
|
expected: "string",
|
|
1231
1422
|
value: input3.value
|
|
1232
1423
|
})].every((flag) => flag);
|
|
1233
|
-
const $
|
|
1424
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1234
1425
|
path: _path2 + ".id",
|
|
1235
1426
|
expected: "string",
|
|
1236
1427
|
value: input3.id
|
|
@@ -1246,8 +1437,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1246
1437
|
path: _path2 + ".child_types",
|
|
1247
1438
|
expected: "(Array<string> | undefined)",
|
|
1248
1439
|
value: input3.child_types
|
|
1249
|
-
})) && input3.child_types.map((elem,
|
|
1250
|
-
path: _path2 + ".child_types[" +
|
|
1440
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1441
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1251
1442
|
expected: "string",
|
|
1252
1443
|
value: elem
|
|
1253
1444
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1262,8 +1453,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1262
1453
|
path: _path2 + ".included_types",
|
|
1263
1454
|
expected: "(Array<string> | undefined)",
|
|
1264
1455
|
value: input3.included_types
|
|
1265
|
-
})) && input3.included_types.map((elem,
|
|
1266
|
-
path: _path2 + ".included_types[" +
|
|
1456
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1457
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1267
1458
|
expected: "string",
|
|
1268
1459
|
value: elem
|
|
1269
1460
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1294,7 +1485,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1294
1485
|
path: _path2 + ".bins",
|
|
1295
1486
|
expected: "PresetNumericBins",
|
|
1296
1487
|
value: input3.bins
|
|
1297
|
-
})) && $
|
|
1488
|
+
})) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1298
1489
|
path: _path2 + ".bins",
|
|
1299
1490
|
expected: "PresetNumericBins",
|
|
1300
1491
|
value: input3.bins
|
|
@@ -1306,7 +1497,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1306
1497
|
path: _path2 + ".continuousColorScale",
|
|
1307
1498
|
expected: "(__type.o4 | undefined)",
|
|
1308
1499
|
value: input3.continuousColorScale
|
|
1309
|
-
})) && $
|
|
1500
|
+
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1310
1501
|
path: _path2 + ".continuousColorScale",
|
|
1311
1502
|
expected: "(__type.o4 | undefined)",
|
|
1312
1503
|
value: input3.continuousColorScale
|
|
@@ -1327,7 +1518,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1327
1518
|
expected: "(number | undefined)",
|
|
1328
1519
|
value: input3.stop
|
|
1329
1520
|
})].every((flag) => flag);
|
|
1330
|
-
const $
|
|
1521
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1331
1522
|
path: _path2 + ".genome",
|
|
1332
1523
|
expected: "string",
|
|
1333
1524
|
value: input3.genome
|
|
@@ -1359,12 +1550,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1359
1550
|
path: _path2 + ".terms",
|
|
1360
1551
|
expected: "Array<MetaboliteIntensityTerm>",
|
|
1361
1552
|
value: input3.terms
|
|
1362
|
-
})) && input3.terms.map((elem,
|
|
1363
|
-
path: _path2 + ".terms[" +
|
|
1553
|
+
})) && input3.terms.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1554
|
+
path: _path2 + ".terms[" + _index27 + "]",
|
|
1364
1555
|
expected: "MetaboliteIntensityTerm",
|
|
1365
1556
|
value: elem
|
|
1366
|
-
})) && $
|
|
1367
|
-
path: _path2 + ".terms[" +
|
|
1557
|
+
})) && $vo37(elem, _path2 + ".terms[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".terms[" + _index27 + "]",
|
|
1368
1559
|
expected: "MetaboliteIntensityTerm",
|
|
1369
1560
|
value: elem
|
|
1370
1561
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1376,7 +1567,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1376
1567
|
expected: "(string | undefined)",
|
|
1377
1568
|
value: input3.zScoreTransformation
|
|
1378
1569
|
})].every((flag) => flag);
|
|
1379
|
-
const $
|
|
1570
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1380
1571
|
path: _path2 + ".id",
|
|
1381
1572
|
expected: "string",
|
|
1382
1573
|
value: input3.id
|
|
@@ -1392,8 +1583,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1392
1583
|
path: _path2 + ".child_types",
|
|
1393
1584
|
expected: "(Array<string> | undefined)",
|
|
1394
1585
|
value: input3.child_types
|
|
1395
|
-
})) && input3.child_types.map((elem,
|
|
1396
|
-
path: _path2 + ".child_types[" +
|
|
1586
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1587
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1397
1588
|
expected: "string",
|
|
1398
1589
|
value: elem
|
|
1399
1590
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1408,8 +1599,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1408
1599
|
path: _path2 + ".included_types",
|
|
1409
1600
|
expected: "(Array<string> | undefined)",
|
|
1410
1601
|
value: input3.included_types
|
|
1411
|
-
})) && input3.included_types.map((elem,
|
|
1412
|
-
path: _path2 + ".included_types[" +
|
|
1602
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1603
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1413
1604
|
expected: "string",
|
|
1414
1605
|
value: elem
|
|
1415
1606
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1444,7 +1635,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1444
1635
|
path: _path2 + ".continuousColorScale",
|
|
1445
1636
|
expected: "(__type.o4 | undefined)",
|
|
1446
1637
|
value: input3.continuousColorScale
|
|
1447
|
-
})) && $
|
|
1638
|
+
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1448
1639
|
path: _path2 + ".continuousColorScale",
|
|
1449
1640
|
expected: "(__type.o4 | undefined)",
|
|
1450
1641
|
value: input3.continuousColorScale
|
|
@@ -1453,7 +1644,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1453
1644
|
expected: "string",
|
|
1454
1645
|
value: input3.metabolite
|
|
1455
1646
|
})].every((flag) => flag);
|
|
1456
|
-
const $
|
|
1647
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1457
1648
|
path: _path2 + ".genome",
|
|
1458
1649
|
expected: "string",
|
|
1459
1650
|
value: input3.genome
|
|
@@ -1485,12 +1676,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1485
1676
|
path: _path2 + ".terms",
|
|
1486
1677
|
expected: "Array<NumericDictTerm>",
|
|
1487
1678
|
value: input3.terms
|
|
1488
|
-
})) && input3.terms.map((elem,
|
|
1489
|
-
path: _path2 + ".terms[" +
|
|
1679
|
+
})) && input3.terms.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1680
|
+
path: _path2 + ".terms[" + _index30 + "]",
|
|
1490
1681
|
expected: "NumericDictTerm",
|
|
1491
1682
|
value: elem
|
|
1492
|
-
})) && $
|
|
1493
|
-
path: _path2 + ".terms[" +
|
|
1683
|
+
})) && $vo39(elem, _path2 + ".terms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1684
|
+
path: _path2 + ".terms[" + _index30 + "]",
|
|
1494
1685
|
expected: "NumericDictTerm",
|
|
1495
1686
|
value: elem
|
|
1496
1687
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1502,7 +1693,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1502
1693
|
expected: "(string | undefined)",
|
|
1503
1694
|
value: input3.zScoreTransformation
|
|
1504
1695
|
})].every((flag) => flag);
|
|
1505
|
-
const $
|
|
1696
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1506
1697
|
path: _path2 + ".id",
|
|
1507
1698
|
expected: "string",
|
|
1508
1699
|
value: input3.id
|
|
@@ -1518,8 +1709,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1518
1709
|
path: _path2 + ".child_types",
|
|
1519
1710
|
expected: "(Array<string> | undefined)",
|
|
1520
1711
|
value: input3.child_types
|
|
1521
|
-
})) && input3.child_types.map((elem,
|
|
1522
|
-
path: _path2 + ".child_types[" +
|
|
1712
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1713
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1523
1714
|
expected: "string",
|
|
1524
1715
|
value: elem
|
|
1525
1716
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1534,8 +1725,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1534
1725
|
path: _path2 + ".included_types",
|
|
1535
1726
|
expected: "(Array<string> | undefined)",
|
|
1536
1727
|
value: input3.included_types
|
|
1537
|
-
})) && input3.included_types.map((elem,
|
|
1538
|
-
path: _path2 + ".included_types[" +
|
|
1728
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1729
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1539
1730
|
expected: "string",
|
|
1540
1731
|
value: elem
|
|
1541
1732
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1566,7 +1757,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1566
1757
|
path: _path2 + ".bins",
|
|
1567
1758
|
expected: "PresetNumericBins",
|
|
1568
1759
|
value: input3.bins
|
|
1569
|
-
})) && $
|
|
1760
|
+
})) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1570
1761
|
path: _path2 + ".bins",
|
|
1571
1762
|
expected: "PresetNumericBins",
|
|
1572
1763
|
value: input3.bins
|
|
@@ -1588,9 +1779,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1588
1779
|
})();
|
|
1589
1780
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1590
1781
|
if ("string" === typeof input3.type)
|
|
1591
|
-
return $
|
|
1782
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1592
1783
|
if ("filter" === input3.type)
|
|
1593
|
-
return $
|
|
1784
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1594
1785
|
return $report(_exceptionable2, {
|
|
1595
1786
|
path: _path2,
|
|
1596
1787
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1599,59 +1790,70 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1599
1790
|
})();
|
|
1600
1791
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1601
1792
|
if (true === input3.startunbounded)
|
|
1602
|
-
return $vo22(input3, _path2, _exceptionable2);
|
|
1603
|
-
if (true === input3.stopunbounded)
|
|
1604
1793
|
return $vo24(input3, _path2, _exceptionable2);
|
|
1605
|
-
|
|
1794
|
+
if (true === input3.stopunbounded)
|
|
1795
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1796
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1606
1797
|
})();
|
|
1607
1798
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1608
1799
|
if (void 0 !== input3.ranges)
|
|
1609
|
-
return $
|
|
1610
|
-
return $vo3(input3, _path2, false) || $
|
|
1800
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1801
|
+
return $vo3(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
1611
1802
|
})();
|
|
1612
1803
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1613
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1614
|
-
return $
|
|
1615
|
-
return $
|
|
1804
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index33) => "object" === typeof elem && null !== elem && $vo12(elem, _path2 + ".lst[" + _index33 + "]", false)).every((flag) => flag))
|
|
1805
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1806
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1616
1807
|
})();
|
|
1617
1808
|
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) => (() => {
|
|
1618
1820
|
if ("regular-bin" === input3.type)
|
|
1619
|
-
return $
|
|
1821
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1620
1822
|
if ("custom-bin" === input3.type)
|
|
1621
|
-
return $
|
|
1823
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
1622
1824
|
return $report(_exceptionable2, {
|
|
1623
1825
|
path: _path2,
|
|
1624
1826
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1625
1827
|
value: input3
|
|
1626
1828
|
});
|
|
1627
1829
|
})();
|
|
1628
|
-
const $
|
|
1830
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1629
1831
|
if (true === input3.startunbounded)
|
|
1630
|
-
return $
|
|
1832
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1631
1833
|
if (void 0 !== input3.start)
|
|
1632
|
-
return $
|
|
1834
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1633
1835
|
return $report(_exceptionable2, {
|
|
1634
1836
|
path: _path2,
|
|
1635
1837
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1636
1838
|
value: input3
|
|
1637
1839
|
});
|
|
1638
1840
|
})();
|
|
1639
|
-
const $
|
|
1841
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1640
1842
|
if (void 0 !== input3.stop)
|
|
1641
|
-
return $
|
|
1843
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1642
1844
|
if (true === input3.stopunbounded)
|
|
1643
|
-
return $
|
|
1845
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1644
1846
|
return $report(_exceptionable2, {
|
|
1645
1847
|
path: _path2,
|
|
1646
1848
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1647
1849
|
value: input3
|
|
1648
1850
|
});
|
|
1649
1851
|
})();
|
|
1650
|
-
const $
|
|
1852
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1651
1853
|
if ("numericDictTerm" === input3.dataType)
|
|
1652
|
-
return $
|
|
1854
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
1653
1855
|
if ("metaboliteIntensity" === input3.dataType)
|
|
1654
|
-
return $
|
|
1856
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1655
1857
|
if ("geneExpression" === input3.dataType)
|
|
1656
1858
|
return $vo0(input3, _path2, _exceptionable2);
|
|
1657
1859
|
return $report(_exceptionable2, {
|
|
@@ -1664,7 +1866,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1664
1866
|
path: _path + "",
|
|
1665
1867
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1666
1868
|
value: input2
|
|
1667
|
-
})) && $
|
|
1869
|
+
})) && $vu9(input2, _path + "", true) || $report(true, {
|
|
1668
1870
|
path: _path + "",
|
|
1669
1871
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1670
1872
|
value: input2
|
|
@@ -1725,19 +1927,21 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1725
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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1726
1928
|
const $io18 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io19(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io20(elem)));
|
|
1727
1929
|
const $io19 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
1728
|
-
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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));
|
|
1729
|
-
const $io21 = (input3) => (void 0 === input3.
|
|
1730
|
-
const $io22 = (input3) =>
|
|
1731
|
-
const $io23 = (input3) => "string" === typeof input3.name && "string" === typeof input3.
|
|
1732
|
-
const $io24 = (input3) =>
|
|
1733
|
-
const $io25 = (input3) => "string" === typeof input3.
|
|
1734
|
-
const $io26 = (input3) => "
|
|
1735
|
-
const $io27 = (input3) => "
|
|
1736
|
-
const $io28 = (input3) =>
|
|
1737
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
1738
|
-
const $io30 = (input3) => "
|
|
1739
|
-
const $io31 = (input3) =>
|
|
1740
|
-
const $io32 = (input3) =>
|
|
1930
|
+
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.geneVariantTerm || "object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm && $iu6(input3.geneVariantTerm)) && 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));
|
|
1931
|
+
const $io21 = (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)) && "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));
|
|
1932
|
+
const $io22 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
|
|
1933
|
+
const $io23 = (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)));
|
|
1934
|
+
const $io24 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io25(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1935
|
+
const $io25 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1936
|
+
const $io26 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io27(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
1937
|
+
const $io27 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io19(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io20(elem))) && ("object" === typeof input3.active && null !== input3.active && $io14(input3.active)) && "number" === typeof input3.group;
|
|
1938
|
+
const $io28 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
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) => {
|
|
1741
1945
|
const value = input3[key];
|
|
1742
1946
|
if (void 0 === value)
|
|
1743
1947
|
return true;
|
|
@@ -1745,38 +1949,38 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1745
1949
|
return "number" === typeof value;
|
|
1746
1950
|
return true;
|
|
1747
1951
|
});
|
|
1748
|
-
const $
|
|
1749
|
-
const $
|
|
1750
|
-
const $
|
|
1751
|
-
const $
|
|
1752
|
-
const $
|
|
1753
|
-
const $
|
|
1754
|
-
const $
|
|
1755
|
-
const $
|
|
1756
|
-
const $
|
|
1757
|
-
const $
|
|
1758
|
-
const $
|
|
1759
|
-
const $
|
|
1760
|
-
const $
|
|
1761
|
-
const $
|
|
1762
|
-
const $
|
|
1763
|
-
const $
|
|
1764
|
-
const $
|
|
1765
|
-
const $
|
|
1766
|
-
const $
|
|
1767
|
-
const $
|
|
1768
|
-
const $
|
|
1952
|
+
const $io35 = (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);
|
|
1953
|
+
const $io36 = (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);
|
|
1954
|
+
const $io37 = (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);
|
|
1955
|
+
const $io38 = (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) && "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);
|
|
1956
|
+
const $io39 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1957
|
+
const $io40 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1958
|
+
const $io41 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io42(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 && $io43(elem)));
|
|
1959
|
+
const $io42 = (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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter));
|
|
1960
|
+
const $io43 = (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;
|
|
1961
|
+
const $io44 = (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.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io45(elem)));
|
|
1962
|
+
const $io45 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1963
|
+
const $io46 = (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 && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1964
|
+
const $io47 = (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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1965
|
+
const $io48 = (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));
|
|
1966
|
+
const $io49 = (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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter));
|
|
1967
|
+
const $io50 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && (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 && $io51(elem)));
|
|
1968
|
+
const $io51 = (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 && $io52(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io53(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);
|
|
1969
|
+
const $io52 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1970
|
+
const $io53 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1971
|
+
const $io54 = (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) && $io55(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter));
|
|
1972
|
+
const $io55 = (input3) => Object.keys(input3).every((key) => {
|
|
1769
1973
|
const value = input3[key];
|
|
1770
1974
|
if (void 0 === value)
|
|
1771
1975
|
return true;
|
|
1772
1976
|
if (RegExp(/(.*)/).test(key))
|
|
1773
|
-
return "object" === typeof value && null !== value && $
|
|
1977
|
+
return "object" === typeof value && null !== value && $io56(value);
|
|
1774
1978
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1775
|
-
return "object" === typeof value && null !== value && $
|
|
1979
|
+
return "object" === typeof value && null !== value && $io56(value);
|
|
1776
1980
|
return true;
|
|
1777
1981
|
});
|
|
1778
|
-
const $
|
|
1779
|
-
const $
|
|
1982
|
+
const $io56 = (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 && $io57(elem))) && true;
|
|
1983
|
+
const $io57 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1780
1984
|
const $iu0 = (input3) => (() => {
|
|
1781
1985
|
if ("tvslst" === input3.type)
|
|
1782
1986
|
return $io14(input3);
|
|
@@ -1786,77 +1990,84 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1786
1990
|
})();
|
|
1787
1991
|
const $iu1 = (input3) => (() => {
|
|
1788
1992
|
if ("string" === typeof input3.type)
|
|
1789
|
-
return $
|
|
1993
|
+
return $io24(input3);
|
|
1790
1994
|
if ("filter" === input3.type)
|
|
1791
|
-
return $
|
|
1995
|
+
return $io26(input3);
|
|
1792
1996
|
return false;
|
|
1793
1997
|
})();
|
|
1794
1998
|
const $iu2 = (input3) => (() => {
|
|
1795
1999
|
if (true === input3.startunbounded)
|
|
1796
|
-
return $io33(input3);
|
|
1797
|
-
if (true === input3.stopunbounded)
|
|
1798
2000
|
return $io35(input3);
|
|
1799
|
-
|
|
2001
|
+
if (true === input3.stopunbounded)
|
|
2002
|
+
return $io37(input3);
|
|
2003
|
+
return $io36(input3);
|
|
1800
2004
|
})();
|
|
1801
2005
|
const $iu3 = (input3) => (() => {
|
|
1802
2006
|
if ("gene" === input3.kind)
|
|
1803
2007
|
return $io11(input3);
|
|
1804
2008
|
if ("coord" === input3.kind)
|
|
1805
|
-
return $
|
|
2009
|
+
return $io46(input3);
|
|
1806
2010
|
if ("categorical" === input3.type)
|
|
1807
|
-
return $
|
|
2011
|
+
return $io47(input3);
|
|
1808
2012
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1809
|
-
return $
|
|
2013
|
+
return $io48(input3);
|
|
1810
2014
|
if ("condition" === input3.type)
|
|
1811
|
-
return $
|
|
2015
|
+
return $io49(input3);
|
|
1812
2016
|
return (() => {
|
|
1813
|
-
if ($
|
|
1814
|
-
return $
|
|
1815
|
-
if ($
|
|
1816
|
-
return $
|
|
2017
|
+
if ($io50(input3))
|
|
2018
|
+
return $io50(input3);
|
|
2019
|
+
if ($io54(input3))
|
|
2020
|
+
return $io54(input3);
|
|
1817
2021
|
return false;
|
|
1818
2022
|
})();
|
|
1819
2023
|
})();
|
|
1820
2024
|
const $iu4 = (input3) => (() => {
|
|
1821
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1822
|
-
return $
|
|
1823
|
-
return $
|
|
2025
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)))
|
|
2026
|
+
return $io22(input3);
|
|
2027
|
+
return $io28(input3);
|
|
1824
2028
|
})();
|
|
1825
2029
|
const $iu5 = (input3) => (() => {
|
|
1826
2030
|
if (void 0 !== input3.ranges)
|
|
1827
|
-
return $
|
|
2031
|
+
return $io30(input3);
|
|
1828
2032
|
return (() => {
|
|
1829
2033
|
if ($io16(input3))
|
|
1830
2034
|
return $io16(input3);
|
|
1831
|
-
if ($
|
|
1832
|
-
return $
|
|
1833
|
-
if ($
|
|
1834
|
-
return $
|
|
2035
|
+
if ($io41(input3))
|
|
2036
|
+
return $io41(input3);
|
|
2037
|
+
if ($io44(input3))
|
|
2038
|
+
return $io44(input3);
|
|
1835
2039
|
return false;
|
|
1836
2040
|
})();
|
|
1837
2041
|
})();
|
|
1838
2042
|
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) => (() => {
|
|
1839
2050
|
if ("regular-bin" === input3.type)
|
|
1840
|
-
return $
|
|
2051
|
+
return $io33(input3);
|
|
1841
2052
|
if ("custom-bin" === input3.type)
|
|
1842
|
-
return $
|
|
2053
|
+
return $io38(input3);
|
|
1843
2054
|
return false;
|
|
1844
2055
|
})();
|
|
1845
|
-
const $
|
|
2056
|
+
const $iu8 = (input3) => (() => {
|
|
1846
2057
|
if (true === input3.startunbounded)
|
|
1847
|
-
return $
|
|
2058
|
+
return $io35(input3);
|
|
1848
2059
|
if (void 0 !== input3.start)
|
|
1849
|
-
return $
|
|
2060
|
+
return $io36(input3);
|
|
1850
2061
|
return false;
|
|
1851
2062
|
})();
|
|
1852
|
-
const $
|
|
2063
|
+
const $iu9 = (input3) => (() => {
|
|
1853
2064
|
if (void 0 !== input3.stop)
|
|
1854
|
-
return $
|
|
2065
|
+
return $io36(input3);
|
|
1855
2066
|
if (true === input3.stopunbounded)
|
|
1856
|
-
return $
|
|
2067
|
+
return $io37(input3);
|
|
1857
2068
|
return false;
|
|
1858
2069
|
})();
|
|
1859
|
-
const $
|
|
2070
|
+
const $iu10 = (input3) => (() => {
|
|
1860
2071
|
if (void 0 !== input3.status)
|
|
1861
2072
|
return $io0(input3);
|
|
1862
2073
|
if (void 0 !== input3.clustering)
|
|
@@ -1865,7 +2076,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1865
2076
|
return $io10(input3);
|
|
1866
2077
|
return false;
|
|
1867
2078
|
})();
|
|
1868
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
2079
|
+
return "object" === typeof input2 && null !== input2 && $iu10(input2);
|
|
1869
2080
|
};
|
|
1870
2081
|
if (false === __is(input)) {
|
|
1871
2082
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -2434,6 +2645,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2434
2645
|
path: _path2 + ".name_noOrigin",
|
|
2435
2646
|
expected: "string",
|
|
2436
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
|
|
2437
2656
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2438
2657
|
path: _path2 + ".isleaf",
|
|
2439
2658
|
expected: "boolean",
|
|
@@ -2459,7 +2678,96 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2459
2678
|
expected: "TermValues",
|
|
2460
2679
|
value: input3.values
|
|
2461
2680
|
})].every((flag) => flag);
|
|
2462
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => [
|
|
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)",
|
|
2764
|
+
value: input3.groupsetting
|
|
2765
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2766
|
+
path: _path2 + ".groupsetting",
|
|
2767
|
+
expected: "(EnabledTermGroupSetting | __type.o9 | undefined)",
|
|
2768
|
+
value: input3.groupsetting
|
|
2769
|
+
})].every((flag) => flag);
|
|
2770
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2463
2771
|
path: _path2 + ".disabled",
|
|
2464
2772
|
expected: "(boolean | undefined)",
|
|
2465
2773
|
value: input3.disabled
|
|
@@ -2467,12 +2775,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2467
2775
|
path: _path2 + ".lst",
|
|
2468
2776
|
expected: "Array<Groupset>",
|
|
2469
2777
|
value: input3.lst
|
|
2470
|
-
})) && input3.lst.map((elem,
|
|
2471
|
-
path: _path2 + ".lst[" +
|
|
2778
|
+
})) && input3.lst.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2779
|
+
path: _path2 + ".lst[" + _index19 + "]",
|
|
2472
2780
|
expected: "Groupset",
|
|
2473
2781
|
value: elem
|
|
2474
|
-
})) && $
|
|
2475
|
-
path: _path2 + ".lst[" +
|
|
2782
|
+
})) && $vo23(elem, _path2 + ".lst[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2783
|
+
path: _path2 + ".lst[" + _index19 + "]",
|
|
2476
2784
|
expected: "Groupset",
|
|
2477
2785
|
value: elem
|
|
2478
2786
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2480,7 +2788,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2480
2788
|
expected: "Array<Groupset>",
|
|
2481
2789
|
value: input3.lst
|
|
2482
2790
|
})].every((flag) => flag);
|
|
2483
|
-
const $
|
|
2791
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2484
2792
|
path: _path2 + ".name",
|
|
2485
2793
|
expected: "string",
|
|
2486
2794
|
value: input3.name
|
|
@@ -2500,12 +2808,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2500
2808
|
path: _path2 + ".groups",
|
|
2501
2809
|
expected: "Array<GroupEntry>",
|
|
2502
2810
|
value: input3.groups
|
|
2503
|
-
})) && input3.groups.map((elem,
|
|
2504
|
-
path: _path2 + ".groups[" +
|
|
2811
|
+
})) && input3.groups.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2812
|
+
path: _path2 + ".groups[" + _index20 + "]",
|
|
2505
2813
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2506
2814
|
value: elem
|
|
2507
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
2508
|
-
path: _path2 + ".groups[" +
|
|
2815
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2816
|
+
path: _path2 + ".groups[" + _index20 + "]",
|
|
2509
2817
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2510
2818
|
value: elem
|
|
2511
2819
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2513,7 +2821,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2513
2821
|
expected: "Array<GroupEntry>",
|
|
2514
2822
|
value: input3.groups
|
|
2515
2823
|
})].every((flag) => flag);
|
|
2516
|
-
const $
|
|
2824
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2517
2825
|
path: _path2 + ".name",
|
|
2518
2826
|
expected: "string",
|
|
2519
2827
|
value: input3.name
|
|
@@ -2525,12 +2833,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2525
2833
|
path: _path2 + ".values",
|
|
2526
2834
|
expected: "Array<__type>.o4",
|
|
2527
2835
|
value: input3.values
|
|
2528
|
-
})) && input3.values.map((elem,
|
|
2529
|
-
path: _path2 + ".values[" +
|
|
2836
|
+
})) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2837
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
2530
2838
|
expected: "__type.o8",
|
|
2531
2839
|
value: elem
|
|
2532
|
-
})) && $
|
|
2533
|
-
path: _path2 + ".values[" +
|
|
2840
|
+
})) && $vo25(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2841
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
2534
2842
|
expected: "__type.o8",
|
|
2535
2843
|
value: elem
|
|
2536
2844
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2542,7 +2850,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2542
2850
|
expected: "(boolean | undefined)",
|
|
2543
2851
|
value: input3.uncomputable
|
|
2544
2852
|
})].every((flag) => flag);
|
|
2545
|
-
const $
|
|
2853
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2546
2854
|
path: _path2 + ".key",
|
|
2547
2855
|
expected: "(number | string)",
|
|
2548
2856
|
value: input3.key
|
|
@@ -2551,7 +2859,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2551
2859
|
expected: "string",
|
|
2552
2860
|
value: input3.label
|
|
2553
2861
|
})].every((flag) => flag);
|
|
2554
|
-
const $
|
|
2862
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2555
2863
|
path: _path2 + ".name",
|
|
2556
2864
|
expected: "string",
|
|
2557
2865
|
value: input3.name
|
|
@@ -2563,7 +2871,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2563
2871
|
path: _path2 + ".filter",
|
|
2564
2872
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
2565
2873
|
value: input3.filter
|
|
2566
|
-
})) && $
|
|
2874
|
+
})) && $vo27(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2567
2875
|
path: _path2 + ".filter",
|
|
2568
2876
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
2569
2877
|
value: input3.filter
|
|
@@ -2572,7 +2880,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2572
2880
|
expected: "boolean",
|
|
2573
2881
|
value: input3.uncomputable
|
|
2574
2882
|
})].every((flag) => flag);
|
|
2575
|
-
const $
|
|
2883
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
2576
2884
|
path: _path2 + ".opts",
|
|
2577
2885
|
expected: "__type.o7",
|
|
2578
2886
|
value: input3.opts
|
|
@@ -2584,12 +2892,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2584
2892
|
path: _path2 + ".terms",
|
|
2585
2893
|
expected: "Array<DtTerm>",
|
|
2586
2894
|
value: input3.terms
|
|
2587
|
-
})) && input3.terms.map((elem,
|
|
2588
|
-
path: _path2 + ".terms[" +
|
|
2895
|
+
})) && input3.terms.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2896
|
+
path: _path2 + ".terms[" + _index22 + "]",
|
|
2589
2897
|
expected: "DtTerm",
|
|
2590
2898
|
value: elem
|
|
2591
|
-
})) && $vo20(elem, _path2 + ".terms[" +
|
|
2592
|
-
path: _path2 + ".terms[" +
|
|
2899
|
+
})) && $vo20(elem, _path2 + ".terms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2900
|
+
path: _path2 + ".terms[" + _index22 + "]",
|
|
2593
2901
|
expected: "DtTerm",
|
|
2594
2902
|
value: elem
|
|
2595
2903
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2609,7 +2917,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2609
2917
|
expected: "number",
|
|
2610
2918
|
value: input3.group
|
|
2611
2919
|
})].every((flag) => flag);
|
|
2612
|
-
const $
|
|
2920
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2613
2921
|
path: _path2 + ".disabled",
|
|
2614
2922
|
expected: "boolean",
|
|
2615
2923
|
value: input3.disabled
|
|
@@ -2626,7 +2934,92 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2626
2934
|
expected: "([] | undefined)",
|
|
2627
2935
|
value: input3.lst
|
|
2628
2936
|
})].every((flag) => flag);
|
|
2629
|
-
const $
|
|
2937
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2938
|
+
path: _path2 + ".id",
|
|
2939
|
+
expected: "string",
|
|
2940
|
+
value: input3.id
|
|
2941
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2942
|
+
path: _path2 + ".name",
|
|
2943
|
+
expected: "string",
|
|
2944
|
+
value: input3.name
|
|
2945
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2946
|
+
path: _path2 + ".type",
|
|
2947
|
+
expected: '"geneVariant"',
|
|
2948
|
+
value: input3.type
|
|
2949
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2950
|
+
path: _path2 + ".child_types",
|
|
2951
|
+
expected: "(Array<string> | undefined)",
|
|
2952
|
+
value: input3.child_types
|
|
2953
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2954
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
2955
|
+
expected: "string",
|
|
2956
|
+
value: elem
|
|
2957
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2958
|
+
path: _path2 + ".child_types",
|
|
2959
|
+
expected: "(Array<string> | undefined)",
|
|
2960
|
+
value: input3.child_types
|
|
2961
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2962
|
+
path: _path2 + ".hashtmldetail",
|
|
2963
|
+
expected: "(boolean | undefined)",
|
|
2964
|
+
value: input3.hashtmldetail
|
|
2965
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2966
|
+
path: _path2 + ".included_types",
|
|
2967
|
+
expected: "(Array<string> | undefined)",
|
|
2968
|
+
value: input3.included_types
|
|
2969
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2970
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
2971
|
+
expected: "string",
|
|
2972
|
+
value: elem
|
|
2973
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2974
|
+
path: _path2 + ".included_types",
|
|
2975
|
+
expected: "(Array<string> | undefined)",
|
|
2976
|
+
value: input3.included_types
|
|
2977
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2978
|
+
path: _path2 + ".isleaf",
|
|
2979
|
+
expected: "(boolean | undefined)",
|
|
2980
|
+
value: input3.isleaf
|
|
2981
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2982
|
+
path: _path2 + ".values",
|
|
2983
|
+
expected: "(TermValues | undefined)",
|
|
2984
|
+
value: input3.values
|
|
2985
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2986
|
+
path: _path2 + ".values",
|
|
2987
|
+
expected: "(TermValues | undefined)",
|
|
2988
|
+
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, {
|
|
2630
3023
|
path: _path2 + ".join",
|
|
2631
3024
|
expected: "(string | undefined)",
|
|
2632
3025
|
value: input3.join
|
|
@@ -2638,7 +3031,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2638
3031
|
path: _path2 + ".term",
|
|
2639
3032
|
expected: "NumericTerm",
|
|
2640
3033
|
value: input3.term
|
|
2641
|
-
})) && $
|
|
3034
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2642
3035
|
path: _path2 + ".term",
|
|
2643
3036
|
expected: "NumericTerm",
|
|
2644
3037
|
value: input3.term
|
|
@@ -2646,12 +3039,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2646
3039
|
path: _path2 + ".ranges",
|
|
2647
3040
|
expected: "Array<NumericBin>",
|
|
2648
3041
|
value: input3.ranges
|
|
2649
|
-
})) && input3.ranges.map((elem,
|
|
2650
|
-
path: _path2 + ".ranges[" +
|
|
3042
|
+
})) && input3.ranges.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3043
|
+
path: _path2 + ".ranges[" + _index25 + "]",
|
|
2651
3044
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2652
3045
|
value: elem
|
|
2653
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
2654
|
-
path: _path2 + ".ranges[" +
|
|
3046
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3047
|
+
path: _path2 + ".ranges[" + _index25 + "]",
|
|
2655
3048
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2656
3049
|
value: elem
|
|
2657
3050
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2662,12 +3055,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2662
3055
|
path: _path2 + ".values",
|
|
2663
3056
|
expected: "Array<__type>.o5",
|
|
2664
3057
|
value: input3.values
|
|
2665
|
-
})) && input3.values.map((elem,
|
|
2666
|
-
path: _path2 + ".values[" +
|
|
3058
|
+
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3059
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
2667
3060
|
expected: "__type.o11",
|
|
2668
3061
|
value: elem
|
|
2669
|
-
})) && $
|
|
2670
|
-
path: _path2 + ".values[" +
|
|
3062
|
+
})) && $vo40(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3063
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
2671
3064
|
expected: "__type.o11",
|
|
2672
3065
|
value: elem
|
|
2673
3066
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2675,7 +3068,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2675
3068
|
expected: "Array<__type>.o5",
|
|
2676
3069
|
value: input3.values
|
|
2677
3070
|
})].every((flag) => flag);
|
|
2678
|
-
const $
|
|
3071
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2679
3072
|
path: _path2 + ".id",
|
|
2680
3073
|
expected: "string",
|
|
2681
3074
|
value: input3.id
|
|
@@ -2691,8 +3084,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2691
3084
|
path: _path2 + ".child_types",
|
|
2692
3085
|
expected: "(Array<string> | undefined)",
|
|
2693
3086
|
value: input3.child_types
|
|
2694
|
-
})) && input3.child_types.map((elem,
|
|
2695
|
-
path: _path2 + ".child_types[" +
|
|
3087
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3088
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
2696
3089
|
expected: "string",
|
|
2697
3090
|
value: elem
|
|
2698
3091
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2707,8 +3100,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2707
3100
|
path: _path2 + ".included_types",
|
|
2708
3101
|
expected: "(Array<string> | undefined)",
|
|
2709
3102
|
value: input3.included_types
|
|
2710
|
-
})) && input3.included_types.map((elem,
|
|
2711
|
-
path: _path2 + ".included_types[" +
|
|
3103
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3104
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
2712
3105
|
expected: "string",
|
|
2713
3106
|
value: elem
|
|
2714
3107
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2739,7 +3132,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2739
3132
|
path: _path2 + ".bins",
|
|
2740
3133
|
expected: "PresetNumericBins",
|
|
2741
3134
|
value: input3.bins
|
|
2742
|
-
})) && $
|
|
3135
|
+
})) && $vo32(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2743
3136
|
path: _path2 + ".bins",
|
|
2744
3137
|
expected: "PresetNumericBins",
|
|
2745
3138
|
value: input3.bins
|
|
@@ -2751,16 +3144,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2751
3144
|
path: _path2 + ".continuousColorScale",
|
|
2752
3145
|
expected: "(__type.o10 | undefined)",
|
|
2753
3146
|
value: input3.continuousColorScale
|
|
2754
|
-
})) && $
|
|
3147
|
+
})) && $vo39(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2755
3148
|
path: _path2 + ".continuousColorScale",
|
|
2756
3149
|
expected: "(__type.o10 | undefined)",
|
|
2757
3150
|
value: input3.continuousColorScale
|
|
2758
3151
|
})].every((flag) => flag);
|
|
2759
|
-
const $
|
|
3152
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2760
3153
|
path: _path2 + '["default"]',
|
|
2761
3154
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2762
3155
|
value: input3["default"]
|
|
2763
|
-
})) && $
|
|
3156
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2764
3157
|
path: _path2 + '["default"]',
|
|
2765
3158
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2766
3159
|
value: input3["default"]
|
|
@@ -2768,7 +3161,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2768
3161
|
path: _path2 + ".less",
|
|
2769
3162
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2770
3163
|
value: input3.less
|
|
2771
|
-
})) && $
|
|
3164
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2772
3165
|
path: _path2 + ".less",
|
|
2773
3166
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2774
3167
|
value: input3.less
|
|
@@ -2793,11 +3186,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2793
3186
|
expected: "(number | undefined)",
|
|
2794
3187
|
value: input3.max
|
|
2795
3188
|
})].every((flag) => flag);
|
|
2796
|
-
const $
|
|
3189
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2797
3190
|
path: _path2 + ".hiddenValues",
|
|
2798
3191
|
expected: "(HiddenValues | undefined)",
|
|
2799
3192
|
value: input3.hiddenValues
|
|
2800
|
-
})) && $
|
|
3193
|
+
})) && $vo34(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2801
3194
|
path: _path2 + ".hiddenValues",
|
|
2802
3195
|
expected: "(HiddenValues | undefined)",
|
|
2803
3196
|
value: input3.hiddenValues
|
|
@@ -2829,7 +3222,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2829
3222
|
path: _path2 + ".first_bin",
|
|
2830
3223
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2831
3224
|
value: input3.first_bin
|
|
2832
|
-
})) && $
|
|
3225
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2833
3226
|
path: _path2 + ".first_bin",
|
|
2834
3227
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2835
3228
|
value: input3.first_bin
|
|
@@ -2837,7 +3230,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2837
3230
|
path: _path2 + ".last_bin",
|
|
2838
3231
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2839
3232
|
value: input3.last_bin
|
|
2840
|
-
})) && $
|
|
3233
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2841
3234
|
path: _path2 + ".last_bin",
|
|
2842
3235
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2843
3236
|
value: input3.last_bin
|
|
@@ -2846,7 +3239,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2846
3239
|
expected: "(number | undefined)",
|
|
2847
3240
|
value: input3.label_offset
|
|
2848
3241
|
})].every((flag) => flag);
|
|
2849
|
-
const $
|
|
3242
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2850
3243
|
const value = input3[key];
|
|
2851
3244
|
if (void 0 === value)
|
|
2852
3245
|
return true;
|
|
@@ -2858,7 +3251,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2858
3251
|
});
|
|
2859
3252
|
return true;
|
|
2860
3253
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2861
|
-
const $
|
|
3254
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2862
3255
|
path: _path2 + ".startunbounded",
|
|
2863
3256
|
expected: "true",
|
|
2864
3257
|
value: input3.startunbounded
|
|
@@ -2883,7 +3276,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2883
3276
|
expected: "(string | undefined)",
|
|
2884
3277
|
value: input3.label
|
|
2885
3278
|
})].every((flag) => flag);
|
|
2886
|
-
const $
|
|
3279
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2887
3280
|
path: _path2 + ".startunbounded",
|
|
2888
3281
|
expected: "(false | undefined)",
|
|
2889
3282
|
value: input3.startunbounded
|
|
@@ -2912,7 +3305,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2912
3305
|
expected: "(string | undefined)",
|
|
2913
3306
|
value: input3.label
|
|
2914
3307
|
})].every((flag) => flag);
|
|
2915
|
-
const $
|
|
3308
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2916
3309
|
path: _path2 + ".start",
|
|
2917
3310
|
expected: "number",
|
|
2918
3311
|
value: input3.start
|
|
@@ -2937,11 +3330,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2937
3330
|
expected: "(string | undefined)",
|
|
2938
3331
|
value: input3.label
|
|
2939
3332
|
})].every((flag) => flag);
|
|
2940
|
-
const $
|
|
3333
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2941
3334
|
path: _path2 + ".hiddenValues",
|
|
2942
3335
|
expected: "(HiddenValues | undefined)",
|
|
2943
3336
|
value: input3.hiddenValues
|
|
2944
|
-
})) && $
|
|
3337
|
+
})) && $vo34(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2945
3338
|
path: _path2 + ".hiddenValues",
|
|
2946
3339
|
expected: "(HiddenValues | undefined)",
|
|
2947
3340
|
value: input3.hiddenValues
|
|
@@ -2983,12 +3376,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2983
3376
|
path: _path2 + ".lst",
|
|
2984
3377
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2985
3378
|
value: input3.lst.slice(1)
|
|
2986
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2987
|
-
path: _path2 + ".lst[" + (1 +
|
|
3379
|
+
})) && input3.lst.slice(1).map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3380
|
+
path: _path2 + ".lst[" + (1 + _index29) + "]",
|
|
2988
3381
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2989
3382
|
value: elem
|
|
2990
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
2991
|
-
path: _path2 + ".lst[" + (1 +
|
|
3383
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index29) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3384
|
+
path: _path2 + ".lst[" + (1 + _index29) + "]",
|
|
2992
3385
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2993
3386
|
value: elem
|
|
2994
3387
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3004,7 +3397,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3004
3397
|
expected: '("median" | undefined)',
|
|
3005
3398
|
value: input3.preferredBins
|
|
3006
3399
|
})].every((flag) => flag);
|
|
3007
|
-
const $
|
|
3400
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
3008
3401
|
path: _path2 + ".minColor",
|
|
3009
3402
|
expected: "string",
|
|
3010
3403
|
value: input3.minColor
|
|
@@ -3013,7 +3406,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3013
3406
|
expected: "string",
|
|
3014
3407
|
value: input3.maxColor
|
|
3015
3408
|
})].every((flag) => flag);
|
|
3016
|
-
const $
|
|
3409
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3017
3410
|
path: _path2 + ".key",
|
|
3018
3411
|
expected: "string",
|
|
3019
3412
|
value: input3.key
|
|
@@ -3030,7 +3423,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3030
3423
|
expected: "(string | undefined)",
|
|
3031
3424
|
value: input3.label
|
|
3032
3425
|
})].every((flag) => flag);
|
|
3033
|
-
const $
|
|
3426
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3034
3427
|
path: _path2 + ".join",
|
|
3035
3428
|
expected: "(string | undefined)",
|
|
3036
3429
|
value: input3.join
|
|
@@ -3042,7 +3435,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3042
3435
|
path: _path2 + ".term",
|
|
3043
3436
|
expected: "ConditionTerm",
|
|
3044
3437
|
value: input3.term
|
|
3045
|
-
})) && $
|
|
3438
|
+
})) && $vo42(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3046
3439
|
path: _path2 + ".term",
|
|
3047
3440
|
expected: "ConditionTerm",
|
|
3048
3441
|
value: input3.term
|
|
@@ -3062,12 +3455,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3062
3455
|
path: _path2 + ".grade_and_child",
|
|
3063
3456
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3064
3457
|
value: input3.grade_and_child
|
|
3065
|
-
})) && input3.grade_and_child.map((elem,
|
|
3066
|
-
path: _path2 + ".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 + "]",
|
|
3067
3460
|
expected: "GradeAndChildEntry",
|
|
3068
3461
|
value: elem
|
|
3069
|
-
})) && $
|
|
3070
|
-
path: _path2 + ".grade_and_child[" +
|
|
3462
|
+
})) && $vo43(elem, _path2 + ".grade_and_child[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3463
|
+
path: _path2 + ".grade_and_child[" + _index30 + "]",
|
|
3071
3464
|
expected: "GradeAndChildEntry",
|
|
3072
3465
|
value: elem
|
|
3073
3466
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3075,7 +3468,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3075
3468
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3076
3469
|
value: input3.grade_and_child
|
|
3077
3470
|
})].every((flag) => flag);
|
|
3078
|
-
const $
|
|
3471
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3079
3472
|
path: _path2 + ".id",
|
|
3080
3473
|
expected: "string",
|
|
3081
3474
|
value: input3.id
|
|
@@ -3091,8 +3484,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3091
3484
|
path: _path2 + ".child_types",
|
|
3092
3485
|
expected: "(Array<string> | undefined)",
|
|
3093
3486
|
value: input3.child_types
|
|
3094
|
-
})) && input3.child_types.map((elem,
|
|
3095
|
-
path: _path2 + ".child_types[" +
|
|
3487
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3488
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
3096
3489
|
expected: "string",
|
|
3097
3490
|
value: elem
|
|
3098
3491
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3107,8 +3500,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3107
3500
|
path: _path2 + ".included_types",
|
|
3108
3501
|
expected: "(Array<string> | undefined)",
|
|
3109
3502
|
value: input3.included_types
|
|
3110
|
-
})) && input3.included_types.map((elem,
|
|
3111
|
-
path: _path2 + ".included_types[" +
|
|
3503
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3504
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
3112
3505
|
expected: "string",
|
|
3113
3506
|
value: elem
|
|
3114
3507
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3136,7 +3529,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3136
3529
|
expected: "(TermFilter | undefined)",
|
|
3137
3530
|
value: input3.filter
|
|
3138
3531
|
})].every((flag) => flag);
|
|
3139
|
-
const $
|
|
3532
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3140
3533
|
path: _path2 + ".grade",
|
|
3141
3534
|
expected: "number",
|
|
3142
3535
|
value: input3.grade
|
|
@@ -3153,7 +3546,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3153
3546
|
expected: "string",
|
|
3154
3547
|
value: input3.child_label
|
|
3155
3548
|
})].every((flag) => flag);
|
|
3156
|
-
const $
|
|
3549
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3157
3550
|
path: _path2 + ".join",
|
|
3158
3551
|
expected: "(string | undefined)",
|
|
3159
3552
|
value: input3.join
|
|
@@ -3173,12 +3566,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3173
3566
|
path: _path2 + ".values",
|
|
3174
3567
|
expected: "Array<__type>.o6",
|
|
3175
3568
|
value: input3.values
|
|
3176
|
-
})) && input3.values.map((elem,
|
|
3177
|
-
path: _path2 + ".values[" +
|
|
3569
|
+
})) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3570
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
3178
3571
|
expected: "__type.o12",
|
|
3179
3572
|
value: elem
|
|
3180
|
-
})) && $
|
|
3181
|
-
path: _path2 + ".values[" +
|
|
3573
|
+
})) && $vo45(elem, _path2 + ".values[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3574
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
3182
3575
|
expected: "__type.o12",
|
|
3183
3576
|
value: elem
|
|
3184
3577
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3186,7 +3579,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3186
3579
|
expected: "Array<__type>.o6",
|
|
3187
3580
|
value: input3.values
|
|
3188
3581
|
})].every((flag) => flag);
|
|
3189
|
-
const $
|
|
3582
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3190
3583
|
path: _path2 + ".key",
|
|
3191
3584
|
expected: "string",
|
|
3192
3585
|
value: input3.key
|
|
@@ -3199,7 +3592,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3199
3592
|
expected: "string",
|
|
3200
3593
|
value: input3.value
|
|
3201
3594
|
})].every((flag) => flag);
|
|
3202
|
-
const $
|
|
3595
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3203
3596
|
path: _path2 + ".id",
|
|
3204
3597
|
expected: "string",
|
|
3205
3598
|
value: input3.id
|
|
@@ -3215,8 +3608,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3215
3608
|
path: _path2 + ".child_types",
|
|
3216
3609
|
expected: "(Array<string> | undefined)",
|
|
3217
3610
|
value: input3.child_types
|
|
3218
|
-
})) && input3.child_types.map((elem,
|
|
3219
|
-
path: _path2 + ".child_types[" +
|
|
3611
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3612
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
3220
3613
|
expected: "string",
|
|
3221
3614
|
value: elem
|
|
3222
3615
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3231,8 +3624,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3231
3624
|
path: _path2 + ".included_types",
|
|
3232
3625
|
expected: "(Array<string> | undefined)",
|
|
3233
3626
|
value: input3.included_types
|
|
3234
|
-
})) && input3.included_types.map((elem,
|
|
3235
|
-
path: _path2 + ".included_types[" +
|
|
3627
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3628
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
3236
3629
|
expected: "string",
|
|
3237
3630
|
value: elem
|
|
3238
3631
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3284,7 +3677,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3284
3677
|
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
3285
3678
|
value: input3.groupsetting
|
|
3286
3679
|
})].every((flag) => flag);
|
|
3287
|
-
const $
|
|
3680
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3288
3681
|
path: _path2 + ".id",
|
|
3289
3682
|
expected: "string",
|
|
3290
3683
|
value: input3.id
|
|
@@ -3300,8 +3693,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3300
3693
|
path: _path2 + ".child_types",
|
|
3301
3694
|
expected: "(Array<string> | undefined)",
|
|
3302
3695
|
value: input3.child_types
|
|
3303
|
-
})) && input3.child_types.map((elem,
|
|
3304
|
-
path: _path2 + ".child_types[" +
|
|
3696
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3697
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
3305
3698
|
expected: "string",
|
|
3306
3699
|
value: elem
|
|
3307
3700
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3316,8 +3709,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3316
3709
|
path: _path2 + ".included_types",
|
|
3317
3710
|
expected: "(Array<string> | undefined)",
|
|
3318
3711
|
value: input3.included_types
|
|
3319
|
-
})) && input3.included_types.map((elem,
|
|
3320
|
-
path: _path2 + ".included_types[" +
|
|
3712
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3713
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
3321
3714
|
expected: "string",
|
|
3322
3715
|
value: elem
|
|
3323
3716
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3353,7 +3746,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3353
3746
|
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
3354
3747
|
value: input3.groupsetting
|
|
3355
3748
|
})].every((flag) => flag);
|
|
3356
|
-
const $
|
|
3749
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3357
3750
|
path: _path2 + ".id",
|
|
3358
3751
|
expected: "string",
|
|
3359
3752
|
value: input3.id
|
|
@@ -3369,8 +3762,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3369
3762
|
path: _path2 + ".child_types",
|
|
3370
3763
|
expected: "(Array<string> | undefined)",
|
|
3371
3764
|
value: input3.child_types
|
|
3372
|
-
})) && input3.child_types.map((elem,
|
|
3373
|
-
path: _path2 + ".child_types[" +
|
|
3765
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3766
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
3374
3767
|
expected: "string",
|
|
3375
3768
|
value: elem
|
|
3376
3769
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3385,8 +3778,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3385
3778
|
path: _path2 + ".included_types",
|
|
3386
3779
|
expected: "(Array<string> | undefined)",
|
|
3387
3780
|
value: input3.included_types
|
|
3388
|
-
})) && input3.included_types.map((elem,
|
|
3389
|
-
path: _path2 + ".included_types[" +
|
|
3781
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3782
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
3390
3783
|
expected: "string",
|
|
3391
3784
|
value: elem
|
|
3392
3785
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3417,7 +3810,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3417
3810
|
path: _path2 + ".bins",
|
|
3418
3811
|
expected: "PresetNumericBins",
|
|
3419
3812
|
value: input3.bins
|
|
3420
|
-
})) && $
|
|
3813
|
+
})) && $vo32(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3421
3814
|
path: _path2 + ".bins",
|
|
3422
3815
|
expected: "PresetNumericBins",
|
|
3423
3816
|
value: input3.bins
|
|
@@ -3429,12 +3822,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3429
3822
|
path: _path2 + ".continuousColorScale",
|
|
3430
3823
|
expected: "(__type.o10 | undefined)",
|
|
3431
3824
|
value: input3.continuousColorScale
|
|
3432
|
-
})) && $
|
|
3825
|
+
})) && $vo39(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3433
3826
|
path: _path2 + ".continuousColorScale",
|
|
3434
3827
|
expected: "(__type.o10 | undefined)",
|
|
3435
3828
|
value: input3.continuousColorScale
|
|
3436
3829
|
})].every((flag) => flag);
|
|
3437
|
-
const $
|
|
3830
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3438
3831
|
path: _path2 + ".id",
|
|
3439
3832
|
expected: "string",
|
|
3440
3833
|
value: input3.id
|
|
@@ -3450,8 +3843,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3450
3843
|
path: _path2 + ".child_types",
|
|
3451
3844
|
expected: "(Array<string> | undefined)",
|
|
3452
3845
|
value: input3.child_types
|
|
3453
|
-
})) && input3.child_types.map((elem,
|
|
3454
|
-
path: _path2 + ".child_types[" +
|
|
3846
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3847
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
3455
3848
|
expected: "string",
|
|
3456
3849
|
value: elem
|
|
3457
3850
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3466,8 +3859,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3466
3859
|
path: _path2 + ".included_types",
|
|
3467
3860
|
expected: "(Array<string> | undefined)",
|
|
3468
3861
|
value: input3.included_types
|
|
3469
|
-
})) && input3.included_types.map((elem,
|
|
3470
|
-
path: _path2 + ".included_types[" +
|
|
3862
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3863
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
3471
3864
|
expected: "string",
|
|
3472
3865
|
value: elem
|
|
3473
3866
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3495,7 +3888,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3495
3888
|
expected: "(TermFilter | undefined)",
|
|
3496
3889
|
value: input3.filter
|
|
3497
3890
|
})].every((flag) => flag);
|
|
3498
|
-
const $
|
|
3891
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3499
3892
|
path: _path2 + ".id",
|
|
3500
3893
|
expected: "string",
|
|
3501
3894
|
value: input3.id
|
|
@@ -3511,8 +3904,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3511
3904
|
path: _path2 + ".child_types",
|
|
3512
3905
|
expected: "(Array<string> | undefined)",
|
|
3513
3906
|
value: input3.child_types
|
|
3514
|
-
})) && input3.child_types.map((elem,
|
|
3515
|
-
path: _path2 + ".child_types[" +
|
|
3907
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3908
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
3516
3909
|
expected: "string",
|
|
3517
3910
|
value: elem
|
|
3518
3911
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3527,8 +3920,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3527
3920
|
path: _path2 + ".included_types",
|
|
3528
3921
|
expected: "(Array<string> | undefined)",
|
|
3529
3922
|
value: input3.included_types
|
|
3530
|
-
})) && input3.included_types.map((elem,
|
|
3531
|
-
path: _path2 + ".included_types[" +
|
|
3923
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3924
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
3532
3925
|
expected: "string",
|
|
3533
3926
|
value: elem
|
|
3534
3927
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3563,12 +3956,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3563
3956
|
path: _path2 + ".snps",
|
|
3564
3957
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3565
3958
|
value: input3.snps
|
|
3566
|
-
})) && input3.snps.map((elem,
|
|
3567
|
-
path: _path2 + ".snps[" +
|
|
3959
|
+
})) && input3.snps.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3960
|
+
path: _path2 + ".snps[" + _index44 + "]",
|
|
3568
3961
|
expected: "SnpsEntry",
|
|
3569
3962
|
value: elem
|
|
3570
|
-
})) && $
|
|
3571
|
-
path: _path2 + ".snps[" +
|
|
3963
|
+
})) && $vo51(elem, _path2 + ".snps[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3964
|
+
path: _path2 + ".snps[" + _index44 + "]",
|
|
3572
3965
|
expected: "SnpsEntry",
|
|
3573
3966
|
value: elem
|
|
3574
3967
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3576,12 +3969,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3576
3969
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3577
3970
|
value: input3.snps
|
|
3578
3971
|
})].every((flag) => flag);
|
|
3579
|
-
const $
|
|
3972
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3580
3973
|
path: _path2 + ".altAlleles",
|
|
3581
3974
|
expected: "(Array<string> | undefined)",
|
|
3582
3975
|
value: input3.altAlleles
|
|
3583
|
-
})) && input3.altAlleles.map((elem,
|
|
3584
|
-
path: _path2 + ".altAlleles[" +
|
|
3976
|
+
})) && input3.altAlleles.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3977
|
+
path: _path2 + ".altAlleles[" + _index45 + "]",
|
|
3585
3978
|
expected: "string",
|
|
3586
3979
|
value: elem
|
|
3587
3980
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3592,12 +3985,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3592
3985
|
path: _path2 + ".alleles",
|
|
3593
3986
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3594
3987
|
value: input3.alleles
|
|
3595
|
-
})) && input3.alleles.map((elem,
|
|
3596
|
-
path: _path2 + ".alleles[" +
|
|
3988
|
+
})) && input3.alleles.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3989
|
+
path: _path2 + ".alleles[" + _index46 + "]",
|
|
3597
3990
|
expected: "AllelesEntry",
|
|
3598
3991
|
value: elem
|
|
3599
|
-
})) && $
|
|
3600
|
-
path: _path2 + ".alleles[" +
|
|
3992
|
+
})) && $vo52(elem, _path2 + ".alleles[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3993
|
+
path: _path2 + ".alleles[" + _index46 + "]",
|
|
3601
3994
|
expected: "AllelesEntry",
|
|
3602
3995
|
value: elem
|
|
3603
3996
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3612,7 +4005,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3612
4005
|
path: _path2 + ".gt2count",
|
|
3613
4006
|
expected: "(__type.o13 | undefined)",
|
|
3614
4007
|
value: input3.gt2count
|
|
3615
|
-
})) && $
|
|
4008
|
+
})) && $vo53(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3616
4009
|
path: _path2 + ".gt2count",
|
|
3617
4010
|
expected: "(__type.o13 | undefined)",
|
|
3618
4011
|
value: input3.gt2count
|
|
@@ -3641,7 +4034,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3641
4034
|
expected: "(number | undefined)",
|
|
3642
4035
|
value: input3.pos
|
|
3643
4036
|
})].every((flag) => flag);
|
|
3644
|
-
const $
|
|
4037
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3645
4038
|
path: _path2 + ".allele",
|
|
3646
4039
|
expected: "string",
|
|
3647
4040
|
value: input3.allele
|
|
@@ -3654,7 +4047,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3654
4047
|
expected: "boolean",
|
|
3655
4048
|
value: input3.isRef
|
|
3656
4049
|
})].every((flag) => flag);
|
|
3657
|
-
const $
|
|
4050
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3658
4051
|
path: _path2 + ".k",
|
|
3659
4052
|
expected: "string",
|
|
3660
4053
|
value: input3.k
|
|
@@ -3663,7 +4056,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3663
4056
|
expected: "(number | string)",
|
|
3664
4057
|
value: input3.v
|
|
3665
4058
|
})].every((flag) => flag);
|
|
3666
|
-
const $
|
|
4059
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3667
4060
|
path: _path2 + ".id",
|
|
3668
4061
|
expected: "string",
|
|
3669
4062
|
value: input3.id
|
|
@@ -3679,8 +4072,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3679
4072
|
path: _path2 + ".child_types",
|
|
3680
4073
|
expected: "(Array<string> | undefined)",
|
|
3681
4074
|
value: input3.child_types
|
|
3682
|
-
})) && input3.child_types.map((elem,
|
|
3683
|
-
path: _path2 + ".child_types[" +
|
|
4075
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4076
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
3684
4077
|
expected: "string",
|
|
3685
4078
|
value: elem
|
|
3686
4079
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3695,8 +4088,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3695
4088
|
path: _path2 + ".included_types",
|
|
3696
4089
|
expected: "(Array<string> | undefined)",
|
|
3697
4090
|
value: input3.included_types
|
|
3698
|
-
})) && input3.included_types.map((elem,
|
|
3699
|
-
path: _path2 + ".included_types[" +
|
|
4091
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4092
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
3700
4093
|
expected: "string",
|
|
3701
4094
|
value: elem
|
|
3702
4095
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3711,7 +4104,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3711
4104
|
path: _path2 + ".values",
|
|
3712
4105
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3713
4106
|
value: input3.values
|
|
3714
|
-
})) && $
|
|
4107
|
+
})) && $vo55(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3715
4108
|
path: _path2 + ".values",
|
|
3716
4109
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3717
4110
|
value: input3.values
|
|
@@ -3724,7 +4117,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3724
4117
|
expected: "(TermFilter | undefined)",
|
|
3725
4118
|
value: input3.filter
|
|
3726
4119
|
})].every((flag) => flag);
|
|
3727
|
-
const $
|
|
4120
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3728
4121
|
const value = input3[key];
|
|
3729
4122
|
if (void 0 === value)
|
|
3730
4123
|
return true;
|
|
@@ -3733,7 +4126,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3733
4126
|
path: _path2 + $join(key),
|
|
3734
4127
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3735
4128
|
value
|
|
3736
|
-
})) && $
|
|
4129
|
+
})) && $vo56(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3737
4130
|
path: _path2 + $join(key),
|
|
3738
4131
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3739
4132
|
value
|
|
@@ -3743,14 +4136,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3743
4136
|
path: _path2 + $join(key),
|
|
3744
4137
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3745
4138
|
value
|
|
3746
|
-
})) && $
|
|
4139
|
+
})) && $vo56(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3747
4140
|
path: _path2 + $join(key),
|
|
3748
4141
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3749
4142
|
value
|
|
3750
4143
|
});
|
|
3751
4144
|
return true;
|
|
3752
4145
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3753
|
-
const $
|
|
4146
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3754
4147
|
path: _path2 + ".key",
|
|
3755
4148
|
expected: "(string | undefined)",
|
|
3756
4149
|
value: input3.key
|
|
@@ -3794,12 +4187,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3794
4187
|
path: _path2 + ".list",
|
|
3795
4188
|
expected: "Array<__type>.o7",
|
|
3796
4189
|
value: input3.list
|
|
3797
|
-
})) && input3.list.map((elem,
|
|
3798
|
-
path: _path2 + ".list[" +
|
|
4190
|
+
})) && input3.list.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4191
|
+
path: _path2 + ".list[" + _index49 + "]",
|
|
3799
4192
|
expected: "__type.o14",
|
|
3800
4193
|
value: elem
|
|
3801
|
-
})) && $
|
|
3802
|
-
path: _path2 + ".list[" +
|
|
4194
|
+
})) && $vo57(elem, _path2 + ".list[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4195
|
+
path: _path2 + ".list[" + _index49 + "]",
|
|
3803
4196
|
expected: "__type.o14",
|
|
3804
4197
|
value: elem
|
|
3805
4198
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3807,7 +4200,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3807
4200
|
expected: "Array<__type>.o7",
|
|
3808
4201
|
value: input3.list
|
|
3809
4202
|
}), true].every((flag) => flag);
|
|
3810
|
-
const $
|
|
4203
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3811
4204
|
path: _path2 + ".sampleId",
|
|
3812
4205
|
expected: "string",
|
|
3813
4206
|
value: input3.sampleId
|
|
@@ -3829,9 +4222,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3829
4222
|
})();
|
|
3830
4223
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3831
4224
|
if ("string" === typeof input3.type)
|
|
3832
|
-
return $
|
|
4225
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3833
4226
|
if ("filter" === input3.type)
|
|
3834
|
-
return $
|
|
4227
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3835
4228
|
return $report(_exceptionable2, {
|
|
3836
4229
|
path: _path2,
|
|
3837
4230
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -3840,68 +4233,79 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3840
4233
|
})();
|
|
3841
4234
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3842
4235
|
if (true === input3.startunbounded)
|
|
3843
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
3844
|
-
if (true === input3.stopunbounded)
|
|
3845
4236
|
return $vo35(input3, _path2, _exceptionable2);
|
|
3846
|
-
|
|
4237
|
+
if (true === input3.stopunbounded)
|
|
4238
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
4239
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3847
4240
|
})();
|
|
3848
4241
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3849
4242
|
if ("gene" === input3.kind)
|
|
3850
4243
|
return $vo11(input3, _path2, _exceptionable2);
|
|
3851
4244
|
if ("coord" === input3.kind)
|
|
3852
|
-
return $
|
|
4245
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3853
4246
|
if ("categorical" === input3.type)
|
|
3854
|
-
return $
|
|
4247
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3855
4248
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3856
|
-
return $
|
|
4249
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3857
4250
|
if ("condition" === input3.type)
|
|
3858
|
-
return $
|
|
3859
|
-
return $
|
|
4251
|
+
return $vo49(input3, _path2, _exceptionable2);
|
|
4252
|
+
return $vo50(input3, _path2, false) || $vo54(input3, _path2, false);
|
|
3860
4253
|
})();
|
|
3861
4254
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3862
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3863
|
-
return $
|
|
3864
|
-
return $
|
|
4255
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index50) => "object" === typeof elem && null !== elem && $vo23(elem, _path2 + ".lst[" + _index50 + "]", false)).every((flag) => flag))
|
|
4256
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
4257
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3865
4258
|
})();
|
|
3866
4259
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3867
4260
|
if (void 0 !== input3.ranges)
|
|
3868
|
-
return $
|
|
3869
|
-
return $vo16(input3, _path2, false) || $
|
|
4261
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4262
|
+
return $vo16(input3, _path2, false) || $vo41(input3, _path2, false) || $vo44(input3, _path2, false);
|
|
3870
4263
|
})();
|
|
3871
4264
|
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) => (() => {
|
|
3872
4276
|
if ("regular-bin" === input3.type)
|
|
3873
|
-
return $
|
|
4277
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3874
4278
|
if ("custom-bin" === input3.type)
|
|
3875
|
-
return $
|
|
4279
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
3876
4280
|
return $report(_exceptionable2, {
|
|
3877
4281
|
path: _path2,
|
|
3878
4282
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3879
4283
|
value: input3
|
|
3880
4284
|
});
|
|
3881
4285
|
})();
|
|
3882
|
-
const $
|
|
4286
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3883
4287
|
if (true === input3.startunbounded)
|
|
3884
|
-
return $
|
|
4288
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3885
4289
|
if (void 0 !== input3.start)
|
|
3886
|
-
return $
|
|
4290
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3887
4291
|
return $report(_exceptionable2, {
|
|
3888
4292
|
path: _path2,
|
|
3889
4293
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3890
4294
|
value: input3
|
|
3891
4295
|
});
|
|
3892
4296
|
})();
|
|
3893
|
-
const $
|
|
4297
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3894
4298
|
if (void 0 !== input3.stop)
|
|
3895
|
-
return $
|
|
4299
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3896
4300
|
if (true === input3.stopunbounded)
|
|
3897
|
-
return $
|
|
4301
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3898
4302
|
return $report(_exceptionable2, {
|
|
3899
4303
|
path: _path2,
|
|
3900
4304
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3901
4305
|
value: input3
|
|
3902
4306
|
});
|
|
3903
4307
|
})();
|
|
3904
|
-
const $
|
|
4308
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3905
4309
|
if (void 0 !== input3.status)
|
|
3906
4310
|
return $vo0(input3, _path2, _exceptionable2);
|
|
3907
4311
|
if (void 0 !== input3.clustering)
|
|
@@ -3918,7 +4322,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3918
4322
|
path: _path + "",
|
|
3919
4323
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
3920
4324
|
value: input2
|
|
3921
|
-
})) && $
|
|
4325
|
+
})) && $vu10(input2, _path + "", true) || $report(true, {
|
|
3922
4326
|
path: _path + "",
|
|
3923
4327
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
3924
4328
|
value: input2
|