@sjcrh/proteinpaint-types 2.112.1-0 → 2.114.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-FMW25T52.js → chunk-66XSFQPI.js} +282 -182
- package/dist/{chunk-ES6BRZ4L.js → chunk-7AQB3YHO.js} +15 -11
- package/dist/{chunk-A72XYNKT.js → chunk-BEXUBE5A.js} +15 -11
- package/dist/{chunk-TXZQ56TX.js → chunk-BNOGQYXG.js} +421 -251
- package/dist/{chunk-7Z3AE4AY.js → chunk-H45GALYV.js} +445 -345
- package/dist/{chunk-4CCAF4O5.js → chunk-JNEIQWTE.js} +44 -36
- package/dist/{chunk-KHPBBU43.js → chunk-KRHYG2ZZ.js} +610 -580
- package/dist/{chunk-NPVDG36X.js → chunk-OSHG443J.js} +401 -371
- package/dist/{chunk-GHAIGRB7.js → chunk-PR7XHL4T.js} +15 -11
- package/dist/{chunk-ZFUF4XMD.js → chunk-T3NOHXOJ.js} +15 -11
- package/dist/{chunk-2WZPM25H.js → chunk-WVBWDL2B.js} +445 -345
- package/dist/{chunk-GGKNEHME.js → chunk-XDRUNGOV.js} +192 -162
- 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 +31 -15
- package/src/routes/termdb.DE.ts +4 -0
- package/src/routes/termdb.cluster.ts +7 -2
- package/src/terms/geneVariant.ts +23 -2
- package/src/terms/term.ts +16 -8
- package/src/termsetting.ts +3 -3
|
@@ -25,7 +25,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
25
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 && $io33(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
26
26
|
const $io1 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === 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) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io3(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) && $io5(elem)));
|
|
28
|
-
const $io3 = (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) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
28
|
+
const $io3 = (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) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
29
29
|
const $io4 = (input3) => Object.keys(input3).every((key) => {
|
|
30
30
|
const value = input3[key];
|
|
31
31
|
if (void 0 === value)
|
|
@@ -41,10 +41,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
41
41
|
const $io7 = (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) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
42
42
|
const $io8 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
43
43
|
const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
44
|
-
const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
44
|
+
const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
45
45
|
const $io11 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
46
46
|
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io22(elem)));
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
|
|
48
48
|
const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
49
49
|
const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
50
50
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -62,20 +62,20 @@ var validTermdbClusterRequest = (input) => {
|
|
|
62
62
|
const $io21 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
63
63
|
const $io22 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
64
64
|
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
|
|
65
|
-
const $io24 = (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) && $io4(input3.values));
|
|
65
|
+
const $io24 = (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) && $io4(input3.values)) && true;
|
|
66
66
|
const $io25 = (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;
|
|
67
67
|
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
68
|
-
const $io27 = (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) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "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);
|
|
69
|
-
const $io28 = (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) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
68
|
+
const $io27 = (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) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "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);
|
|
69
|
+
const $io28 = (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) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
70
70
|
const $io29 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
71
71
|
const $io30 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
72
72
|
const $io31 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
73
73
|
const $io32 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
74
|
-
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(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);
|
|
75
75
|
const $io34 = (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 && $io35(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
76
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
77
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 && "numericDictTerm" === 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) && (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) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
79
79
|
const $iu0 = (input3) => (() => {
|
|
80
80
|
if (void 0 !== input3.type)
|
|
81
81
|
return $io1(input3);
|
|
@@ -335,7 +335,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
335
335
|
path: _path2 + ".values",
|
|
336
336
|
expected: "(TermValues | undefined)",
|
|
337
337
|
value: input3.values
|
|
338
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
338
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
339
339
|
path: _path2 + ".groupsetting",
|
|
340
340
|
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
341
341
|
value: input3.groupsetting
|
|
@@ -507,6 +507,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
507
507
|
path: _path2 + ".filter",
|
|
508
508
|
expected: "Filter",
|
|
509
509
|
value: input3.filter
|
|
510
|
+
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
511
|
+
path: _path2 + ".uncomputable",
|
|
512
|
+
expected: "(boolean | undefined)",
|
|
513
|
+
value: input3.uncomputable
|
|
510
514
|
})].every((flag) => flag);
|
|
511
515
|
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
512
516
|
path: _path2 + ".disabled",
|
|
@@ -626,7 +630,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
626
630
|
path: _path2 + ".values",
|
|
627
631
|
expected: "(TermValues | undefined)",
|
|
628
632
|
value: input3.values
|
|
629
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
633
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
630
634
|
path: _path2 + ".bins",
|
|
631
635
|
expected: "PresetNumericBins",
|
|
632
636
|
value: input3.bins
|
|
@@ -1018,7 +1022,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1018
1022
|
path: _path2 + ".values",
|
|
1019
1023
|
expected: "(TermValues | undefined)",
|
|
1020
1024
|
value: input3.values
|
|
1021
|
-
})].every((flag) => flag);
|
|
1025
|
+
}), true].every((flag) => flag);
|
|
1022
1026
|
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1023
1027
|
path: _path2 + ".grade",
|
|
1024
1028
|
expected: "number",
|
|
@@ -1121,7 +1125,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1121
1125
|
path: _path2 + ".values",
|
|
1122
1126
|
expected: "(TermValues | undefined)",
|
|
1123
1127
|
value: input3.values
|
|
1124
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1128
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1125
1129
|
path: _path2 + ".groupsetting",
|
|
1126
1130
|
expected: "EnabledTermGroupSetting",
|
|
1127
1131
|
value: input3.groupsetting
|
|
@@ -1202,7 +1206,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1202
1206
|
path: _path2 + ".values",
|
|
1203
1207
|
expected: "(TermValues | undefined)",
|
|
1204
1208
|
value: input3.values
|
|
1205
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1209
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1206
1210
|
path: _path2 + ".groupsetting",
|
|
1207
1211
|
expected: "EnabledTermGroupSetting",
|
|
1208
1212
|
value: input3.groupsetting
|
|
@@ -1411,7 +1415,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1411
1415
|
path: _path2 + ".values",
|
|
1412
1416
|
expected: "(TermValues | undefined)",
|
|
1413
1417
|
value: input3.values
|
|
1414
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1418
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1415
1419
|
path: _path2 + ".bins",
|
|
1416
1420
|
expected: "PresetNumericBins",
|
|
1417
1421
|
value: input3.bins
|
|
@@ -1549,7 +1553,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1549
1553
|
path: _path2 + ".values",
|
|
1550
1554
|
expected: "(TermValues | undefined)",
|
|
1551
1555
|
value: input3.values
|
|
1552
|
-
}), true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1556
|
+
}), true, true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1553
1557
|
path: _path2 + ".unit",
|
|
1554
1558
|
expected: "(string | undefined)",
|
|
1555
1559
|
value: input3.unit
|
|
@@ -1667,7 +1671,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1667
1671
|
path: _path2 + ".values",
|
|
1668
1672
|
expected: "(TermValues | undefined)",
|
|
1669
1673
|
value: input3.values
|
|
1670
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1674
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1671
1675
|
path: _path2 + ".bins",
|
|
1672
1676
|
expected: "PresetNumericBins",
|
|
1673
1677
|
value: input3.bins
|
|
@@ -1805,7 +1809,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1805
1809
|
const __is = (input2) => {
|
|
1806
1810
|
const $join = import_typia.createValidate.join;
|
|
1807
1811
|
const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
|
|
1808
|
-
const $io1 = (input3) => "object" === typeof input3.clustering && null !== input3.clustering && $io2(input3.clustering) && ("object" === typeof input3.byTermId && null !== input3.byTermId && false === Array.isArray(input3.byTermId) && $io7(input3.byTermId)) && ("object" === typeof input3.bySampleId && null !== input3.bySampleId && false === Array.isArray(input3.bySampleId) && $io8(input3.bySampleId)) && (void 0 === input3.removedHierClusterTerms || Array.isArray(input3.removedHierClusterTerms) && input3.removedHierClusterTerms.every((elem) => "
|
|
1812
|
+
const $io1 = (input3) => "object" === typeof input3.clustering && null !== input3.clustering && $io2(input3.clustering) && ("object" === typeof input3.byTermId && null !== input3.byTermId && false === Array.isArray(input3.byTermId) && $io7(input3.byTermId)) && ("object" === typeof input3.bySampleId && null !== input3.bySampleId && false === Array.isArray(input3.bySampleId) && $io8(input3.bySampleId)) && (void 0 === input3.removedHierClusterTerms || Array.isArray(input3.removedHierClusterTerms) && input3.removedHierClusterTerms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
1809
1813
|
const $io2 = (input3) => "object" === typeof input3.row && null !== input3.row && $io3(input3.row) && ("object" === typeof input3.col && null !== input3.col && $io3(input3.col)) && (Array.isArray(input3.matrix) && input3.matrix.every((elem) => Array.isArray(elem) && elem.every((elem2) => "number" === typeof elem2)));
|
|
1810
1814
|
const $io3 = (input3) => Array.isArray(input3.merge) && input3.merge.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && (Array.isArray(input3.height) && input3.height.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && (Array.isArray(input3.order) && input3.order.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input3.inputOrder) && input3.inputOrder.every((elem) => "string" === typeof elem));
|
|
1811
1815
|
const $io4 = (input3) => "number" === typeof input3.n1 && "number" === typeof input3.n2;
|
|
@@ -1827,33 +1831,34 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1827
1831
|
return true;
|
|
1828
1832
|
return true;
|
|
1829
1833
|
});
|
|
1830
|
-
const $io9 = (input3) => "
|
|
1831
|
-
const $io10 = (input3) => "
|
|
1832
|
-
const $io11 = (input3) =>
|
|
1834
|
+
const $io9 = (input3) => "string" === typeof input3.text && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem));
|
|
1835
|
+
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu4(input3.term) && true;
|
|
1836
|
+
const $io11 = (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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
1837
|
+
const $io12 = (input3) => Object.keys(input3).every((key) => {
|
|
1833
1838
|
const value = input3[key];
|
|
1834
1839
|
if (void 0 === value)
|
|
1835
1840
|
return true;
|
|
1836
1841
|
if (RegExp(/(.*)/).test(key))
|
|
1837
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
1842
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io13(value);
|
|
1838
1843
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1839
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
1844
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io13(value);
|
|
1840
1845
|
return true;
|
|
1841
1846
|
});
|
|
1842
|
-
const $
|
|
1843
|
-
const $
|
|
1844
|
-
const $
|
|
1845
|
-
const $
|
|
1846
|
-
const $
|
|
1847
|
-
const $
|
|
1848
|
-
const $
|
|
1849
|
-
const $
|
|
1850
|
-
const $
|
|
1851
|
-
const $
|
|
1852
|
-
const $
|
|
1853
|
-
const $
|
|
1854
|
-
const $
|
|
1855
|
-
const $
|
|
1856
|
-
const $
|
|
1847
|
+
const $io13 = (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));
|
|
1848
|
+
const $io14 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === 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)));
|
|
1849
|
+
const $io15 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io16(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io13(elem)));
|
|
1850
|
+
const $io16 = (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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
1851
|
+
const $io17 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io18(elem)));
|
|
1852
|
+
const $io18 = (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) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
1853
|
+
const $io19 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io20(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1854
|
+
const $io20 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1855
|
+
const $io21 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter)) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1856
|
+
const $io22 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1857
|
+
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io33(elem)));
|
|
1858
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
|
|
1859
|
+
const $io25 = (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);
|
|
1860
|
+
const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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);
|
|
1861
|
+
const $io27 = (input3) => Object.keys(input3).every((key) => {
|
|
1857
1862
|
const value = input3[key];
|
|
1858
1863
|
if (void 0 === value)
|
|
1859
1864
|
return true;
|
|
@@ -1861,133 +1866,133 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1861
1866
|
return "number" === typeof value;
|
|
1862
1867
|
return true;
|
|
1863
1868
|
});
|
|
1864
|
-
const $
|
|
1865
|
-
const $
|
|
1866
|
-
const $
|
|
1867
|
-
const $
|
|
1868
|
-
const $
|
|
1869
|
-
const $
|
|
1870
|
-
const $
|
|
1871
|
-
const $
|
|
1872
|
-
const $
|
|
1873
|
-
const $
|
|
1874
|
-
const $
|
|
1875
|
-
const $
|
|
1876
|
-
const $
|
|
1877
|
-
const $
|
|
1878
|
-
const $
|
|
1879
|
-
const $
|
|
1880
|
-
const $
|
|
1881
|
-
const $
|
|
1882
|
-
const $
|
|
1883
|
-
const $
|
|
1884
|
-
const $
|
|
1885
|
-
const $
|
|
1886
|
-
const $
|
|
1887
|
-
const $
|
|
1888
|
-
const $
|
|
1889
|
-
const $
|
|
1869
|
+
const $io28 = (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);
|
|
1870
|
+
const $io29 = (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);
|
|
1871
|
+
const $io30 = (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);
|
|
1872
|
+
const $io31 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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);
|
|
1873
|
+
const $io32 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1874
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1875
|
+
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(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 && $io36(elem)));
|
|
1876
|
+
const $io35 = (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)) && true;
|
|
1877
|
+
const $io36 = (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;
|
|
1878
|
+
const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
1879
|
+
const $io38 = (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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io17(input3.groupsetting)) && "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);
|
|
1880
|
+
const $io39 = (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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io17(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1881
|
+
const $io40 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
1882
|
+
const $io41 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
1883
|
+
const $io42 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
1884
|
+
const $io43 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
1885
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
|
|
1886
|
+
const $io45 = (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)) && true;
|
|
1887
|
+
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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io17(input3.groupsetting)) && "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);
|
|
1888
|
+
const $io47 = (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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io17(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1889
|
+
const $io48 = (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)) && true && (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 && $io49(elem)));
|
|
1890
|
+
const $io49 = (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 && $io50(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io51(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);
|
|
1891
|
+
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1892
|
+
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1893
|
+
const $io52 = (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) && $io53(input3.values)) && true;
|
|
1894
|
+
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
1890
1895
|
const value = input3[key];
|
|
1891
1896
|
if (void 0 === value)
|
|
1892
1897
|
return true;
|
|
1893
1898
|
if (RegExp(/(.*)/).test(key))
|
|
1894
|
-
return "object" === typeof value && null !== value && $
|
|
1899
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
1895
1900
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1896
|
-
return "object" === typeof value && null !== value && $
|
|
1901
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
1897
1902
|
return true;
|
|
1898
1903
|
});
|
|
1899
|
-
const $
|
|
1900
|
-
const $
|
|
1904
|
+
const $io54 = (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 && $io55(elem))) && true;
|
|
1905
|
+
const $io55 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1901
1906
|
const $iu0 = (input3) => (() => {
|
|
1902
1907
|
if (void 0 !== input3.type)
|
|
1903
|
-
return $
|
|
1908
|
+
return $io14(input3);
|
|
1904
1909
|
if (void 0 !== input3.ranges)
|
|
1905
|
-
return $
|
|
1910
|
+
return $io23(input3);
|
|
1906
1911
|
return (() => {
|
|
1907
|
-
if ($
|
|
1908
|
-
return $
|
|
1909
|
-
if ($
|
|
1910
|
-
return $
|
|
1911
|
-
if ($
|
|
1912
|
-
return $
|
|
1912
|
+
if ($io15(input3))
|
|
1913
|
+
return $io15(input3);
|
|
1914
|
+
if ($io34(input3))
|
|
1915
|
+
return $io34(input3);
|
|
1916
|
+
if ($io37(input3))
|
|
1917
|
+
return $io37(input3);
|
|
1913
1918
|
return false;
|
|
1914
1919
|
})();
|
|
1915
1920
|
})();
|
|
1916
1921
|
const $iu1 = (input3) => (() => {
|
|
1917
1922
|
if ("string" === typeof input3.type)
|
|
1918
|
-
return $
|
|
1923
|
+
return $io19(input3);
|
|
1919
1924
|
if ("filter" === input3.type)
|
|
1920
|
-
return $
|
|
1925
|
+
return $io21(input3);
|
|
1921
1926
|
return false;
|
|
1922
1927
|
})();
|
|
1923
1928
|
const $iu2 = (input3) => (() => {
|
|
1924
1929
|
if (true === input3.startunbounded)
|
|
1925
|
-
return $
|
|
1930
|
+
return $io28(input3);
|
|
1926
1931
|
if (true === input3.stopunbounded)
|
|
1927
|
-
return $
|
|
1928
|
-
return $
|
|
1932
|
+
return $io30(input3);
|
|
1933
|
+
return $io29(input3);
|
|
1929
1934
|
})();
|
|
1930
1935
|
const $iu3 = (input3) => (() => {
|
|
1931
1936
|
if (2 === input3.dt)
|
|
1932
|
-
return $
|
|
1937
|
+
return $io43(input3);
|
|
1933
1938
|
if (5 === input3.dt)
|
|
1934
|
-
return $
|
|
1939
|
+
return $io42(input3);
|
|
1935
1940
|
if (4 === input3.dt)
|
|
1936
|
-
return $
|
|
1941
|
+
return $io41(input3);
|
|
1937
1942
|
if (1 === input3.dt)
|
|
1938
|
-
return $
|
|
1943
|
+
return $io40(input3);
|
|
1939
1944
|
return false;
|
|
1940
1945
|
})();
|
|
1941
1946
|
const $iu4 = (input3) => (() => {
|
|
1942
1947
|
if ("categorical" === input3.type)
|
|
1943
|
-
return $
|
|
1948
|
+
return $io11(input3);
|
|
1944
1949
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
1945
|
-
return $io43(input3);
|
|
1946
|
-
if ("condition" === input3.type)
|
|
1947
1950
|
return $io44(input3);
|
|
1948
|
-
if ("
|
|
1951
|
+
if ("condition" === input3.type)
|
|
1949
1952
|
return $io45(input3);
|
|
1950
|
-
if ("
|
|
1953
|
+
if ("gene" === input3.kind)
|
|
1951
1954
|
return $io46(input3);
|
|
1955
|
+
if ("coord" === input3.kind)
|
|
1956
|
+
return $io47(input3);
|
|
1952
1957
|
return (() => {
|
|
1953
|
-
if ($
|
|
1954
|
-
return $
|
|
1955
|
-
if ($
|
|
1956
|
-
return $
|
|
1958
|
+
if ($io48(input3))
|
|
1959
|
+
return $io48(input3);
|
|
1960
|
+
if ($io52(input3))
|
|
1961
|
+
return $io52(input3);
|
|
1957
1962
|
return false;
|
|
1958
1963
|
})();
|
|
1959
1964
|
})();
|
|
1960
1965
|
const $iu5 = (input3) => (() => {
|
|
1961
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1962
|
-
return $
|
|
1963
|
-
return $
|
|
1966
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io18(elem)))
|
|
1967
|
+
return $io17(input3);
|
|
1968
|
+
return $io22(input3);
|
|
1964
1969
|
})();
|
|
1965
1970
|
const $iu6 = (input3) => (() => {
|
|
1966
1971
|
if ("regular-bin" === input3.type)
|
|
1967
|
-
return $
|
|
1972
|
+
return $io26(input3);
|
|
1968
1973
|
if ("custom-bin" === input3.type)
|
|
1969
|
-
return $
|
|
1974
|
+
return $io31(input3);
|
|
1970
1975
|
return false;
|
|
1971
1976
|
})();
|
|
1972
1977
|
const $iu7 = (input3) => (() => {
|
|
1973
1978
|
if (true === input3.startunbounded)
|
|
1974
|
-
return $io27(input3);
|
|
1975
|
-
if (void 0 !== input3.start)
|
|
1976
1979
|
return $io28(input3);
|
|
1980
|
+
if (void 0 !== input3.start)
|
|
1981
|
+
return $io29(input3);
|
|
1977
1982
|
return false;
|
|
1978
1983
|
})();
|
|
1979
1984
|
const $iu8 = (input3) => (() => {
|
|
1980
1985
|
if (void 0 !== input3.stop)
|
|
1981
|
-
return $io28(input3);
|
|
1982
|
-
if (true === input3.stopunbounded)
|
|
1983
1986
|
return $io29(input3);
|
|
1987
|
+
if (true === input3.stopunbounded)
|
|
1988
|
+
return $io30(input3);
|
|
1984
1989
|
return false;
|
|
1985
1990
|
})();
|
|
1986
1991
|
const $iu9 = (input3) => (() => {
|
|
1987
1992
|
if ("gene" === input3.kind)
|
|
1988
|
-
return $io37(input3);
|
|
1989
|
-
if ("coord" === input3.kind)
|
|
1990
1993
|
return $io38(input3);
|
|
1994
|
+
if ("coord" === input3.kind)
|
|
1995
|
+
return $io39(input3);
|
|
1991
1996
|
return false;
|
|
1992
1997
|
})();
|
|
1993
1998
|
const $iu10 = (input3) => (() => {
|
|
@@ -1996,7 +2001,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1996
2001
|
if (void 0 !== input3.clustering)
|
|
1997
2002
|
return $io1(input3);
|
|
1998
2003
|
if (void 0 !== input3.term)
|
|
1999
|
-
return $
|
|
2004
|
+
return $io10(input3);
|
|
2000
2005
|
return false;
|
|
2001
2006
|
})();
|
|
2002
2007
|
return "object" === typeof input2 && null !== input2 && $iu10(input2);
|
|
@@ -2040,15 +2045,19 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2040
2045
|
value: input3.bySampleId
|
|
2041
2046
|
}), void 0 === input3.removedHierClusterTerms || (Array.isArray(input3.removedHierClusterTerms) || $report(_exceptionable2, {
|
|
2042
2047
|
path: _path2 + ".removedHierClusterTerms",
|
|
2043
|
-
expected: "(Array<
|
|
2048
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
2044
2049
|
value: input3.removedHierClusterTerms
|
|
2045
|
-
})) && input3.removedHierClusterTerms.map((elem, _index1) => "
|
|
2050
|
+
})) && input3.removedHierClusterTerms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2046
2051
|
path: _path2 + ".removedHierClusterTerms[" + _index1 + "]",
|
|
2047
|
-
expected: "
|
|
2052
|
+
expected: "__type.o5",
|
|
2053
|
+
value: elem
|
|
2054
|
+
})) && $vo9(elem, _path2 + ".removedHierClusterTerms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2055
|
+
path: _path2 + ".removedHierClusterTerms[" + _index1 + "]",
|
|
2056
|
+
expected: "__type.o5",
|
|
2048
2057
|
value: elem
|
|
2049
2058
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2050
2059
|
path: _path2 + ".removedHierClusterTerms",
|
|
2051
|
-
expected: "(Array<
|
|
2060
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
2052
2061
|
value: input3.removedHierClusterTerms
|
|
2053
2062
|
})].every((flag) => flag);
|
|
2054
2063
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.row && null !== input3.row || $report(_exceptionable2, {
|
|
@@ -2184,7 +2193,24 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2184
2193
|
return true;
|
|
2185
2194
|
return true;
|
|
2186
2195
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2187
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => [
|
|
2196
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.text || $report(_exceptionable2, {
|
|
2197
|
+
path: _path2 + ".text",
|
|
2198
|
+
expected: "string",
|
|
2199
|
+
value: input3.text
|
|
2200
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2201
|
+
path: _path2 + ".lst",
|
|
2202
|
+
expected: "Array<string>",
|
|
2203
|
+
value: input3.lst
|
|
2204
|
+
})) && input3.lst.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2205
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
2206
|
+
expected: "string",
|
|
2207
|
+
value: elem
|
|
2208
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2209
|
+
path: _path2 + ".lst",
|
|
2210
|
+
expected: "Array<string>",
|
|
2211
|
+
value: input3.lst
|
|
2212
|
+
})].every((flag) => flag);
|
|
2213
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2188
2214
|
path: _path2 + ".term",
|
|
2189
2215
|
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2190
2216
|
value: input3.term
|
|
@@ -2193,7 +2219,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2193
2219
|
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2194
2220
|
value: input3.term
|
|
2195
2221
|
}), true].every((flag) => flag);
|
|
2196
|
-
const $
|
|
2222
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2197
2223
|
path: _path2 + ".id",
|
|
2198
2224
|
expected: "string",
|
|
2199
2225
|
value: input3.id
|
|
@@ -2209,8 +2235,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2209
2235
|
path: _path2 + ".child_types",
|
|
2210
2236
|
expected: "(Array<string> | undefined)",
|
|
2211
2237
|
value: input3.child_types
|
|
2212
|
-
})) && input3.child_types.map((elem,
|
|
2213
|
-
path: _path2 + ".child_types[" +
|
|
2238
|
+
})) && input3.child_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2239
|
+
path: _path2 + ".child_types[" + _index9 + "]",
|
|
2214
2240
|
expected: "string",
|
|
2215
2241
|
value: elem
|
|
2216
2242
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2225,8 +2251,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2225
2251
|
path: _path2 + ".included_types",
|
|
2226
2252
|
expected: "(Array<string> | undefined)",
|
|
2227
2253
|
value: input3.included_types
|
|
2228
|
-
})) && input3.included_types.map((elem,
|
|
2229
|
-
path: _path2 + ".included_types[" +
|
|
2254
|
+
})) && input3.included_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2255
|
+
path: _path2 + ".included_types[" + _index10 + "]",
|
|
2230
2256
|
expected: "string",
|
|
2231
2257
|
value: elem
|
|
2232
2258
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2241,20 +2267,20 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2241
2267
|
path: _path2 + ".values",
|
|
2242
2268
|
expected: "(TermValues | undefined)",
|
|
2243
2269
|
value: input3.values
|
|
2244
|
-
})) && $
|
|
2270
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2245
2271
|
path: _path2 + ".values",
|
|
2246
2272
|
expected: "(TermValues | undefined)",
|
|
2247
2273
|
value: input3.values
|
|
2248
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2274
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2249
2275
|
path: _path2 + ".groupsetting",
|
|
2250
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2276
|
+
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
2251
2277
|
value: input3.groupsetting
|
|
2252
2278
|
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2253
2279
|
path: _path2 + ".groupsetting",
|
|
2254
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2280
|
+
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
2255
2281
|
value: input3.groupsetting
|
|
2256
2282
|
})].every((flag) => flag);
|
|
2257
|
-
const $
|
|
2283
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2258
2284
|
const value = input3[key];
|
|
2259
2285
|
if (void 0 === value)
|
|
2260
2286
|
return true;
|
|
@@ -2263,7 +2289,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2263
2289
|
path: _path2 + $join(key),
|
|
2264
2290
|
expected: "BaseValue",
|
|
2265
2291
|
value
|
|
2266
|
-
})) && $
|
|
2292
|
+
})) && $vo13(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2267
2293
|
path: _path2 + $join(key),
|
|
2268
2294
|
expected: "BaseValue",
|
|
2269
2295
|
value
|
|
@@ -2273,14 +2299,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2273
2299
|
path: _path2 + $join(key),
|
|
2274
2300
|
expected: "BaseValue",
|
|
2275
2301
|
value
|
|
2276
|
-
})) && $
|
|
2302
|
+
})) && $vo13(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2277
2303
|
path: _path2 + $join(key),
|
|
2278
2304
|
expected: "BaseValue",
|
|
2279
2305
|
value
|
|
2280
2306
|
});
|
|
2281
2307
|
return true;
|
|
2282
2308
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2283
|
-
const $
|
|
2309
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2284
2310
|
path: _path2 + ".key",
|
|
2285
2311
|
expected: "(string | undefined)",
|
|
2286
2312
|
value: input3.key
|
|
@@ -2308,12 +2334,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2308
2334
|
path: _path2 + ".filter",
|
|
2309
2335
|
expected: "(Filter | undefined)",
|
|
2310
2336
|
value: input3.filter
|
|
2311
|
-
})) && $
|
|
2337
|
+
})) && $vo14(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2312
2338
|
path: _path2 + ".filter",
|
|
2313
2339
|
expected: "(Filter | undefined)",
|
|
2314
2340
|
value: input3.filter
|
|
2315
2341
|
})].every((flag) => flag);
|
|
2316
|
-
const $
|
|
2342
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
|
|
2317
2343
|
path: _path2 + ".type",
|
|
2318
2344
|
expected: '"lst"',
|
|
2319
2345
|
value: input3.type
|
|
@@ -2333,12 +2359,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2333
2359
|
path: _path2 + ".lst",
|
|
2334
2360
|
expected: "Array<Filter | Tvs>",
|
|
2335
2361
|
value: input3.lst
|
|
2336
|
-
})) && input3.lst.map((elem,
|
|
2337
|
-
path: _path2 + ".lst[" +
|
|
2362
|
+
})) && input3.lst.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".lst[" + _index11 + "]",
|
|
2338
2364
|
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
2339
2365
|
value: elem
|
|
2340
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
2341
|
-
path: _path2 + ".lst[" +
|
|
2366
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2367
|
+
path: _path2 + ".lst[" + _index11 + "]",
|
|
2342
2368
|
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
2343
2369
|
value: elem
|
|
2344
2370
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2346,7 +2372,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2346
2372
|
expected: "Array<Filter | Tvs>",
|
|
2347
2373
|
value: input3.lst
|
|
2348
2374
|
})].every((flag) => flag);
|
|
2349
|
-
const $
|
|
2375
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2350
2376
|
path: _path2 + ".join",
|
|
2351
2377
|
expected: "(string | undefined)",
|
|
2352
2378
|
value: input3.join
|
|
@@ -2358,7 +2384,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2358
2384
|
path: _path2 + ".term",
|
|
2359
2385
|
expected: "CategoricalTerm",
|
|
2360
2386
|
value: input3.term
|
|
2361
|
-
})) && $
|
|
2387
|
+
})) && $vo16(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2362
2388
|
path: _path2 + ".term",
|
|
2363
2389
|
expected: "CategoricalTerm",
|
|
2364
2390
|
value: input3.term
|
|
@@ -2370,12 +2396,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2370
2396
|
path: _path2 + ".values",
|
|
2371
2397
|
expected: "Array<BaseValue>",
|
|
2372
2398
|
value: input3.values
|
|
2373
|
-
})) && input3.values.map((elem,
|
|
2374
|
-
path: _path2 + ".values[" +
|
|
2399
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2400
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
2375
2401
|
expected: "BaseValue",
|
|
2376
2402
|
value: elem
|
|
2377
|
-
})) && $
|
|
2378
|
-
path: _path2 + ".values[" +
|
|
2403
|
+
})) && $vo13(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2404
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
2379
2405
|
expected: "BaseValue",
|
|
2380
2406
|
value: elem
|
|
2381
2407
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2383,7 +2409,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2383
2409
|
expected: "Array<BaseValue>",
|
|
2384
2410
|
value: input3.values
|
|
2385
2411
|
})].every((flag) => flag);
|
|
2386
|
-
const $
|
|
2412
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2387
2413
|
path: _path2 + ".id",
|
|
2388
2414
|
expected: "string",
|
|
2389
2415
|
value: input3.id
|
|
@@ -2399,8 +2425,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2399
2425
|
path: _path2 + ".child_types",
|
|
2400
2426
|
expected: "(Array<string> | undefined)",
|
|
2401
2427
|
value: input3.child_types
|
|
2402
|
-
})) && input3.child_types.map((elem,
|
|
2403
|
-
path: _path2 + ".child_types[" +
|
|
2428
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2429
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
2404
2430
|
expected: "string",
|
|
2405
2431
|
value: elem
|
|
2406
2432
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2415,8 +2441,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2415
2441
|
path: _path2 + ".included_types",
|
|
2416
2442
|
expected: "(Array<string> | undefined)",
|
|
2417
2443
|
value: input3.included_types
|
|
2418
|
-
})) && input3.included_types.map((elem,
|
|
2419
|
-
path: _path2 + ".included_types[" +
|
|
2444
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2445
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
2420
2446
|
expected: "string",
|
|
2421
2447
|
value: elem
|
|
2422
2448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2431,20 +2457,20 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2431
2457
|
path: _path2 + ".values",
|
|
2432
2458
|
expected: "(TermValues | undefined)",
|
|
2433
2459
|
value: input3.values
|
|
2434
|
-
})) && $
|
|
2460
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2435
2461
|
path: _path2 + ".values",
|
|
2436
2462
|
expected: "(TermValues | undefined)",
|
|
2437
2463
|
value: input3.values
|
|
2438
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2464
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2439
2465
|
path: _path2 + ".groupsetting",
|
|
2440
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2466
|
+
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
2441
2467
|
value: input3.groupsetting
|
|
2442
2468
|
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2443
2469
|
path: _path2 + ".groupsetting",
|
|
2444
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2470
|
+
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
2445
2471
|
value: input3.groupsetting
|
|
2446
2472
|
})].every((flag) => flag);
|
|
2447
|
-
const $
|
|
2473
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2448
2474
|
path: _path2 + ".disabled",
|
|
2449
2475
|
expected: "(boolean | undefined)",
|
|
2450
2476
|
value: input3.disabled
|
|
@@ -2452,12 +2478,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2452
2478
|
path: _path2 + ".lst",
|
|
2453
2479
|
expected: "Array<Groupset>",
|
|
2454
2480
|
value: input3.lst
|
|
2455
|
-
})) && input3.lst.map((elem,
|
|
2456
|
-
path: _path2 + ".lst[" +
|
|
2481
|
+
})) && input3.lst.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2482
|
+
path: _path2 + ".lst[" + _index15 + "]",
|
|
2457
2483
|
expected: "Groupset",
|
|
2458
2484
|
value: elem
|
|
2459
|
-
})) && $
|
|
2460
|
-
path: _path2 + ".lst[" +
|
|
2485
|
+
})) && $vo18(elem, _path2 + ".lst[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2486
|
+
path: _path2 + ".lst[" + _index15 + "]",
|
|
2461
2487
|
expected: "Groupset",
|
|
2462
2488
|
value: elem
|
|
2463
2489
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2465,7 +2491,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2465
2491
|
expected: "Array<Groupset>",
|
|
2466
2492
|
value: input3.lst
|
|
2467
2493
|
})].every((flag) => flag);
|
|
2468
|
-
const $
|
|
2494
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2469
2495
|
path: _path2 + ".name",
|
|
2470
2496
|
expected: "string",
|
|
2471
2497
|
value: input3.name
|
|
@@ -2481,12 +2507,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2481
2507
|
path: _path2 + ".groups",
|
|
2482
2508
|
expected: "Array<GroupEntry>",
|
|
2483
2509
|
value: input3.groups
|
|
2484
|
-
})) && input3.groups.map((elem,
|
|
2485
|
-
path: _path2 + ".groups[" +
|
|
2510
|
+
})) && input3.groups.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2511
|
+
path: _path2 + ".groups[" + _index16 + "]",
|
|
2486
2512
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2487
2513
|
value: elem
|
|
2488
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
2489
|
-
path: _path2 + ".groups[" +
|
|
2514
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2515
|
+
path: _path2 + ".groups[" + _index16 + "]",
|
|
2490
2516
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2491
2517
|
value: elem
|
|
2492
2518
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2494,7 +2520,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2494
2520
|
expected: "Array<GroupEntry>",
|
|
2495
2521
|
value: input3.groups
|
|
2496
2522
|
})].every((flag) => flag);
|
|
2497
|
-
const $
|
|
2523
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2498
2524
|
path: _path2 + ".name",
|
|
2499
2525
|
expected: "string",
|
|
2500
2526
|
value: input3.name
|
|
@@ -2504,26 +2530,26 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2504
2530
|
value: input3.type
|
|
2505
2531
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2506
2532
|
path: _path2 + ".values",
|
|
2507
|
-
expected: "Array<__type>.
|
|
2533
|
+
expected: "Array<__type>.o4",
|
|
2508
2534
|
value: input3.values
|
|
2509
|
-
})) && input3.values.map((elem,
|
|
2510
|
-
path: _path2 + ".values[" +
|
|
2511
|
-
expected: "__type.
|
|
2535
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2536
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
2537
|
+
expected: "__type.o6",
|
|
2512
2538
|
value: elem
|
|
2513
|
-
})) && $
|
|
2514
|
-
path: _path2 + ".values[" +
|
|
2515
|
-
expected: "__type.
|
|
2539
|
+
})) && $vo20(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2540
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
2541
|
+
expected: "__type.o6",
|
|
2516
2542
|
value: elem
|
|
2517
2543
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2518
2544
|
path: _path2 + ".values",
|
|
2519
|
-
expected: "Array<__type>.
|
|
2545
|
+
expected: "Array<__type>.o4",
|
|
2520
2546
|
value: input3.values
|
|
2521
2547
|
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2522
2548
|
path: _path2 + ".uncomputable",
|
|
2523
2549
|
expected: "(boolean | undefined)",
|
|
2524
2550
|
value: input3.uncomputable
|
|
2525
2551
|
})].every((flag) => flag);
|
|
2526
|
-
const $
|
|
2552
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2527
2553
|
path: _path2 + ".key",
|
|
2528
2554
|
expected: "(number | string)",
|
|
2529
2555
|
value: input3.key
|
|
@@ -2532,7 +2558,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2532
2558
|
expected: "string",
|
|
2533
2559
|
value: input3.label
|
|
2534
2560
|
})].every((flag) => flag);
|
|
2535
|
-
const $
|
|
2561
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2536
2562
|
path: _path2 + ".name",
|
|
2537
2563
|
expected: "string",
|
|
2538
2564
|
value: input3.name
|
|
@@ -2544,12 +2570,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2544
2570
|
path: _path2 + ".filter",
|
|
2545
2571
|
expected: "Filter",
|
|
2546
2572
|
value: input3.filter
|
|
2547
|
-
})) && $
|
|
2573
|
+
})) && $vo14(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2548
2574
|
path: _path2 + ".filter",
|
|
2549
2575
|
expected: "Filter",
|
|
2550
2576
|
value: input3.filter
|
|
2577
|
+
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2578
|
+
path: _path2 + ".uncomputable",
|
|
2579
|
+
expected: "(boolean | undefined)",
|
|
2580
|
+
value: input3.uncomputable
|
|
2551
2581
|
})].every((flag) => flag);
|
|
2552
|
-
const $
|
|
2582
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2553
2583
|
path: _path2 + ".disabled",
|
|
2554
2584
|
expected: "boolean",
|
|
2555
2585
|
value: input3.disabled
|
|
@@ -2566,7 +2596,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2566
2596
|
expected: "([] | undefined)",
|
|
2567
2597
|
value: input3.lst
|
|
2568
2598
|
})].every((flag) => flag);
|
|
2569
|
-
const $
|
|
2599
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2570
2600
|
path: _path2 + ".join",
|
|
2571
2601
|
expected: "(string | undefined)",
|
|
2572
2602
|
value: input3.join
|
|
@@ -2578,7 +2608,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2578
2608
|
path: _path2 + ".term",
|
|
2579
2609
|
expected: "NumericTerm",
|
|
2580
2610
|
value: input3.term
|
|
2581
|
-
})) && $
|
|
2611
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2582
2612
|
path: _path2 + ".term",
|
|
2583
2613
|
expected: "NumericTerm",
|
|
2584
2614
|
value: input3.term
|
|
@@ -2586,12 +2616,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2586
2616
|
path: _path2 + ".ranges",
|
|
2587
2617
|
expected: "Array<NumericBin>",
|
|
2588
2618
|
value: input3.ranges
|
|
2589
|
-
})) && input3.ranges.map((elem,
|
|
2590
|
-
path: _path2 + ".ranges[" +
|
|
2619
|
+
})) && input3.ranges.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2620
|
+
path: _path2 + ".ranges[" + _index18 + "]",
|
|
2591
2621
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2592
2622
|
value: elem
|
|
2593
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
2594
|
-
path: _path2 + ".ranges[" +
|
|
2623
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2624
|
+
path: _path2 + ".ranges[" + _index18 + "]",
|
|
2595
2625
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2596
2626
|
value: elem
|
|
2597
2627
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2600,22 +2630,22 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2600
2630
|
value: input3.ranges
|
|
2601
2631
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2602
2632
|
path: _path2 + ".values",
|
|
2603
|
-
expected: "Array<__type>.
|
|
2633
|
+
expected: "Array<__type>.o5",
|
|
2604
2634
|
value: input3.values
|
|
2605
|
-
})) && input3.values.map((elem,
|
|
2606
|
-
path: _path2 + ".values[" +
|
|
2607
|
-
expected: "__type.
|
|
2635
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2636
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2637
|
+
expected: "__type.o9",
|
|
2608
2638
|
value: elem
|
|
2609
|
-
})) && $
|
|
2610
|
-
path: _path2 + ".values[" +
|
|
2611
|
-
expected: "__type.
|
|
2639
|
+
})) && $vo33(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2640
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2641
|
+
expected: "__type.o9",
|
|
2612
2642
|
value: elem
|
|
2613
2643
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2614
2644
|
path: _path2 + ".values",
|
|
2615
|
-
expected: "Array<__type>.
|
|
2645
|
+
expected: "Array<__type>.o5",
|
|
2616
2646
|
value: input3.values
|
|
2617
2647
|
})].every((flag) => flag);
|
|
2618
|
-
const $
|
|
2648
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2619
2649
|
path: _path2 + ".id",
|
|
2620
2650
|
expected: "string",
|
|
2621
2651
|
value: input3.id
|
|
@@ -2631,8 +2661,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2631
2661
|
path: _path2 + ".child_types",
|
|
2632
2662
|
expected: "(Array<string> | undefined)",
|
|
2633
2663
|
value: input3.child_types
|
|
2634
|
-
})) && input3.child_types.map((elem,
|
|
2635
|
-
path: _path2 + ".child_types[" +
|
|
2664
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2665
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
2636
2666
|
expected: "string",
|
|
2637
2667
|
value: elem
|
|
2638
2668
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2647,8 +2677,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2647
2677
|
path: _path2 + ".included_types",
|
|
2648
2678
|
expected: "(Array<string> | undefined)",
|
|
2649
2679
|
value: input3.included_types
|
|
2650
|
-
})) && input3.included_types.map((elem,
|
|
2651
|
-
path: _path2 + ".included_types[" +
|
|
2680
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2681
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
2652
2682
|
expected: "string",
|
|
2653
2683
|
value: elem
|
|
2654
2684
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2663,15 +2693,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2663
2693
|
path: _path2 + ".values",
|
|
2664
2694
|
expected: "(TermValues | undefined)",
|
|
2665
2695
|
value: input3.values
|
|
2666
|
-
})) && $
|
|
2696
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2667
2697
|
path: _path2 + ".values",
|
|
2668
2698
|
expected: "(TermValues | undefined)",
|
|
2669
2699
|
value: input3.values
|
|
2670
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2700
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2671
2701
|
path: _path2 + ".bins",
|
|
2672
2702
|
expected: "PresetNumericBins",
|
|
2673
2703
|
value: input3.bins
|
|
2674
|
-
})) && $
|
|
2704
|
+
})) && $vo25(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2675
2705
|
path: _path2 + ".bins",
|
|
2676
2706
|
expected: "PresetNumericBins",
|
|
2677
2707
|
value: input3.bins
|
|
@@ -2681,14 +2711,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2681
2711
|
value: input3.unit
|
|
2682
2712
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2683
2713
|
path: _path2 + ".continuousColorScale",
|
|
2684
|
-
expected: "(__type.
|
|
2714
|
+
expected: "(__type.o8 | undefined)",
|
|
2685
2715
|
value: input3.continuousColorScale
|
|
2686
|
-
})) && $
|
|
2716
|
+
})) && $vo32(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2687
2717
|
path: _path2 + ".continuousColorScale",
|
|
2688
|
-
expected: "(__type.
|
|
2718
|
+
expected: "(__type.o8 | undefined)",
|
|
2689
2719
|
value: input3.continuousColorScale
|
|
2690
2720
|
})].every((flag) => flag);
|
|
2691
|
-
const $
|
|
2721
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2692
2722
|
path: _path2 + '["default"]',
|
|
2693
2723
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2694
2724
|
value: input3["default"]
|
|
@@ -2725,11 +2755,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2725
2755
|
expected: "(number | undefined)",
|
|
2726
2756
|
value: input3.max
|
|
2727
2757
|
})].every((flag) => flag);
|
|
2728
|
-
const $
|
|
2758
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2729
2759
|
path: _path2 + ".hiddenValues",
|
|
2730
2760
|
expected: "(HiddenValues | undefined)",
|
|
2731
2761
|
value: input3.hiddenValues
|
|
2732
|
-
})) && $
|
|
2762
|
+
})) && $vo27(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2733
2763
|
path: _path2 + ".hiddenValues",
|
|
2734
2764
|
expected: "(HiddenValues | undefined)",
|
|
2735
2765
|
value: input3.hiddenValues
|
|
@@ -2778,7 +2808,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2778
2808
|
expected: "(number | undefined)",
|
|
2779
2809
|
value: input3.label_offset
|
|
2780
2810
|
})].every((flag) => flag);
|
|
2781
|
-
const $
|
|
2811
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2782
2812
|
const value = input3[key];
|
|
2783
2813
|
if (void 0 === value)
|
|
2784
2814
|
return true;
|
|
@@ -2790,7 +2820,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2790
2820
|
});
|
|
2791
2821
|
return true;
|
|
2792
2822
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2793
|
-
const $
|
|
2823
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2794
2824
|
path: _path2 + ".startunbounded",
|
|
2795
2825
|
expected: "true",
|
|
2796
2826
|
value: input3.startunbounded
|
|
@@ -2815,7 +2845,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2815
2845
|
expected: "(string | undefined)",
|
|
2816
2846
|
value: input3.label
|
|
2817
2847
|
})].every((flag) => flag);
|
|
2818
|
-
const $
|
|
2848
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2819
2849
|
path: _path2 + ".startunbounded",
|
|
2820
2850
|
expected: "(false | undefined)",
|
|
2821
2851
|
value: input3.startunbounded
|
|
@@ -2844,7 +2874,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2844
2874
|
expected: "(string | undefined)",
|
|
2845
2875
|
value: input3.label
|
|
2846
2876
|
})].every((flag) => flag);
|
|
2847
|
-
const $
|
|
2877
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2848
2878
|
path: _path2 + ".start",
|
|
2849
2879
|
expected: "number",
|
|
2850
2880
|
value: input3.start
|
|
@@ -2869,11 +2899,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2869
2899
|
expected: "(string | undefined)",
|
|
2870
2900
|
value: input3.label
|
|
2871
2901
|
})].every((flag) => flag);
|
|
2872
|
-
const $
|
|
2902
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2873
2903
|
path: _path2 + ".hiddenValues",
|
|
2874
2904
|
expected: "(HiddenValues | undefined)",
|
|
2875
2905
|
value: input3.hiddenValues
|
|
2876
|
-
})) && $
|
|
2906
|
+
})) && $vo27(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2877
2907
|
path: _path2 + ".hiddenValues",
|
|
2878
2908
|
expected: "(HiddenValues | undefined)",
|
|
2879
2909
|
value: input3.hiddenValues
|
|
@@ -2915,12 +2945,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2915
2945
|
path: _path2 + ".lst",
|
|
2916
2946
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2917
2947
|
value: input3.lst.slice(1)
|
|
2918
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2919
|
-
path: _path2 + ".lst[" + (1 +
|
|
2948
|
+
})) && input3.lst.slice(1).map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2949
|
+
path: _path2 + ".lst[" + (1 + _index22) + "]",
|
|
2920
2950
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2921
2951
|
value: elem
|
|
2922
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
2923
|
-
path: _path2 + ".lst[" + (1 +
|
|
2952
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index22) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2953
|
+
path: _path2 + ".lst[" + (1 + _index22) + "]",
|
|
2924
2954
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2925
2955
|
value: elem
|
|
2926
2956
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2936,7 +2966,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2936
2966
|
expected: '("median" | undefined)',
|
|
2937
2967
|
value: input3.preferredBins
|
|
2938
2968
|
})].every((flag) => flag);
|
|
2939
|
-
const $
|
|
2969
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2940
2970
|
path: _path2 + ".minColor",
|
|
2941
2971
|
expected: "string",
|
|
2942
2972
|
value: input3.minColor
|
|
@@ -2945,7 +2975,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2945
2975
|
expected: "string",
|
|
2946
2976
|
value: input3.maxColor
|
|
2947
2977
|
})].every((flag) => flag);
|
|
2948
|
-
const $
|
|
2978
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2949
2979
|
path: _path2 + ".key",
|
|
2950
2980
|
expected: "string",
|
|
2951
2981
|
value: input3.key
|
|
@@ -2962,7 +2992,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2962
2992
|
expected: "(string | undefined)",
|
|
2963
2993
|
value: input3.label
|
|
2964
2994
|
})].every((flag) => flag);
|
|
2965
|
-
const $
|
|
2995
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2966
2996
|
path: _path2 + ".join",
|
|
2967
2997
|
expected: "(string | undefined)",
|
|
2968
2998
|
value: input3.join
|
|
@@ -2974,7 +3004,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2974
3004
|
path: _path2 + ".term",
|
|
2975
3005
|
expected: "ConditionTerm",
|
|
2976
3006
|
value: input3.term
|
|
2977
|
-
})) && $
|
|
3007
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2978
3008
|
path: _path2 + ".term",
|
|
2979
3009
|
expected: "ConditionTerm",
|
|
2980
3010
|
value: input3.term
|
|
@@ -2994,12 +3024,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2994
3024
|
path: _path2 + ".grade_and_child",
|
|
2995
3025
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2996
3026
|
value: input3.grade_and_child
|
|
2997
|
-
})) && input3.grade_and_child.map((elem,
|
|
2998
|
-
path: _path2 + ".grade_and_child[" +
|
|
3027
|
+
})) && input3.grade_and_child.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3028
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
2999
3029
|
expected: "GradeAndChildEntry",
|
|
3000
3030
|
value: elem
|
|
3001
|
-
})) && $
|
|
3002
|
-
path: _path2 + ".grade_and_child[" +
|
|
3031
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3032
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
3003
3033
|
expected: "GradeAndChildEntry",
|
|
3004
3034
|
value: elem
|
|
3005
3035
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3007,7 +3037,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3007
3037
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3008
3038
|
value: input3.grade_and_child
|
|
3009
3039
|
})].every((flag) => flag);
|
|
3010
|
-
const $
|
|
3040
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3011
3041
|
path: _path2 + ".id",
|
|
3012
3042
|
expected: "string",
|
|
3013
3043
|
value: input3.id
|
|
@@ -3023,8 +3053,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3023
3053
|
path: _path2 + ".child_types",
|
|
3024
3054
|
expected: "(Array<string> | undefined)",
|
|
3025
3055
|
value: input3.child_types
|
|
3026
|
-
})) && input3.child_types.map((elem,
|
|
3027
|
-
path: _path2 + ".child_types[" +
|
|
3056
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3057
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
3028
3058
|
expected: "string",
|
|
3029
3059
|
value: elem
|
|
3030
3060
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3039,8 +3069,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3039
3069
|
path: _path2 + ".included_types",
|
|
3040
3070
|
expected: "(Array<string> | undefined)",
|
|
3041
3071
|
value: input3.included_types
|
|
3042
|
-
})) && input3.included_types.map((elem,
|
|
3043
|
-
path: _path2 + ".included_types[" +
|
|
3072
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3073
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
3044
3074
|
expected: "string",
|
|
3045
3075
|
value: elem
|
|
3046
3076
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3055,12 +3085,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3055
3085
|
path: _path2 + ".values",
|
|
3056
3086
|
expected: "(TermValues | undefined)",
|
|
3057
3087
|
value: input3.values
|
|
3058
|
-
})) && $
|
|
3088
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3059
3089
|
path: _path2 + ".values",
|
|
3060
3090
|
expected: "(TermValues | undefined)",
|
|
3061
3091
|
value: input3.values
|
|
3062
|
-
})].every((flag) => flag);
|
|
3063
|
-
const $
|
|
3092
|
+
}), true].every((flag) => flag);
|
|
3093
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3064
3094
|
path: _path2 + ".grade",
|
|
3065
3095
|
expected: "number",
|
|
3066
3096
|
value: input3.grade
|
|
@@ -3077,7 +3107,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3077
3107
|
expected: "string",
|
|
3078
3108
|
value: input3.child_label
|
|
3079
3109
|
})].every((flag) => flag);
|
|
3080
|
-
const $
|
|
3110
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3081
3111
|
path: _path2 + ".join",
|
|
3082
3112
|
expected: "(string | undefined)",
|
|
3083
3113
|
value: input3.join
|
|
@@ -3097,12 +3127,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3097
3127
|
path: _path2 + ".values",
|
|
3098
3128
|
expected: "Array<GeneVariantTvsValue>",
|
|
3099
3129
|
value: input3.values
|
|
3100
|
-
})) && input3.values.map((elem,
|
|
3101
|
-
path: _path2 + ".values[" +
|
|
3130
|
+
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3131
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
3102
3132
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
3103
3133
|
value: elem
|
|
3104
|
-
})) && $vu3(elem, _path2 + ".values[" +
|
|
3105
|
-
path: _path2 + ".values[" +
|
|
3134
|
+
})) && $vu3(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3135
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
3106
3136
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
3107
3137
|
value: elem
|
|
3108
3138
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3110,7 +3140,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3110
3140
|
expected: "Array<GeneVariantTvsValue>",
|
|
3111
3141
|
value: input3.values
|
|
3112
3142
|
})].every((flag) => flag);
|
|
3113
|
-
const $
|
|
3143
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3114
3144
|
path: _path2 + ".id",
|
|
3115
3145
|
expected: "string",
|
|
3116
3146
|
value: input3.id
|
|
@@ -3126,8 +3156,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3126
3156
|
path: _path2 + ".child_types",
|
|
3127
3157
|
expected: "(Array<string> | undefined)",
|
|
3128
3158
|
value: input3.child_types
|
|
3129
|
-
})) && input3.child_types.map((elem,
|
|
3130
|
-
path: _path2 + ".child_types[" +
|
|
3159
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3160
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
3131
3161
|
expected: "string",
|
|
3132
3162
|
value: elem
|
|
3133
3163
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3142,8 +3172,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3142
3172
|
path: _path2 + ".included_types",
|
|
3143
3173
|
expected: "(Array<string> | undefined)",
|
|
3144
3174
|
value: input3.included_types
|
|
3145
|
-
})) && input3.included_types.map((elem,
|
|
3146
|
-
path: _path2 + ".included_types[" +
|
|
3175
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3176
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
3147
3177
|
expected: "string",
|
|
3148
3178
|
value: elem
|
|
3149
3179
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3158,15 +3188,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3158
3188
|
path: _path2 + ".values",
|
|
3159
3189
|
expected: "(TermValues | undefined)",
|
|
3160
3190
|
value: input3.values
|
|
3161
|
-
})) && $
|
|
3191
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3162
3192
|
path: _path2 + ".values",
|
|
3163
3193
|
expected: "(TermValues | undefined)",
|
|
3164
3194
|
value: input3.values
|
|
3165
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3195
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3166
3196
|
path: _path2 + ".groupsetting",
|
|
3167
3197
|
expected: "EnabledTermGroupSetting",
|
|
3168
3198
|
value: input3.groupsetting
|
|
3169
|
-
})) && $
|
|
3199
|
+
})) && $vo17(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3170
3200
|
path: _path2 + ".groupsetting",
|
|
3171
3201
|
expected: "EnabledTermGroupSetting",
|
|
3172
3202
|
value: input3.groupsetting
|
|
@@ -3191,7 +3221,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3191
3221
|
expected: "(number | undefined)",
|
|
3192
3222
|
value: input3.stop
|
|
3193
3223
|
})].every((flag) => flag);
|
|
3194
|
-
const $
|
|
3224
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3195
3225
|
path: _path2 + ".id",
|
|
3196
3226
|
expected: "string",
|
|
3197
3227
|
value: input3.id
|
|
@@ -3207,8 +3237,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3207
3237
|
path: _path2 + ".child_types",
|
|
3208
3238
|
expected: "(Array<string> | undefined)",
|
|
3209
3239
|
value: input3.child_types
|
|
3210
|
-
})) && input3.child_types.map((elem,
|
|
3211
|
-
path: _path2 + ".child_types[" +
|
|
3240
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3241
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
3212
3242
|
expected: "string",
|
|
3213
3243
|
value: elem
|
|
3214
3244
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3223,8 +3253,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3223
3253
|
path: _path2 + ".included_types",
|
|
3224
3254
|
expected: "(Array<string> | undefined)",
|
|
3225
3255
|
value: input3.included_types
|
|
3226
|
-
})) && input3.included_types.map((elem,
|
|
3227
|
-
path: _path2 + ".included_types[" +
|
|
3256
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3257
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
3228
3258
|
expected: "string",
|
|
3229
3259
|
value: elem
|
|
3230
3260
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3239,15 +3269,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3239
3269
|
path: _path2 + ".values",
|
|
3240
3270
|
expected: "(TermValues | undefined)",
|
|
3241
3271
|
value: input3.values
|
|
3242
|
-
})) && $
|
|
3272
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3243
3273
|
path: _path2 + ".values",
|
|
3244
3274
|
expected: "(TermValues | undefined)",
|
|
3245
3275
|
value: input3.values
|
|
3246
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3276
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3247
3277
|
path: _path2 + ".groupsetting",
|
|
3248
3278
|
expected: "EnabledTermGroupSetting",
|
|
3249
3279
|
value: input3.groupsetting
|
|
3250
|
-
})) && $
|
|
3280
|
+
})) && $vo17(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3251
3281
|
path: _path2 + ".groupsetting",
|
|
3252
3282
|
expected: "EnabledTermGroupSetting",
|
|
3253
3283
|
value: input3.groupsetting
|
|
@@ -3268,7 +3298,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3268
3298
|
expected: "number",
|
|
3269
3299
|
value: input3.stop
|
|
3270
3300
|
})].every((flag) => flag);
|
|
3271
|
-
const $
|
|
3301
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
3272
3302
|
path: _path2 + ".dt",
|
|
3273
3303
|
expected: "1",
|
|
3274
3304
|
value: input3.dt
|
|
@@ -3276,8 +3306,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3276
3306
|
path: _path2 + ".mclassLst",
|
|
3277
3307
|
expected: "Array<SNVIndelClasses>",
|
|
3278
3308
|
value: input3.mclassLst
|
|
3279
|
-
})) && input3.mclassLst.map((elem,
|
|
3280
|
-
path: _path2 + ".mclassLst[" +
|
|
3309
|
+
})) && input3.mclassLst.map((elem, _index31) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
3310
|
+
path: _path2 + ".mclassLst[" + _index31 + "]",
|
|
3281
3311
|
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
3282
3312
|
value: elem
|
|
3283
3313
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3288,8 +3318,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3288
3318
|
path: _path2 + ".mclassExcludeLst",
|
|
3289
3319
|
expected: "Array<SNVIndelClasses>",
|
|
3290
3320
|
value: input3.mclassExcludeLst
|
|
3291
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
3292
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
3321
|
+
})) && input3.mclassExcludeLst.map((elem, _index32) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
3322
|
+
path: _path2 + ".mclassExcludeLst[" + _index32 + "]",
|
|
3293
3323
|
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
3294
3324
|
value: elem
|
|
3295
3325
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3301,7 +3331,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3301
3331
|
expected: '("germline" | "somatic" | undefined)',
|
|
3302
3332
|
value: input3.origin
|
|
3303
3333
|
})].every((flag) => flag);
|
|
3304
|
-
const $
|
|
3334
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
3305
3335
|
path: _path2 + ".dt",
|
|
3306
3336
|
expected: "4",
|
|
3307
3337
|
value: input3.dt
|
|
@@ -3309,8 +3339,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3309
3339
|
path: _path2 + ".mclassLst",
|
|
3310
3340
|
expected: "Array<CNVClasses>",
|
|
3311
3341
|
value: input3.mclassLst
|
|
3312
|
-
})) && input3.mclassLst.map((elem,
|
|
3313
|
-
path: _path2 + ".mclassLst[" +
|
|
3342
|
+
})) && input3.mclassLst.map((elem, _index33) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
3343
|
+
path: _path2 + ".mclassLst[" + _index33 + "]",
|
|
3314
3344
|
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
3315
3345
|
value: elem
|
|
3316
3346
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3321,8 +3351,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3321
3351
|
path: _path2 + ".mclassExcludeLst",
|
|
3322
3352
|
expected: "Array<CNVClasses>",
|
|
3323
3353
|
value: input3.mclassExcludeLst
|
|
3324
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
3325
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
3354
|
+
})) && input3.mclassExcludeLst.map((elem, _index34) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
3355
|
+
path: _path2 + ".mclassExcludeLst[" + _index34 + "]",
|
|
3326
3356
|
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
3327
3357
|
value: elem
|
|
3328
3358
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3334,7 +3364,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3334
3364
|
expected: '("germline" | "somatic" | undefined)',
|
|
3335
3365
|
value: input3.origin
|
|
3336
3366
|
})].every((flag) => flag);
|
|
3337
|
-
const $
|
|
3367
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
3338
3368
|
path: _path2 + ".dt",
|
|
3339
3369
|
expected: "5",
|
|
3340
3370
|
value: input3.dt
|
|
@@ -3342,8 +3372,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3342
3372
|
path: _path2 + ".mclassLst",
|
|
3343
3373
|
expected: "Array<SVClasses>",
|
|
3344
3374
|
value: input3.mclassLst
|
|
3345
|
-
})) && input3.mclassLst.map((elem,
|
|
3346
|
-
path: _path2 + ".mclassLst[" +
|
|
3375
|
+
})) && input3.mclassLst.map((elem, _index35) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
3376
|
+
path: _path2 + ".mclassLst[" + _index35 + "]",
|
|
3347
3377
|
expected: '("Blank" | "SV" | "WT")',
|
|
3348
3378
|
value: elem
|
|
3349
3379
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3354,8 +3384,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3354
3384
|
path: _path2 + ".mclassExcludeLst",
|
|
3355
3385
|
expected: "Array<SVClasses>",
|
|
3356
3386
|
value: input3.mclassExcludeLst
|
|
3357
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
3358
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
3387
|
+
})) && input3.mclassExcludeLst.map((elem, _index36) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
3388
|
+
path: _path2 + ".mclassExcludeLst[" + _index36 + "]",
|
|
3359
3389
|
expected: '("Blank" | "SV" | "WT")',
|
|
3360
3390
|
value: elem
|
|
3361
3391
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3367,7 +3397,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3367
3397
|
expected: '("germline" | "somatic" | undefined)',
|
|
3368
3398
|
value: input3.origin
|
|
3369
3399
|
})].every((flag) => flag);
|
|
3370
|
-
const $
|
|
3400
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
3371
3401
|
path: _path2 + ".dt",
|
|
3372
3402
|
expected: "2",
|
|
3373
3403
|
value: input3.dt
|
|
@@ -3375,8 +3405,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3375
3405
|
path: _path2 + ".mclassLst",
|
|
3376
3406
|
expected: "Array<FusionRNAClasses>",
|
|
3377
3407
|
value: input3.mclassLst
|
|
3378
|
-
})) && input3.mclassLst.map((elem,
|
|
3379
|
-
path: _path2 + ".mclassLst[" +
|
|
3408
|
+
})) && input3.mclassLst.map((elem, _index37) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
3409
|
+
path: _path2 + ".mclassLst[" + _index37 + "]",
|
|
3380
3410
|
expected: '("Blank" | "Fuserna" | "WT")',
|
|
3381
3411
|
value: elem
|
|
3382
3412
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3387,8 +3417,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3387
3417
|
path: _path2 + ".mclassExcludeLst",
|
|
3388
3418
|
expected: "Array<FusionRNAClasses>",
|
|
3389
3419
|
value: input3.mclassExcludeLst
|
|
3390
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
3391
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
3420
|
+
})) && input3.mclassExcludeLst.map((elem, _index38) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
3421
|
+
path: _path2 + ".mclassExcludeLst[" + _index38 + "]",
|
|
3392
3422
|
expected: '("Blank" | "Fuserna" | "WT")',
|
|
3393
3423
|
value: elem
|
|
3394
3424
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3400,7 +3430,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3400
3430
|
expected: '("germline" | "somatic" | undefined)',
|
|
3401
3431
|
value: input3.origin
|
|
3402
3432
|
})].every((flag) => flag);
|
|
3403
|
-
const $
|
|
3433
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3404
3434
|
path: _path2 + ".id",
|
|
3405
3435
|
expected: "string",
|
|
3406
3436
|
value: input3.id
|
|
@@ -3416,8 +3446,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3416
3446
|
path: _path2 + ".child_types",
|
|
3417
3447
|
expected: "(Array<string> | undefined)",
|
|
3418
3448
|
value: input3.child_types
|
|
3419
|
-
})) && input3.child_types.map((elem,
|
|
3420
|
-
path: _path2 + ".child_types[" +
|
|
3449
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3450
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
3421
3451
|
expected: "string",
|
|
3422
3452
|
value: elem
|
|
3423
3453
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3432,8 +3462,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3432
3462
|
path: _path2 + ".included_types",
|
|
3433
3463
|
expected: "(Array<string> | undefined)",
|
|
3434
3464
|
value: input3.included_types
|
|
3435
|
-
})) && input3.included_types.map((elem,
|
|
3436
|
-
path: _path2 + ".included_types[" +
|
|
3465
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3466
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
3437
3467
|
expected: "string",
|
|
3438
3468
|
value: elem
|
|
3439
3469
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3448,15 +3478,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3448
3478
|
path: _path2 + ".values",
|
|
3449
3479
|
expected: "(TermValues | undefined)",
|
|
3450
3480
|
value: input3.values
|
|
3451
|
-
})) && $
|
|
3481
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3452
3482
|
path: _path2 + ".values",
|
|
3453
3483
|
expected: "(TermValues | undefined)",
|
|
3454
3484
|
value: input3.values
|
|
3455
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3485
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3456
3486
|
path: _path2 + ".bins",
|
|
3457
3487
|
expected: "PresetNumericBins",
|
|
3458
3488
|
value: input3.bins
|
|
3459
|
-
})) && $
|
|
3489
|
+
})) && $vo25(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3460
3490
|
path: _path2 + ".bins",
|
|
3461
3491
|
expected: "PresetNumericBins",
|
|
3462
3492
|
value: input3.bins
|
|
@@ -3466,14 +3496,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3466
3496
|
value: input3.unit
|
|
3467
3497
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3468
3498
|
path: _path2 + ".continuousColorScale",
|
|
3469
|
-
expected: "(__type.
|
|
3499
|
+
expected: "(__type.o8 | undefined)",
|
|
3470
3500
|
value: input3.continuousColorScale
|
|
3471
|
-
})) && $
|
|
3501
|
+
})) && $vo32(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3472
3502
|
path: _path2 + ".continuousColorScale",
|
|
3473
|
-
expected: "(__type.
|
|
3503
|
+
expected: "(__type.o8 | undefined)",
|
|
3474
3504
|
value: input3.continuousColorScale
|
|
3475
3505
|
})].every((flag) => flag);
|
|
3476
|
-
const $
|
|
3506
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3477
3507
|
path: _path2 + ".id",
|
|
3478
3508
|
expected: "string",
|
|
3479
3509
|
value: input3.id
|
|
@@ -3489,8 +3519,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3489
3519
|
path: _path2 + ".child_types",
|
|
3490
3520
|
expected: "(Array<string> | undefined)",
|
|
3491
3521
|
value: input3.child_types
|
|
3492
|
-
})) && input3.child_types.map((elem,
|
|
3493
|
-
path: _path2 + ".child_types[" +
|
|
3522
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3523
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
3494
3524
|
expected: "string",
|
|
3495
3525
|
value: elem
|
|
3496
3526
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3505,8 +3535,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3505
3535
|
path: _path2 + ".included_types",
|
|
3506
3536
|
expected: "(Array<string> | undefined)",
|
|
3507
3537
|
value: input3.included_types
|
|
3508
|
-
})) && input3.included_types.map((elem,
|
|
3509
|
-
path: _path2 + ".included_types[" +
|
|
3538
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3539
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
3510
3540
|
expected: "string",
|
|
3511
3541
|
value: elem
|
|
3512
3542
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3521,12 +3551,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3521
3551
|
path: _path2 + ".values",
|
|
3522
3552
|
expected: "(TermValues | undefined)",
|
|
3523
3553
|
value: input3.values
|
|
3524
|
-
})) && $
|
|
3554
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3525
3555
|
path: _path2 + ".values",
|
|
3526
3556
|
expected: "(TermValues | undefined)",
|
|
3527
3557
|
value: input3.values
|
|
3528
|
-
})].every((flag) => flag);
|
|
3529
|
-
const $
|
|
3558
|
+
}), true].every((flag) => flag);
|
|
3559
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3530
3560
|
path: _path2 + ".id",
|
|
3531
3561
|
expected: "string",
|
|
3532
3562
|
value: input3.id
|
|
@@ -3542,8 +3572,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3542
3572
|
path: _path2 + ".child_types",
|
|
3543
3573
|
expected: "(Array<string> | undefined)",
|
|
3544
3574
|
value: input3.child_types
|
|
3545
|
-
})) && input3.child_types.map((elem,
|
|
3546
|
-
path: _path2 + ".child_types[" +
|
|
3575
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3576
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
3547
3577
|
expected: "string",
|
|
3548
3578
|
value: elem
|
|
3549
3579
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3558,8 +3588,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3558
3588
|
path: _path2 + ".included_types",
|
|
3559
3589
|
expected: "(Array<string> | undefined)",
|
|
3560
3590
|
value: input3.included_types
|
|
3561
|
-
})) && input3.included_types.map((elem,
|
|
3562
|
-
path: _path2 + ".included_types[" +
|
|
3591
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3592
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
3563
3593
|
expected: "string",
|
|
3564
3594
|
value: elem
|
|
3565
3595
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3574,15 +3604,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3574
3604
|
path: _path2 + ".values",
|
|
3575
3605
|
expected: "(TermValues | undefined)",
|
|
3576
3606
|
value: input3.values
|
|
3577
|
-
})) && $
|
|
3607
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3578
3608
|
path: _path2 + ".values",
|
|
3579
3609
|
expected: "(TermValues | undefined)",
|
|
3580
3610
|
value: input3.values
|
|
3581
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3611
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3582
3612
|
path: _path2 + ".groupsetting",
|
|
3583
3613
|
expected: "EnabledTermGroupSetting",
|
|
3584
3614
|
value: input3.groupsetting
|
|
3585
|
-
})) && $
|
|
3615
|
+
})) && $vo17(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3586
3616
|
path: _path2 + ".groupsetting",
|
|
3587
3617
|
expected: "EnabledTermGroupSetting",
|
|
3588
3618
|
value: input3.groupsetting
|
|
@@ -3607,7 +3637,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3607
3637
|
expected: "(number | undefined)",
|
|
3608
3638
|
value: input3.stop
|
|
3609
3639
|
})].every((flag) => flag);
|
|
3610
|
-
const $
|
|
3640
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3611
3641
|
path: _path2 + ".id",
|
|
3612
3642
|
expected: "string",
|
|
3613
3643
|
value: input3.id
|
|
@@ -3623,8 +3653,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3623
3653
|
path: _path2 + ".child_types",
|
|
3624
3654
|
expected: "(Array<string> | undefined)",
|
|
3625
3655
|
value: input3.child_types
|
|
3626
|
-
})) && input3.child_types.map((elem,
|
|
3627
|
-
path: _path2 + ".child_types[" +
|
|
3656
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3657
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
3628
3658
|
expected: "string",
|
|
3629
3659
|
value: elem
|
|
3630
3660
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3639,8 +3669,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3639
3669
|
path: _path2 + ".included_types",
|
|
3640
3670
|
expected: "(Array<string> | undefined)",
|
|
3641
3671
|
value: input3.included_types
|
|
3642
|
-
})) && input3.included_types.map((elem,
|
|
3643
|
-
path: _path2 + ".included_types[" +
|
|
3672
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3673
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
3644
3674
|
expected: "string",
|
|
3645
3675
|
value: elem
|
|
3646
3676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3655,15 +3685,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3655
3685
|
path: _path2 + ".values",
|
|
3656
3686
|
expected: "(TermValues | undefined)",
|
|
3657
3687
|
value: input3.values
|
|
3658
|
-
})) && $
|
|
3688
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3659
3689
|
path: _path2 + ".values",
|
|
3660
3690
|
expected: "(TermValues | undefined)",
|
|
3661
3691
|
value: input3.values
|
|
3662
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3692
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3663
3693
|
path: _path2 + ".groupsetting",
|
|
3664
3694
|
expected: "EnabledTermGroupSetting",
|
|
3665
3695
|
value: input3.groupsetting
|
|
3666
|
-
})) && $
|
|
3696
|
+
})) && $vo17(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3667
3697
|
path: _path2 + ".groupsetting",
|
|
3668
3698
|
expected: "EnabledTermGroupSetting",
|
|
3669
3699
|
value: input3.groupsetting
|
|
@@ -3684,7 +3714,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3684
3714
|
expected: "number",
|
|
3685
3715
|
value: input3.stop
|
|
3686
3716
|
})].every((flag) => flag);
|
|
3687
|
-
const $
|
|
3717
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3688
3718
|
path: _path2 + ".id",
|
|
3689
3719
|
expected: "string",
|
|
3690
3720
|
value: input3.id
|
|
@@ -3700,8 +3730,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3700
3730
|
path: _path2 + ".child_types",
|
|
3701
3731
|
expected: "(Array<string> | undefined)",
|
|
3702
3732
|
value: input3.child_types
|
|
3703
|
-
})) && input3.child_types.map((elem,
|
|
3704
|
-
path: _path2 + ".child_types[" +
|
|
3733
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3734
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
3705
3735
|
expected: "string",
|
|
3706
3736
|
value: elem
|
|
3707
3737
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3716,8 +3746,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3716
3746
|
path: _path2 + ".included_types",
|
|
3717
3747
|
expected: "(Array<string> | undefined)",
|
|
3718
3748
|
value: input3.included_types
|
|
3719
|
-
})) && input3.included_types.map((elem,
|
|
3720
|
-
path: _path2 + ".included_types[" +
|
|
3749
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3750
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
3721
3751
|
expected: "string",
|
|
3722
3752
|
value: elem
|
|
3723
3753
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3732,11 +3762,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3732
3762
|
path: _path2 + ".values",
|
|
3733
3763
|
expected: "(TermValues | undefined)",
|
|
3734
3764
|
value: input3.values
|
|
3735
|
-
})) && $
|
|
3765
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3736
3766
|
path: _path2 + ".values",
|
|
3737
3767
|
expected: "(TermValues | undefined)",
|
|
3738
3768
|
value: input3.values
|
|
3739
|
-
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
3769
|
+
}), true, void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
3740
3770
|
path: _path2 + ".reachedVariantLimit",
|
|
3741
3771
|
expected: "(boolean | undefined)",
|
|
3742
3772
|
value: input3.reachedVariantLimit
|
|
@@ -3744,12 +3774,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3744
3774
|
path: _path2 + ".snps",
|
|
3745
3775
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3746
3776
|
value: input3.snps
|
|
3747
|
-
})) && input3.snps.map((elem,
|
|
3748
|
-
path: _path2 + ".snps[" +
|
|
3777
|
+
})) && input3.snps.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3778
|
+
path: _path2 + ".snps[" + _index49 + "]",
|
|
3749
3779
|
expected: "SnpsEntry",
|
|
3750
3780
|
value: elem
|
|
3751
|
-
})) && $
|
|
3752
|
-
path: _path2 + ".snps[" +
|
|
3781
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3782
|
+
path: _path2 + ".snps[" + _index49 + "]",
|
|
3753
3783
|
expected: "SnpsEntry",
|
|
3754
3784
|
value: elem
|
|
3755
3785
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3757,12 +3787,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3757
3787
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3758
3788
|
value: input3.snps
|
|
3759
3789
|
})].every((flag) => flag);
|
|
3760
|
-
const $
|
|
3790
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3761
3791
|
path: _path2 + ".altAlleles",
|
|
3762
3792
|
expected: "(Array<string> | undefined)",
|
|
3763
3793
|
value: input3.altAlleles
|
|
3764
|
-
})) && input3.altAlleles.map((elem,
|
|
3765
|
-
path: _path2 + ".altAlleles[" +
|
|
3794
|
+
})) && input3.altAlleles.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3795
|
+
path: _path2 + ".altAlleles[" + _index50 + "]",
|
|
3766
3796
|
expected: "string",
|
|
3767
3797
|
value: elem
|
|
3768
3798
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3773,12 +3803,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3773
3803
|
path: _path2 + ".alleles",
|
|
3774
3804
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3775
3805
|
value: input3.alleles
|
|
3776
|
-
})) && input3.alleles.map((elem,
|
|
3777
|
-
path: _path2 + ".alleles[" +
|
|
3806
|
+
})) && input3.alleles.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3807
|
+
path: _path2 + ".alleles[" + _index51 + "]",
|
|
3778
3808
|
expected: "AllelesEntry",
|
|
3779
3809
|
value: elem
|
|
3780
|
-
})) && $
|
|
3781
|
-
path: _path2 + ".alleles[" +
|
|
3810
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3811
|
+
path: _path2 + ".alleles[" + _index51 + "]",
|
|
3782
3812
|
expected: "AllelesEntry",
|
|
3783
3813
|
value: elem
|
|
3784
3814
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3791,11 +3821,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3791
3821
|
value: input3.effectAllele
|
|
3792
3822
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3793
3823
|
path: _path2 + ".gt2count",
|
|
3794
|
-
expected: "(__type.
|
|
3824
|
+
expected: "(__type.o10 | undefined)",
|
|
3795
3825
|
value: input3.gt2count
|
|
3796
|
-
})) && $
|
|
3826
|
+
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3797
3827
|
path: _path2 + ".gt2count",
|
|
3798
|
-
expected: "(__type.
|
|
3828
|
+
expected: "(__type.o10 | undefined)",
|
|
3799
3829
|
value: input3.gt2count
|
|
3800
3830
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3801
3831
|
path: _path2 + ".invalid",
|
|
@@ -3822,7 +3852,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3822
3852
|
expected: "(number | undefined)",
|
|
3823
3853
|
value: input3.pos
|
|
3824
3854
|
})].every((flag) => flag);
|
|
3825
|
-
const $
|
|
3855
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3826
3856
|
path: _path2 + ".allele",
|
|
3827
3857
|
expected: "string",
|
|
3828
3858
|
value: input3.allele
|
|
@@ -3835,7 +3865,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3835
3865
|
expected: "boolean",
|
|
3836
3866
|
value: input3.isRef
|
|
3837
3867
|
})].every((flag) => flag);
|
|
3838
|
-
const $
|
|
3868
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3839
3869
|
path: _path2 + ".k",
|
|
3840
3870
|
expected: "string",
|
|
3841
3871
|
value: input3.k
|
|
@@ -3844,7 +3874,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3844
3874
|
expected: "(number | string)",
|
|
3845
3875
|
value: input3.v
|
|
3846
3876
|
})].every((flag) => flag);
|
|
3847
|
-
const $
|
|
3877
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3848
3878
|
path: _path2 + ".id",
|
|
3849
3879
|
expected: "string",
|
|
3850
3880
|
value: input3.id
|
|
@@ -3860,8 +3890,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3860
3890
|
path: _path2 + ".child_types",
|
|
3861
3891
|
expected: "(Array<string> | undefined)",
|
|
3862
3892
|
value: input3.child_types
|
|
3863
|
-
})) && input3.child_types.map((elem,
|
|
3864
|
-
path: _path2 + ".child_types[" +
|
|
3893
|
+
})) && input3.child_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3894
|
+
path: _path2 + ".child_types[" + _index52 + "]",
|
|
3865
3895
|
expected: "string",
|
|
3866
3896
|
value: elem
|
|
3867
3897
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3876,8 +3906,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3876
3906
|
path: _path2 + ".included_types",
|
|
3877
3907
|
expected: "(Array<string> | undefined)",
|
|
3878
3908
|
value: input3.included_types
|
|
3879
|
-
})) && input3.included_types.map((elem,
|
|
3880
|
-
path: _path2 + ".included_types[" +
|
|
3909
|
+
})) && input3.included_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3910
|
+
path: _path2 + ".included_types[" + _index53 + "]",
|
|
3881
3911
|
expected: "string",
|
|
3882
3912
|
value: elem
|
|
3883
3913
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3892,12 +3922,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3892
3922
|
path: _path2 + ".values",
|
|
3893
3923
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3894
3924
|
value: input3.values
|
|
3895
|
-
})) && $
|
|
3925
|
+
})) && $vo53(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3896
3926
|
path: _path2 + ".values",
|
|
3897
3927
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3898
3928
|
value: input3.values
|
|
3899
|
-
})].every((flag) => flag);
|
|
3900
|
-
const $
|
|
3929
|
+
}), true].every((flag) => flag);
|
|
3930
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3901
3931
|
const value = input3[key];
|
|
3902
3932
|
if (void 0 === value)
|
|
3903
3933
|
return true;
|
|
@@ -3906,7 +3936,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3906
3936
|
path: _path2 + $join(key),
|
|
3907
3937
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3908
3938
|
value
|
|
3909
|
-
})) && $
|
|
3939
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3910
3940
|
path: _path2 + $join(key),
|
|
3911
3941
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3912
3942
|
value
|
|
@@ -3916,14 +3946,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3916
3946
|
path: _path2 + $join(key),
|
|
3917
3947
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3918
3948
|
value
|
|
3919
|
-
})) && $
|
|
3949
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3920
3950
|
path: _path2 + $join(key),
|
|
3921
3951
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3922
3952
|
value
|
|
3923
3953
|
});
|
|
3924
3954
|
return true;
|
|
3925
3955
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3926
|
-
const $
|
|
3956
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3927
3957
|
path: _path2 + ".key",
|
|
3928
3958
|
expected: "(string | undefined)",
|
|
3929
3959
|
value: input3.key
|
|
@@ -3951,7 +3981,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3951
3981
|
path: _path2 + ".filter",
|
|
3952
3982
|
expected: "(Filter | undefined)",
|
|
3953
3983
|
value: input3.filter
|
|
3954
|
-
})) && $
|
|
3984
|
+
})) && $vo14(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3955
3985
|
path: _path2 + ".filter",
|
|
3956
3986
|
expected: "(Filter | undefined)",
|
|
3957
3987
|
value: input3.filter
|
|
@@ -3965,22 +3995,22 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3965
3995
|
value: input3.inuse
|
|
3966
3996
|
}), (Array.isArray(input3.list) || $report(_exceptionable2, {
|
|
3967
3997
|
path: _path2 + ".list",
|
|
3968
|
-
expected: "Array<__type>.
|
|
3998
|
+
expected: "Array<__type>.o6",
|
|
3969
3999
|
value: input3.list
|
|
3970
|
-
})) && input3.list.map((elem,
|
|
3971
|
-
path: _path2 + ".list[" +
|
|
3972
|
-
expected: "__type.
|
|
4000
|
+
})) && input3.list.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4001
|
+
path: _path2 + ".list[" + _index54 + "]",
|
|
4002
|
+
expected: "__type.o11",
|
|
3973
4003
|
value: elem
|
|
3974
|
-
})) && $
|
|
3975
|
-
path: _path2 + ".list[" +
|
|
3976
|
-
expected: "__type.
|
|
4004
|
+
})) && $vo55(elem, _path2 + ".list[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4005
|
+
path: _path2 + ".list[" + _index54 + "]",
|
|
4006
|
+
expected: "__type.o11",
|
|
3977
4007
|
value: elem
|
|
3978
4008
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3979
4009
|
path: _path2 + ".list",
|
|
3980
|
-
expected: "Array<__type>.
|
|
4010
|
+
expected: "Array<__type>.o6",
|
|
3981
4011
|
value: input3.list
|
|
3982
4012
|
}), true].every((flag) => flag);
|
|
3983
|
-
const $
|
|
4013
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3984
4014
|
path: _path2 + ".sampleId",
|
|
3985
4015
|
expected: "string",
|
|
3986
4016
|
value: input3.sampleId
|
|
@@ -3991,16 +4021,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3991
4021
|
})].every((flag) => flag);
|
|
3992
4022
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3993
4023
|
if (void 0 !== input3.type)
|
|
3994
|
-
return $
|
|
4024
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
3995
4025
|
if (void 0 !== input3.ranges)
|
|
3996
|
-
return $
|
|
3997
|
-
return $
|
|
4026
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
4027
|
+
return $vo15(input3, _path2, false) || $vo34(input3, _path2, false) || $vo37(input3, _path2, false);
|
|
3998
4028
|
})();
|
|
3999
4029
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4000
4030
|
if ("string" === typeof input3.type)
|
|
4001
|
-
return $
|
|
4031
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
4002
4032
|
if ("filter" === input3.type)
|
|
4003
|
-
return $
|
|
4033
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
4004
4034
|
return $report(_exceptionable2, {
|
|
4005
4035
|
path: _path2,
|
|
4006
4036
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -4009,20 +4039,20 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4009
4039
|
})();
|
|
4010
4040
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4011
4041
|
if (true === input3.startunbounded)
|
|
4012
|
-
return $
|
|
4042
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
4013
4043
|
if (true === input3.stopunbounded)
|
|
4014
|
-
return $
|
|
4015
|
-
return $
|
|
4044
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4045
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4016
4046
|
})();
|
|
4017
4047
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4018
4048
|
if (2 === input3.dt)
|
|
4019
|
-
return $
|
|
4049
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
4020
4050
|
if (5 === input3.dt)
|
|
4021
|
-
return $
|
|
4051
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
4022
4052
|
if (4 === input3.dt)
|
|
4023
|
-
return $
|
|
4053
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
4024
4054
|
if (1 === input3.dt)
|
|
4025
|
-
return $
|
|
4055
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
4026
4056
|
return $report(_exceptionable2, {
|
|
4027
4057
|
path: _path2,
|
|
4028
4058
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -4031,27 +4061,27 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4031
4061
|
})();
|
|
4032
4062
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4033
4063
|
if ("categorical" === input3.type)
|
|
4034
|
-
return $
|
|
4064
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
4035
4065
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
4036
|
-
return $vo43(input3, _path2, _exceptionable2);
|
|
4037
|
-
if ("condition" === input3.type)
|
|
4038
4066
|
return $vo44(input3, _path2, _exceptionable2);
|
|
4039
|
-
if ("
|
|
4067
|
+
if ("condition" === input3.type)
|
|
4040
4068
|
return $vo45(input3, _path2, _exceptionable2);
|
|
4041
|
-
if ("
|
|
4069
|
+
if ("gene" === input3.kind)
|
|
4042
4070
|
return $vo46(input3, _path2, _exceptionable2);
|
|
4043
|
-
|
|
4071
|
+
if ("coord" === input3.kind)
|
|
4072
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
4073
|
+
return $vo48(input3, _path2, false) || $vo52(input3, _path2, false);
|
|
4044
4074
|
})();
|
|
4045
4075
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4046
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
4047
|
-
return $
|
|
4048
|
-
return $
|
|
4076
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index55) => "object" === typeof elem && null !== elem && $vo18(elem, _path2 + ".lst[" + _index55 + "]", false)).every((flag) => flag))
|
|
4077
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
4078
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
4049
4079
|
})();
|
|
4050
4080
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4051
4081
|
if ("regular-bin" === input3.type)
|
|
4052
|
-
return $
|
|
4082
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
4053
4083
|
if ("custom-bin" === input3.type)
|
|
4054
|
-
return $
|
|
4084
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
4055
4085
|
return $report(_exceptionable2, {
|
|
4056
4086
|
path: _path2,
|
|
4057
4087
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -4060,9 +4090,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4060
4090
|
})();
|
|
4061
4091
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4062
4092
|
if (true === input3.startunbounded)
|
|
4063
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
4064
|
-
if (void 0 !== input3.start)
|
|
4065
4093
|
return $vo28(input3, _path2, _exceptionable2);
|
|
4094
|
+
if (void 0 !== input3.start)
|
|
4095
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4066
4096
|
return $report(_exceptionable2, {
|
|
4067
4097
|
path: _path2,
|
|
4068
4098
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -4071,9 +4101,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4071
4101
|
})();
|
|
4072
4102
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4073
4103
|
if (void 0 !== input3.stop)
|
|
4074
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
4075
|
-
if (true === input3.stopunbounded)
|
|
4076
4104
|
return $vo29(input3, _path2, _exceptionable2);
|
|
4105
|
+
if (true === input3.stopunbounded)
|
|
4106
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4077
4107
|
return $report(_exceptionable2, {
|
|
4078
4108
|
path: _path2,
|
|
4079
4109
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -4082,9 +4112,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4082
4112
|
})();
|
|
4083
4113
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4084
4114
|
if ("gene" === input3.kind)
|
|
4085
|
-
return $vo37(input3, _path2, _exceptionable2);
|
|
4086
|
-
if ("coord" === input3.kind)
|
|
4087
4115
|
return $vo38(input3, _path2, _exceptionable2);
|
|
4116
|
+
if ("coord" === input3.kind)
|
|
4117
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
4088
4118
|
return $report(_exceptionable2, {
|
|
4089
4119
|
path: _path2,
|
|
4090
4120
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
@@ -4097,7 +4127,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4097
4127
|
if (void 0 !== input3.clustering)
|
|
4098
4128
|
return $vo1(input3, _path2, _exceptionable2);
|
|
4099
4129
|
if (void 0 !== input3.term)
|
|
4100
|
-
return $
|
|
4130
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
4101
4131
|
return $report(_exceptionable2, {
|
|
4102
4132
|
path: _path2,
|
|
4103
4133
|
expected: "(ErrorResponse | ValidResponse | SingletermResponse)",
|