@sjcrh/proteinpaint-types 2.119.0-0 → 2.121.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-T2CSA2MC.js → chunk-3ZT4UCFM.js} +366 -512
- package/dist/{chunk-4V46EBDF.js → chunk-5XRJ5ATE.js} +916 -1264
- package/dist/{chunk-BM3JLR6T.js → chunk-AGSW7G4T.js} +905 -1253
- package/dist/{chunk-J6SJ4M3S.js → chunk-F64WJMRL.js} +1094 -1306
- package/dist/{chunk-YURGGHZI.js → chunk-K7P6C6KU.js} +731 -1079
- package/dist/{chunk-GI4NNB34.js → chunk-LBGUOJR3.js} +366 -512
- package/dist/{chunk-OL4OMJSP.js → chunk-NCFUZ5VV.js} +903 -1139
- package/dist/{chunk-GD3KAF6V.js → chunk-QMWUUGEK.js} +457 -603
- package/dist/{chunk-DL4UYYVE.js → chunk-RX5EB2HL.js} +366 -512
- package/dist/{chunk-ROPNHRVV.js → chunk-SQBZAOWB.js} +366 -512
- package/dist/{chunk-7NNYHDAK.js → chunk-XPOHYEAY.js} +917 -1265
- package/dist/{chunk-UVOO2LBD.js → chunk-ZMOSABYP.js} +916 -1264
- 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/filter.ts +12 -67
- package/src/genome.ts +1 -1
- package/src/routes/hicgenome.ts +1 -1
- package/src/routes/isoformlst.ts +1 -1
- package/src/routes/termdb.cohorts.ts +1 -1
- package/src/routes/termdb.singlecellData.ts +1 -1
- package/src/terms/categorical.ts +3 -3
- package/src/terms/condition.ts +2 -2
- package/src/terms/geneExpression.ts +3 -3
- package/src/terms/geneVariant.ts +58 -19
- package/src/terms/metaboliteIntensity.ts +4 -4
- package/src/terms/q.ts +1 -1
- package/src/terms/samplelst.ts +3 -3
- package/src/terms/singleCellCellType.ts +2 -2
- package/src/terms/singleCellGeneExpression.ts +4 -5
- package/src/terms/snp.ts +3 -3
- package/src/terms/snps.ts +4 -4
- package/src/terms/term.ts +14 -8
- package/src/terms/tw.ts +7 -8
- package/src/terms/updated-types.ts +5 -4
- package/src/termsetting.ts +4 -4
- package/src/test/numeric.type.spec.ts +2 -2
|
@@ -23,31 +23,36 @@ var validTermdbClusterRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
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
|
-
const $io1 = (input3) => "
|
|
27
|
-
const $io2 = (input3) =>
|
|
28
|
-
const $io3 = (input3) =>
|
|
29
|
-
const $io4 = (input3) =>
|
|
26
|
+
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
28
|
+
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
30
|
+
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
30
31
|
const value = input3[key];
|
|
31
32
|
if (void 0 === value)
|
|
32
33
|
return true;
|
|
33
34
|
if (RegExp(/(.*)/).test(key))
|
|
34
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
35
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
35
36
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
36
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
37
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
37
38
|
return true;
|
|
38
39
|
});
|
|
39
|
-
const $
|
|
40
|
-
const $
|
|
41
|
-
const $
|
|
42
|
-
const $
|
|
43
|
-
const $
|
|
44
|
-
const $
|
|
45
|
-
const $
|
|
46
|
-
const $
|
|
47
|
-
const $
|
|
48
|
-
const $
|
|
49
|
-
const $
|
|
50
|
-
const $
|
|
40
|
+
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
|
+
const $io7 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
42
|
+
const $io8 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
44
|
+
const $io10 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)));
|
|
45
|
+
const $io11 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
46
|
+
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io13(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
47
|
+
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io15(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
49
|
+
const $io15 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && ("object" === typeof input3.active && null !== input3.active && $io1(input3.active)) && "number" === typeof input3.group;
|
|
50
|
+
const $io16 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
51
|
+
const $io17 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io18(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 && $io27(elem)));
|
|
52
|
+
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io26(input3.continuousColorScale));
|
|
53
|
+
const $io19 = (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);
|
|
54
|
+
const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io21(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);
|
|
55
|
+
const $io21 = (input3) => Object.keys(input3).every((key) => {
|
|
51
56
|
const value = input3[key];
|
|
52
57
|
if (void 0 === value)
|
|
53
58
|
return true;
|
|
@@ -55,101 +60,83 @@ var validTermdbClusterRequest = (input) => {
|
|
|
55
60
|
return "number" === typeof value;
|
|
56
61
|
return true;
|
|
57
62
|
});
|
|
58
|
-
const $
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
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
|
-
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
|
-
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
|
-
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 || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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);
|
|
63
|
+
const $io22 = (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);
|
|
64
|
+
const $io23 = (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);
|
|
65
|
+
const $io24 = (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);
|
|
66
|
+
const $io25 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io21(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);
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(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 && $io30(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter));
|
|
71
|
+
const $io30 = (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;
|
|
72
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io26(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 || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io26(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 || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
79
79
|
const $iu0 = (input3) => (() => {
|
|
80
|
-
if (
|
|
80
|
+
if ("tvslst" === input3.type)
|
|
81
81
|
return $io1(input3);
|
|
82
|
-
if (
|
|
83
|
-
return $
|
|
84
|
-
return
|
|
85
|
-
if ($io2(input3))
|
|
86
|
-
return $io2(input3);
|
|
87
|
-
if ($io23(input3))
|
|
88
|
-
return $io23(input3);
|
|
89
|
-
if ($io26(input3))
|
|
90
|
-
return $io26(input3);
|
|
91
|
-
return false;
|
|
92
|
-
})();
|
|
82
|
+
if ("tvs" === input3.type)
|
|
83
|
+
return $io2(input3);
|
|
84
|
+
return false;
|
|
93
85
|
})();
|
|
94
86
|
const $iu1 = (input3) => (() => {
|
|
95
87
|
if ("string" === typeof input3.type)
|
|
96
|
-
return $
|
|
88
|
+
return $io12(input3);
|
|
97
89
|
if ("filter" === input3.type)
|
|
98
|
-
return $
|
|
90
|
+
return $io14(input3);
|
|
99
91
|
return false;
|
|
100
92
|
})();
|
|
101
93
|
const $iu2 = (input3) => (() => {
|
|
102
94
|
if (true === input3.startunbounded)
|
|
103
|
-
return $
|
|
95
|
+
return $io22(input3);
|
|
104
96
|
if (true === input3.stopunbounded)
|
|
105
|
-
return $
|
|
106
|
-
return $
|
|
97
|
+
return $io24(input3);
|
|
98
|
+
return $io23(input3);
|
|
107
99
|
})();
|
|
108
100
|
const $iu3 = (input3) => (() => {
|
|
109
|
-
if (
|
|
110
|
-
return $
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
101
|
+
if (void 0 !== input3.ranges)
|
|
102
|
+
return $io17(input3);
|
|
103
|
+
return (() => {
|
|
104
|
+
if ($io3(input3))
|
|
105
|
+
return $io3(input3);
|
|
106
|
+
if ($io28(input3))
|
|
107
|
+
return $io28(input3);
|
|
108
|
+
if ($io31(input3))
|
|
109
|
+
return $io31(input3);
|
|
110
|
+
return false;
|
|
111
|
+
})();
|
|
118
112
|
})();
|
|
119
113
|
const $iu4 = (input3) => (() => {
|
|
120
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
121
|
-
return $
|
|
122
|
-
return $
|
|
114
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)))
|
|
115
|
+
return $io10(input3);
|
|
116
|
+
return $io16(input3);
|
|
123
117
|
})();
|
|
124
118
|
const $iu5 = (input3) => (() => {
|
|
125
119
|
if ("regular-bin" === input3.type)
|
|
126
|
-
return $io15(input3);
|
|
127
|
-
if ("custom-bin" === input3.type)
|
|
128
120
|
return $io20(input3);
|
|
121
|
+
if ("custom-bin" === input3.type)
|
|
122
|
+
return $io25(input3);
|
|
129
123
|
return false;
|
|
130
124
|
})();
|
|
131
125
|
const $iu6 = (input3) => (() => {
|
|
132
126
|
if (true === input3.startunbounded)
|
|
133
|
-
return $
|
|
127
|
+
return $io22(input3);
|
|
134
128
|
if (void 0 !== input3.start)
|
|
135
|
-
return $
|
|
129
|
+
return $io23(input3);
|
|
136
130
|
return false;
|
|
137
131
|
})();
|
|
138
132
|
const $iu7 = (input3) => (() => {
|
|
139
133
|
if (void 0 !== input3.stop)
|
|
140
|
-
return $
|
|
134
|
+
return $io23(input3);
|
|
141
135
|
if (true === input3.stopunbounded)
|
|
142
|
-
return $
|
|
136
|
+
return $io24(input3);
|
|
143
137
|
return false;
|
|
144
138
|
})();
|
|
145
139
|
const $iu8 = (input3) => (() => {
|
|
146
|
-
if ("gene" === input3.kind)
|
|
147
|
-
return $io27(input3);
|
|
148
|
-
if ("coord" === input3.kind)
|
|
149
|
-
return $io28(input3);
|
|
150
|
-
return false;
|
|
151
|
-
})();
|
|
152
|
-
const $iu9 = (input3) => (() => {
|
|
153
140
|
if ("numericDictTerm" === input3.dataType)
|
|
154
141
|
return $io36(input3);
|
|
155
142
|
if ("metaboliteIntensity" === input3.dataType)
|
|
@@ -158,7 +145,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
158
145
|
return $io0(input3);
|
|
159
146
|
return false;
|
|
160
147
|
})();
|
|
161
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
148
|
+
return "object" === typeof input2 && null !== input2 && $iu8(input2);
|
|
162
149
|
};
|
|
163
150
|
if (false === __is(input)) {
|
|
164
151
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -213,17 +200,17 @@ var validTermdbClusterRequest = (input) => {
|
|
|
213
200
|
expected: "(string | undefined)",
|
|
214
201
|
value: input3.zScoreTransformation
|
|
215
202
|
})].every((flag) => flag);
|
|
216
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
203
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
217
204
|
path: _path2 + ".type",
|
|
218
|
-
expected: '"
|
|
205
|
+
expected: '"tvslst"',
|
|
219
206
|
value: input3.type
|
|
220
|
-
}),
|
|
207
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
221
208
|
path: _path2 + '["in"]',
|
|
222
|
-
expected: "
|
|
209
|
+
expected: "boolean",
|
|
223
210
|
value: input3["in"]
|
|
224
|
-
}), "
|
|
211
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
225
212
|
path: _path2 + ".join",
|
|
226
|
-
expected:
|
|
213
|
+
expected: "string",
|
|
227
214
|
value: input3.join
|
|
228
215
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
229
216
|
path: _path2 + ".tag",
|
|
@@ -231,22 +218,35 @@ var validTermdbClusterRequest = (input) => {
|
|
|
231
218
|
value: input3.tag
|
|
232
219
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
233
220
|
path: _path2 + ".lst",
|
|
234
|
-
expected:
|
|
221
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
235
222
|
value: input3.lst
|
|
236
223
|
})) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
237
224
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
238
|
-
expected: "(
|
|
225
|
+
expected: "(Filter | __type)",
|
|
239
226
|
value: elem
|
|
240
227
|
})) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
241
228
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
242
|
-
expected: "(
|
|
229
|
+
expected: "(Filter | __type)",
|
|
243
230
|
value: elem
|
|
244
231
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
245
232
|
path: _path2 + ".lst",
|
|
246
|
-
expected:
|
|
233
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
247
234
|
value: input3.lst
|
|
248
235
|
})].every((flag) => flag);
|
|
249
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [
|
|
236
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
237
|
+
path: _path2 + ".type",
|
|
238
|
+
expected: '"tvs"',
|
|
239
|
+
value: input3.type
|
|
240
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
241
|
+
path: _path2 + ".tvs",
|
|
242
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
243
|
+
value: input3.tvs
|
|
244
|
+
})) && $vu3(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
245
|
+
path: _path2 + ".tvs",
|
|
246
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
247
|
+
value: input3.tvs
|
|
248
|
+
})].every((flag) => flag);
|
|
249
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
250
250
|
path: _path2 + ".join",
|
|
251
251
|
expected: "(string | undefined)",
|
|
252
252
|
value: input3.join
|
|
@@ -258,7 +258,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
258
258
|
path: _path2 + ".term",
|
|
259
259
|
expected: "CategoricalTerm",
|
|
260
260
|
value: input3.term
|
|
261
|
-
})) && $
|
|
261
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
262
262
|
path: _path2 + ".term",
|
|
263
263
|
expected: "CategoricalTerm",
|
|
264
264
|
value: input3.term
|
|
@@ -274,7 +274,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
274
274
|
path: _path2 + ".values[" + _index3 + "]",
|
|
275
275
|
expected: "BaseValue",
|
|
276
276
|
value: elem
|
|
277
|
-
})) && $
|
|
277
|
+
})) && $vo6(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
278
278
|
path: _path2 + ".values[" + _index3 + "]",
|
|
279
279
|
expected: "BaseValue",
|
|
280
280
|
value: elem
|
|
@@ -283,7 +283,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
283
283
|
expected: "Array<BaseValue>",
|
|
284
284
|
value: input3.values
|
|
285
285
|
})].every((flag) => flag);
|
|
286
|
-
const $
|
|
286
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
287
287
|
path: _path2 + ".id",
|
|
288
288
|
expected: "string",
|
|
289
289
|
value: input3.id
|
|
@@ -331,20 +331,28 @@ var validTermdbClusterRequest = (input) => {
|
|
|
331
331
|
path: _path2 + ".values",
|
|
332
332
|
expected: "(TermValues | undefined)",
|
|
333
333
|
value: input3.values
|
|
334
|
-
})) && $
|
|
334
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
335
335
|
path: _path2 + ".values",
|
|
336
336
|
expected: "(TermValues | undefined)",
|
|
337
337
|
value: input3.values
|
|
338
|
-
}),
|
|
338
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
339
|
+
path: _path2 + ".filter",
|
|
340
|
+
expected: "(TermFilter | undefined)",
|
|
341
|
+
value: input3.filter
|
|
342
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
343
|
+
path: _path2 + ".filter",
|
|
344
|
+
expected: "(TermFilter | undefined)",
|
|
345
|
+
value: input3.filter
|
|
346
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
339
347
|
path: _path2 + ".groupsetting",
|
|
340
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
348
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
341
349
|
value: input3.groupsetting
|
|
342
350
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
343
351
|
path: _path2 + ".groupsetting",
|
|
344
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
352
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
345
353
|
value: input3.groupsetting
|
|
346
354
|
})].every((flag) => flag);
|
|
347
|
-
const $
|
|
355
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
348
356
|
const value = input3[key];
|
|
349
357
|
if (void 0 === value)
|
|
350
358
|
return true;
|
|
@@ -353,7 +361,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
353
361
|
path: _path2 + $join(key),
|
|
354
362
|
expected: "BaseValue",
|
|
355
363
|
value
|
|
356
|
-
})) && $
|
|
364
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
357
365
|
path: _path2 + $join(key),
|
|
358
366
|
expected: "BaseValue",
|
|
359
367
|
value
|
|
@@ -363,14 +371,14 @@ var validTermdbClusterRequest = (input) => {
|
|
|
363
371
|
path: _path2 + $join(key),
|
|
364
372
|
expected: "BaseValue",
|
|
365
373
|
value
|
|
366
|
-
})) && $
|
|
374
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
367
375
|
path: _path2 + $join(key),
|
|
368
376
|
expected: "BaseValue",
|
|
369
377
|
value
|
|
370
378
|
});
|
|
371
379
|
return true;
|
|
372
380
|
}).every((flag) => flag)].every((flag) => flag);
|
|
373
|
-
const $
|
|
381
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
374
382
|
path: _path2 + ".key",
|
|
375
383
|
expected: "(string | undefined)",
|
|
376
384
|
value: input3.key
|
|
@@ -403,7 +411,86 @@ var validTermdbClusterRequest = (input) => {
|
|
|
403
411
|
expected: "(Filter | undefined)",
|
|
404
412
|
value: input3.filter
|
|
405
413
|
})].every((flag) => flag);
|
|
406
|
-
const $
|
|
414
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
415
|
+
path: _path2 + ".opts",
|
|
416
|
+
expected: "__type.o1",
|
|
417
|
+
value: input3.opts
|
|
418
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
419
|
+
path: _path2 + ".opts",
|
|
420
|
+
expected: "__type.o1",
|
|
421
|
+
value: input3.opts
|
|
422
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
423
|
+
path: _path2 + ".terms",
|
|
424
|
+
expected: "Array<DtTerm>",
|
|
425
|
+
value: input3.terms
|
|
426
|
+
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
427
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
428
|
+
expected: "DtTerm",
|
|
429
|
+
value: elem
|
|
430
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
431
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
432
|
+
expected: "DtTerm",
|
|
433
|
+
value: elem
|
|
434
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
435
|
+
path: _path2 + ".terms",
|
|
436
|
+
expected: "Array<DtTerm>",
|
|
437
|
+
value: input3.terms
|
|
438
|
+
})].every((flag) => flag);
|
|
439
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
440
|
+
path: _path2 + ".joinWith",
|
|
441
|
+
expected: "Array<string>",
|
|
442
|
+
value: input3.joinWith
|
|
443
|
+
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
444
|
+
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
445
|
+
expected: "string",
|
|
446
|
+
value: elem
|
|
447
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
448
|
+
path: _path2 + ".joinWith",
|
|
449
|
+
expected: "Array<string>",
|
|
450
|
+
value: input3.joinWith
|
|
451
|
+
})].every((flag) => flag);
|
|
452
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
453
|
+
path: _path2 + ".id",
|
|
454
|
+
expected: "string",
|
|
455
|
+
value: input3.id
|
|
456
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
457
|
+
path: _path2 + ".query",
|
|
458
|
+
expected: "string",
|
|
459
|
+
value: input3.query
|
|
460
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
461
|
+
path: _path2 + ".name",
|
|
462
|
+
expected: "string",
|
|
463
|
+
value: input3.name
|
|
464
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
465
|
+
path: _path2 + ".name_noOrigin",
|
|
466
|
+
expected: "string",
|
|
467
|
+
value: input3.name_noOrigin
|
|
468
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
469
|
+
path: _path2 + ".isleaf",
|
|
470
|
+
expected: "boolean",
|
|
471
|
+
value: input3.isleaf
|
|
472
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
473
|
+
path: _path2 + ".type",
|
|
474
|
+
expected: "string",
|
|
475
|
+
value: input3.type
|
|
476
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
477
|
+
path: _path2 + ".dt",
|
|
478
|
+
expected: "number",
|
|
479
|
+
value: input3.dt
|
|
480
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
481
|
+
path: _path2 + ".origin",
|
|
482
|
+
expected: "(string | undefined)",
|
|
483
|
+
value: input3.origin
|
|
484
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
485
|
+
path: _path2 + ".values",
|
|
486
|
+
expected: "TermValues",
|
|
487
|
+
value: input3.values
|
|
488
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
489
|
+
path: _path2 + ".values",
|
|
490
|
+
expected: "TermValues",
|
|
491
|
+
value: input3.values
|
|
492
|
+
})].every((flag) => flag);
|
|
493
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
407
494
|
path: _path2 + ".disabled",
|
|
408
495
|
expected: "(boolean | undefined)",
|
|
409
496
|
value: input3.disabled
|
|
@@ -411,12 +498,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
411
498
|
path: _path2 + ".lst",
|
|
412
499
|
expected: "Array<Groupset>",
|
|
413
500
|
value: input3.lst
|
|
414
|
-
})) && input3.lst.map((elem,
|
|
415
|
-
path: _path2 + ".lst[" +
|
|
501
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
502
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
416
503
|
expected: "Groupset",
|
|
417
504
|
value: elem
|
|
418
|
-
})) && $
|
|
419
|
-
path: _path2 + ".lst[" +
|
|
505
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
506
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
420
507
|
expected: "Groupset",
|
|
421
508
|
value: elem
|
|
422
509
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -424,7 +511,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
424
511
|
expected: "Array<Groupset>",
|
|
425
512
|
value: input3.lst
|
|
426
513
|
})].every((flag) => flag);
|
|
427
|
-
const $
|
|
514
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
428
515
|
path: _path2 + ".name",
|
|
429
516
|
expected: "string",
|
|
430
517
|
value: input3.name
|
|
@@ -444,12 +531,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
444
531
|
path: _path2 + ".groups",
|
|
445
532
|
expected: "Array<GroupEntry>",
|
|
446
533
|
value: input3.groups
|
|
447
|
-
})) && input3.groups.map((elem,
|
|
448
|
-
path: _path2 + ".groups[" +
|
|
534
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
535
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
449
536
|
expected: "(FilterGroup | ValuesGroup)",
|
|
450
537
|
value: elem
|
|
451
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
452
|
-
path: _path2 + ".groups[" +
|
|
538
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
539
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
453
540
|
expected: "(FilterGroup | ValuesGroup)",
|
|
454
541
|
value: elem
|
|
455
542
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -457,7 +544,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
457
544
|
expected: "Array<GroupEntry>",
|
|
458
545
|
value: input3.groups
|
|
459
546
|
})].every((flag) => flag);
|
|
460
|
-
const $
|
|
547
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
461
548
|
path: _path2 + ".name",
|
|
462
549
|
expected: "string",
|
|
463
550
|
value: input3.name
|
|
@@ -469,13 +556,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
469
556
|
path: _path2 + ".values",
|
|
470
557
|
expected: "Array<__type>",
|
|
471
558
|
value: input3.values
|
|
472
|
-
})) && input3.values.map((elem,
|
|
473
|
-
path: _path2 + ".values[" +
|
|
474
|
-
expected: "__type",
|
|
559
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
560
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
561
|
+
expected: "__type.o2",
|
|
475
562
|
value: elem
|
|
476
|
-
})) && $
|
|
477
|
-
path: _path2 + ".values[" +
|
|
478
|
-
expected: "__type",
|
|
563
|
+
})) && $vo13(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
564
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
565
|
+
expected: "__type.o2",
|
|
479
566
|
value: elem
|
|
480
567
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
481
568
|
path: _path2 + ".values",
|
|
@@ -486,7 +573,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
486
573
|
expected: "(boolean | undefined)",
|
|
487
574
|
value: input3.uncomputable
|
|
488
575
|
})].every((flag) => flag);
|
|
489
|
-
const $
|
|
576
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
490
577
|
path: _path2 + ".key",
|
|
491
578
|
expected: "(number | string)",
|
|
492
579
|
value: input3.key
|
|
@@ -495,7 +582,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
495
582
|
expected: "string",
|
|
496
583
|
value: input3.label
|
|
497
584
|
})].every((flag) => flag);
|
|
498
|
-
const $
|
|
585
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
499
586
|
path: _path2 + ".name",
|
|
500
587
|
expected: "string",
|
|
501
588
|
value: input3.name
|
|
@@ -503,12 +590,57 @@ var validTermdbClusterRequest = (input) => {
|
|
|
503
590
|
path: _path2 + ".type",
|
|
504
591
|
expected: '"filter"',
|
|
505
592
|
value: input3.type
|
|
506
|
-
}),
|
|
593
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
594
|
+
path: _path2 + ".filter",
|
|
595
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
596
|
+
value: input3.filter
|
|
597
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
598
|
+
path: _path2 + ".filter",
|
|
599
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
600
|
+
value: input3.filter
|
|
601
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
507
602
|
path: _path2 + ".uncomputable",
|
|
508
|
-
expected: "
|
|
603
|
+
expected: "boolean",
|
|
509
604
|
value: input3.uncomputable
|
|
510
605
|
})].every((flag) => flag);
|
|
511
|
-
const $
|
|
606
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
607
|
+
path: _path2 + ".opts",
|
|
608
|
+
expected: "__type.o1",
|
|
609
|
+
value: input3.opts
|
|
610
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
611
|
+
path: _path2 + ".opts",
|
|
612
|
+
expected: "__type.o1",
|
|
613
|
+
value: input3.opts
|
|
614
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
615
|
+
path: _path2 + ".terms",
|
|
616
|
+
expected: "Array<DtTerm>",
|
|
617
|
+
value: input3.terms
|
|
618
|
+
})) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
619
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
620
|
+
expected: "DtTerm",
|
|
621
|
+
value: elem
|
|
622
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
623
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
624
|
+
expected: "DtTerm",
|
|
625
|
+
value: elem
|
|
626
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
627
|
+
path: _path2 + ".terms",
|
|
628
|
+
expected: "Array<DtTerm>",
|
|
629
|
+
value: input3.terms
|
|
630
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
631
|
+
path: _path2 + ".active",
|
|
632
|
+
expected: "Filter",
|
|
633
|
+
value: input3.active
|
|
634
|
+
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
635
|
+
path: _path2 + ".active",
|
|
636
|
+
expected: "Filter",
|
|
637
|
+
value: input3.active
|
|
638
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
639
|
+
path: _path2 + ".group",
|
|
640
|
+
expected: "number",
|
|
641
|
+
value: input3.group
|
|
642
|
+
})].every((flag) => flag);
|
|
643
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
512
644
|
path: _path2 + ".disabled",
|
|
513
645
|
expected: "boolean",
|
|
514
646
|
value: input3.disabled
|
|
@@ -525,7 +657,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
525
657
|
expected: "([] | undefined)",
|
|
526
658
|
value: input3.lst
|
|
527
659
|
})].every((flag) => flag);
|
|
528
|
-
const $
|
|
660
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
529
661
|
path: _path2 + ".join",
|
|
530
662
|
expected: "(string | undefined)",
|
|
531
663
|
value: input3.join
|
|
@@ -537,7 +669,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
537
669
|
path: _path2 + ".term",
|
|
538
670
|
expected: "NumericTerm",
|
|
539
671
|
value: input3.term
|
|
540
|
-
})) && $
|
|
672
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
541
673
|
path: _path2 + ".term",
|
|
542
674
|
expected: "NumericTerm",
|
|
543
675
|
value: input3.term
|
|
@@ -545,12 +677,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
545
677
|
path: _path2 + ".ranges",
|
|
546
678
|
expected: "Array<NumericBin>",
|
|
547
679
|
value: input3.ranges
|
|
548
|
-
})) && input3.ranges.map((elem,
|
|
549
|
-
path: _path2 + ".ranges[" +
|
|
680
|
+
})) && input3.ranges.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
681
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
550
682
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
551
683
|
value: elem
|
|
552
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
553
|
-
path: _path2 + ".ranges[" +
|
|
684
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
685
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
554
686
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
555
687
|
value: elem
|
|
556
688
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -561,20 +693,20 @@ var validTermdbClusterRequest = (input) => {
|
|
|
561
693
|
path: _path2 + ".values",
|
|
562
694
|
expected: "Array<__type>.o1",
|
|
563
695
|
value: input3.values
|
|
564
|
-
})) && input3.values.map((elem,
|
|
565
|
-
path: _path2 + ".values[" +
|
|
566
|
-
expected: "__type.
|
|
696
|
+
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
697
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
698
|
+
expected: "__type.o5",
|
|
567
699
|
value: elem
|
|
568
|
-
})) && $
|
|
569
|
-
path: _path2 + ".values[" +
|
|
570
|
-
expected: "__type.
|
|
700
|
+
})) && $vo27(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
701
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
702
|
+
expected: "__type.o5",
|
|
571
703
|
value: elem
|
|
572
704
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
573
705
|
path: _path2 + ".values",
|
|
574
706
|
expected: "Array<__type>.o1",
|
|
575
707
|
value: input3.values
|
|
576
708
|
})].every((flag) => flag);
|
|
577
|
-
const $
|
|
709
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
578
710
|
path: _path2 + ".id",
|
|
579
711
|
expected: "string",
|
|
580
712
|
value: input3.id
|
|
@@ -590,8 +722,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
590
722
|
path: _path2 + ".child_types",
|
|
591
723
|
expected: "(Array<string> | undefined)",
|
|
592
724
|
value: input3.child_types
|
|
593
|
-
})) && input3.child_types.map((elem,
|
|
594
|
-
path: _path2 + ".child_types[" +
|
|
725
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
726
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
595
727
|
expected: "string",
|
|
596
728
|
value: elem
|
|
597
729
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -606,8 +738,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
606
738
|
path: _path2 + ".included_types",
|
|
607
739
|
expected: "(Array<string> | undefined)",
|
|
608
740
|
value: input3.included_types
|
|
609
|
-
})) && input3.included_types.map((elem,
|
|
610
|
-
path: _path2 + ".included_types[" +
|
|
741
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
742
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
611
743
|
expected: "string",
|
|
612
744
|
value: elem
|
|
613
745
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -622,15 +754,23 @@ var validTermdbClusterRequest = (input) => {
|
|
|
622
754
|
path: _path2 + ".values",
|
|
623
755
|
expected: "(TermValues | undefined)",
|
|
624
756
|
value: input3.values
|
|
625
|
-
})) && $
|
|
757
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
626
758
|
path: _path2 + ".values",
|
|
627
759
|
expected: "(TermValues | undefined)",
|
|
628
760
|
value: input3.values
|
|
629
|
-
}),
|
|
761
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
762
|
+
path: _path2 + ".filter",
|
|
763
|
+
expected: "(TermFilter | undefined)",
|
|
764
|
+
value: input3.filter
|
|
765
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
766
|
+
path: _path2 + ".filter",
|
|
767
|
+
expected: "(TermFilter | undefined)",
|
|
768
|
+
value: input3.filter
|
|
769
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
630
770
|
path: _path2 + ".bins",
|
|
631
771
|
expected: "PresetNumericBins",
|
|
632
772
|
value: input3.bins
|
|
633
|
-
})) && $
|
|
773
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
634
774
|
path: _path2 + ".bins",
|
|
635
775
|
expected: "PresetNumericBins",
|
|
636
776
|
value: input3.bins
|
|
@@ -640,14 +780,14 @@ var validTermdbClusterRequest = (input) => {
|
|
|
640
780
|
value: input3.unit
|
|
641
781
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
642
782
|
path: _path2 + ".continuousColorScale",
|
|
643
|
-
expected: "(__type.
|
|
783
|
+
expected: "(__type.o4 | undefined)",
|
|
644
784
|
value: input3.continuousColorScale
|
|
645
|
-
})) && $
|
|
785
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
646
786
|
path: _path2 + ".continuousColorScale",
|
|
647
|
-
expected: "(__type.
|
|
787
|
+
expected: "(__type.o4 | undefined)",
|
|
648
788
|
value: input3.continuousColorScale
|
|
649
789
|
})].every((flag) => flag);
|
|
650
|
-
const $
|
|
790
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
651
791
|
path: _path2 + '["default"]',
|
|
652
792
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
653
793
|
value: input3["default"]
|
|
@@ -684,11 +824,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
684
824
|
expected: "(number | undefined)",
|
|
685
825
|
value: input3.max
|
|
686
826
|
})].every((flag) => flag);
|
|
687
|
-
const $
|
|
827
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
688
828
|
path: _path2 + ".hiddenValues",
|
|
689
829
|
expected: "(HiddenValues | undefined)",
|
|
690
830
|
value: input3.hiddenValues
|
|
691
|
-
})) && $
|
|
831
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
692
832
|
path: _path2 + ".hiddenValues",
|
|
693
833
|
expected: "(HiddenValues | undefined)",
|
|
694
834
|
value: input3.hiddenValues
|
|
@@ -737,7 +877,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
737
877
|
expected: "(number | undefined)",
|
|
738
878
|
value: input3.label_offset
|
|
739
879
|
})].every((flag) => flag);
|
|
740
|
-
const $
|
|
880
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
741
881
|
const value = input3[key];
|
|
742
882
|
if (void 0 === value)
|
|
743
883
|
return true;
|
|
@@ -749,7 +889,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
749
889
|
});
|
|
750
890
|
return true;
|
|
751
891
|
}).every((flag) => flag)].every((flag) => flag);
|
|
752
|
-
const $
|
|
892
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
753
893
|
path: _path2 + ".startunbounded",
|
|
754
894
|
expected: "true",
|
|
755
895
|
value: input3.startunbounded
|
|
@@ -774,7 +914,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
774
914
|
expected: "(string | undefined)",
|
|
775
915
|
value: input3.label
|
|
776
916
|
})].every((flag) => flag);
|
|
777
|
-
const $
|
|
917
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
778
918
|
path: _path2 + ".startunbounded",
|
|
779
919
|
expected: "(false | undefined)",
|
|
780
920
|
value: input3.startunbounded
|
|
@@ -803,7 +943,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
803
943
|
expected: "(string | undefined)",
|
|
804
944
|
value: input3.label
|
|
805
945
|
})].every((flag) => flag);
|
|
806
|
-
const $
|
|
946
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
807
947
|
path: _path2 + ".start",
|
|
808
948
|
expected: "number",
|
|
809
949
|
value: input3.start
|
|
@@ -828,11 +968,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
828
968
|
expected: "(string | undefined)",
|
|
829
969
|
value: input3.label
|
|
830
970
|
})].every((flag) => flag);
|
|
831
|
-
const $
|
|
971
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
832
972
|
path: _path2 + ".hiddenValues",
|
|
833
973
|
expected: "(HiddenValues | undefined)",
|
|
834
974
|
value: input3.hiddenValues
|
|
835
|
-
})) && $
|
|
975
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
836
976
|
path: _path2 + ".hiddenValues",
|
|
837
977
|
expected: "(HiddenValues | undefined)",
|
|
838
978
|
value: input3.hiddenValues
|
|
@@ -874,12 +1014,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
874
1014
|
path: _path2 + ".lst",
|
|
875
1015
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
876
1016
|
value: input3.lst.slice(1)
|
|
877
|
-
})) && input3.lst.slice(1).map((elem,
|
|
878
|
-
path: _path2 + ".lst[" + (1 +
|
|
1017
|
+
})) && input3.lst.slice(1).map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1018
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
879
1019
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
880
1020
|
value: elem
|
|
881
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
882
|
-
path: _path2 + ".lst[" + (1 +
|
|
1021
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index16) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1022
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
883
1023
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
884
1024
|
value: elem
|
|
885
1025
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -895,7 +1035,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
895
1035
|
expected: '("median" | undefined)',
|
|
896
1036
|
value: input3.preferredBins
|
|
897
1037
|
})].every((flag) => flag);
|
|
898
|
-
const $
|
|
1038
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
899
1039
|
path: _path2 + ".minColor",
|
|
900
1040
|
expected: "string",
|
|
901
1041
|
value: input3.minColor
|
|
@@ -904,7 +1044,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
904
1044
|
expected: "string",
|
|
905
1045
|
value: input3.maxColor
|
|
906
1046
|
})].every((flag) => flag);
|
|
907
|
-
const $
|
|
1047
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
908
1048
|
path: _path2 + ".key",
|
|
909
1049
|
expected: "string",
|
|
910
1050
|
value: input3.key
|
|
@@ -921,7 +1061,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
921
1061
|
expected: "(string | undefined)",
|
|
922
1062
|
value: input3.label
|
|
923
1063
|
})].every((flag) => flag);
|
|
924
|
-
const $
|
|
1064
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
925
1065
|
path: _path2 + ".join",
|
|
926
1066
|
expected: "(string | undefined)",
|
|
927
1067
|
value: input3.join
|
|
@@ -933,7 +1073,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
933
1073
|
path: _path2 + ".term",
|
|
934
1074
|
expected: "ConditionTerm",
|
|
935
1075
|
value: input3.term
|
|
936
|
-
})) && $
|
|
1076
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
937
1077
|
path: _path2 + ".term",
|
|
938
1078
|
expected: "ConditionTerm",
|
|
939
1079
|
value: input3.term
|
|
@@ -953,12 +1093,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
953
1093
|
path: _path2 + ".grade_and_child",
|
|
954
1094
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
955
1095
|
value: input3.grade_and_child
|
|
956
|
-
})) && input3.grade_and_child.map((elem,
|
|
957
|
-
path: _path2 + ".grade_and_child[" +
|
|
1096
|
+
})) && input3.grade_and_child.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1097
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
958
1098
|
expected: "GradeAndChildEntry",
|
|
959
1099
|
value: elem
|
|
960
|
-
})) && $
|
|
961
|
-
path: _path2 + ".grade_and_child[" +
|
|
1100
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1101
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
962
1102
|
expected: "GradeAndChildEntry",
|
|
963
1103
|
value: elem
|
|
964
1104
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -966,7 +1106,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
966
1106
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
967
1107
|
value: input3.grade_and_child
|
|
968
1108
|
})].every((flag) => flag);
|
|
969
|
-
const $
|
|
1109
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
970
1110
|
path: _path2 + ".id",
|
|
971
1111
|
expected: "string",
|
|
972
1112
|
value: input3.id
|
|
@@ -982,8 +1122,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
982
1122
|
path: _path2 + ".child_types",
|
|
983
1123
|
expected: "(Array<string> | undefined)",
|
|
984
1124
|
value: input3.child_types
|
|
985
|
-
})) && input3.child_types.map((elem,
|
|
986
|
-
path: _path2 + ".child_types[" +
|
|
1125
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1126
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
987
1127
|
expected: "string",
|
|
988
1128
|
value: elem
|
|
989
1129
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -998,8 +1138,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
998
1138
|
path: _path2 + ".included_types",
|
|
999
1139
|
expected: "(Array<string> | undefined)",
|
|
1000
1140
|
value: input3.included_types
|
|
1001
|
-
})) && input3.included_types.map((elem,
|
|
1002
|
-
path: _path2 + ".included_types[" +
|
|
1141
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1003
1143
|
expected: "string",
|
|
1004
1144
|
value: elem
|
|
1005
1145
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1014,12 +1154,20 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1014
1154
|
path: _path2 + ".values",
|
|
1015
1155
|
expected: "(TermValues | undefined)",
|
|
1016
1156
|
value: input3.values
|
|
1017
|
-
})) && $
|
|
1157
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1018
1158
|
path: _path2 + ".values",
|
|
1019
1159
|
expected: "(TermValues | undefined)",
|
|
1020
1160
|
value: input3.values
|
|
1021
|
-
}),
|
|
1022
|
-
|
|
1161
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".filter",
|
|
1163
|
+
expected: "(TermFilter | undefined)",
|
|
1164
|
+
value: input3.filter
|
|
1165
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".filter",
|
|
1167
|
+
expected: "(TermFilter | undefined)",
|
|
1168
|
+
value: input3.filter
|
|
1169
|
+
})].every((flag) => flag);
|
|
1170
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1023
1171
|
path: _path2 + ".grade",
|
|
1024
1172
|
expected: "number",
|
|
1025
1173
|
value: input3.grade
|
|
@@ -1036,7 +1184,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1036
1184
|
expected: "string",
|
|
1037
1185
|
value: input3.child_label
|
|
1038
1186
|
})].every((flag) => flag);
|
|
1039
|
-
const $
|
|
1187
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1040
1188
|
path: _path2 + ".join",
|
|
1041
1189
|
expected: "(string | undefined)",
|
|
1042
1190
|
value: input3.join
|
|
@@ -1046,30 +1194,43 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1046
1194
|
value: input3.isnot
|
|
1047
1195
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1048
1196
|
path: _path2 + ".term",
|
|
1049
|
-
expected: "
|
|
1197
|
+
expected: "DtTerm",
|
|
1050
1198
|
value: input3.term
|
|
1051
|
-
})) && $
|
|
1199
|
+
})) && $vo9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1052
1200
|
path: _path2 + ".term",
|
|
1053
|
-
expected: "
|
|
1201
|
+
expected: "DtTerm",
|
|
1054
1202
|
value: input3.term
|
|
1055
1203
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1056
1204
|
path: _path2 + ".values",
|
|
1057
|
-
expected: "Array<
|
|
1205
|
+
expected: "Array<__type>.o2",
|
|
1058
1206
|
value: input3.values
|
|
1059
|
-
})) && input3.values.map((elem,
|
|
1060
|
-
path: _path2 + ".values[" +
|
|
1061
|
-
expected: "
|
|
1207
|
+
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1208
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1209
|
+
expected: "__type.o6",
|
|
1062
1210
|
value: elem
|
|
1063
|
-
})) && $
|
|
1064
|
-
path: _path2 + ".values[" +
|
|
1065
|
-
expected: "
|
|
1211
|
+
})) && $vo32(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1212
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1213
|
+
expected: "__type.o6",
|
|
1066
1214
|
value: elem
|
|
1067
1215
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1068
1216
|
path: _path2 + ".values",
|
|
1069
|
-
expected: "Array<
|
|
1217
|
+
expected: "Array<__type>.o2",
|
|
1070
1218
|
value: input3.values
|
|
1071
1219
|
})].every((flag) => flag);
|
|
1072
|
-
const $
|
|
1220
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1221
|
+
path: _path2 + ".key",
|
|
1222
|
+
expected: "string",
|
|
1223
|
+
value: input3.key
|
|
1224
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1225
|
+
path: _path2 + ".label",
|
|
1226
|
+
expected: "string",
|
|
1227
|
+
value: input3.label
|
|
1228
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1229
|
+
path: _path2 + ".value",
|
|
1230
|
+
expected: "string",
|
|
1231
|
+
value: input3.value
|
|
1232
|
+
})].every((flag) => flag);
|
|
1233
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1073
1234
|
path: _path2 + ".id",
|
|
1074
1235
|
expected: "string",
|
|
1075
1236
|
value: input3.id
|
|
@@ -1077,16 +1238,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1077
1238
|
path: _path2 + ".name",
|
|
1078
1239
|
expected: "string",
|
|
1079
1240
|
value: input3.name
|
|
1080
|
-
}), "
|
|
1241
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1081
1242
|
path: _path2 + ".type",
|
|
1082
|
-
expected: '"
|
|
1243
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
1083
1244
|
value: input3.type
|
|
1084
1245
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1085
1246
|
path: _path2 + ".child_types",
|
|
1086
1247
|
expected: "(Array<string> | undefined)",
|
|
1087
1248
|
value: input3.child_types
|
|
1088
|
-
})) && input3.child_types.map((elem,
|
|
1089
|
-
path: _path2 + ".child_types[" +
|
|
1249
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1250
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1090
1251
|
expected: "string",
|
|
1091
1252
|
value: elem
|
|
1092
1253
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1101,8 +1262,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1101
1262
|
path: _path2 + ".included_types",
|
|
1102
1263
|
expected: "(Array<string> | undefined)",
|
|
1103
1264
|
value: input3.included_types
|
|
1104
|
-
})) && input3.included_types.map((elem,
|
|
1105
|
-
path: _path2 + ".included_types[" +
|
|
1265
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1266
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1106
1267
|
expected: "string",
|
|
1107
1268
|
value: elem
|
|
1108
1269
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1117,22 +1278,38 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1117
1278
|
path: _path2 + ".values",
|
|
1118
1279
|
expected: "(TermValues | undefined)",
|
|
1119
1280
|
value: input3.values
|
|
1120
|
-
})) && $
|
|
1281
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1121
1282
|
path: _path2 + ".values",
|
|
1122
1283
|
expected: "(TermValues | undefined)",
|
|
1123
1284
|
value: input3.values
|
|
1124
|
-
}),
|
|
1125
|
-
path: _path2 + ".
|
|
1126
|
-
expected: "(
|
|
1127
|
-
value: input3.
|
|
1128
|
-
})) && $
|
|
1129
|
-
path: _path2 + ".
|
|
1130
|
-
expected: "(
|
|
1131
|
-
value: input3.
|
|
1132
|
-
}), "
|
|
1133
|
-
path: _path2 + ".
|
|
1134
|
-
expected:
|
|
1135
|
-
value: input3.
|
|
1285
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1286
|
+
path: _path2 + ".filter",
|
|
1287
|
+
expected: "(TermFilter | undefined)",
|
|
1288
|
+
value: input3.filter
|
|
1289
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1290
|
+
path: _path2 + ".filter",
|
|
1291
|
+
expected: "(TermFilter | undefined)",
|
|
1292
|
+
value: input3.filter
|
|
1293
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1294
|
+
path: _path2 + ".bins",
|
|
1295
|
+
expected: "PresetNumericBins",
|
|
1296
|
+
value: input3.bins
|
|
1297
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1298
|
+
path: _path2 + ".bins",
|
|
1299
|
+
expected: "PresetNumericBins",
|
|
1300
|
+
value: input3.bins
|
|
1301
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1302
|
+
path: _path2 + ".unit",
|
|
1303
|
+
expected: "(string | undefined)",
|
|
1304
|
+
value: input3.unit
|
|
1305
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1306
|
+
path: _path2 + ".continuousColorScale",
|
|
1307
|
+
expected: "(__type.o4 | undefined)",
|
|
1308
|
+
value: input3.continuousColorScale
|
|
1309
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1310
|
+
path: _path2 + ".continuousColorScale",
|
|
1311
|
+
expected: "(__type.o4 | undefined)",
|
|
1312
|
+
value: input3.continuousColorScale
|
|
1136
1313
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1137
1314
|
path: _path2 + ".gene",
|
|
1138
1315
|
expected: "string",
|
|
@@ -1150,7 +1327,56 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1150
1327
|
expected: "(number | undefined)",
|
|
1151
1328
|
value: input3.stop
|
|
1152
1329
|
})].every((flag) => flag);
|
|
1153
|
-
const $
|
|
1330
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1331
|
+
path: _path2 + ".genome",
|
|
1332
|
+
expected: "string",
|
|
1333
|
+
value: input3.genome
|
|
1334
|
+
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
1335
|
+
path: _path2 + ".dslabel",
|
|
1336
|
+
expected: "string",
|
|
1337
|
+
value: input3.dslabel
|
|
1338
|
+
}), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
|
|
1339
|
+
path: _path2 + ".clusterMethod",
|
|
1340
|
+
expected: "string",
|
|
1341
|
+
value: input3.clusterMethod
|
|
1342
|
+
}), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
|
|
1343
|
+
path: _path2 + ".distanceMethod",
|
|
1344
|
+
expected: "string",
|
|
1345
|
+
value: input3.distanceMethod
|
|
1346
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1347
|
+
path: _path2 + ".filter",
|
|
1348
|
+
expected: "(Filter | undefined)",
|
|
1349
|
+
value: input3.filter
|
|
1350
|
+
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1351
|
+
path: _path2 + ".filter",
|
|
1352
|
+
expected: "(Filter | undefined)",
|
|
1353
|
+
value: input3.filter
|
|
1354
|
+
}), true, "metaboliteIntensity" === input3.dataType || $report(_exceptionable2, {
|
|
1355
|
+
path: _path2 + ".dataType",
|
|
1356
|
+
expected: '"metaboliteIntensity"',
|
|
1357
|
+
value: input3.dataType
|
|
1358
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1359
|
+
path: _path2 + ".terms",
|
|
1360
|
+
expected: "Array<MetaboliteIntensityTerm>",
|
|
1361
|
+
value: input3.terms
|
|
1362
|
+
})) && input3.terms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1363
|
+
path: _path2 + ".terms[" + _index23 + "]",
|
|
1364
|
+
expected: "MetaboliteIntensityTerm",
|
|
1365
|
+
value: elem
|
|
1366
|
+
})) && $vo35(elem, _path2 + ".terms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1367
|
+
path: _path2 + ".terms[" + _index23 + "]",
|
|
1368
|
+
expected: "MetaboliteIntensityTerm",
|
|
1369
|
+
value: elem
|
|
1370
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1371
|
+
path: _path2 + ".terms",
|
|
1372
|
+
expected: "Array<MetaboliteIntensityTerm>",
|
|
1373
|
+
value: input3.terms
|
|
1374
|
+
}), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".zScoreTransformation",
|
|
1376
|
+
expected: "(string | undefined)",
|
|
1377
|
+
value: input3.zScoreTransformation
|
|
1378
|
+
})].every((flag) => flag);
|
|
1379
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1154
1380
|
path: _path2 + ".id",
|
|
1155
1381
|
expected: "string",
|
|
1156
1382
|
value: input3.id
|
|
@@ -1158,16 +1384,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1158
1384
|
path: _path2 + ".name",
|
|
1159
1385
|
expected: "string",
|
|
1160
1386
|
value: input3.name
|
|
1161
|
-
}), "
|
|
1387
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1162
1388
|
path: _path2 + ".type",
|
|
1163
|
-
expected: '"
|
|
1389
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
1164
1390
|
value: input3.type
|
|
1165
1391
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1166
1392
|
path: _path2 + ".child_types",
|
|
1167
1393
|
expected: "(Array<string> | undefined)",
|
|
1168
1394
|
value: input3.child_types
|
|
1169
|
-
})) && input3.child_types.map((elem,
|
|
1170
|
-
path: _path2 + ".child_types[" +
|
|
1395
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1396
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1171
1397
|
expected: "string",
|
|
1172
1398
|
value: elem
|
|
1173
1399
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1182,8 +1408,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1182
1408
|
path: _path2 + ".included_types",
|
|
1183
1409
|
expected: "(Array<string> | undefined)",
|
|
1184
1410
|
value: input3.included_types
|
|
1185
|
-
})) && input3.included_types.map((elem,
|
|
1186
|
-
path: _path2 + ".included_types[" +
|
|
1411
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1412
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1187
1413
|
expected: "string",
|
|
1188
1414
|
value: elem
|
|
1189
1415
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1198,368 +1424,29 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1198
1424
|
path: _path2 + ".values",
|
|
1199
1425
|
expected: "(TermValues | undefined)",
|
|
1200
1426
|
value: input3.values
|
|
1201
|
-
})) && $
|
|
1427
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1202
1428
|
path: _path2 + ".values",
|
|
1203
1429
|
expected: "(TermValues | undefined)",
|
|
1204
1430
|
value: input3.values
|
|
1205
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1206
|
-
path: _path2 + ".groupsetting",
|
|
1207
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1208
|
-
value: input3.groupsetting
|
|
1209
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1210
|
-
path: _path2 + ".groupsetting",
|
|
1211
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1212
|
-
value: input3.groupsetting
|
|
1213
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1214
|
-
path: _path2 + ".kind",
|
|
1215
|
-
expected: '"coord"',
|
|
1216
|
-
value: input3.kind
|
|
1217
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1218
|
-
path: _path2 + ".chr",
|
|
1219
|
-
expected: "string",
|
|
1220
|
-
value: input3.chr
|
|
1221
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1222
|
-
path: _path2 + ".start",
|
|
1223
|
-
expected: "number",
|
|
1224
|
-
value: input3.start
|
|
1225
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1226
|
-
path: _path2 + ".stop",
|
|
1227
|
-
expected: "number",
|
|
1228
|
-
value: input3.stop
|
|
1229
|
-
})].every((flag) => flag);
|
|
1230
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1231
|
-
path: _path2 + ".dt",
|
|
1232
|
-
expected: "1",
|
|
1233
|
-
value: input3.dt
|
|
1234
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1235
|
-
path: _path2 + ".mclassLst",
|
|
1236
|
-
expected: "Array<SNVIndelClasses>",
|
|
1237
|
-
value: input3.mclassLst
|
|
1238
|
-
})) && input3.mclassLst.map((elem, _index22) => "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, {
|
|
1239
|
-
path: _path2 + ".mclassLst[" + _index22 + "]",
|
|
1240
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1241
|
-
value: elem
|
|
1242
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1243
|
-
path: _path2 + ".mclassLst",
|
|
1244
|
-
expected: "Array<SNVIndelClasses>",
|
|
1245
|
-
value: input3.mclassLst
|
|
1246
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1247
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1248
|
-
expected: "Array<SNVIndelClasses>",
|
|
1249
|
-
value: input3.mclassExcludeLst
|
|
1250
|
-
})) && input3.mclassExcludeLst.map((elem, _index23) => "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, {
|
|
1251
|
-
path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
|
|
1252
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1253
|
-
value: elem
|
|
1254
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1255
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1256
|
-
expected: "Array<SNVIndelClasses>",
|
|
1257
|
-
value: input3.mclassExcludeLst
|
|
1258
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1259
|
-
path: _path2 + ".origin",
|
|
1260
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1261
|
-
value: input3.origin
|
|
1262
|
-
})].every((flag) => flag);
|
|
1263
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1264
|
-
path: _path2 + ".dt",
|
|
1265
|
-
expected: "4",
|
|
1266
|
-
value: input3.dt
|
|
1267
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1268
|
-
path: _path2 + ".mclassLst",
|
|
1269
|
-
expected: "Array<CNVClasses>",
|
|
1270
|
-
value: input3.mclassLst
|
|
1271
|
-
})) && input3.mclassLst.map((elem, _index24) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1272
|
-
path: _path2 + ".mclassLst[" + _index24 + "]",
|
|
1273
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1274
|
-
value: elem
|
|
1275
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1276
|
-
path: _path2 + ".mclassLst",
|
|
1277
|
-
expected: "Array<CNVClasses>",
|
|
1278
|
-
value: input3.mclassLst
|
|
1279
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1280
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1281
|
-
expected: "Array<CNVClasses>",
|
|
1282
|
-
value: input3.mclassExcludeLst
|
|
1283
|
-
})) && input3.mclassExcludeLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1284
|
-
path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
|
|
1285
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1286
|
-
value: elem
|
|
1287
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1288
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1289
|
-
expected: "Array<CNVClasses>",
|
|
1290
|
-
value: input3.mclassExcludeLst
|
|
1291
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1292
|
-
path: _path2 + ".origin",
|
|
1293
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1294
|
-
value: input3.origin
|
|
1295
|
-
})].every((flag) => flag);
|
|
1296
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1297
|
-
path: _path2 + ".dt",
|
|
1298
|
-
expected: "5",
|
|
1299
|
-
value: input3.dt
|
|
1300
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1301
|
-
path: _path2 + ".mclassLst",
|
|
1302
|
-
expected: "Array<SVClasses>",
|
|
1303
|
-
value: input3.mclassLst
|
|
1304
|
-
})) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1305
|
-
path: _path2 + ".mclassLst[" + _index26 + "]",
|
|
1306
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1307
|
-
value: elem
|
|
1308
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1309
|
-
path: _path2 + ".mclassLst",
|
|
1310
|
-
expected: "Array<SVClasses>",
|
|
1311
|
-
value: input3.mclassLst
|
|
1312
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1313
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1314
|
-
expected: "Array<SVClasses>",
|
|
1315
|
-
value: input3.mclassExcludeLst
|
|
1316
|
-
})) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1317
|
-
path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
|
|
1318
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1319
|
-
value: elem
|
|
1320
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1321
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1322
|
-
expected: "Array<SVClasses>",
|
|
1323
|
-
value: input3.mclassExcludeLst
|
|
1324
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1325
|
-
path: _path2 + ".origin",
|
|
1326
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1327
|
-
value: input3.origin
|
|
1328
|
-
})].every((flag) => flag);
|
|
1329
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1330
|
-
path: _path2 + ".dt",
|
|
1331
|
-
expected: "2",
|
|
1332
|
-
value: input3.dt
|
|
1333
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1334
|
-
path: _path2 + ".mclassLst",
|
|
1335
|
-
expected: "Array<FusionRNAClasses>",
|
|
1336
|
-
value: input3.mclassLst
|
|
1337
|
-
})) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1338
|
-
path: _path2 + ".mclassLst[" + _index28 + "]",
|
|
1339
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1340
|
-
value: elem
|
|
1341
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1342
|
-
path: _path2 + ".mclassLst",
|
|
1343
|
-
expected: "Array<FusionRNAClasses>",
|
|
1344
|
-
value: input3.mclassLst
|
|
1345
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1346
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1347
|
-
expected: "Array<FusionRNAClasses>",
|
|
1348
|
-
value: input3.mclassExcludeLst
|
|
1349
|
-
})) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1350
|
-
path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
|
|
1351
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1352
|
-
value: elem
|
|
1353
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1354
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1355
|
-
expected: "Array<FusionRNAClasses>",
|
|
1356
|
-
value: input3.mclassExcludeLst
|
|
1357
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1358
|
-
path: _path2 + ".origin",
|
|
1359
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1360
|
-
value: input3.origin
|
|
1361
|
-
})].every((flag) => flag);
|
|
1362
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1363
|
-
path: _path2 + ".id",
|
|
1364
|
-
expected: "string",
|
|
1365
|
-
value: input3.id
|
|
1366
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1367
|
-
path: _path2 + ".name",
|
|
1368
|
-
expected: "string",
|
|
1369
|
-
value: input3.name
|
|
1370
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1371
|
-
path: _path2 + ".type",
|
|
1372
|
-
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
1373
|
-
value: input3.type
|
|
1374
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1375
|
-
path: _path2 + ".child_types",
|
|
1376
|
-
expected: "(Array<string> | undefined)",
|
|
1377
|
-
value: input3.child_types
|
|
1378
|
-
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1379
|
-
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1380
|
-
expected: "string",
|
|
1381
|
-
value: elem
|
|
1382
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1383
|
-
path: _path2 + ".child_types",
|
|
1384
|
-
expected: "(Array<string> | undefined)",
|
|
1385
|
-
value: input3.child_types
|
|
1386
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1387
|
-
path: _path2 + ".hashtmldetail",
|
|
1388
|
-
expected: "(boolean | undefined)",
|
|
1389
|
-
value: input3.hashtmldetail
|
|
1390
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1391
|
-
path: _path2 + ".included_types",
|
|
1392
|
-
expected: "(Array<string> | undefined)",
|
|
1393
|
-
value: input3.included_types
|
|
1394
|
-
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1395
|
-
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1396
|
-
expected: "string",
|
|
1397
|
-
value: elem
|
|
1398
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1399
|
-
path: _path2 + ".included_types",
|
|
1400
|
-
expected: "(Array<string> | undefined)",
|
|
1401
|
-
value: input3.included_types
|
|
1402
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1403
|
-
path: _path2 + ".isleaf",
|
|
1404
|
-
expected: "(boolean | undefined)",
|
|
1405
|
-
value: input3.isleaf
|
|
1406
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1407
|
-
path: _path2 + ".values",
|
|
1408
|
-
expected: "(TermValues | undefined)",
|
|
1409
|
-
value: input3.values
|
|
1410
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1411
|
-
path: _path2 + ".values",
|
|
1412
|
-
expected: "(TermValues | undefined)",
|
|
1413
|
-
value: input3.values
|
|
1414
|
-
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1415
|
-
path: _path2 + ".bins",
|
|
1416
|
-
expected: "PresetNumericBins",
|
|
1417
|
-
value: input3.bins
|
|
1418
|
-
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1419
|
-
path: _path2 + ".bins",
|
|
1420
|
-
expected: "PresetNumericBins",
|
|
1421
|
-
value: input3.bins
|
|
1422
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1423
|
-
path: _path2 + ".unit",
|
|
1424
|
-
expected: "(string | undefined)",
|
|
1425
|
-
value: input3.unit
|
|
1426
|
-
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1427
|
-
path: _path2 + ".continuousColorScale",
|
|
1428
|
-
expected: "(__type.o2 | undefined)",
|
|
1429
|
-
value: input3.continuousColorScale
|
|
1430
|
-
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1431
|
-
path: _path2 + ".continuousColorScale",
|
|
1432
|
-
expected: "(__type.o2 | undefined)",
|
|
1433
|
-
value: input3.continuousColorScale
|
|
1434
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1435
|
-
path: _path2 + ".gene",
|
|
1436
|
-
expected: "string",
|
|
1437
|
-
value: input3.gene
|
|
1438
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1439
|
-
path: _path2 + ".chr",
|
|
1440
|
-
expected: "(string | undefined)",
|
|
1441
|
-
value: input3.chr
|
|
1442
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1443
|
-
path: _path2 + ".start",
|
|
1444
|
-
expected: "(number | undefined)",
|
|
1445
|
-
value: input3.start
|
|
1446
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1447
|
-
path: _path2 + ".stop",
|
|
1448
|
-
expected: "(number | undefined)",
|
|
1449
|
-
value: input3.stop
|
|
1450
|
-
})].every((flag) => flag);
|
|
1451
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1452
|
-
path: _path2 + ".genome",
|
|
1453
|
-
expected: "string",
|
|
1454
|
-
value: input3.genome
|
|
1455
|
-
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
1456
|
-
path: _path2 + ".dslabel",
|
|
1457
|
-
expected: "string",
|
|
1458
|
-
value: input3.dslabel
|
|
1459
|
-
}), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
|
|
1460
|
-
path: _path2 + ".clusterMethod",
|
|
1461
|
-
expected: "string",
|
|
1462
|
-
value: input3.clusterMethod
|
|
1463
|
-
}), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
|
|
1464
|
-
path: _path2 + ".distanceMethod",
|
|
1465
|
-
expected: "string",
|
|
1466
|
-
value: input3.distanceMethod
|
|
1467
1431
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1468
1432
|
path: _path2 + ".filter",
|
|
1469
|
-
expected: "(
|
|
1433
|
+
expected: "(TermFilter | undefined)",
|
|
1470
1434
|
value: input3.filter
|
|
1471
|
-
})) && $
|
|
1435
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1472
1436
|
path: _path2 + ".filter",
|
|
1473
|
-
expected: "(
|
|
1437
|
+
expected: "(TermFilter | undefined)",
|
|
1474
1438
|
value: input3.filter
|
|
1475
|
-
}), true, "
|
|
1476
|
-
path: _path2 + ".dataType",
|
|
1477
|
-
expected: '"metaboliteIntensity"',
|
|
1478
|
-
value: input3.dataType
|
|
1479
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1480
|
-
path: _path2 + ".terms",
|
|
1481
|
-
expected: "Array<MetaboliteIntensityTerm>",
|
|
1482
|
-
value: input3.terms
|
|
1483
|
-
})) && input3.terms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1484
|
-
path: _path2 + ".terms[" + _index32 + "]",
|
|
1485
|
-
expected: "MetaboliteIntensityTerm",
|
|
1486
|
-
value: elem
|
|
1487
|
-
})) && $vo35(elem, _path2 + ".terms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1488
|
-
path: _path2 + ".terms[" + _index32 + "]",
|
|
1489
|
-
expected: "MetaboliteIntensityTerm",
|
|
1490
|
-
value: elem
|
|
1491
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1492
|
-
path: _path2 + ".terms",
|
|
1493
|
-
expected: "Array<MetaboliteIntensityTerm>",
|
|
1494
|
-
value: input3.terms
|
|
1495
|
-
}), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
|
|
1496
|
-
path: _path2 + ".zScoreTransformation",
|
|
1497
|
-
expected: "(string | undefined)",
|
|
1498
|
-
value: input3.zScoreTransformation
|
|
1499
|
-
})].every((flag) => flag);
|
|
1500
|
-
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1501
|
-
path: _path2 + ".id",
|
|
1502
|
-
expected: "string",
|
|
1503
|
-
value: input3.id
|
|
1504
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1505
|
-
path: _path2 + ".name",
|
|
1506
|
-
expected: "string",
|
|
1507
|
-
value: input3.name
|
|
1508
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1509
|
-
path: _path2 + ".type",
|
|
1510
|
-
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
1511
|
-
value: input3.type
|
|
1512
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1513
|
-
path: _path2 + ".child_types",
|
|
1514
|
-
expected: "(Array<string> | undefined)",
|
|
1515
|
-
value: input3.child_types
|
|
1516
|
-
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1517
|
-
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1518
|
-
expected: "string",
|
|
1519
|
-
value: elem
|
|
1520
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1521
|
-
path: _path2 + ".child_types",
|
|
1522
|
-
expected: "(Array<string> | undefined)",
|
|
1523
|
-
value: input3.child_types
|
|
1524
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1525
|
-
path: _path2 + ".hashtmldetail",
|
|
1526
|
-
expected: "(boolean | undefined)",
|
|
1527
|
-
value: input3.hashtmldetail
|
|
1528
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1529
|
-
path: _path2 + ".included_types",
|
|
1530
|
-
expected: "(Array<string> | undefined)",
|
|
1531
|
-
value: input3.included_types
|
|
1532
|
-
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1533
|
-
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1534
|
-
expected: "string",
|
|
1535
|
-
value: elem
|
|
1536
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1537
|
-
path: _path2 + ".included_types",
|
|
1538
|
-
expected: "(Array<string> | undefined)",
|
|
1539
|
-
value: input3.included_types
|
|
1540
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1541
|
-
path: _path2 + ".isleaf",
|
|
1542
|
-
expected: "(boolean | undefined)",
|
|
1543
|
-
value: input3.isleaf
|
|
1544
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1545
|
-
path: _path2 + ".values",
|
|
1546
|
-
expected: "(TermValues | undefined)",
|
|
1547
|
-
value: input3.values
|
|
1548
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1549
|
-
path: _path2 + ".values",
|
|
1550
|
-
expected: "(TermValues | undefined)",
|
|
1551
|
-
value: input3.values
|
|
1552
|
-
}), true, true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1439
|
+
}), true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1553
1440
|
path: _path2 + ".unit",
|
|
1554
1441
|
expected: "(string | undefined)",
|
|
1555
1442
|
value: input3.unit
|
|
1556
1443
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1557
1444
|
path: _path2 + ".continuousColorScale",
|
|
1558
|
-
expected: "(__type.
|
|
1445
|
+
expected: "(__type.o4 | undefined)",
|
|
1559
1446
|
value: input3.continuousColorScale
|
|
1560
|
-
})) && $
|
|
1447
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1561
1448
|
path: _path2 + ".continuousColorScale",
|
|
1562
|
-
expected: "(__type.
|
|
1449
|
+
expected: "(__type.o4 | undefined)",
|
|
1563
1450
|
value: input3.continuousColorScale
|
|
1564
1451
|
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1565
1452
|
path: _path2 + ".metabolite",
|
|
@@ -1598,12 +1485,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1598
1485
|
path: _path2 + ".terms",
|
|
1599
1486
|
expected: "Array<NumericDictTerm>",
|
|
1600
1487
|
value: input3.terms
|
|
1601
|
-
})) && input3.terms.map((elem,
|
|
1602
|
-
path: _path2 + ".terms[" +
|
|
1488
|
+
})) && input3.terms.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1489
|
+
path: _path2 + ".terms[" + _index26 + "]",
|
|
1603
1490
|
expected: "NumericDictTerm",
|
|
1604
1491
|
value: elem
|
|
1605
|
-
})) && $vo37(elem, _path2 + ".terms[" +
|
|
1606
|
-
path: _path2 + ".terms[" +
|
|
1492
|
+
})) && $vo37(elem, _path2 + ".terms[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".terms[" + _index26 + "]",
|
|
1607
1494
|
expected: "NumericDictTerm",
|
|
1608
1495
|
value: elem
|
|
1609
1496
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1631,8 +1518,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1631
1518
|
path: _path2 + ".child_types",
|
|
1632
1519
|
expected: "(Array<string> | undefined)",
|
|
1633
1520
|
value: input3.child_types
|
|
1634
|
-
})) && input3.child_types.map((elem,
|
|
1635
|
-
path: _path2 + ".child_types[" +
|
|
1521
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1522
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1636
1523
|
expected: "string",
|
|
1637
1524
|
value: elem
|
|
1638
1525
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1647,8 +1534,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1647
1534
|
path: _path2 + ".included_types",
|
|
1648
1535
|
expected: "(Array<string> | undefined)",
|
|
1649
1536
|
value: input3.included_types
|
|
1650
|
-
})) && input3.included_types.map((elem,
|
|
1651
|
-
path: _path2 + ".included_types[" +
|
|
1537
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1538
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1652
1539
|
expected: "string",
|
|
1653
1540
|
value: elem
|
|
1654
1541
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1663,15 +1550,23 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1663
1550
|
path: _path2 + ".values",
|
|
1664
1551
|
expected: "(TermValues | undefined)",
|
|
1665
1552
|
value: input3.values
|
|
1666
|
-
})) && $
|
|
1553
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1667
1554
|
path: _path2 + ".values",
|
|
1668
1555
|
expected: "(TermValues | undefined)",
|
|
1669
1556
|
value: input3.values
|
|
1670
|
-
}),
|
|
1557
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".filter",
|
|
1559
|
+
expected: "(TermFilter | undefined)",
|
|
1560
|
+
value: input3.filter
|
|
1561
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1562
|
+
path: _path2 + ".filter",
|
|
1563
|
+
expected: "(TermFilter | undefined)",
|
|
1564
|
+
value: input3.filter
|
|
1565
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1671
1566
|
path: _path2 + ".bins",
|
|
1672
1567
|
expected: "PresetNumericBins",
|
|
1673
1568
|
value: input3.bins
|
|
1674
|
-
})) && $
|
|
1569
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1675
1570
|
path: _path2 + ".bins",
|
|
1676
1571
|
expected: "PresetNumericBins",
|
|
1677
1572
|
value: input3.bins
|
|
@@ -1681,17 +1576,21 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1681
1576
|
value: input3.unit
|
|
1682
1577
|
})].every((flag) => flag);
|
|
1683
1578
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1684
|
-
if (
|
|
1579
|
+
if ("tvslst" === input3.type)
|
|
1685
1580
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1686
|
-
if (
|
|
1687
|
-
return $
|
|
1688
|
-
return $
|
|
1581
|
+
if ("tvs" === input3.type)
|
|
1582
|
+
return $vo2(input3, _path2, _exceptionable2);
|
|
1583
|
+
return $report(_exceptionable2, {
|
|
1584
|
+
path: _path2,
|
|
1585
|
+
expected: "(Filter | __type)",
|
|
1586
|
+
value: input3
|
|
1587
|
+
});
|
|
1689
1588
|
})();
|
|
1690
1589
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1691
1590
|
if ("string" === typeof input3.type)
|
|
1692
|
-
return $
|
|
1591
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1693
1592
|
if ("filter" === input3.type)
|
|
1694
|
-
return $
|
|
1593
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1695
1594
|
return $report(_exceptionable2, {
|
|
1696
1595
|
path: _path2,
|
|
1697
1596
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1700,36 +1599,26 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1700
1599
|
})();
|
|
1701
1600
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1702
1601
|
if (true === input3.startunbounded)
|
|
1703
|
-
return $
|
|
1602
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1704
1603
|
if (true === input3.stopunbounded)
|
|
1705
|
-
return $
|
|
1706
|
-
return $
|
|
1604
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1605
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1707
1606
|
})();
|
|
1708
1607
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1709
|
-
if (
|
|
1710
|
-
return $
|
|
1711
|
-
|
|
1712
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
1713
|
-
if (4 === input3.dt)
|
|
1714
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1715
|
-
if (1 === input3.dt)
|
|
1716
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1717
|
-
return $report(_exceptionable2, {
|
|
1718
|
-
path: _path2,
|
|
1719
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
1720
|
-
value: input3
|
|
1721
|
-
});
|
|
1608
|
+
if (void 0 !== input3.ranges)
|
|
1609
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1610
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1722
1611
|
})();
|
|
1723
1612
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1724
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1725
|
-
return $
|
|
1726
|
-
return $
|
|
1613
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index29) => "object" === typeof elem && null !== elem && $vo11(elem, _path2 + ".lst[" + _index29 + "]", false)).every((flag) => flag))
|
|
1614
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1615
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1727
1616
|
})();
|
|
1728
1617
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1729
1618
|
if ("regular-bin" === input3.type)
|
|
1730
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
1731
|
-
if ("custom-bin" === input3.type)
|
|
1732
1619
|
return $vo20(input3, _path2, _exceptionable2);
|
|
1620
|
+
if ("custom-bin" === input3.type)
|
|
1621
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1733
1622
|
return $report(_exceptionable2, {
|
|
1734
1623
|
path: _path2,
|
|
1735
1624
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1738,9 +1627,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1738
1627
|
})();
|
|
1739
1628
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1740
1629
|
if (true === input3.startunbounded)
|
|
1741
|
-
return $
|
|
1630
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1742
1631
|
if (void 0 !== input3.start)
|
|
1743
|
-
return $
|
|
1632
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1744
1633
|
return $report(_exceptionable2, {
|
|
1745
1634
|
path: _path2,
|
|
1746
1635
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1749,9 +1638,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1749
1638
|
})();
|
|
1750
1639
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1751
1640
|
if (void 0 !== input3.stop)
|
|
1752
|
-
return $
|
|
1641
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1753
1642
|
if (true === input3.stopunbounded)
|
|
1754
|
-
return $
|
|
1643
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1755
1644
|
return $report(_exceptionable2, {
|
|
1756
1645
|
path: _path2,
|
|
1757
1646
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -1759,17 +1648,6 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1759
1648
|
});
|
|
1760
1649
|
})();
|
|
1761
1650
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1762
|
-
if ("gene" === input3.kind)
|
|
1763
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
1764
|
-
if ("coord" === input3.kind)
|
|
1765
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
1766
|
-
return $report(_exceptionable2, {
|
|
1767
|
-
path: _path2,
|
|
1768
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
1769
|
-
value: input3
|
|
1770
|
-
});
|
|
1771
|
-
})();
|
|
1772
|
-
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1773
1651
|
if ("numericDictTerm" === input3.dataType)
|
|
1774
1652
|
return $vo36(input3, _path2, _exceptionable2);
|
|
1775
1653
|
if ("metaboliteIntensity" === input3.dataType)
|
|
@@ -1786,7 +1664,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1786
1664
|
path: _path + "",
|
|
1787
1665
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1788
1666
|
value: input2
|
|
1789
|
-
})) && $
|
|
1667
|
+
})) && $vu8(input2, _path + "", true) || $report(true, {
|
|
1790
1668
|
path: _path + "",
|
|
1791
1669
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1792
1670
|
value: input2
|
|
@@ -1828,8 +1706,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1828
1706
|
return true;
|
|
1829
1707
|
});
|
|
1830
1708
|
const $io9 = (input3) => "string" === typeof input3.text && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem));
|
|
1831
|
-
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $
|
|
1832
|
-
const $io11 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1709
|
+
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu3(input3.term) && true;
|
|
1710
|
+
const $io11 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1833
1711
|
const $io12 = (input3) => Object.keys(input3).every((key) => {
|
|
1834
1712
|
const value = input3[key];
|
|
1835
1713
|
if (void 0 === value)
|
|
@@ -1841,20 +1719,25 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1841
1719
|
return true;
|
|
1842
1720
|
});
|
|
1843
1721
|
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));
|
|
1844
|
-
const $io14 = (input3) => "
|
|
1845
|
-
const $io15 = (input3) =>
|
|
1846
|
-
const $io16 = (input3) =>
|
|
1847
|
-
const $io17 = (input3) => (void 0 === input3.
|
|
1848
|
-
const $io18 = (input3) => "
|
|
1849
|
-
const $io19 = (input3) =>
|
|
1850
|
-
const $io20 = (input3) =>
|
|
1851
|
-
const $io21 = (input3) =>
|
|
1852
|
-
const $io22 = (input3) => "boolean" === typeof input3.
|
|
1853
|
-
const $io23 = (input3) =>
|
|
1854
|
-
const $io24 = (input3) =>
|
|
1855
|
-
const $io25 = (input3) => "
|
|
1856
|
-
const $io26 = (input3) =>
|
|
1857
|
-
const $io27 = (input3) =>
|
|
1722
|
+
const $io14 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
1723
|
+
const $io15 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
1724
|
+
const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io17(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io13(elem)));
|
|
1725
|
+
const $io17 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1726
|
+
const $io18 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io19(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io20(elem)));
|
|
1727
|
+
const $io19 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
1728
|
+
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values));
|
|
1729
|
+
const $io21 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io22(elem)));
|
|
1730
|
+
const $io22 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
1731
|
+
const $io23 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io24(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1732
|
+
const $io24 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1733
|
+
const $io25 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io26(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
1734
|
+
const $io26 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io19(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io20(elem))) && ("object" === typeof input3.active && null !== input3.active && $io14(input3.active)) && "number" === typeof input3.group;
|
|
1735
|
+
const $io27 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1736
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(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 && $io38(elem)));
|
|
1737
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io30(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io37(input3.continuousColorScale));
|
|
1738
|
+
const $io30 = (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);
|
|
1739
|
+
const $io31 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io32(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);
|
|
1740
|
+
const $io32 = (input3) => Object.keys(input3).every((key) => {
|
|
1858
1741
|
const value = input3[key];
|
|
1859
1742
|
if (void 0 === value)
|
|
1860
1743
|
return true;
|
|
@@ -1862,31 +1745,26 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1862
1745
|
return "number" === typeof value;
|
|
1863
1746
|
return true;
|
|
1864
1747
|
});
|
|
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 $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && 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));
|
|
1882
|
-
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;
|
|
1883
|
-
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 && $iu5(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);
|
|
1884
|
-
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 && $iu5(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1885
|
-
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)));
|
|
1748
|
+
const $io33 = (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);
|
|
1749
|
+
const $io34 = (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);
|
|
1750
|
+
const $io35 = (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);
|
|
1751
|
+
const $io36 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io32(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);
|
|
1752
|
+
const $io37 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1753
|
+
const $io38 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1754
|
+
const $io39 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io40(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 && $io41(elem)));
|
|
1755
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter));
|
|
1756
|
+
const $io41 = (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;
|
|
1757
|
+
const $io42 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io43(elem)));
|
|
1758
|
+
const $io43 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1759
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1760
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1761
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io30(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io37(input3.continuousColorScale));
|
|
1762
|
+
const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter));
|
|
1763
|
+
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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
1886
1764
|
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);
|
|
1887
1765
|
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1888
1766
|
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1889
|
-
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)) &&
|
|
1767
|
+
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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io18(input3.filter));
|
|
1890
1768
|
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
1891
1769
|
const value = input3[key];
|
|
1892
1770
|
if (void 0 === value)
|
|
@@ -1900,55 +1778,36 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1900
1778
|
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;
|
|
1901
1779
|
const $io55 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1902
1780
|
const $iu0 = (input3) => (() => {
|
|
1903
|
-
if (
|
|
1781
|
+
if ("tvslst" === input3.type)
|
|
1904
1782
|
return $io14(input3);
|
|
1905
|
-
if (
|
|
1906
|
-
return $
|
|
1907
|
-
return
|
|
1908
|
-
if ($io15(input3))
|
|
1909
|
-
return $io15(input3);
|
|
1910
|
-
if ($io34(input3))
|
|
1911
|
-
return $io34(input3);
|
|
1912
|
-
if ($io37(input3))
|
|
1913
|
-
return $io37(input3);
|
|
1914
|
-
return false;
|
|
1915
|
-
})();
|
|
1783
|
+
if ("tvs" === input3.type)
|
|
1784
|
+
return $io15(input3);
|
|
1785
|
+
return false;
|
|
1916
1786
|
})();
|
|
1917
1787
|
const $iu1 = (input3) => (() => {
|
|
1918
1788
|
if ("string" === typeof input3.type)
|
|
1919
|
-
return $
|
|
1789
|
+
return $io23(input3);
|
|
1920
1790
|
if ("filter" === input3.type)
|
|
1921
|
-
return $
|
|
1791
|
+
return $io25(input3);
|
|
1922
1792
|
return false;
|
|
1923
1793
|
})();
|
|
1924
1794
|
const $iu2 = (input3) => (() => {
|
|
1925
1795
|
if (true === input3.startunbounded)
|
|
1926
|
-
return $
|
|
1796
|
+
return $io33(input3);
|
|
1927
1797
|
if (true === input3.stopunbounded)
|
|
1928
|
-
return $
|
|
1929
|
-
return $
|
|
1798
|
+
return $io35(input3);
|
|
1799
|
+
return $io34(input3);
|
|
1930
1800
|
})();
|
|
1931
1801
|
const $iu3 = (input3) => (() => {
|
|
1932
|
-
if (
|
|
1933
|
-
return $io43(input3);
|
|
1934
|
-
if (5 === input3.dt)
|
|
1935
|
-
return $io42(input3);
|
|
1936
|
-
if (4 === input3.dt)
|
|
1937
|
-
return $io41(input3);
|
|
1938
|
-
if (1 === input3.dt)
|
|
1939
|
-
return $io40(input3);
|
|
1940
|
-
return false;
|
|
1941
|
-
})();
|
|
1942
|
-
const $iu4 = (input3) => (() => {
|
|
1943
|
-
if ("categorical" === input3.type)
|
|
1802
|
+
if ("gene" === input3.kind)
|
|
1944
1803
|
return $io11(input3);
|
|
1945
|
-
if ("
|
|
1804
|
+
if ("coord" === input3.kind)
|
|
1946
1805
|
return $io44(input3);
|
|
1947
|
-
if ("
|
|
1806
|
+
if ("categorical" === input3.type)
|
|
1948
1807
|
return $io45(input3);
|
|
1949
|
-
if ("
|
|
1808
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1950
1809
|
return $io46(input3);
|
|
1951
|
-
if ("
|
|
1810
|
+
if ("condition" === input3.type)
|
|
1952
1811
|
return $io47(input3);
|
|
1953
1812
|
return (() => {
|
|
1954
1813
|
if ($io48(input3))
|
|
@@ -1958,40 +1817,46 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1958
1817
|
return false;
|
|
1959
1818
|
})();
|
|
1960
1819
|
})();
|
|
1820
|
+
const $iu4 = (input3) => (() => {
|
|
1821
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io22(elem)))
|
|
1822
|
+
return $io21(input3);
|
|
1823
|
+
return $io27(input3);
|
|
1824
|
+
})();
|
|
1961
1825
|
const $iu5 = (input3) => (() => {
|
|
1962
|
-
if (
|
|
1963
|
-
return $
|
|
1964
|
-
return
|
|
1826
|
+
if (void 0 !== input3.ranges)
|
|
1827
|
+
return $io28(input3);
|
|
1828
|
+
return (() => {
|
|
1829
|
+
if ($io16(input3))
|
|
1830
|
+
return $io16(input3);
|
|
1831
|
+
if ($io39(input3))
|
|
1832
|
+
return $io39(input3);
|
|
1833
|
+
if ($io42(input3))
|
|
1834
|
+
return $io42(input3);
|
|
1835
|
+
return false;
|
|
1836
|
+
})();
|
|
1965
1837
|
})();
|
|
1966
1838
|
const $iu6 = (input3) => (() => {
|
|
1967
1839
|
if ("regular-bin" === input3.type)
|
|
1968
|
-
return $io26(input3);
|
|
1969
|
-
if ("custom-bin" === input3.type)
|
|
1970
1840
|
return $io31(input3);
|
|
1841
|
+
if ("custom-bin" === input3.type)
|
|
1842
|
+
return $io36(input3);
|
|
1971
1843
|
return false;
|
|
1972
1844
|
})();
|
|
1973
1845
|
const $iu7 = (input3) => (() => {
|
|
1974
1846
|
if (true === input3.startunbounded)
|
|
1975
|
-
return $
|
|
1847
|
+
return $io33(input3);
|
|
1976
1848
|
if (void 0 !== input3.start)
|
|
1977
|
-
return $
|
|
1849
|
+
return $io34(input3);
|
|
1978
1850
|
return false;
|
|
1979
1851
|
})();
|
|
1980
1852
|
const $iu8 = (input3) => (() => {
|
|
1981
1853
|
if (void 0 !== input3.stop)
|
|
1982
|
-
return $
|
|
1854
|
+
return $io34(input3);
|
|
1983
1855
|
if (true === input3.stopunbounded)
|
|
1984
|
-
return $
|
|
1856
|
+
return $io35(input3);
|
|
1985
1857
|
return false;
|
|
1986
1858
|
})();
|
|
1987
1859
|
const $iu9 = (input3) => (() => {
|
|
1988
|
-
if ("gene" === input3.kind)
|
|
1989
|
-
return $io38(input3);
|
|
1990
|
-
if ("coord" === input3.kind)
|
|
1991
|
-
return $io39(input3);
|
|
1992
|
-
return false;
|
|
1993
|
-
})();
|
|
1994
|
-
const $iu10 = (input3) => (() => {
|
|
1995
1860
|
if (void 0 !== input3.status)
|
|
1996
1861
|
return $io0(input3);
|
|
1997
1862
|
if (void 0 !== input3.clustering)
|
|
@@ -2000,7 +1865,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2000
1865
|
return $io10(input3);
|
|
2001
1866
|
return false;
|
|
2002
1867
|
})();
|
|
2003
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
1868
|
+
return "object" === typeof input2 && null !== input2 && $iu9(input2);
|
|
2004
1869
|
};
|
|
2005
1870
|
if (false === __is(input)) {
|
|
2006
1871
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -2208,11 +2073,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2208
2073
|
})].every((flag) => flag);
|
|
2209
2074
|
const $vo10 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2210
2075
|
path: _path2 + ".term",
|
|
2211
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant";
|
|
2076
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2212
2077
|
value: input3.term
|
|
2213
|
-
})) && $
|
|
2078
|
+
})) && $vu3(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2214
2079
|
path: _path2 + ".term",
|
|
2215
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant";
|
|
2080
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2216
2081
|
value: input3.term
|
|
2217
2082
|
}), true].every((flag) => flag);
|
|
2218
2083
|
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2223,9 +2088,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2223
2088
|
path: _path2 + ".name",
|
|
2224
2089
|
expected: "string",
|
|
2225
2090
|
value: input3.name
|
|
2226
|
-
}), "
|
|
2091
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2227
2092
|
path: _path2 + ".type",
|
|
2228
|
-
expected: '"
|
|
2093
|
+
expected: '"geneVariant"',
|
|
2229
2094
|
value: input3.type
|
|
2230
2095
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2231
2096
|
path: _path2 + ".child_types",
|
|
@@ -2267,13 +2132,41 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2267
2132
|
path: _path2 + ".values",
|
|
2268
2133
|
expected: "(TermValues | undefined)",
|
|
2269
2134
|
value: input3.values
|
|
2270
|
-
}),
|
|
2135
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2136
|
+
path: _path2 + ".filter",
|
|
2137
|
+
expected: "(TermFilter | undefined)",
|
|
2138
|
+
value: input3.filter
|
|
2139
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2140
|
+
path: _path2 + ".filter",
|
|
2141
|
+
expected: "(TermFilter | undefined)",
|
|
2142
|
+
value: input3.filter
|
|
2143
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2144
|
+
path: _path2 + ".kind",
|
|
2145
|
+
expected: '"gene"',
|
|
2146
|
+
value: input3.kind
|
|
2147
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2148
|
+
path: _path2 + ".gene",
|
|
2149
|
+
expected: "string",
|
|
2150
|
+
value: input3.gene
|
|
2151
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2152
|
+
path: _path2 + ".chr",
|
|
2153
|
+
expected: "(string | undefined)",
|
|
2154
|
+
value: input3.chr
|
|
2155
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2156
|
+
path: _path2 + ".start",
|
|
2157
|
+
expected: "(number | undefined)",
|
|
2158
|
+
value: input3.start
|
|
2159
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2160
|
+
path: _path2 + ".stop",
|
|
2161
|
+
expected: "(number | undefined)",
|
|
2162
|
+
value: input3.stop
|
|
2163
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2271
2164
|
path: _path2 + ".groupsetting",
|
|
2272
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2165
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
2273
2166
|
value: input3.groupsetting
|
|
2274
|
-
})) && $
|
|
2167
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2275
2168
|
path: _path2 + ".groupsetting",
|
|
2276
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2169
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
2277
2170
|
value: input3.groupsetting
|
|
2278
2171
|
})].every((flag) => flag);
|
|
2279
2172
|
const $vo12 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -2335,17 +2228,17 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2335
2228
|
expected: "(Filter | undefined)",
|
|
2336
2229
|
value: input3.filter
|
|
2337
2230
|
})].every((flag) => flag);
|
|
2338
|
-
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["
|
|
2231
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
2339
2232
|
path: _path2 + ".type",
|
|
2340
|
-
expected: '"
|
|
2233
|
+
expected: '"tvslst"',
|
|
2341
2234
|
value: input3.type
|
|
2342
|
-
}),
|
|
2235
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
2343
2236
|
path: _path2 + '["in"]',
|
|
2344
|
-
expected: "
|
|
2237
|
+
expected: "boolean",
|
|
2345
2238
|
value: input3["in"]
|
|
2346
|
-
}), "
|
|
2239
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2347
2240
|
path: _path2 + ".join",
|
|
2348
|
-
expected:
|
|
2241
|
+
expected: "string",
|
|
2349
2242
|
value: input3.join
|
|
2350
2243
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
2351
2244
|
path: _path2 + ".tag",
|
|
@@ -2353,22 +2246,35 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2353
2246
|
value: input3.tag
|
|
2354
2247
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2355
2248
|
path: _path2 + ".lst",
|
|
2356
|
-
expected:
|
|
2249
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
2357
2250
|
value: input3.lst
|
|
2358
2251
|
})) && input3.lst.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2359
2252
|
path: _path2 + ".lst[" + _index11 + "]",
|
|
2360
|
-
expected: "(
|
|
2253
|
+
expected: "(Filter | __type.o6)",
|
|
2361
2254
|
value: elem
|
|
2362
2255
|
})) && $vu0(elem, _path2 + ".lst[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2363
2256
|
path: _path2 + ".lst[" + _index11 + "]",
|
|
2364
|
-
expected: "(
|
|
2257
|
+
expected: "(Filter | __type.o6)",
|
|
2365
2258
|
value: elem
|
|
2366
2259
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2367
2260
|
path: _path2 + ".lst",
|
|
2368
|
-
expected:
|
|
2261
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
2369
2262
|
value: input3.lst
|
|
2370
2263
|
})].every((flag) => flag);
|
|
2371
|
-
const $vo15 = (input3, _path2, _exceptionable2 = true) => [
|
|
2264
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
2265
|
+
path: _path2 + ".type",
|
|
2266
|
+
expected: '"tvs"',
|
|
2267
|
+
value: input3.type
|
|
2268
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
2269
|
+
path: _path2 + ".tvs",
|
|
2270
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2271
|
+
value: input3.tvs
|
|
2272
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2273
|
+
path: _path2 + ".tvs",
|
|
2274
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2275
|
+
value: input3.tvs
|
|
2276
|
+
})].every((flag) => flag);
|
|
2277
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2372
2278
|
path: _path2 + ".join",
|
|
2373
2279
|
expected: "(string | undefined)",
|
|
2374
2280
|
value: input3.join
|
|
@@ -2380,7 +2286,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2380
2286
|
path: _path2 + ".term",
|
|
2381
2287
|
expected: "CategoricalTerm",
|
|
2382
2288
|
value: input3.term
|
|
2383
|
-
})) && $
|
|
2289
|
+
})) && $vo17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2384
2290
|
path: _path2 + ".term",
|
|
2385
2291
|
expected: "CategoricalTerm",
|
|
2386
2292
|
value: input3.term
|
|
@@ -2405,7 +2311,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2405
2311
|
expected: "Array<BaseValue>",
|
|
2406
2312
|
value: input3.values
|
|
2407
2313
|
})].every((flag) => flag);
|
|
2408
|
-
const $
|
|
2314
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2409
2315
|
path: _path2 + ".id",
|
|
2410
2316
|
expected: "string",
|
|
2411
2317
|
value: input3.id
|
|
@@ -2451,22 +2357,109 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2451
2357
|
value: input3.isleaf
|
|
2452
2358
|
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2453
2359
|
path: _path2 + ".values",
|
|
2454
|
-
expected: "(TermValues | undefined)",
|
|
2360
|
+
expected: "(TermValues | undefined)",
|
|
2361
|
+
value: input3.values
|
|
2362
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".values",
|
|
2364
|
+
expected: "(TermValues | undefined)",
|
|
2365
|
+
value: input3.values
|
|
2366
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2367
|
+
path: _path2 + ".filter",
|
|
2368
|
+
expected: "(TermFilter | undefined)",
|
|
2369
|
+
value: input3.filter
|
|
2370
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2371
|
+
path: _path2 + ".filter",
|
|
2372
|
+
expected: "(TermFilter | undefined)",
|
|
2373
|
+
value: input3.filter
|
|
2374
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2375
|
+
path: _path2 + ".groupsetting",
|
|
2376
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
2377
|
+
value: input3.groupsetting
|
|
2378
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2379
|
+
path: _path2 + ".groupsetting",
|
|
2380
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
2381
|
+
value: input3.groupsetting
|
|
2382
|
+
})].every((flag) => flag);
|
|
2383
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
2384
|
+
path: _path2 + ".opts",
|
|
2385
|
+
expected: "__type.o7",
|
|
2386
|
+
value: input3.opts
|
|
2387
|
+
})) && $vo19(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
2388
|
+
path: _path2 + ".opts",
|
|
2389
|
+
expected: "__type.o7",
|
|
2390
|
+
value: input3.opts
|
|
2391
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
2392
|
+
path: _path2 + ".terms",
|
|
2393
|
+
expected: "Array<DtTerm>",
|
|
2394
|
+
value: input3.terms
|
|
2395
|
+
})) && input3.terms.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2396
|
+
path: _path2 + ".terms[" + _index15 + "]",
|
|
2397
|
+
expected: "DtTerm",
|
|
2398
|
+
value: elem
|
|
2399
|
+
})) && $vo20(elem, _path2 + ".terms[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2400
|
+
path: _path2 + ".terms[" + _index15 + "]",
|
|
2401
|
+
expected: "DtTerm",
|
|
2402
|
+
value: elem
|
|
2403
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2404
|
+
path: _path2 + ".terms",
|
|
2405
|
+
expected: "Array<DtTerm>",
|
|
2406
|
+
value: input3.terms
|
|
2407
|
+
})].every((flag) => flag);
|
|
2408
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
2409
|
+
path: _path2 + ".joinWith",
|
|
2410
|
+
expected: "Array<string>",
|
|
2411
|
+
value: input3.joinWith
|
|
2412
|
+
})) && input3.joinWith.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2413
|
+
path: _path2 + ".joinWith[" + _index16 + "]",
|
|
2414
|
+
expected: "string",
|
|
2415
|
+
value: elem
|
|
2416
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2417
|
+
path: _path2 + ".joinWith",
|
|
2418
|
+
expected: "Array<string>",
|
|
2419
|
+
value: input3.joinWith
|
|
2420
|
+
})].every((flag) => flag);
|
|
2421
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2422
|
+
path: _path2 + ".id",
|
|
2423
|
+
expected: "string",
|
|
2424
|
+
value: input3.id
|
|
2425
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2426
|
+
path: _path2 + ".query",
|
|
2427
|
+
expected: "string",
|
|
2428
|
+
value: input3.query
|
|
2429
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2430
|
+
path: _path2 + ".name",
|
|
2431
|
+
expected: "string",
|
|
2432
|
+
value: input3.name
|
|
2433
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2434
|
+
path: _path2 + ".name_noOrigin",
|
|
2435
|
+
expected: "string",
|
|
2436
|
+
value: input3.name_noOrigin
|
|
2437
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2438
|
+
path: _path2 + ".isleaf",
|
|
2439
|
+
expected: "boolean",
|
|
2440
|
+
value: input3.isleaf
|
|
2441
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2442
|
+
path: _path2 + ".type",
|
|
2443
|
+
expected: "string",
|
|
2444
|
+
value: input3.type
|
|
2445
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2446
|
+
path: _path2 + ".dt",
|
|
2447
|
+
expected: "number",
|
|
2448
|
+
value: input3.dt
|
|
2449
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2450
|
+
path: _path2 + ".origin",
|
|
2451
|
+
expected: "(string | undefined)",
|
|
2452
|
+
value: input3.origin
|
|
2453
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2454
|
+
path: _path2 + ".values",
|
|
2455
|
+
expected: "TermValues",
|
|
2455
2456
|
value: input3.values
|
|
2456
2457
|
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2457
2458
|
path: _path2 + ".values",
|
|
2458
|
-
expected: "
|
|
2459
|
+
expected: "TermValues",
|
|
2459
2460
|
value: input3.values
|
|
2460
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2461
|
-
path: _path2 + ".groupsetting",
|
|
2462
|
-
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
2463
|
-
value: input3.groupsetting
|
|
2464
|
-
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2465
|
-
path: _path2 + ".groupsetting",
|
|
2466
|
-
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
2467
|
-
value: input3.groupsetting
|
|
2468
2461
|
})].every((flag) => flag);
|
|
2469
|
-
const $
|
|
2462
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2470
2463
|
path: _path2 + ".disabled",
|
|
2471
2464
|
expected: "(boolean | undefined)",
|
|
2472
2465
|
value: input3.disabled
|
|
@@ -2474,12 +2467,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2474
2467
|
path: _path2 + ".lst",
|
|
2475
2468
|
expected: "Array<Groupset>",
|
|
2476
2469
|
value: input3.lst
|
|
2477
|
-
})) && input3.lst.map((elem,
|
|
2478
|
-
path: _path2 + ".lst[" +
|
|
2470
|
+
})) && input3.lst.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2471
|
+
path: _path2 + ".lst[" + _index17 + "]",
|
|
2479
2472
|
expected: "Groupset",
|
|
2480
2473
|
value: elem
|
|
2481
|
-
})) && $
|
|
2482
|
-
path: _path2 + ".lst[" +
|
|
2474
|
+
})) && $vo22(elem, _path2 + ".lst[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2475
|
+
path: _path2 + ".lst[" + _index17 + "]",
|
|
2483
2476
|
expected: "Groupset",
|
|
2484
2477
|
value: elem
|
|
2485
2478
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2487,7 +2480,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2487
2480
|
expected: "Array<Groupset>",
|
|
2488
2481
|
value: input3.lst
|
|
2489
2482
|
})].every((flag) => flag);
|
|
2490
|
-
const $
|
|
2483
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2491
2484
|
path: _path2 + ".name",
|
|
2492
2485
|
expected: "string",
|
|
2493
2486
|
value: input3.name
|
|
@@ -2507,12 +2500,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2507
2500
|
path: _path2 + ".groups",
|
|
2508
2501
|
expected: "Array<GroupEntry>",
|
|
2509
2502
|
value: input3.groups
|
|
2510
|
-
})) && input3.groups.map((elem,
|
|
2511
|
-
path: _path2 + ".groups[" +
|
|
2503
|
+
})) && input3.groups.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2504
|
+
path: _path2 + ".groups[" + _index18 + "]",
|
|
2512
2505
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2513
2506
|
value: elem
|
|
2514
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
2515
|
-
path: _path2 + ".groups[" +
|
|
2507
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2508
|
+
path: _path2 + ".groups[" + _index18 + "]",
|
|
2516
2509
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2517
2510
|
value: elem
|
|
2518
2511
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2520,7 +2513,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2520
2513
|
expected: "Array<GroupEntry>",
|
|
2521
2514
|
value: input3.groups
|
|
2522
2515
|
})].every((flag) => flag);
|
|
2523
|
-
const $
|
|
2516
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2524
2517
|
path: _path2 + ".name",
|
|
2525
2518
|
expected: "string",
|
|
2526
2519
|
value: input3.name
|
|
@@ -2532,13 +2525,13 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2532
2525
|
path: _path2 + ".values",
|
|
2533
2526
|
expected: "Array<__type>.o4",
|
|
2534
2527
|
value: input3.values
|
|
2535
|
-
})) && input3.values.map((elem,
|
|
2536
|
-
path: _path2 + ".values[" +
|
|
2537
|
-
expected: "__type.
|
|
2528
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2529
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2530
|
+
expected: "__type.o8",
|
|
2538
2531
|
value: elem
|
|
2539
|
-
})) && $
|
|
2540
|
-
path: _path2 + ".values[" +
|
|
2541
|
-
expected: "__type.
|
|
2532
|
+
})) && $vo24(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2533
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2534
|
+
expected: "__type.o8",
|
|
2542
2535
|
value: elem
|
|
2543
2536
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2544
2537
|
path: _path2 + ".values",
|
|
@@ -2549,7 +2542,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2549
2542
|
expected: "(boolean | undefined)",
|
|
2550
2543
|
value: input3.uncomputable
|
|
2551
2544
|
})].every((flag) => flag);
|
|
2552
|
-
const $
|
|
2545
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2553
2546
|
path: _path2 + ".key",
|
|
2554
2547
|
expected: "(number | string)",
|
|
2555
2548
|
value: input3.key
|
|
@@ -2558,7 +2551,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2558
2551
|
expected: "string",
|
|
2559
2552
|
value: input3.label
|
|
2560
2553
|
})].every((flag) => flag);
|
|
2561
|
-
const $
|
|
2554
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2562
2555
|
path: _path2 + ".name",
|
|
2563
2556
|
expected: "string",
|
|
2564
2557
|
value: input3.name
|
|
@@ -2566,12 +2559,57 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2566
2559
|
path: _path2 + ".type",
|
|
2567
2560
|
expected: '"filter"',
|
|
2568
2561
|
value: input3.type
|
|
2569
|
-
}),
|
|
2562
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2563
|
+
path: _path2 + ".filter",
|
|
2564
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
2565
|
+
value: input3.filter
|
|
2566
|
+
})) && $vo26(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2567
|
+
path: _path2 + ".filter",
|
|
2568
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
2569
|
+
value: input3.filter
|
|
2570
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2570
2571
|
path: _path2 + ".uncomputable",
|
|
2571
|
-
expected: "
|
|
2572
|
+
expected: "boolean",
|
|
2572
2573
|
value: input3.uncomputable
|
|
2573
2574
|
})].every((flag) => flag);
|
|
2574
|
-
const $
|
|
2575
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
2576
|
+
path: _path2 + ".opts",
|
|
2577
|
+
expected: "__type.o7",
|
|
2578
|
+
value: input3.opts
|
|
2579
|
+
})) && $vo19(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
2580
|
+
path: _path2 + ".opts",
|
|
2581
|
+
expected: "__type.o7",
|
|
2582
|
+
value: input3.opts
|
|
2583
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
2584
|
+
path: _path2 + ".terms",
|
|
2585
|
+
expected: "Array<DtTerm>",
|
|
2586
|
+
value: input3.terms
|
|
2587
|
+
})) && input3.terms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2588
|
+
path: _path2 + ".terms[" + _index20 + "]",
|
|
2589
|
+
expected: "DtTerm",
|
|
2590
|
+
value: elem
|
|
2591
|
+
})) && $vo20(elem, _path2 + ".terms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2592
|
+
path: _path2 + ".terms[" + _index20 + "]",
|
|
2593
|
+
expected: "DtTerm",
|
|
2594
|
+
value: elem
|
|
2595
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2596
|
+
path: _path2 + ".terms",
|
|
2597
|
+
expected: "Array<DtTerm>",
|
|
2598
|
+
value: input3.terms
|
|
2599
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
2600
|
+
path: _path2 + ".active",
|
|
2601
|
+
expected: "Filter",
|
|
2602
|
+
value: input3.active
|
|
2603
|
+
})) && $vo14(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
2604
|
+
path: _path2 + ".active",
|
|
2605
|
+
expected: "Filter",
|
|
2606
|
+
value: input3.active
|
|
2607
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
2608
|
+
path: _path2 + ".group",
|
|
2609
|
+
expected: "number",
|
|
2610
|
+
value: input3.group
|
|
2611
|
+
})].every((flag) => flag);
|
|
2612
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2575
2613
|
path: _path2 + ".disabled",
|
|
2576
2614
|
expected: "boolean",
|
|
2577
2615
|
value: input3.disabled
|
|
@@ -2588,7 +2626,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2588
2626
|
expected: "([] | undefined)",
|
|
2589
2627
|
value: input3.lst
|
|
2590
2628
|
})].every((flag) => flag);
|
|
2591
|
-
const $
|
|
2629
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2592
2630
|
path: _path2 + ".join",
|
|
2593
2631
|
expected: "(string | undefined)",
|
|
2594
2632
|
value: input3.join
|
|
@@ -2600,7 +2638,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2600
2638
|
path: _path2 + ".term",
|
|
2601
2639
|
expected: "NumericTerm",
|
|
2602
2640
|
value: input3.term
|
|
2603
|
-
})) && $
|
|
2641
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2604
2642
|
path: _path2 + ".term",
|
|
2605
2643
|
expected: "NumericTerm",
|
|
2606
2644
|
value: input3.term
|
|
@@ -2608,12 +2646,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2608
2646
|
path: _path2 + ".ranges",
|
|
2609
2647
|
expected: "Array<NumericBin>",
|
|
2610
2648
|
value: input3.ranges
|
|
2611
|
-
})) && input3.ranges.map((elem,
|
|
2612
|
-
path: _path2 + ".ranges[" +
|
|
2649
|
+
})) && input3.ranges.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2650
|
+
path: _path2 + ".ranges[" + _index21 + "]",
|
|
2613
2651
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2614
2652
|
value: elem
|
|
2615
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
2616
|
-
path: _path2 + ".ranges[" +
|
|
2653
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2654
|
+
path: _path2 + ".ranges[" + _index21 + "]",
|
|
2617
2655
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2618
2656
|
value: elem
|
|
2619
2657
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2624,20 +2662,20 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2624
2662
|
path: _path2 + ".values",
|
|
2625
2663
|
expected: "Array<__type>.o5",
|
|
2626
2664
|
value: input3.values
|
|
2627
|
-
})) && input3.values.map((elem,
|
|
2628
|
-
path: _path2 + ".values[" +
|
|
2629
|
-
expected: "__type.
|
|
2665
|
+
})) && input3.values.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2666
|
+
path: _path2 + ".values[" + _index22 + "]",
|
|
2667
|
+
expected: "__type.o11",
|
|
2630
2668
|
value: elem
|
|
2631
|
-
})) && $
|
|
2632
|
-
path: _path2 + ".values[" +
|
|
2633
|
-
expected: "__type.
|
|
2669
|
+
})) && $vo38(elem, _path2 + ".values[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2670
|
+
path: _path2 + ".values[" + _index22 + "]",
|
|
2671
|
+
expected: "__type.o11",
|
|
2634
2672
|
value: elem
|
|
2635
2673
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2636
2674
|
path: _path2 + ".values",
|
|
2637
2675
|
expected: "Array<__type>.o5",
|
|
2638
2676
|
value: input3.values
|
|
2639
2677
|
})].every((flag) => flag);
|
|
2640
|
-
const $
|
|
2678
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2641
2679
|
path: _path2 + ".id",
|
|
2642
2680
|
expected: "string",
|
|
2643
2681
|
value: input3.id
|
|
@@ -2653,8 +2691,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2653
2691
|
path: _path2 + ".child_types",
|
|
2654
2692
|
expected: "(Array<string> | undefined)",
|
|
2655
2693
|
value: input3.child_types
|
|
2656
|
-
})) && input3.child_types.map((elem,
|
|
2657
|
-
path: _path2 + ".child_types[" +
|
|
2694
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2695
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
2658
2696
|
expected: "string",
|
|
2659
2697
|
value: elem
|
|
2660
2698
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2669,8 +2707,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2669
2707
|
path: _path2 + ".included_types",
|
|
2670
2708
|
expected: "(Array<string> | undefined)",
|
|
2671
2709
|
value: input3.included_types
|
|
2672
|
-
})) && input3.included_types.map((elem,
|
|
2673
|
-
path: _path2 + ".included_types[" +
|
|
2710
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2711
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
2674
2712
|
expected: "string",
|
|
2675
2713
|
value: elem
|
|
2676
2714
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2689,11 +2727,19 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2689
2727
|
path: _path2 + ".values",
|
|
2690
2728
|
expected: "(TermValues | undefined)",
|
|
2691
2729
|
value: input3.values
|
|
2692
|
-
}),
|
|
2730
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2731
|
+
path: _path2 + ".filter",
|
|
2732
|
+
expected: "(TermFilter | undefined)",
|
|
2733
|
+
value: input3.filter
|
|
2734
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2735
|
+
path: _path2 + ".filter",
|
|
2736
|
+
expected: "(TermFilter | undefined)",
|
|
2737
|
+
value: input3.filter
|
|
2738
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2693
2739
|
path: _path2 + ".bins",
|
|
2694
2740
|
expected: "PresetNumericBins",
|
|
2695
2741
|
value: input3.bins
|
|
2696
|
-
})) && $
|
|
2742
|
+
})) && $vo30(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2697
2743
|
path: _path2 + ".bins",
|
|
2698
2744
|
expected: "PresetNumericBins",
|
|
2699
2745
|
value: input3.bins
|
|
@@ -2703,14 +2749,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2703
2749
|
value: input3.unit
|
|
2704
2750
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2705
2751
|
path: _path2 + ".continuousColorScale",
|
|
2706
|
-
expected: "(__type.
|
|
2752
|
+
expected: "(__type.o10 | undefined)",
|
|
2707
2753
|
value: input3.continuousColorScale
|
|
2708
|
-
})) && $
|
|
2754
|
+
})) && $vo37(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2709
2755
|
path: _path2 + ".continuousColorScale",
|
|
2710
|
-
expected: "(__type.
|
|
2756
|
+
expected: "(__type.o10 | undefined)",
|
|
2711
2757
|
value: input3.continuousColorScale
|
|
2712
2758
|
})].every((flag) => flag);
|
|
2713
|
-
const $
|
|
2759
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2714
2760
|
path: _path2 + '["default"]',
|
|
2715
2761
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2716
2762
|
value: input3["default"]
|
|
@@ -2747,11 +2793,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2747
2793
|
expected: "(number | undefined)",
|
|
2748
2794
|
value: input3.max
|
|
2749
2795
|
})].every((flag) => flag);
|
|
2750
|
-
const $
|
|
2796
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2751
2797
|
path: _path2 + ".hiddenValues",
|
|
2752
2798
|
expected: "(HiddenValues | undefined)",
|
|
2753
2799
|
value: input3.hiddenValues
|
|
2754
|
-
})) && $
|
|
2800
|
+
})) && $vo32(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2755
2801
|
path: _path2 + ".hiddenValues",
|
|
2756
2802
|
expected: "(HiddenValues | undefined)",
|
|
2757
2803
|
value: input3.hiddenValues
|
|
@@ -2800,7 +2846,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2800
2846
|
expected: "(number | undefined)",
|
|
2801
2847
|
value: input3.label_offset
|
|
2802
2848
|
})].every((flag) => flag);
|
|
2803
|
-
const $
|
|
2849
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2804
2850
|
const value = input3[key];
|
|
2805
2851
|
if (void 0 === value)
|
|
2806
2852
|
return true;
|
|
@@ -2812,7 +2858,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2812
2858
|
});
|
|
2813
2859
|
return true;
|
|
2814
2860
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2815
|
-
const $
|
|
2861
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2816
2862
|
path: _path2 + ".startunbounded",
|
|
2817
2863
|
expected: "true",
|
|
2818
2864
|
value: input3.startunbounded
|
|
@@ -2837,7 +2883,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2837
2883
|
expected: "(string | undefined)",
|
|
2838
2884
|
value: input3.label
|
|
2839
2885
|
})].every((flag) => flag);
|
|
2840
|
-
const $
|
|
2886
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2841
2887
|
path: _path2 + ".startunbounded",
|
|
2842
2888
|
expected: "(false | undefined)",
|
|
2843
2889
|
value: input3.startunbounded
|
|
@@ -2866,7 +2912,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2866
2912
|
expected: "(string | undefined)",
|
|
2867
2913
|
value: input3.label
|
|
2868
2914
|
})].every((flag) => flag);
|
|
2869
|
-
const $
|
|
2915
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2870
2916
|
path: _path2 + ".start",
|
|
2871
2917
|
expected: "number",
|
|
2872
2918
|
value: input3.start
|
|
@@ -2891,11 +2937,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2891
2937
|
expected: "(string | undefined)",
|
|
2892
2938
|
value: input3.label
|
|
2893
2939
|
})].every((flag) => flag);
|
|
2894
|
-
const $
|
|
2940
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2895
2941
|
path: _path2 + ".hiddenValues",
|
|
2896
2942
|
expected: "(HiddenValues | undefined)",
|
|
2897
2943
|
value: input3.hiddenValues
|
|
2898
|
-
})) && $
|
|
2944
|
+
})) && $vo32(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2899
2945
|
path: _path2 + ".hiddenValues",
|
|
2900
2946
|
expected: "(HiddenValues | undefined)",
|
|
2901
2947
|
value: input3.hiddenValues
|
|
@@ -2937,12 +2983,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2937
2983
|
path: _path2 + ".lst",
|
|
2938
2984
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2939
2985
|
value: input3.lst.slice(1)
|
|
2940
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2941
|
-
path: _path2 + ".lst[" + (1 +
|
|
2986
|
+
})) && input3.lst.slice(1).map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2987
|
+
path: _path2 + ".lst[" + (1 + _index25) + "]",
|
|
2942
2988
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2943
2989
|
value: elem
|
|
2944
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
2945
|
-
path: _path2 + ".lst[" + (1 +
|
|
2990
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index25) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2991
|
+
path: _path2 + ".lst[" + (1 + _index25) + "]",
|
|
2946
2992
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2947
2993
|
value: elem
|
|
2948
2994
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2958,7 +3004,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2958
3004
|
expected: '("median" | undefined)',
|
|
2959
3005
|
value: input3.preferredBins
|
|
2960
3006
|
})].every((flag) => flag);
|
|
2961
|
-
const $
|
|
3007
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2962
3008
|
path: _path2 + ".minColor",
|
|
2963
3009
|
expected: "string",
|
|
2964
3010
|
value: input3.minColor
|
|
@@ -2967,7 +3013,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2967
3013
|
expected: "string",
|
|
2968
3014
|
value: input3.maxColor
|
|
2969
3015
|
})].every((flag) => flag);
|
|
2970
|
-
const $
|
|
3016
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2971
3017
|
path: _path2 + ".key",
|
|
2972
3018
|
expected: "string",
|
|
2973
3019
|
value: input3.key
|
|
@@ -2984,7 +3030,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2984
3030
|
expected: "(string | undefined)",
|
|
2985
3031
|
value: input3.label
|
|
2986
3032
|
})].every((flag) => flag);
|
|
2987
|
-
const $
|
|
3033
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2988
3034
|
path: _path2 + ".join",
|
|
2989
3035
|
expected: "(string | undefined)",
|
|
2990
3036
|
value: input3.join
|
|
@@ -2996,7 +3042,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2996
3042
|
path: _path2 + ".term",
|
|
2997
3043
|
expected: "ConditionTerm",
|
|
2998
3044
|
value: input3.term
|
|
2999
|
-
})) && $
|
|
3045
|
+
})) && $vo40(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3000
3046
|
path: _path2 + ".term",
|
|
3001
3047
|
expected: "ConditionTerm",
|
|
3002
3048
|
value: input3.term
|
|
@@ -3016,12 +3062,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3016
3062
|
path: _path2 + ".grade_and_child",
|
|
3017
3063
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3018
3064
|
value: input3.grade_and_child
|
|
3019
|
-
})) && input3.grade_and_child.map((elem,
|
|
3020
|
-
path: _path2 + ".grade_and_child[" +
|
|
3065
|
+
})) && input3.grade_and_child.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3066
|
+
path: _path2 + ".grade_and_child[" + _index26 + "]",
|
|
3021
3067
|
expected: "GradeAndChildEntry",
|
|
3022
3068
|
value: elem
|
|
3023
|
-
})) && $
|
|
3024
|
-
path: _path2 + ".grade_and_child[" +
|
|
3069
|
+
})) && $vo41(elem, _path2 + ".grade_and_child[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3070
|
+
path: _path2 + ".grade_and_child[" + _index26 + "]",
|
|
3025
3071
|
expected: "GradeAndChildEntry",
|
|
3026
3072
|
value: elem
|
|
3027
3073
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3029,7 +3075,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3029
3075
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3030
3076
|
value: input3.grade_and_child
|
|
3031
3077
|
})].every((flag) => flag);
|
|
3032
|
-
const $
|
|
3078
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3033
3079
|
path: _path2 + ".id",
|
|
3034
3080
|
expected: "string",
|
|
3035
3081
|
value: input3.id
|
|
@@ -3045,8 +3091,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3045
3091
|
path: _path2 + ".child_types",
|
|
3046
3092
|
expected: "(Array<string> | undefined)",
|
|
3047
3093
|
value: input3.child_types
|
|
3048
|
-
})) && input3.child_types.map((elem,
|
|
3049
|
-
path: _path2 + ".child_types[" +
|
|
3094
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3095
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
3050
3096
|
expected: "string",
|
|
3051
3097
|
value: elem
|
|
3052
3098
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3061,8 +3107,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3061
3107
|
path: _path2 + ".included_types",
|
|
3062
3108
|
expected: "(Array<string> | undefined)",
|
|
3063
3109
|
value: input3.included_types
|
|
3064
|
-
})) && input3.included_types.map((elem,
|
|
3065
|
-
path: _path2 + ".included_types[" +
|
|
3110
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3111
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
3066
3112
|
expected: "string",
|
|
3067
3113
|
value: elem
|
|
3068
3114
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3081,8 +3127,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3081
3127
|
path: _path2 + ".values",
|
|
3082
3128
|
expected: "(TermValues | undefined)",
|
|
3083
3129
|
value: input3.values
|
|
3084
|
-
}),
|
|
3085
|
-
|
|
3130
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3131
|
+
path: _path2 + ".filter",
|
|
3132
|
+
expected: "(TermFilter | undefined)",
|
|
3133
|
+
value: input3.filter
|
|
3134
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3135
|
+
path: _path2 + ".filter",
|
|
3136
|
+
expected: "(TermFilter | undefined)",
|
|
3137
|
+
value: input3.filter
|
|
3138
|
+
})].every((flag) => flag);
|
|
3139
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3086
3140
|
path: _path2 + ".grade",
|
|
3087
3141
|
expected: "number",
|
|
3088
3142
|
value: input3.grade
|
|
@@ -3095,332 +3149,55 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3095
3149
|
expected: "(string | undefined)",
|
|
3096
3150
|
value: input3.child_id
|
|
3097
3151
|
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
3098
|
-
path: _path2 + ".child_label",
|
|
3099
|
-
expected: "string",
|
|
3100
|
-
value: input3.child_label
|
|
3101
|
-
})].every((flag) => flag);
|
|
3102
|
-
const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3103
|
-
path: _path2 + ".join",
|
|
3104
|
-
expected: "(string | undefined)",
|
|
3105
|
-
value: input3.join
|
|
3106
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3107
|
-
path: _path2 + ".isnot",
|
|
3108
|
-
expected: "(boolean | undefined)",
|
|
3109
|
-
value: input3.isnot
|
|
3110
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3111
|
-
path: _path2 + ".term",
|
|
3112
|
-
expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
|
|
3113
|
-
value: input3.term
|
|
3114
|
-
})) && $vu9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3115
|
-
path: _path2 + ".term",
|
|
3116
|
-
expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
|
|
3117
|
-
value: input3.term
|
|
3118
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3119
|
-
path: _path2 + ".values",
|
|
3120
|
-
expected: "Array<GeneVariantTvsValue>",
|
|
3121
|
-
value: input3.values
|
|
3122
|
-
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3123
|
-
path: _path2 + ".values[" + _index26 + "]",
|
|
3124
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
3125
|
-
value: elem
|
|
3126
|
-
})) && $vu3(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3127
|
-
path: _path2 + ".values[" + _index26 + "]",
|
|
3128
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
3129
|
-
value: elem
|
|
3130
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3131
|
-
path: _path2 + ".values",
|
|
3132
|
-
expected: "Array<GeneVariantTvsValue>",
|
|
3133
|
-
value: input3.values
|
|
3134
|
-
})].every((flag) => flag);
|
|
3135
|
-
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3136
|
-
path: _path2 + ".id",
|
|
3137
|
-
expected: "string",
|
|
3138
|
-
value: input3.id
|
|
3139
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3140
|
-
path: _path2 + ".name",
|
|
3141
|
-
expected: "string",
|
|
3142
|
-
value: input3.name
|
|
3143
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3144
|
-
path: _path2 + ".type",
|
|
3145
|
-
expected: '"geneVariant"',
|
|
3146
|
-
value: input3.type
|
|
3147
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3148
|
-
path: _path2 + ".child_types",
|
|
3149
|
-
expected: "(Array<string> | undefined)",
|
|
3150
|
-
value: input3.child_types
|
|
3151
|
-
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3152
|
-
path: _path2 + ".child_types[" + _index27 + "]",
|
|
3153
|
-
expected: "string",
|
|
3154
|
-
value: elem
|
|
3155
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3156
|
-
path: _path2 + ".child_types",
|
|
3157
|
-
expected: "(Array<string> | undefined)",
|
|
3158
|
-
value: input3.child_types
|
|
3159
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3160
|
-
path: _path2 + ".hashtmldetail",
|
|
3161
|
-
expected: "(boolean | undefined)",
|
|
3162
|
-
value: input3.hashtmldetail
|
|
3163
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3164
|
-
path: _path2 + ".included_types",
|
|
3165
|
-
expected: "(Array<string> | undefined)",
|
|
3166
|
-
value: input3.included_types
|
|
3167
|
-
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3168
|
-
path: _path2 + ".included_types[" + _index28 + "]",
|
|
3169
|
-
expected: "string",
|
|
3170
|
-
value: elem
|
|
3171
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3172
|
-
path: _path2 + ".included_types",
|
|
3173
|
-
expected: "(Array<string> | undefined)",
|
|
3174
|
-
value: input3.included_types
|
|
3175
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3176
|
-
path: _path2 + ".isleaf",
|
|
3177
|
-
expected: "(boolean | undefined)",
|
|
3178
|
-
value: input3.isleaf
|
|
3179
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3180
|
-
path: _path2 + ".values",
|
|
3181
|
-
expected: "(TermValues | undefined)",
|
|
3182
|
-
value: input3.values
|
|
3183
|
-
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3184
|
-
path: _path2 + ".values",
|
|
3185
|
-
expected: "(TermValues | undefined)",
|
|
3186
|
-
value: input3.values
|
|
3187
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3188
|
-
path: _path2 + ".groupsetting",
|
|
3189
|
-
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
3190
|
-
value: input3.groupsetting
|
|
3191
|
-
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3192
|
-
path: _path2 + ".groupsetting",
|
|
3193
|
-
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
3194
|
-
value: input3.groupsetting
|
|
3195
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3196
|
-
path: _path2 + ".kind",
|
|
3197
|
-
expected: '"gene"',
|
|
3198
|
-
value: input3.kind
|
|
3199
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3200
|
-
path: _path2 + ".gene",
|
|
3201
|
-
expected: "string",
|
|
3202
|
-
value: input3.gene
|
|
3203
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3204
|
-
path: _path2 + ".chr",
|
|
3205
|
-
expected: "(string | undefined)",
|
|
3206
|
-
value: input3.chr
|
|
3207
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3208
|
-
path: _path2 + ".start",
|
|
3209
|
-
expected: "(number | undefined)",
|
|
3210
|
-
value: input3.start
|
|
3211
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3212
|
-
path: _path2 + ".stop",
|
|
3213
|
-
expected: "(number | undefined)",
|
|
3214
|
-
value: input3.stop
|
|
3215
|
-
})].every((flag) => flag);
|
|
3216
|
-
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3217
|
-
path: _path2 + ".id",
|
|
3218
|
-
expected: "string",
|
|
3219
|
-
value: input3.id
|
|
3220
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3221
|
-
path: _path2 + ".name",
|
|
3222
|
-
expected: "string",
|
|
3223
|
-
value: input3.name
|
|
3224
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3225
|
-
path: _path2 + ".type",
|
|
3226
|
-
expected: '"geneVariant"',
|
|
3227
|
-
value: input3.type
|
|
3228
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3229
|
-
path: _path2 + ".child_types",
|
|
3230
|
-
expected: "(Array<string> | undefined)",
|
|
3231
|
-
value: input3.child_types
|
|
3232
|
-
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3233
|
-
path: _path2 + ".child_types[" + _index29 + "]",
|
|
3234
|
-
expected: "string",
|
|
3235
|
-
value: elem
|
|
3236
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3237
|
-
path: _path2 + ".child_types",
|
|
3238
|
-
expected: "(Array<string> | undefined)",
|
|
3239
|
-
value: input3.child_types
|
|
3240
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3241
|
-
path: _path2 + ".hashtmldetail",
|
|
3242
|
-
expected: "(boolean | undefined)",
|
|
3243
|
-
value: input3.hashtmldetail
|
|
3244
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3245
|
-
path: _path2 + ".included_types",
|
|
3246
|
-
expected: "(Array<string> | undefined)",
|
|
3247
|
-
value: input3.included_types
|
|
3248
|
-
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3249
|
-
path: _path2 + ".included_types[" + _index30 + "]",
|
|
3250
|
-
expected: "string",
|
|
3251
|
-
value: elem
|
|
3252
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3253
|
-
path: _path2 + ".included_types",
|
|
3254
|
-
expected: "(Array<string> | undefined)",
|
|
3255
|
-
value: input3.included_types
|
|
3256
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3257
|
-
path: _path2 + ".isleaf",
|
|
3258
|
-
expected: "(boolean | undefined)",
|
|
3259
|
-
value: input3.isleaf
|
|
3260
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3261
|
-
path: _path2 + ".values",
|
|
3262
|
-
expected: "(TermValues | undefined)",
|
|
3263
|
-
value: input3.values
|
|
3264
|
-
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3265
|
-
path: _path2 + ".values",
|
|
3266
|
-
expected: "(TermValues | undefined)",
|
|
3267
|
-
value: input3.values
|
|
3268
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3269
|
-
path: _path2 + ".groupsetting",
|
|
3270
|
-
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
3271
|
-
value: input3.groupsetting
|
|
3272
|
-
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3273
|
-
path: _path2 + ".groupsetting",
|
|
3274
|
-
expected: "(EnabledTermGroupSetting | __type.o7)",
|
|
3275
|
-
value: input3.groupsetting
|
|
3276
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3277
|
-
path: _path2 + ".kind",
|
|
3278
|
-
expected: '"coord"',
|
|
3279
|
-
value: input3.kind
|
|
3280
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3281
|
-
path: _path2 + ".chr",
|
|
3282
|
-
expected: "string",
|
|
3283
|
-
value: input3.chr
|
|
3284
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3285
|
-
path: _path2 + ".start",
|
|
3286
|
-
expected: "number",
|
|
3287
|
-
value: input3.start
|
|
3288
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3289
|
-
path: _path2 + ".stop",
|
|
3290
|
-
expected: "number",
|
|
3291
|
-
value: input3.stop
|
|
3292
|
-
})].every((flag) => flag);
|
|
3293
|
-
const $vo40 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
3294
|
-
path: _path2 + ".dt",
|
|
3295
|
-
expected: "1",
|
|
3296
|
-
value: input3.dt
|
|
3297
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
3298
|
-
path: _path2 + ".mclassLst",
|
|
3299
|
-
expected: "Array<SNVIndelClasses>",
|
|
3300
|
-
value: input3.mclassLst
|
|
3301
|
-
})) && 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, {
|
|
3302
|
-
path: _path2 + ".mclassLst[" + _index31 + "]",
|
|
3303
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
3304
|
-
value: elem
|
|
3305
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3306
|
-
path: _path2 + ".mclassLst",
|
|
3307
|
-
expected: "Array<SNVIndelClasses>",
|
|
3308
|
-
value: input3.mclassLst
|
|
3309
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
3310
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3311
|
-
expected: "Array<SNVIndelClasses>",
|
|
3312
|
-
value: input3.mclassExcludeLst
|
|
3313
|
-
})) && 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, {
|
|
3314
|
-
path: _path2 + ".mclassExcludeLst[" + _index32 + "]",
|
|
3315
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
3316
|
-
value: elem
|
|
3317
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3318
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3319
|
-
expected: "Array<SNVIndelClasses>",
|
|
3320
|
-
value: input3.mclassExcludeLst
|
|
3321
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
3322
|
-
path: _path2 + ".origin",
|
|
3323
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
3324
|
-
value: input3.origin
|
|
3325
|
-
})].every((flag) => flag);
|
|
3326
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
3327
|
-
path: _path2 + ".dt",
|
|
3328
|
-
expected: "4",
|
|
3329
|
-
value: input3.dt
|
|
3330
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
3331
|
-
path: _path2 + ".mclassLst",
|
|
3332
|
-
expected: "Array<CNVClasses>",
|
|
3333
|
-
value: input3.mclassLst
|
|
3334
|
-
})) && 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, {
|
|
3335
|
-
path: _path2 + ".mclassLst[" + _index33 + "]",
|
|
3336
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
3337
|
-
value: elem
|
|
3338
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3339
|
-
path: _path2 + ".mclassLst",
|
|
3340
|
-
expected: "Array<CNVClasses>",
|
|
3341
|
-
value: input3.mclassLst
|
|
3342
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
3343
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3344
|
-
expected: "Array<CNVClasses>",
|
|
3345
|
-
value: input3.mclassExcludeLst
|
|
3346
|
-
})) && 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, {
|
|
3347
|
-
path: _path2 + ".mclassExcludeLst[" + _index34 + "]",
|
|
3348
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
3349
|
-
value: elem
|
|
3350
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3351
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3352
|
-
expected: "Array<CNVClasses>",
|
|
3353
|
-
value: input3.mclassExcludeLst
|
|
3354
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
3355
|
-
path: _path2 + ".origin",
|
|
3356
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
3357
|
-
value: input3.origin
|
|
3358
|
-
})].every((flag) => flag);
|
|
3359
|
-
const $vo42 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
3360
|
-
path: _path2 + ".dt",
|
|
3361
|
-
expected: "5",
|
|
3362
|
-
value: input3.dt
|
|
3363
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
3364
|
-
path: _path2 + ".mclassLst",
|
|
3365
|
-
expected: "Array<SVClasses>",
|
|
3366
|
-
value: input3.mclassLst
|
|
3367
|
-
})) && input3.mclassLst.map((elem, _index35) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
3368
|
-
path: _path2 + ".mclassLst[" + _index35 + "]",
|
|
3369
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
3370
|
-
value: elem
|
|
3371
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3372
|
-
path: _path2 + ".mclassLst",
|
|
3373
|
-
expected: "Array<SVClasses>",
|
|
3374
|
-
value: input3.mclassLst
|
|
3375
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
3376
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3377
|
-
expected: "Array<SVClasses>",
|
|
3378
|
-
value: input3.mclassExcludeLst
|
|
3379
|
-
})) && input3.mclassExcludeLst.map((elem, _index36) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
3380
|
-
path: _path2 + ".mclassExcludeLst[" + _index36 + "]",
|
|
3381
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
3382
|
-
value: elem
|
|
3383
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3384
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3385
|
-
expected: "Array<SVClasses>",
|
|
3386
|
-
value: input3.mclassExcludeLst
|
|
3387
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
3388
|
-
path: _path2 + ".origin",
|
|
3389
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
3390
|
-
value: input3.origin
|
|
3152
|
+
path: _path2 + ".child_label",
|
|
3153
|
+
expected: "string",
|
|
3154
|
+
value: input3.child_label
|
|
3391
3155
|
})].every((flag) => flag);
|
|
3392
|
-
const $
|
|
3393
|
-
path: _path2 + ".
|
|
3394
|
-
expected: "
|
|
3395
|
-
value: input3.
|
|
3396
|
-
}),
|
|
3397
|
-
path: _path2 + ".
|
|
3398
|
-
expected: "
|
|
3399
|
-
value: input3.
|
|
3400
|
-
})
|
|
3401
|
-
path: _path2 + ".
|
|
3402
|
-
expected:
|
|
3156
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3157
|
+
path: _path2 + ".join",
|
|
3158
|
+
expected: "(string | undefined)",
|
|
3159
|
+
value: input3.join
|
|
3160
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3161
|
+
path: _path2 + ".isnot",
|
|
3162
|
+
expected: "(boolean | undefined)",
|
|
3163
|
+
value: input3.isnot
|
|
3164
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3165
|
+
path: _path2 + ".term",
|
|
3166
|
+
expected: "DtTerm",
|
|
3167
|
+
value: input3.term
|
|
3168
|
+
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3169
|
+
path: _path2 + ".term",
|
|
3170
|
+
expected: "DtTerm",
|
|
3171
|
+
value: input3.term
|
|
3172
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3173
|
+
path: _path2 + ".values",
|
|
3174
|
+
expected: "Array<__type>.o6",
|
|
3175
|
+
value: input3.values
|
|
3176
|
+
})) && input3.values.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3177
|
+
path: _path2 + ".values[" + _index29 + "]",
|
|
3178
|
+
expected: "__type.o12",
|
|
3403
3179
|
value: elem
|
|
3404
|
-
}))
|
|
3405
|
-
path: _path2 + ".
|
|
3406
|
-
expected: "
|
|
3407
|
-
value: input3.mclassLst
|
|
3408
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
3409
|
-
path: _path2 + ".mclassExcludeLst",
|
|
3410
|
-
expected: "Array<FusionRNAClasses>",
|
|
3411
|
-
value: input3.mclassExcludeLst
|
|
3412
|
-
})) && input3.mclassExcludeLst.map((elem, _index38) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
3413
|
-
path: _path2 + ".mclassExcludeLst[" + _index38 + "]",
|
|
3414
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
3180
|
+
})) && $vo43(elem, _path2 + ".values[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3181
|
+
path: _path2 + ".values[" + _index29 + "]",
|
|
3182
|
+
expected: "__type.o12",
|
|
3415
3183
|
value: elem
|
|
3416
3184
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3417
|
-
path: _path2 + ".
|
|
3418
|
-
expected: "Array<
|
|
3419
|
-
value: input3.
|
|
3420
|
-
})
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3185
|
+
path: _path2 + ".values",
|
|
3186
|
+
expected: "Array<__type>.o6",
|
|
3187
|
+
value: input3.values
|
|
3188
|
+
})].every((flag) => flag);
|
|
3189
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3190
|
+
path: _path2 + ".key",
|
|
3191
|
+
expected: "string",
|
|
3192
|
+
value: input3.key
|
|
3193
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3194
|
+
path: _path2 + ".label",
|
|
3195
|
+
expected: "string",
|
|
3196
|
+
value: input3.label
|
|
3197
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
3198
|
+
path: _path2 + ".value",
|
|
3199
|
+
expected: "string",
|
|
3200
|
+
value: input3.value
|
|
3424
3201
|
})].every((flag) => flag);
|
|
3425
3202
|
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3426
3203
|
path: _path2 + ".id",
|
|
@@ -3430,16 +3207,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3430
3207
|
path: _path2 + ".name",
|
|
3431
3208
|
expected: "string",
|
|
3432
3209
|
value: input3.name
|
|
3433
|
-
}), "
|
|
3210
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3434
3211
|
path: _path2 + ".type",
|
|
3435
|
-
expected: '
|
|
3212
|
+
expected: '"geneVariant"',
|
|
3436
3213
|
value: input3.type
|
|
3437
3214
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3438
3215
|
path: _path2 + ".child_types",
|
|
3439
3216
|
expected: "(Array<string> | undefined)",
|
|
3440
3217
|
value: input3.child_types
|
|
3441
|
-
})) && input3.child_types.map((elem,
|
|
3442
|
-
path: _path2 + ".child_types[" +
|
|
3218
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3219
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
3443
3220
|
expected: "string",
|
|
3444
3221
|
value: elem
|
|
3445
3222
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3454,8 +3231,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3454
3231
|
path: _path2 + ".included_types",
|
|
3455
3232
|
expected: "(Array<string> | undefined)",
|
|
3456
3233
|
value: input3.included_types
|
|
3457
|
-
})) && input3.included_types.map((elem,
|
|
3458
|
-
path: _path2 + ".included_types[" +
|
|
3234
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3235
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
3459
3236
|
expected: "string",
|
|
3460
3237
|
value: elem
|
|
3461
3238
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3474,26 +3251,38 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3474
3251
|
path: _path2 + ".values",
|
|
3475
3252
|
expected: "(TermValues | undefined)",
|
|
3476
3253
|
value: input3.values
|
|
3477
|
-
}),
|
|
3478
|
-
path: _path2 + ".
|
|
3479
|
-
expected: "
|
|
3480
|
-
value: input3.
|
|
3481
|
-
})) && $
|
|
3482
|
-
path: _path2 + ".
|
|
3483
|
-
expected: "
|
|
3484
|
-
value: input3.
|
|
3485
|
-
}),
|
|
3486
|
-
path: _path2 + ".
|
|
3487
|
-
expected: "
|
|
3488
|
-
value: input3.
|
|
3489
|
-
}),
|
|
3490
|
-
path: _path2 + ".
|
|
3491
|
-
expected: "
|
|
3492
|
-
value: input3.
|
|
3493
|
-
})
|
|
3494
|
-
path: _path2 + ".
|
|
3495
|
-
expected: "
|
|
3496
|
-
value: input3.
|
|
3254
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3255
|
+
path: _path2 + ".filter",
|
|
3256
|
+
expected: "(TermFilter | undefined)",
|
|
3257
|
+
value: input3.filter
|
|
3258
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3259
|
+
path: _path2 + ".filter",
|
|
3260
|
+
expected: "(TermFilter | undefined)",
|
|
3261
|
+
value: input3.filter
|
|
3262
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3263
|
+
path: _path2 + ".kind",
|
|
3264
|
+
expected: '"coord"',
|
|
3265
|
+
value: input3.kind
|
|
3266
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3267
|
+
path: _path2 + ".chr",
|
|
3268
|
+
expected: "string",
|
|
3269
|
+
value: input3.chr
|
|
3270
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3271
|
+
path: _path2 + ".start",
|
|
3272
|
+
expected: "number",
|
|
3273
|
+
value: input3.start
|
|
3274
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3275
|
+
path: _path2 + ".stop",
|
|
3276
|
+
expected: "number",
|
|
3277
|
+
value: input3.stop
|
|
3278
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3279
|
+
path: _path2 + ".groupsetting",
|
|
3280
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
3281
|
+
value: input3.groupsetting
|
|
3282
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3283
|
+
path: _path2 + ".groupsetting",
|
|
3284
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
3285
|
+
value: input3.groupsetting
|
|
3497
3286
|
})].every((flag) => flag);
|
|
3498
3287
|
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3499
3288
|
path: _path2 + ".id",
|
|
@@ -3503,16 +3292,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3503
3292
|
path: _path2 + ".name",
|
|
3504
3293
|
expected: "string",
|
|
3505
3294
|
value: input3.name
|
|
3506
|
-
}), "
|
|
3295
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
3507
3296
|
path: _path2 + ".type",
|
|
3508
|
-
expected: '"
|
|
3297
|
+
expected: '"categorical"',
|
|
3509
3298
|
value: input3.type
|
|
3510
3299
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3511
3300
|
path: _path2 + ".child_types",
|
|
3512
3301
|
expected: "(Array<string> | undefined)",
|
|
3513
3302
|
value: input3.child_types
|
|
3514
|
-
})) && input3.child_types.map((elem,
|
|
3515
|
-
path: _path2 + ".child_types[" +
|
|
3303
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3304
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
3516
3305
|
expected: "string",
|
|
3517
3306
|
value: elem
|
|
3518
3307
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3527,8 +3316,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3527
3316
|
path: _path2 + ".included_types",
|
|
3528
3317
|
expected: "(Array<string> | undefined)",
|
|
3529
3318
|
value: input3.included_types
|
|
3530
|
-
})) && input3.included_types.map((elem,
|
|
3531
|
-
path: _path2 + ".included_types[" +
|
|
3319
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3320
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
3532
3321
|
expected: "string",
|
|
3533
3322
|
value: elem
|
|
3534
3323
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3547,7 +3336,23 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3547
3336
|
path: _path2 + ".values",
|
|
3548
3337
|
expected: "(TermValues | undefined)",
|
|
3549
3338
|
value: input3.values
|
|
3550
|
-
}),
|
|
3339
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3340
|
+
path: _path2 + ".filter",
|
|
3341
|
+
expected: "(TermFilter | undefined)",
|
|
3342
|
+
value: input3.filter
|
|
3343
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3344
|
+
path: _path2 + ".filter",
|
|
3345
|
+
expected: "(TermFilter | undefined)",
|
|
3346
|
+
value: input3.filter
|
|
3347
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3348
|
+
path: _path2 + ".groupsetting",
|
|
3349
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
3350
|
+
value: input3.groupsetting
|
|
3351
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3352
|
+
path: _path2 + ".groupsetting",
|
|
3353
|
+
expected: "(EnabledTermGroupSetting | __type.o9)",
|
|
3354
|
+
value: input3.groupsetting
|
|
3355
|
+
})].every((flag) => flag);
|
|
3551
3356
|
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3552
3357
|
path: _path2 + ".id",
|
|
3553
3358
|
expected: "string",
|
|
@@ -3556,16 +3361,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3556
3361
|
path: _path2 + ".name",
|
|
3557
3362
|
expected: "string",
|
|
3558
3363
|
value: input3.name
|
|
3559
|
-
}), "
|
|
3364
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
3560
3365
|
path: _path2 + ".type",
|
|
3561
|
-
expected: '"
|
|
3366
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
3562
3367
|
value: input3.type
|
|
3563
3368
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3564
3369
|
path: _path2 + ".child_types",
|
|
3565
3370
|
expected: "(Array<string> | undefined)",
|
|
3566
3371
|
value: input3.child_types
|
|
3567
|
-
})) && input3.child_types.map((elem,
|
|
3568
|
-
path: _path2 + ".child_types[" +
|
|
3372
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3373
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
3569
3374
|
expected: "string",
|
|
3570
3375
|
value: elem
|
|
3571
3376
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3580,8 +3385,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3580
3385
|
path: _path2 + ".included_types",
|
|
3581
3386
|
expected: "(Array<string> | undefined)",
|
|
3582
3387
|
value: input3.included_types
|
|
3583
|
-
})) && input3.included_types.map((elem,
|
|
3584
|
-
path: _path2 + ".included_types[" +
|
|
3388
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3389
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
3585
3390
|
expected: "string",
|
|
3586
3391
|
value: elem
|
|
3587
3392
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3600,34 +3405,34 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3600
3405
|
path: _path2 + ".values",
|
|
3601
3406
|
expected: "(TermValues | undefined)",
|
|
3602
3407
|
value: input3.values
|
|
3603
|
-
}),
|
|
3604
|
-
path: _path2 + ".
|
|
3605
|
-
expected: "(
|
|
3606
|
-
value: input3.
|
|
3607
|
-
})) && $
|
|
3608
|
-
path: _path2 + ".
|
|
3609
|
-
expected: "(
|
|
3610
|
-
value: input3.
|
|
3611
|
-
}), "
|
|
3612
|
-
path: _path2 + ".
|
|
3613
|
-
expected:
|
|
3614
|
-
value: input3.
|
|
3615
|
-
}), "
|
|
3616
|
-
path: _path2 + ".
|
|
3617
|
-
expected: "
|
|
3618
|
-
value: input3.
|
|
3619
|
-
}), void 0 === input3.
|
|
3620
|
-
path: _path2 + ".
|
|
3408
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3409
|
+
path: _path2 + ".filter",
|
|
3410
|
+
expected: "(TermFilter | undefined)",
|
|
3411
|
+
value: input3.filter
|
|
3412
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3413
|
+
path: _path2 + ".filter",
|
|
3414
|
+
expected: "(TermFilter | undefined)",
|
|
3415
|
+
value: input3.filter
|
|
3416
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3417
|
+
path: _path2 + ".bins",
|
|
3418
|
+
expected: "PresetNumericBins",
|
|
3419
|
+
value: input3.bins
|
|
3420
|
+
})) && $vo30(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3421
|
+
path: _path2 + ".bins",
|
|
3422
|
+
expected: "PresetNumericBins",
|
|
3423
|
+
value: input3.bins
|
|
3424
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3425
|
+
path: _path2 + ".unit",
|
|
3621
3426
|
expected: "(string | undefined)",
|
|
3622
|
-
value: input3.
|
|
3623
|
-
}), void 0 === input3.
|
|
3624
|
-
path: _path2 + ".
|
|
3625
|
-
expected: "(
|
|
3626
|
-
value: input3.
|
|
3627
|
-
})
|
|
3628
|
-
path: _path2 + ".
|
|
3629
|
-
expected: "(
|
|
3630
|
-
value: input3.
|
|
3427
|
+
value: input3.unit
|
|
3428
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3429
|
+
path: _path2 + ".continuousColorScale",
|
|
3430
|
+
expected: "(__type.o10 | undefined)",
|
|
3431
|
+
value: input3.continuousColorScale
|
|
3432
|
+
})) && $vo37(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3433
|
+
path: _path2 + ".continuousColorScale",
|
|
3434
|
+
expected: "(__type.o10 | undefined)",
|
|
3435
|
+
value: input3.continuousColorScale
|
|
3631
3436
|
})].every((flag) => flag);
|
|
3632
3437
|
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3633
3438
|
path: _path2 + ".id",
|
|
@@ -3637,16 +3442,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3637
3442
|
path: _path2 + ".name",
|
|
3638
3443
|
expected: "string",
|
|
3639
3444
|
value: input3.name
|
|
3640
|
-
}), "
|
|
3445
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
3641
3446
|
path: _path2 + ".type",
|
|
3642
|
-
expected: '"
|
|
3447
|
+
expected: '"condition"',
|
|
3643
3448
|
value: input3.type
|
|
3644
3449
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3645
3450
|
path: _path2 + ".child_types",
|
|
3646
3451
|
expected: "(Array<string> | undefined)",
|
|
3647
3452
|
value: input3.child_types
|
|
3648
|
-
})) && input3.child_types.map((elem,
|
|
3649
|
-
path: _path2 + ".child_types[" +
|
|
3453
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3454
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
3650
3455
|
expected: "string",
|
|
3651
3456
|
value: elem
|
|
3652
3457
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3661,8 +3466,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3661
3466
|
path: _path2 + ".included_types",
|
|
3662
3467
|
expected: "(Array<string> | undefined)",
|
|
3663
3468
|
value: input3.included_types
|
|
3664
|
-
})) && input3.included_types.map((elem,
|
|
3665
|
-
path: _path2 + ".included_types[" +
|
|
3469
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3470
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
3666
3471
|
expected: "string",
|
|
3667
3472
|
value: elem
|
|
3668
3473
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3681,30 +3486,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3681
3486
|
path: _path2 + ".values",
|
|
3682
3487
|
expected: "(TermValues | undefined)",
|
|
3683
3488
|
value: input3.values
|
|
3684
|
-
}),
|
|
3685
|
-
path: _path2 + ".
|
|
3686
|
-
expected: "(
|
|
3687
|
-
value: input3.
|
|
3688
|
-
})) && $
|
|
3689
|
-
path: _path2 + ".
|
|
3690
|
-
expected: "(
|
|
3691
|
-
value: input3.
|
|
3692
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3693
|
-
path: _path2 + ".kind",
|
|
3694
|
-
expected: '"coord"',
|
|
3695
|
-
value: input3.kind
|
|
3696
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3697
|
-
path: _path2 + ".chr",
|
|
3698
|
-
expected: "string",
|
|
3699
|
-
value: input3.chr
|
|
3700
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3701
|
-
path: _path2 + ".start",
|
|
3702
|
-
expected: "number",
|
|
3703
|
-
value: input3.start
|
|
3704
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3705
|
-
path: _path2 + ".stop",
|
|
3706
|
-
expected: "number",
|
|
3707
|
-
value: input3.stop
|
|
3489
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3490
|
+
path: _path2 + ".filter",
|
|
3491
|
+
expected: "(TermFilter | undefined)",
|
|
3492
|
+
value: input3.filter
|
|
3493
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3494
|
+
path: _path2 + ".filter",
|
|
3495
|
+
expected: "(TermFilter | undefined)",
|
|
3496
|
+
value: input3.filter
|
|
3708
3497
|
})].every((flag) => flag);
|
|
3709
3498
|
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3710
3499
|
path: _path2 + ".id",
|
|
@@ -3722,8 +3511,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3722
3511
|
path: _path2 + ".child_types",
|
|
3723
3512
|
expected: "(Array<string> | undefined)",
|
|
3724
3513
|
value: input3.child_types
|
|
3725
|
-
})) && input3.child_types.map((elem,
|
|
3726
|
-
path: _path2 + ".child_types[" +
|
|
3514
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3515
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
3727
3516
|
expected: "string",
|
|
3728
3517
|
value: elem
|
|
3729
3518
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3738,8 +3527,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3738
3527
|
path: _path2 + ".included_types",
|
|
3739
3528
|
expected: "(Array<string> | undefined)",
|
|
3740
3529
|
value: input3.included_types
|
|
3741
|
-
})) && input3.included_types.map((elem,
|
|
3742
|
-
path: _path2 + ".included_types[" +
|
|
3530
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3531
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
3743
3532
|
expected: "string",
|
|
3744
3533
|
value: elem
|
|
3745
3534
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3758,7 +3547,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3758
3547
|
path: _path2 + ".values",
|
|
3759
3548
|
expected: "(TermValues | undefined)",
|
|
3760
3549
|
value: input3.values
|
|
3761
|
-
}),
|
|
3550
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3551
|
+
path: _path2 + ".filter",
|
|
3552
|
+
expected: "(TermFilter | undefined)",
|
|
3553
|
+
value: input3.filter
|
|
3554
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3555
|
+
path: _path2 + ".filter",
|
|
3556
|
+
expected: "(TermFilter | undefined)",
|
|
3557
|
+
value: input3.filter
|
|
3558
|
+
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
3762
3559
|
path: _path2 + ".reachedVariantLimit",
|
|
3763
3560
|
expected: "(boolean | undefined)",
|
|
3764
3561
|
value: input3.reachedVariantLimit
|
|
@@ -3766,12 +3563,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3766
3563
|
path: _path2 + ".snps",
|
|
3767
3564
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3768
3565
|
value: input3.snps
|
|
3769
|
-
})) && input3.snps.map((elem,
|
|
3770
|
-
path: _path2 + ".snps[" +
|
|
3566
|
+
})) && input3.snps.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3567
|
+
path: _path2 + ".snps[" + _index40 + "]",
|
|
3771
3568
|
expected: "SnpsEntry",
|
|
3772
3569
|
value: elem
|
|
3773
|
-
})) && $vo49(elem, _path2 + ".snps[" +
|
|
3774
|
-
path: _path2 + ".snps[" +
|
|
3570
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3571
|
+
path: _path2 + ".snps[" + _index40 + "]",
|
|
3775
3572
|
expected: "SnpsEntry",
|
|
3776
3573
|
value: elem
|
|
3777
3574
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3783,8 +3580,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3783
3580
|
path: _path2 + ".altAlleles",
|
|
3784
3581
|
expected: "(Array<string> | undefined)",
|
|
3785
3582
|
value: input3.altAlleles
|
|
3786
|
-
})) && input3.altAlleles.map((elem,
|
|
3787
|
-
path: _path2 + ".altAlleles[" +
|
|
3583
|
+
})) && input3.altAlleles.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3584
|
+
path: _path2 + ".altAlleles[" + _index41 + "]",
|
|
3788
3585
|
expected: "string",
|
|
3789
3586
|
value: elem
|
|
3790
3587
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3795,12 +3592,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3795
3592
|
path: _path2 + ".alleles",
|
|
3796
3593
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3797
3594
|
value: input3.alleles
|
|
3798
|
-
})) && input3.alleles.map((elem,
|
|
3799
|
-
path: _path2 + ".alleles[" +
|
|
3595
|
+
})) && input3.alleles.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3596
|
+
path: _path2 + ".alleles[" + _index42 + "]",
|
|
3800
3597
|
expected: "AllelesEntry",
|
|
3801
3598
|
value: elem
|
|
3802
|
-
})) && $vo50(elem, _path2 + ".alleles[" +
|
|
3803
|
-
path: _path2 + ".alleles[" +
|
|
3599
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3600
|
+
path: _path2 + ".alleles[" + _index42 + "]",
|
|
3804
3601
|
expected: "AllelesEntry",
|
|
3805
3602
|
value: elem
|
|
3806
3603
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3813,11 +3610,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3813
3610
|
value: input3.effectAllele
|
|
3814
3611
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3815
3612
|
path: _path2 + ".gt2count",
|
|
3816
|
-
expected: "(__type.
|
|
3613
|
+
expected: "(__type.o13 | undefined)",
|
|
3817
3614
|
value: input3.gt2count
|
|
3818
3615
|
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3819
3616
|
path: _path2 + ".gt2count",
|
|
3820
|
-
expected: "(__type.
|
|
3617
|
+
expected: "(__type.o13 | undefined)",
|
|
3821
3618
|
value: input3.gt2count
|
|
3822
3619
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3823
3620
|
path: _path2 + ".invalid",
|
|
@@ -3882,8 +3679,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3882
3679
|
path: _path2 + ".child_types",
|
|
3883
3680
|
expected: "(Array<string> | undefined)",
|
|
3884
3681
|
value: input3.child_types
|
|
3885
|
-
})) && input3.child_types.map((elem,
|
|
3886
|
-
path: _path2 + ".child_types[" +
|
|
3682
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3683
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
3887
3684
|
expected: "string",
|
|
3888
3685
|
value: elem
|
|
3889
3686
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3898,8 +3695,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3898
3695
|
path: _path2 + ".included_types",
|
|
3899
3696
|
expected: "(Array<string> | undefined)",
|
|
3900
3697
|
value: input3.included_types
|
|
3901
|
-
})) && input3.included_types.map((elem,
|
|
3902
|
-
path: _path2 + ".included_types[" +
|
|
3698
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3699
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
3903
3700
|
expected: "string",
|
|
3904
3701
|
value: elem
|
|
3905
3702
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3918,7 +3715,15 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3918
3715
|
path: _path2 + ".values",
|
|
3919
3716
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3920
3717
|
value: input3.values
|
|
3921
|
-
}),
|
|
3718
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3719
|
+
path: _path2 + ".filter",
|
|
3720
|
+
expected: "(TermFilter | undefined)",
|
|
3721
|
+
value: input3.filter
|
|
3722
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3723
|
+
path: _path2 + ".filter",
|
|
3724
|
+
expected: "(TermFilter | undefined)",
|
|
3725
|
+
value: input3.filter
|
|
3726
|
+
})].every((flag) => flag);
|
|
3922
3727
|
const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3923
3728
|
const value = input3[key];
|
|
3924
3729
|
if (void 0 === value)
|
|
@@ -3987,19 +3792,19 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3987
3792
|
value: input3.inuse
|
|
3988
3793
|
}), (Array.isArray(input3.list) || $report(_exceptionable2, {
|
|
3989
3794
|
path: _path2 + ".list",
|
|
3990
|
-
expected: "Array<__type>.
|
|
3795
|
+
expected: "Array<__type>.o7",
|
|
3991
3796
|
value: input3.list
|
|
3992
|
-
})) && input3.list.map((elem,
|
|
3993
|
-
path: _path2 + ".list[" +
|
|
3994
|
-
expected: "__type.
|
|
3797
|
+
})) && input3.list.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3798
|
+
path: _path2 + ".list[" + _index45 + "]",
|
|
3799
|
+
expected: "__type.o14",
|
|
3995
3800
|
value: elem
|
|
3996
|
-
})) && $vo55(elem, _path2 + ".list[" +
|
|
3997
|
-
path: _path2 + ".list[" +
|
|
3998
|
-
expected: "__type.
|
|
3801
|
+
})) && $vo55(elem, _path2 + ".list[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3802
|
+
path: _path2 + ".list[" + _index45 + "]",
|
|
3803
|
+
expected: "__type.o14",
|
|
3999
3804
|
value: elem
|
|
4000
3805
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4001
3806
|
path: _path2 + ".list",
|
|
4002
|
-
expected: "Array<__type>.
|
|
3807
|
+
expected: "Array<__type>.o7",
|
|
4003
3808
|
value: input3.list
|
|
4004
3809
|
}), true].every((flag) => flag);
|
|
4005
3810
|
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
@@ -4012,17 +3817,21 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4012
3817
|
value: input3.sample
|
|
4013
3818
|
})].every((flag) => flag);
|
|
4014
3819
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4015
|
-
if (
|
|
3820
|
+
if ("tvslst" === input3.type)
|
|
4016
3821
|
return $vo14(input3, _path2, _exceptionable2);
|
|
4017
|
-
if (
|
|
4018
|
-
return $
|
|
4019
|
-
return $
|
|
3822
|
+
if ("tvs" === input3.type)
|
|
3823
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
3824
|
+
return $report(_exceptionable2, {
|
|
3825
|
+
path: _path2,
|
|
3826
|
+
expected: "(Filter | __type.o6)",
|
|
3827
|
+
value: input3
|
|
3828
|
+
});
|
|
4020
3829
|
})();
|
|
4021
3830
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4022
3831
|
if ("string" === typeof input3.type)
|
|
4023
|
-
return $
|
|
3832
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
4024
3833
|
if ("filter" === input3.type)
|
|
4025
|
-
return $
|
|
3834
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
4026
3835
|
return $report(_exceptionable2, {
|
|
4027
3836
|
path: _path2,
|
|
4028
3837
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -4031,49 +3840,39 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4031
3840
|
})();
|
|
4032
3841
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4033
3842
|
if (true === input3.startunbounded)
|
|
4034
|
-
return $
|
|
3843
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
4035
3844
|
if (true === input3.stopunbounded)
|
|
4036
|
-
return $
|
|
4037
|
-
return $
|
|
3845
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3846
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
4038
3847
|
})();
|
|
4039
3848
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4040
|
-
if (
|
|
4041
|
-
return $vo43(input3, _path2, _exceptionable2);
|
|
4042
|
-
if (5 === input3.dt)
|
|
4043
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
4044
|
-
if (4 === input3.dt)
|
|
4045
|
-
return $vo41(input3, _path2, _exceptionable2);
|
|
4046
|
-
if (1 === input3.dt)
|
|
4047
|
-
return $vo40(input3, _path2, _exceptionable2);
|
|
4048
|
-
return $report(_exceptionable2, {
|
|
4049
|
-
path: _path2,
|
|
4050
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
4051
|
-
value: input3
|
|
4052
|
-
});
|
|
4053
|
-
})();
|
|
4054
|
-
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4055
|
-
if ("categorical" === input3.type)
|
|
3849
|
+
if ("gene" === input3.kind)
|
|
4056
3850
|
return $vo11(input3, _path2, _exceptionable2);
|
|
4057
|
-
if ("
|
|
3851
|
+
if ("coord" === input3.kind)
|
|
4058
3852
|
return $vo44(input3, _path2, _exceptionable2);
|
|
4059
|
-
if ("
|
|
3853
|
+
if ("categorical" === input3.type)
|
|
4060
3854
|
return $vo45(input3, _path2, _exceptionable2);
|
|
4061
|
-
if ("
|
|
3855
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
4062
3856
|
return $vo46(input3, _path2, _exceptionable2);
|
|
4063
|
-
if ("
|
|
3857
|
+
if ("condition" === input3.type)
|
|
4064
3858
|
return $vo47(input3, _path2, _exceptionable2);
|
|
4065
3859
|
return $vo48(input3, _path2, false) || $vo52(input3, _path2, false);
|
|
4066
3860
|
})();
|
|
3861
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3862
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index46) => "object" === typeof elem && null !== elem && $vo22(elem, _path2 + ".lst[" + _index46 + "]", false)).every((flag) => flag))
|
|
3863
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3864
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3865
|
+
})();
|
|
4067
3866
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4068
|
-
if (
|
|
4069
|
-
return $
|
|
4070
|
-
return $
|
|
3867
|
+
if (void 0 !== input3.ranges)
|
|
3868
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3869
|
+
return $vo16(input3, _path2, false) || $vo39(input3, _path2, false) || $vo42(input3, _path2, false);
|
|
4071
3870
|
})();
|
|
4072
3871
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4073
3872
|
if ("regular-bin" === input3.type)
|
|
4074
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
4075
|
-
if ("custom-bin" === input3.type)
|
|
4076
3873
|
return $vo31(input3, _path2, _exceptionable2);
|
|
3874
|
+
if ("custom-bin" === input3.type)
|
|
3875
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
4077
3876
|
return $report(_exceptionable2, {
|
|
4078
3877
|
path: _path2,
|
|
4079
3878
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -4082,9 +3881,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4082
3881
|
})();
|
|
4083
3882
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4084
3883
|
if (true === input3.startunbounded)
|
|
4085
|
-
return $
|
|
3884
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
4086
3885
|
if (void 0 !== input3.start)
|
|
4087
|
-
return $
|
|
3886
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
4088
3887
|
return $report(_exceptionable2, {
|
|
4089
3888
|
path: _path2,
|
|
4090
3889
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -4093,9 +3892,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4093
3892
|
})();
|
|
4094
3893
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4095
3894
|
if (void 0 !== input3.stop)
|
|
4096
|
-
return $
|
|
3895
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
4097
3896
|
if (true === input3.stopunbounded)
|
|
4098
|
-
return $
|
|
3897
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
4099
3898
|
return $report(_exceptionable2, {
|
|
4100
3899
|
path: _path2,
|
|
4101
3900
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -4103,17 +3902,6 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4103
3902
|
});
|
|
4104
3903
|
})();
|
|
4105
3904
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4106
|
-
if ("gene" === input3.kind)
|
|
4107
|
-
return $vo38(input3, _path2, _exceptionable2);
|
|
4108
|
-
if ("coord" === input3.kind)
|
|
4109
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
4110
|
-
return $report(_exceptionable2, {
|
|
4111
|
-
path: _path2,
|
|
4112
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
4113
|
-
value: input3
|
|
4114
|
-
});
|
|
4115
|
-
})();
|
|
4116
|
-
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4117
3905
|
if (void 0 !== input3.status)
|
|
4118
3906
|
return $vo0(input3, _path2, _exceptionable2);
|
|
4119
3907
|
if (void 0 !== input3.clustering)
|
|
@@ -4130,7 +3918,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4130
3918
|
path: _path + "",
|
|
4131
3919
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
4132
3920
|
value: input2
|
|
4133
|
-
})) && $
|
|
3921
|
+
})) && $vu9(input2, _path + "", true) || $report(true, {
|
|
4134
3922
|
path: _path + "",
|
|
4135
3923
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
4136
3924
|
value: input2
|