@sjcrh/proteinpaint-types 2.119.0 → 2.123.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-HURSYPTO.js → chunk-D5OG676D.js} +32 -1
- 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 +13 -13
- package/dist/samplewsimages.js +1 -1
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +11 -5
- 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/samplewsimages.ts +1 -0
- 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
|
@@ -25,31 +25,36 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "number" === typeof input3.maxGenes && (void 0 === input3.geneSet || "object" === typeof input3.geneSet && null !== input3.geneSet && $io1(input3.geneSet)) && (void 0 === input3.min_median_log2_uqfpkm || "number" === typeof input3.min_median_log2_uqfpkm) && (void 0 === input3.filter_extreme_values || "number" === typeof input3.filter_extreme_values) && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.rank_type || "object" === typeof input3.rank_type && null !== input3.rank_type && $io2(input3.rank_type)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && true;
|
|
26
26
|
const $io1 = (input3) => ("all" === input3.type || "custom" === input3.type || "msigdb" === input3.type) && (null === input3.geneList || Array.isArray(input3.geneList) && input3.geneList.every((elem) => "string" === typeof elem));
|
|
27
27
|
const $io2 = (input3) => "iqr" === input3.type || "var" === input3.type;
|
|
28
|
-
const $io3 = (input3) => "
|
|
29
|
-
const $io4 = (input3) =>
|
|
30
|
-
const $io5 = (input3) =>
|
|
31
|
-
const $io6 = (input3) =>
|
|
28
|
+
const $io3 = (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)));
|
|
29
|
+
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
30
|
+
const $io5 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io6(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) && $io8(elem)));
|
|
31
|
+
const $io6 = (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) && $io7(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io9(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
32
|
+
const $io7 = (input3) => Object.keys(input3).every((key) => {
|
|
32
33
|
const value = input3[key];
|
|
33
34
|
if (void 0 === value)
|
|
34
35
|
return true;
|
|
35
36
|
if (RegExp(/(.*)/).test(key))
|
|
36
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
37
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io8(value);
|
|
37
38
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
38
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
39
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io8(value);
|
|
39
40
|
return true;
|
|
40
41
|
});
|
|
41
|
-
const $
|
|
42
|
-
const $
|
|
43
|
-
const $
|
|
44
|
-
const $
|
|
45
|
-
const $
|
|
46
|
-
const $
|
|
47
|
-
const $
|
|
48
|
-
const $
|
|
49
|
-
const $
|
|
50
|
-
const $
|
|
51
|
-
const $
|
|
52
|
-
const $
|
|
42
|
+
const $io8 = (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 && $io3(input3.filter));
|
|
43
|
+
const $io9 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io10(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)));
|
|
44
|
+
const $io10 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
45
|
+
const $io11 = (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) && $io7(input3.values));
|
|
46
|
+
const $io12 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io13(elem)));
|
|
47
|
+
const $io13 = (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)));
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io15(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
49
|
+
const $io15 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
50
|
+
const $io16 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io17(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
51
|
+
const $io17 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io10(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && ("object" === typeof input3.active && null !== input3.active && $io3(input3.active)) && "number" === typeof input3.group;
|
|
52
|
+
const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
53
|
+
const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
54
|
+
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io9(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
|
|
55
|
+
const $io21 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $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);
|
|
56
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $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);
|
|
57
|
+
const $io23 = (input3) => Object.keys(input3).every((key) => {
|
|
53
58
|
const value = input3[key];
|
|
54
59
|
if (void 0 === value)
|
|
55
60
|
return true;
|
|
@@ -57,93 +62,75 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
57
62
|
return "number" === typeof value;
|
|
58
63
|
return true;
|
|
59
64
|
});
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
72
|
-
const $io31 = (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);
|
|
73
|
-
const $io32 = (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);
|
|
74
|
-
const $io33 = (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);
|
|
75
|
-
const $io34 = (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);
|
|
65
|
+
const $io24 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
66
|
+
const $io25 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
67
|
+
const $io26 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
68
|
+
const $io27 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
71
|
+
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io9(input3.filter));
|
|
73
|
+
const $io32 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
74
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io11(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
76
76
|
const $iu0 = (input3) => (() => {
|
|
77
|
-
if (
|
|
77
|
+
if ("tvslst" === input3.type)
|
|
78
78
|
return $io3(input3);
|
|
79
|
-
if (
|
|
80
|
-
return $
|
|
81
|
-
return
|
|
82
|
-
if ($io4(input3))
|
|
83
|
-
return $io4(input3);
|
|
84
|
-
if ($io25(input3))
|
|
85
|
-
return $io25(input3);
|
|
86
|
-
if ($io28(input3))
|
|
87
|
-
return $io28(input3);
|
|
88
|
-
return false;
|
|
89
|
-
})();
|
|
79
|
+
if ("tvs" === input3.type)
|
|
80
|
+
return $io4(input3);
|
|
81
|
+
return false;
|
|
90
82
|
})();
|
|
91
83
|
const $iu1 = (input3) => (() => {
|
|
92
84
|
if ("string" === typeof input3.type)
|
|
93
|
-
return $
|
|
85
|
+
return $io14(input3);
|
|
94
86
|
if ("filter" === input3.type)
|
|
95
|
-
return $
|
|
87
|
+
return $io16(input3);
|
|
96
88
|
return false;
|
|
97
89
|
})();
|
|
98
90
|
const $iu2 = (input3) => (() => {
|
|
99
91
|
if (true === input3.startunbounded)
|
|
100
|
-
return $
|
|
92
|
+
return $io24(input3);
|
|
101
93
|
if (true === input3.stopunbounded)
|
|
102
|
-
return $
|
|
103
|
-
return $
|
|
94
|
+
return $io26(input3);
|
|
95
|
+
return $io25(input3);
|
|
104
96
|
})();
|
|
105
97
|
const $iu3 = (input3) => (() => {
|
|
106
|
-
if (
|
|
107
|
-
return $
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
98
|
+
if (void 0 !== input3.ranges)
|
|
99
|
+
return $io19(input3);
|
|
100
|
+
return (() => {
|
|
101
|
+
if ($io5(input3))
|
|
102
|
+
return $io5(input3);
|
|
103
|
+
if ($io30(input3))
|
|
104
|
+
return $io30(input3);
|
|
105
|
+
if ($io33(input3))
|
|
106
|
+
return $io33(input3);
|
|
107
|
+
return false;
|
|
108
|
+
})();
|
|
115
109
|
})();
|
|
116
110
|
const $iu4 = (input3) => (() => {
|
|
117
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
118
|
-
return $
|
|
119
|
-
return $
|
|
111
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io13(elem)))
|
|
112
|
+
return $io12(input3);
|
|
113
|
+
return $io18(input3);
|
|
120
114
|
})();
|
|
121
115
|
const $iu5 = (input3) => (() => {
|
|
122
116
|
if ("regular-bin" === input3.type)
|
|
123
|
-
return $io17(input3);
|
|
124
|
-
if ("custom-bin" === input3.type)
|
|
125
117
|
return $io22(input3);
|
|
118
|
+
if ("custom-bin" === input3.type)
|
|
119
|
+
return $io27(input3);
|
|
126
120
|
return false;
|
|
127
121
|
})();
|
|
128
122
|
const $iu6 = (input3) => (() => {
|
|
129
123
|
if (true === input3.startunbounded)
|
|
130
|
-
return $
|
|
124
|
+
return $io24(input3);
|
|
131
125
|
if (void 0 !== input3.start)
|
|
132
|
-
return $
|
|
126
|
+
return $io25(input3);
|
|
133
127
|
return false;
|
|
134
128
|
})();
|
|
135
129
|
const $iu7 = (input3) => (() => {
|
|
136
130
|
if (void 0 !== input3.stop)
|
|
137
|
-
return $
|
|
131
|
+
return $io25(input3);
|
|
138
132
|
if (true === input3.stopunbounded)
|
|
139
|
-
return $
|
|
140
|
-
return false;
|
|
141
|
-
})();
|
|
142
|
-
const $iu8 = (input3) => (() => {
|
|
143
|
-
if ("gene" === input3.kind)
|
|
144
|
-
return $io29(input3);
|
|
145
|
-
if ("coord" === input3.kind)
|
|
146
|
-
return $io30(input3);
|
|
133
|
+
return $io26(input3);
|
|
147
134
|
return false;
|
|
148
135
|
})();
|
|
149
136
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -227,17 +214,17 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
227
214
|
expected: '("iqr" | "var")',
|
|
228
215
|
value: input3.type
|
|
229
216
|
})].every((flag) => flag);
|
|
230
|
-
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["
|
|
217
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
231
218
|
path: _path2 + ".type",
|
|
232
|
-
expected: '"
|
|
219
|
+
expected: '"tvslst"',
|
|
233
220
|
value: input3.type
|
|
234
|
-
}),
|
|
221
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
235
222
|
path: _path2 + '["in"]',
|
|
236
|
-
expected: "
|
|
223
|
+
expected: "boolean",
|
|
237
224
|
value: input3["in"]
|
|
238
|
-
}), "
|
|
225
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
239
226
|
path: _path2 + ".join",
|
|
240
|
-
expected:
|
|
227
|
+
expected: "string",
|
|
241
228
|
value: input3.join
|
|
242
229
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
243
230
|
path: _path2 + ".tag",
|
|
@@ -245,22 +232,35 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
245
232
|
value: input3.tag
|
|
246
233
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
247
234
|
path: _path2 + ".lst",
|
|
248
|
-
expected:
|
|
235
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
249
236
|
value: input3.lst
|
|
250
237
|
})) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
251
238
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
252
|
-
expected: "(
|
|
239
|
+
expected: "(Filter | __type.o2)",
|
|
253
240
|
value: elem
|
|
254
241
|
})) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
255
242
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
256
|
-
expected: "(
|
|
243
|
+
expected: "(Filter | __type.o2)",
|
|
257
244
|
value: elem
|
|
258
245
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
259
246
|
path: _path2 + ".lst",
|
|
260
|
-
expected:
|
|
247
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
261
248
|
value: input3.lst
|
|
262
249
|
})].every((flag) => flag);
|
|
263
|
-
const $vo4 = (input3, _path2, _exceptionable2 = true) => [
|
|
250
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
251
|
+
path: _path2 + ".type",
|
|
252
|
+
expected: '"tvs"',
|
|
253
|
+
value: input3.type
|
|
254
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
255
|
+
path: _path2 + ".tvs",
|
|
256
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
257
|
+
value: input3.tvs
|
|
258
|
+
})) && $vu3(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
259
|
+
path: _path2 + ".tvs",
|
|
260
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
261
|
+
value: input3.tvs
|
|
262
|
+
})].every((flag) => flag);
|
|
263
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
264
264
|
path: _path2 + ".join",
|
|
265
265
|
expected: "(string | undefined)",
|
|
266
266
|
value: input3.join
|
|
@@ -272,7 +272,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
272
272
|
path: _path2 + ".term",
|
|
273
273
|
expected: "CategoricalTerm",
|
|
274
274
|
value: input3.term
|
|
275
|
-
})) && $
|
|
275
|
+
})) && $vo6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
276
276
|
path: _path2 + ".term",
|
|
277
277
|
expected: "CategoricalTerm",
|
|
278
278
|
value: input3.term
|
|
@@ -288,7 +288,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
288
288
|
path: _path2 + ".values[" + _index3 + "]",
|
|
289
289
|
expected: "BaseValue",
|
|
290
290
|
value: elem
|
|
291
|
-
})) && $
|
|
291
|
+
})) && $vo8(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
292
292
|
path: _path2 + ".values[" + _index3 + "]",
|
|
293
293
|
expected: "BaseValue",
|
|
294
294
|
value: elem
|
|
@@ -297,7 +297,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
297
297
|
expected: "Array<BaseValue>",
|
|
298
298
|
value: input3.values
|
|
299
299
|
})].every((flag) => flag);
|
|
300
|
-
const $
|
|
300
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
301
301
|
path: _path2 + ".id",
|
|
302
302
|
expected: "string",
|
|
303
303
|
value: input3.id
|
|
@@ -345,20 +345,28 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
345
345
|
path: _path2 + ".values",
|
|
346
346
|
expected: "(TermValues | undefined)",
|
|
347
347
|
value: input3.values
|
|
348
|
-
})) && $
|
|
348
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
349
349
|
path: _path2 + ".values",
|
|
350
350
|
expected: "(TermValues | undefined)",
|
|
351
351
|
value: input3.values
|
|
352
|
-
}),
|
|
352
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
353
|
+
path: _path2 + ".filter",
|
|
354
|
+
expected: "(TermFilter | undefined)",
|
|
355
|
+
value: input3.filter
|
|
356
|
+
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
357
|
+
path: _path2 + ".filter",
|
|
358
|
+
expected: "(TermFilter | undefined)",
|
|
359
|
+
value: input3.filter
|
|
360
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
353
361
|
path: _path2 + ".groupsetting",
|
|
354
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
362
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
355
363
|
value: input3.groupsetting
|
|
356
364
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
357
365
|
path: _path2 + ".groupsetting",
|
|
358
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
366
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
359
367
|
value: input3.groupsetting
|
|
360
368
|
})].every((flag) => flag);
|
|
361
|
-
const $
|
|
369
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
362
370
|
const value = input3[key];
|
|
363
371
|
if (void 0 === value)
|
|
364
372
|
return true;
|
|
@@ -367,7 +375,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
367
375
|
path: _path2 + $join(key),
|
|
368
376
|
expected: "BaseValue",
|
|
369
377
|
value
|
|
370
|
-
})) && $
|
|
378
|
+
})) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
371
379
|
path: _path2 + $join(key),
|
|
372
380
|
expected: "BaseValue",
|
|
373
381
|
value
|
|
@@ -377,14 +385,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
377
385
|
path: _path2 + $join(key),
|
|
378
386
|
expected: "BaseValue",
|
|
379
387
|
value
|
|
380
|
-
})) && $
|
|
388
|
+
})) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
381
389
|
path: _path2 + $join(key),
|
|
382
390
|
expected: "BaseValue",
|
|
383
391
|
value
|
|
384
392
|
});
|
|
385
393
|
return true;
|
|
386
394
|
}).every((flag) => flag)].every((flag) => flag);
|
|
387
|
-
const $
|
|
395
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
388
396
|
path: _path2 + ".key",
|
|
389
397
|
expected: "(string | undefined)",
|
|
390
398
|
value: input3.key
|
|
@@ -417,7 +425,86 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
417
425
|
expected: "(Filter | undefined)",
|
|
418
426
|
value: input3.filter
|
|
419
427
|
})].every((flag) => flag);
|
|
420
|
-
const $
|
|
428
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
429
|
+
path: _path2 + ".opts",
|
|
430
|
+
expected: "__type.o3",
|
|
431
|
+
value: input3.opts
|
|
432
|
+
})) && $vo10(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
433
|
+
path: _path2 + ".opts",
|
|
434
|
+
expected: "__type.o3",
|
|
435
|
+
value: input3.opts
|
|
436
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
437
|
+
path: _path2 + ".terms",
|
|
438
|
+
expected: "Array<DtTerm>",
|
|
439
|
+
value: input3.terms
|
|
440
|
+
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
441
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
442
|
+
expected: "DtTerm",
|
|
443
|
+
value: elem
|
|
444
|
+
})) && $vo11(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
445
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
446
|
+
expected: "DtTerm",
|
|
447
|
+
value: elem
|
|
448
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
449
|
+
path: _path2 + ".terms",
|
|
450
|
+
expected: "Array<DtTerm>",
|
|
451
|
+
value: input3.terms
|
|
452
|
+
})].every((flag) => flag);
|
|
453
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
454
|
+
path: _path2 + ".joinWith",
|
|
455
|
+
expected: "Array<string>",
|
|
456
|
+
value: input3.joinWith
|
|
457
|
+
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
458
|
+
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
459
|
+
expected: "string",
|
|
460
|
+
value: elem
|
|
461
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
462
|
+
path: _path2 + ".joinWith",
|
|
463
|
+
expected: "Array<string>",
|
|
464
|
+
value: input3.joinWith
|
|
465
|
+
})].every((flag) => flag);
|
|
466
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
467
|
+
path: _path2 + ".id",
|
|
468
|
+
expected: "string",
|
|
469
|
+
value: input3.id
|
|
470
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
471
|
+
path: _path2 + ".query",
|
|
472
|
+
expected: "string",
|
|
473
|
+
value: input3.query
|
|
474
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
475
|
+
path: _path2 + ".name",
|
|
476
|
+
expected: "string",
|
|
477
|
+
value: input3.name
|
|
478
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
479
|
+
path: _path2 + ".name_noOrigin",
|
|
480
|
+
expected: "string",
|
|
481
|
+
value: input3.name_noOrigin
|
|
482
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
483
|
+
path: _path2 + ".isleaf",
|
|
484
|
+
expected: "boolean",
|
|
485
|
+
value: input3.isleaf
|
|
486
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
487
|
+
path: _path2 + ".type",
|
|
488
|
+
expected: "string",
|
|
489
|
+
value: input3.type
|
|
490
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
491
|
+
path: _path2 + ".dt",
|
|
492
|
+
expected: "number",
|
|
493
|
+
value: input3.dt
|
|
494
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
495
|
+
path: _path2 + ".origin",
|
|
496
|
+
expected: "(string | undefined)",
|
|
497
|
+
value: input3.origin
|
|
498
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
499
|
+
path: _path2 + ".values",
|
|
500
|
+
expected: "TermValues",
|
|
501
|
+
value: input3.values
|
|
502
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
503
|
+
path: _path2 + ".values",
|
|
504
|
+
expected: "TermValues",
|
|
505
|
+
value: input3.values
|
|
506
|
+
})].every((flag) => flag);
|
|
507
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
421
508
|
path: _path2 + ".disabled",
|
|
422
509
|
expected: "(boolean | undefined)",
|
|
423
510
|
value: input3.disabled
|
|
@@ -425,12 +512,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
425
512
|
path: _path2 + ".lst",
|
|
426
513
|
expected: "Array<Groupset>",
|
|
427
514
|
value: input3.lst
|
|
428
|
-
})) && input3.lst.map((elem,
|
|
429
|
-
path: _path2 + ".lst[" +
|
|
515
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
516
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
430
517
|
expected: "Groupset",
|
|
431
518
|
value: elem
|
|
432
|
-
})) && $
|
|
433
|
-
path: _path2 + ".lst[" +
|
|
519
|
+
})) && $vo13(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
520
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
434
521
|
expected: "Groupset",
|
|
435
522
|
value: elem
|
|
436
523
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -438,7 +525,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
438
525
|
expected: "Array<Groupset>",
|
|
439
526
|
value: input3.lst
|
|
440
527
|
})].every((flag) => flag);
|
|
441
|
-
const $
|
|
528
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
442
529
|
path: _path2 + ".name",
|
|
443
530
|
expected: "string",
|
|
444
531
|
value: input3.name
|
|
@@ -458,12 +545,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
458
545
|
path: _path2 + ".groups",
|
|
459
546
|
expected: "Array<GroupEntry>",
|
|
460
547
|
value: input3.groups
|
|
461
|
-
})) && input3.groups.map((elem,
|
|
462
|
-
path: _path2 + ".groups[" +
|
|
548
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
549
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
463
550
|
expected: "(FilterGroup | ValuesGroup)",
|
|
464
551
|
value: elem
|
|
465
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
466
|
-
path: _path2 + ".groups[" +
|
|
552
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
553
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
467
554
|
expected: "(FilterGroup | ValuesGroup)",
|
|
468
555
|
value: elem
|
|
469
556
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -471,7 +558,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
471
558
|
expected: "Array<GroupEntry>",
|
|
472
559
|
value: input3.groups
|
|
473
560
|
})].every((flag) => flag);
|
|
474
|
-
const $
|
|
561
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
475
562
|
path: _path2 + ".name",
|
|
476
563
|
expected: "string",
|
|
477
564
|
value: input3.name
|
|
@@ -483,13 +570,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
483
570
|
path: _path2 + ".values",
|
|
484
571
|
expected: "Array<__type>",
|
|
485
572
|
value: input3.values
|
|
486
|
-
})) && input3.values.map((elem,
|
|
487
|
-
path: _path2 + ".values[" +
|
|
488
|
-
expected: "__type.
|
|
573
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
574
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
575
|
+
expected: "__type.o4",
|
|
489
576
|
value: elem
|
|
490
|
-
})) && $
|
|
491
|
-
path: _path2 + ".values[" +
|
|
492
|
-
expected: "__type.
|
|
577
|
+
})) && $vo15(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
578
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
579
|
+
expected: "__type.o4",
|
|
493
580
|
value: elem
|
|
494
581
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
495
582
|
path: _path2 + ".values",
|
|
@@ -500,7 +587,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
500
587
|
expected: "(boolean | undefined)",
|
|
501
588
|
value: input3.uncomputable
|
|
502
589
|
})].every((flag) => flag);
|
|
503
|
-
const $
|
|
590
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
504
591
|
path: _path2 + ".key",
|
|
505
592
|
expected: "(number | string)",
|
|
506
593
|
value: input3.key
|
|
@@ -509,7 +596,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
509
596
|
expected: "string",
|
|
510
597
|
value: input3.label
|
|
511
598
|
})].every((flag) => flag);
|
|
512
|
-
const $
|
|
599
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
513
600
|
path: _path2 + ".name",
|
|
514
601
|
expected: "string",
|
|
515
602
|
value: input3.name
|
|
@@ -517,12 +604,57 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
517
604
|
path: _path2 + ".type",
|
|
518
605
|
expected: '"filter"',
|
|
519
606
|
value: input3.type
|
|
520
|
-
}),
|
|
607
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
608
|
+
path: _path2 + ".filter",
|
|
609
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
610
|
+
value: input3.filter
|
|
611
|
+
})) && $vo17(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
612
|
+
path: _path2 + ".filter",
|
|
613
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
614
|
+
value: input3.filter
|
|
615
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
521
616
|
path: _path2 + ".uncomputable",
|
|
522
|
-
expected: "
|
|
617
|
+
expected: "boolean",
|
|
523
618
|
value: input3.uncomputable
|
|
524
619
|
})].every((flag) => flag);
|
|
525
|
-
const $
|
|
620
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
621
|
+
path: _path2 + ".opts",
|
|
622
|
+
expected: "__type.o3",
|
|
623
|
+
value: input3.opts
|
|
624
|
+
})) && $vo10(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
625
|
+
path: _path2 + ".opts",
|
|
626
|
+
expected: "__type.o3",
|
|
627
|
+
value: input3.opts
|
|
628
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
629
|
+
path: _path2 + ".terms",
|
|
630
|
+
expected: "Array<DtTerm>",
|
|
631
|
+
value: input3.terms
|
|
632
|
+
})) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
633
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
634
|
+
expected: "DtTerm",
|
|
635
|
+
value: elem
|
|
636
|
+
})) && $vo11(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
637
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
638
|
+
expected: "DtTerm",
|
|
639
|
+
value: elem
|
|
640
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
641
|
+
path: _path2 + ".terms",
|
|
642
|
+
expected: "Array<DtTerm>",
|
|
643
|
+
value: input3.terms
|
|
644
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".active",
|
|
646
|
+
expected: "Filter",
|
|
647
|
+
value: input3.active
|
|
648
|
+
})) && $vo3(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
649
|
+
path: _path2 + ".active",
|
|
650
|
+
expected: "Filter",
|
|
651
|
+
value: input3.active
|
|
652
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
653
|
+
path: _path2 + ".group",
|
|
654
|
+
expected: "number",
|
|
655
|
+
value: input3.group
|
|
656
|
+
})].every((flag) => flag);
|
|
657
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
526
658
|
path: _path2 + ".disabled",
|
|
527
659
|
expected: "boolean",
|
|
528
660
|
value: input3.disabled
|
|
@@ -539,7 +671,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
539
671
|
expected: "([] | undefined)",
|
|
540
672
|
value: input3.lst
|
|
541
673
|
})].every((flag) => flag);
|
|
542
|
-
const $
|
|
674
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
543
675
|
path: _path2 + ".join",
|
|
544
676
|
expected: "(string | undefined)",
|
|
545
677
|
value: input3.join
|
|
@@ -551,7 +683,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
551
683
|
path: _path2 + ".term",
|
|
552
684
|
expected: "NumericTerm",
|
|
553
685
|
value: input3.term
|
|
554
|
-
})) && $
|
|
686
|
+
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
555
687
|
path: _path2 + ".term",
|
|
556
688
|
expected: "NumericTerm",
|
|
557
689
|
value: input3.term
|
|
@@ -559,12 +691,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
559
691
|
path: _path2 + ".ranges",
|
|
560
692
|
expected: "Array<NumericBin>",
|
|
561
693
|
value: input3.ranges
|
|
562
|
-
})) && input3.ranges.map((elem,
|
|
563
|
-
path: _path2 + ".ranges[" +
|
|
694
|
+
})) && input3.ranges.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
695
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
564
696
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
565
697
|
value: elem
|
|
566
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
567
|
-
path: _path2 + ".ranges[" +
|
|
698
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
699
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
568
700
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
569
701
|
value: elem
|
|
570
702
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -575,20 +707,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
575
707
|
path: _path2 + ".values",
|
|
576
708
|
expected: "Array<__type>.o1",
|
|
577
709
|
value: input3.values
|
|
578
|
-
})) && input3.values.map((elem,
|
|
579
|
-
path: _path2 + ".values[" +
|
|
580
|
-
expected: "__type.
|
|
710
|
+
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
711
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
712
|
+
expected: "__type.o7",
|
|
581
713
|
value: elem
|
|
582
|
-
})) && $
|
|
583
|
-
path: _path2 + ".values[" +
|
|
584
|
-
expected: "__type.
|
|
714
|
+
})) && $vo29(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
715
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
716
|
+
expected: "__type.o7",
|
|
585
717
|
value: elem
|
|
586
718
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
587
719
|
path: _path2 + ".values",
|
|
588
720
|
expected: "Array<__type>.o1",
|
|
589
721
|
value: input3.values
|
|
590
722
|
})].every((flag) => flag);
|
|
591
|
-
const $
|
|
723
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
592
724
|
path: _path2 + ".id",
|
|
593
725
|
expected: "string",
|
|
594
726
|
value: input3.id
|
|
@@ -604,8 +736,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
604
736
|
path: _path2 + ".child_types",
|
|
605
737
|
expected: "(Array<string> | undefined)",
|
|
606
738
|
value: input3.child_types
|
|
607
|
-
})) && input3.child_types.map((elem,
|
|
608
|
-
path: _path2 + ".child_types[" +
|
|
739
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
740
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
609
741
|
expected: "string",
|
|
610
742
|
value: elem
|
|
611
743
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -620,8 +752,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
620
752
|
path: _path2 + ".included_types",
|
|
621
753
|
expected: "(Array<string> | undefined)",
|
|
622
754
|
value: input3.included_types
|
|
623
|
-
})) && input3.included_types.map((elem,
|
|
624
|
-
path: _path2 + ".included_types[" +
|
|
755
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
756
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
625
757
|
expected: "string",
|
|
626
758
|
value: elem
|
|
627
759
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -636,15 +768,23 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
636
768
|
path: _path2 + ".values",
|
|
637
769
|
expected: "(TermValues | undefined)",
|
|
638
770
|
value: input3.values
|
|
639
|
-
})) && $
|
|
771
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
640
772
|
path: _path2 + ".values",
|
|
641
773
|
expected: "(TermValues | undefined)",
|
|
642
774
|
value: input3.values
|
|
643
|
-
}),
|
|
775
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
776
|
+
path: _path2 + ".filter",
|
|
777
|
+
expected: "(TermFilter | undefined)",
|
|
778
|
+
value: input3.filter
|
|
779
|
+
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
780
|
+
path: _path2 + ".filter",
|
|
781
|
+
expected: "(TermFilter | undefined)",
|
|
782
|
+
value: input3.filter
|
|
783
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
644
784
|
path: _path2 + ".bins",
|
|
645
785
|
expected: "PresetNumericBins",
|
|
646
786
|
value: input3.bins
|
|
647
|
-
})) && $
|
|
787
|
+
})) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
648
788
|
path: _path2 + ".bins",
|
|
649
789
|
expected: "PresetNumericBins",
|
|
650
790
|
value: input3.bins
|
|
@@ -654,14 +794,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
654
794
|
value: input3.unit
|
|
655
795
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
656
796
|
path: _path2 + ".continuousColorScale",
|
|
657
|
-
expected: "(__type.
|
|
797
|
+
expected: "(__type.o6 | undefined)",
|
|
658
798
|
value: input3.continuousColorScale
|
|
659
|
-
})) && $
|
|
799
|
+
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
660
800
|
path: _path2 + ".continuousColorScale",
|
|
661
|
-
expected: "(__type.
|
|
801
|
+
expected: "(__type.o6 | undefined)",
|
|
662
802
|
value: input3.continuousColorScale
|
|
663
803
|
})].every((flag) => flag);
|
|
664
|
-
const $
|
|
804
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
665
805
|
path: _path2 + '["default"]',
|
|
666
806
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
667
807
|
value: input3["default"]
|
|
@@ -698,11 +838,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
698
838
|
expected: "(number | undefined)",
|
|
699
839
|
value: input3.max
|
|
700
840
|
})].every((flag) => flag);
|
|
701
|
-
const $
|
|
841
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
702
842
|
path: _path2 + ".hiddenValues",
|
|
703
843
|
expected: "(HiddenValues | undefined)",
|
|
704
844
|
value: input3.hiddenValues
|
|
705
|
-
})) && $
|
|
845
|
+
})) && $vo23(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
706
846
|
path: _path2 + ".hiddenValues",
|
|
707
847
|
expected: "(HiddenValues | undefined)",
|
|
708
848
|
value: input3.hiddenValues
|
|
@@ -751,7 +891,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
751
891
|
expected: "(number | undefined)",
|
|
752
892
|
value: input3.label_offset
|
|
753
893
|
})].every((flag) => flag);
|
|
754
|
-
const $
|
|
894
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
755
895
|
const value = input3[key];
|
|
756
896
|
if (void 0 === value)
|
|
757
897
|
return true;
|
|
@@ -763,7 +903,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
763
903
|
});
|
|
764
904
|
return true;
|
|
765
905
|
}).every((flag) => flag)].every((flag) => flag);
|
|
766
|
-
const $
|
|
906
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
767
907
|
path: _path2 + ".startunbounded",
|
|
768
908
|
expected: "true",
|
|
769
909
|
value: input3.startunbounded
|
|
@@ -788,7 +928,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
788
928
|
expected: "(string | undefined)",
|
|
789
929
|
value: input3.label
|
|
790
930
|
})].every((flag) => flag);
|
|
791
|
-
const $
|
|
931
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
792
932
|
path: _path2 + ".startunbounded",
|
|
793
933
|
expected: "(false | undefined)",
|
|
794
934
|
value: input3.startunbounded
|
|
@@ -817,7 +957,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
817
957
|
expected: "(string | undefined)",
|
|
818
958
|
value: input3.label
|
|
819
959
|
})].every((flag) => flag);
|
|
820
|
-
const $
|
|
960
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
821
961
|
path: _path2 + ".start",
|
|
822
962
|
expected: "number",
|
|
823
963
|
value: input3.start
|
|
@@ -842,11 +982,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
842
982
|
expected: "(string | undefined)",
|
|
843
983
|
value: input3.label
|
|
844
984
|
})].every((flag) => flag);
|
|
845
|
-
const $
|
|
985
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
846
986
|
path: _path2 + ".hiddenValues",
|
|
847
987
|
expected: "(HiddenValues | undefined)",
|
|
848
988
|
value: input3.hiddenValues
|
|
849
|
-
})) && $
|
|
989
|
+
})) && $vo23(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
850
990
|
path: _path2 + ".hiddenValues",
|
|
851
991
|
expected: "(HiddenValues | undefined)",
|
|
852
992
|
value: input3.hiddenValues
|
|
@@ -888,12 +1028,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
888
1028
|
path: _path2 + ".lst",
|
|
889
1029
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
890
1030
|
value: input3.lst.slice(1)
|
|
891
|
-
})) && input3.lst.slice(1).map((elem,
|
|
892
|
-
path: _path2 + ".lst[" + (1 +
|
|
1031
|
+
})) && input3.lst.slice(1).map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1032
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
893
1033
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
894
1034
|
value: elem
|
|
895
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
896
|
-
path: _path2 + ".lst[" + (1 +
|
|
1035
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index16) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1036
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
897
1037
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
898
1038
|
value: elem
|
|
899
1039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -909,7 +1049,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
909
1049
|
expected: '("median" | undefined)',
|
|
910
1050
|
value: input3.preferredBins
|
|
911
1051
|
})].every((flag) => flag);
|
|
912
|
-
const $
|
|
1052
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
913
1053
|
path: _path2 + ".minColor",
|
|
914
1054
|
expected: "string",
|
|
915
1055
|
value: input3.minColor
|
|
@@ -918,7 +1058,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
918
1058
|
expected: "string",
|
|
919
1059
|
value: input3.maxColor
|
|
920
1060
|
})].every((flag) => flag);
|
|
921
|
-
const $
|
|
1061
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
922
1062
|
path: _path2 + ".key",
|
|
923
1063
|
expected: "string",
|
|
924
1064
|
value: input3.key
|
|
@@ -935,7 +1075,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
935
1075
|
expected: "(string | undefined)",
|
|
936
1076
|
value: input3.label
|
|
937
1077
|
})].every((flag) => flag);
|
|
938
|
-
const $
|
|
1078
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
939
1079
|
path: _path2 + ".join",
|
|
940
1080
|
expected: "(string | undefined)",
|
|
941
1081
|
value: input3.join
|
|
@@ -947,7 +1087,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
947
1087
|
path: _path2 + ".term",
|
|
948
1088
|
expected: "ConditionTerm",
|
|
949
1089
|
value: input3.term
|
|
950
|
-
})) && $
|
|
1090
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
951
1091
|
path: _path2 + ".term",
|
|
952
1092
|
expected: "ConditionTerm",
|
|
953
1093
|
value: input3.term
|
|
@@ -967,12 +1107,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
967
1107
|
path: _path2 + ".grade_and_child",
|
|
968
1108
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
969
1109
|
value: input3.grade_and_child
|
|
970
|
-
})) && input3.grade_and_child.map((elem,
|
|
971
|
-
path: _path2 + ".grade_and_child[" +
|
|
1110
|
+
})) && input3.grade_and_child.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1111
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
972
1112
|
expected: "GradeAndChildEntry",
|
|
973
1113
|
value: elem
|
|
974
|
-
})) && $
|
|
975
|
-
path: _path2 + ".grade_and_child[" +
|
|
1114
|
+
})) && $vo32(elem, _path2 + ".grade_and_child[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1115
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
976
1116
|
expected: "GradeAndChildEntry",
|
|
977
1117
|
value: elem
|
|
978
1118
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -980,7 +1120,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
980
1120
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
981
1121
|
value: input3.grade_and_child
|
|
982
1122
|
})].every((flag) => flag);
|
|
983
|
-
const $
|
|
1123
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
984
1124
|
path: _path2 + ".id",
|
|
985
1125
|
expected: "string",
|
|
986
1126
|
value: input3.id
|
|
@@ -996,8 +1136,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
996
1136
|
path: _path2 + ".child_types",
|
|
997
1137
|
expected: "(Array<string> | undefined)",
|
|
998
1138
|
value: input3.child_types
|
|
999
|
-
})) && input3.child_types.map((elem,
|
|
1000
|
-
path: _path2 + ".child_types[" +
|
|
1139
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1140
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1001
1141
|
expected: "string",
|
|
1002
1142
|
value: elem
|
|
1003
1143
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1012,8 +1152,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1012
1152
|
path: _path2 + ".included_types",
|
|
1013
1153
|
expected: "(Array<string> | undefined)",
|
|
1014
1154
|
value: input3.included_types
|
|
1015
|
-
})) && input3.included_types.map((elem,
|
|
1016
|
-
path: _path2 + ".included_types[" +
|
|
1155
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1156
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1017
1157
|
expected: "string",
|
|
1018
1158
|
value: elem
|
|
1019
1159
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1028,12 +1168,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1028
1168
|
path: _path2 + ".values",
|
|
1029
1169
|
expected: "(TermValues | undefined)",
|
|
1030
1170
|
value: input3.values
|
|
1031
|
-
})) && $
|
|
1171
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1032
1172
|
path: _path2 + ".values",
|
|
1033
1173
|
expected: "(TermValues | undefined)",
|
|
1034
1174
|
value: input3.values
|
|
1035
|
-
}),
|
|
1036
|
-
|
|
1175
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1176
|
+
path: _path2 + ".filter",
|
|
1177
|
+
expected: "(TermFilter | undefined)",
|
|
1178
|
+
value: input3.filter
|
|
1179
|
+
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1180
|
+
path: _path2 + ".filter",
|
|
1181
|
+
expected: "(TermFilter | undefined)",
|
|
1182
|
+
value: input3.filter
|
|
1183
|
+
})].every((flag) => flag);
|
|
1184
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1037
1185
|
path: _path2 + ".grade",
|
|
1038
1186
|
expected: "number",
|
|
1039
1187
|
value: input3.grade
|
|
@@ -1050,7 +1198,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1050
1198
|
expected: "string",
|
|
1051
1199
|
value: input3.child_label
|
|
1052
1200
|
})].every((flag) => flag);
|
|
1053
|
-
const $
|
|
1201
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1054
1202
|
path: _path2 + ".join",
|
|
1055
1203
|
expected: "(string | undefined)",
|
|
1056
1204
|
value: input3.join
|
|
@@ -1060,331 +1208,58 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1060
1208
|
value: input3.isnot
|
|
1061
1209
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1062
1210
|
path: _path2 + ".term",
|
|
1063
|
-
expected: "
|
|
1211
|
+
expected: "DtTerm",
|
|
1064
1212
|
value: input3.term
|
|
1065
|
-
})) && $
|
|
1213
|
+
})) && $vo11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1066
1214
|
path: _path2 + ".term",
|
|
1067
|
-
expected: "
|
|
1215
|
+
expected: "DtTerm",
|
|
1068
1216
|
value: input3.term
|
|
1069
1217
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1070
1218
|
path: _path2 + ".values",
|
|
1071
|
-
expected: "Array<
|
|
1072
|
-
value: input3.values
|
|
1073
|
-
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1074
|
-
path: _path2 + ".values[" + _index17 + "]",
|
|
1075
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1076
|
-
value: elem
|
|
1077
|
-
})) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1078
|
-
path: _path2 + ".values[" + _index17 + "]",
|
|
1079
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1080
|
-
value: elem
|
|
1081
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1082
|
-
path: _path2 + ".values",
|
|
1083
|
-
expected: "Array<GeneVariantTvsValue>",
|
|
1219
|
+
expected: "Array<__type>.o2",
|
|
1084
1220
|
value: input3.values
|
|
1085
|
-
})
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
expected: "string",
|
|
1089
|
-
value: input3.id
|
|
1090
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1091
|
-
path: _path2 + ".name",
|
|
1092
|
-
expected: "string",
|
|
1093
|
-
value: input3.name
|
|
1094
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1095
|
-
path: _path2 + ".type",
|
|
1096
|
-
expected: '"geneVariant"',
|
|
1097
|
-
value: input3.type
|
|
1098
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1099
|
-
path: _path2 + ".child_types",
|
|
1100
|
-
expected: "(Array<string> | undefined)",
|
|
1101
|
-
value: input3.child_types
|
|
1102
|
-
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1103
|
-
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1104
|
-
expected: "string",
|
|
1221
|
+
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1222
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1223
|
+
expected: "__type.o8",
|
|
1105
1224
|
value: elem
|
|
1106
|
-
}))
|
|
1107
|
-
path: _path2 + ".
|
|
1108
|
-
expected: "
|
|
1109
|
-
value: input3.child_types
|
|
1110
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1111
|
-
path: _path2 + ".hashtmldetail",
|
|
1112
|
-
expected: "(boolean | undefined)",
|
|
1113
|
-
value: input3.hashtmldetail
|
|
1114
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1115
|
-
path: _path2 + ".included_types",
|
|
1116
|
-
expected: "(Array<string> | undefined)",
|
|
1117
|
-
value: input3.included_types
|
|
1118
|
-
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1119
|
-
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1120
|
-
expected: "string",
|
|
1225
|
+
})) && $vo34(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1226
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1227
|
+
expected: "__type.o8",
|
|
1121
1228
|
value: elem
|
|
1122
1229
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1123
|
-
path: _path2 + ".included_types",
|
|
1124
|
-
expected: "(Array<string> | undefined)",
|
|
1125
|
-
value: input3.included_types
|
|
1126
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1127
|
-
path: _path2 + ".isleaf",
|
|
1128
|
-
expected: "(boolean | undefined)",
|
|
1129
|
-
value: input3.isleaf
|
|
1130
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1131
1230
|
path: _path2 + ".values",
|
|
1132
|
-
expected: "
|
|
1133
|
-
value: input3.values
|
|
1134
|
-
})) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1135
|
-
path: _path2 + ".values",
|
|
1136
|
-
expected: "(TermValues | undefined)",
|
|
1231
|
+
expected: "Array<__type>.o2",
|
|
1137
1232
|
value: input3.values
|
|
1138
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1139
|
-
path: _path2 + ".groupsetting",
|
|
1140
|
-
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1141
|
-
value: input3.groupsetting
|
|
1142
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1143
|
-
path: _path2 + ".groupsetting",
|
|
1144
|
-
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1145
|
-
value: input3.groupsetting
|
|
1146
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1147
|
-
path: _path2 + ".kind",
|
|
1148
|
-
expected: '"gene"',
|
|
1149
|
-
value: input3.kind
|
|
1150
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1151
|
-
path: _path2 + ".gene",
|
|
1152
|
-
expected: "string",
|
|
1153
|
-
value: input3.gene
|
|
1154
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1155
|
-
path: _path2 + ".chr",
|
|
1156
|
-
expected: "(string | undefined)",
|
|
1157
|
-
value: input3.chr
|
|
1158
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1159
|
-
path: _path2 + ".start",
|
|
1160
|
-
expected: "(number | undefined)",
|
|
1161
|
-
value: input3.start
|
|
1162
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1163
|
-
path: _path2 + ".stop",
|
|
1164
|
-
expected: "(number | undefined)",
|
|
1165
|
-
value: input3.stop
|
|
1166
1233
|
})].every((flag) => flag);
|
|
1167
|
-
const $
|
|
1168
|
-
path: _path2 + ".
|
|
1169
|
-
expected: "string",
|
|
1170
|
-
value: input3.id
|
|
1171
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1172
|
-
path: _path2 + ".name",
|
|
1173
|
-
expected: "string",
|
|
1174
|
-
value: input3.name
|
|
1175
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1176
|
-
path: _path2 + ".type",
|
|
1177
|
-
expected: '"geneVariant"',
|
|
1178
|
-
value: input3.type
|
|
1179
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".child_types",
|
|
1181
|
-
expected: "(Array<string> | undefined)",
|
|
1182
|
-
value: input3.child_types
|
|
1183
|
-
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1184
|
-
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1234
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".key",
|
|
1185
1236
|
expected: "string",
|
|
1186
|
-
value:
|
|
1187
|
-
})
|
|
1188
|
-
path: _path2 + ".
|
|
1189
|
-
expected: "(Array<string> | undefined)",
|
|
1190
|
-
value: input3.child_types
|
|
1191
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1192
|
-
path: _path2 + ".hashtmldetail",
|
|
1193
|
-
expected: "(boolean | undefined)",
|
|
1194
|
-
value: input3.hashtmldetail
|
|
1195
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1196
|
-
path: _path2 + ".included_types",
|
|
1197
|
-
expected: "(Array<string> | undefined)",
|
|
1198
|
-
value: input3.included_types
|
|
1199
|
-
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1200
|
-
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1237
|
+
value: input3.key
|
|
1238
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".label",
|
|
1201
1240
|
expected: "string",
|
|
1202
|
-
value:
|
|
1203
|
-
})
|
|
1204
|
-
path: _path2 + ".
|
|
1205
|
-
expected: "(Array<string> | undefined)",
|
|
1206
|
-
value: input3.included_types
|
|
1207
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1208
|
-
path: _path2 + ".isleaf",
|
|
1209
|
-
expected: "(boolean | undefined)",
|
|
1210
|
-
value: input3.isleaf
|
|
1211
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1212
|
-
path: _path2 + ".values",
|
|
1213
|
-
expected: "(TermValues | undefined)",
|
|
1214
|
-
value: input3.values
|
|
1215
|
-
})) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1216
|
-
path: _path2 + ".values",
|
|
1217
|
-
expected: "(TermValues | undefined)",
|
|
1218
|
-
value: input3.values
|
|
1219
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1220
|
-
path: _path2 + ".groupsetting",
|
|
1221
|
-
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1222
|
-
value: input3.groupsetting
|
|
1223
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1224
|
-
path: _path2 + ".groupsetting",
|
|
1225
|
-
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1226
|
-
value: input3.groupsetting
|
|
1227
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1228
|
-
path: _path2 + ".kind",
|
|
1229
|
-
expected: '"coord"',
|
|
1230
|
-
value: input3.kind
|
|
1231
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1232
|
-
path: _path2 + ".chr",
|
|
1241
|
+
value: input3.label
|
|
1242
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".value",
|
|
1233
1244
|
expected: "string",
|
|
1234
|
-
value: input3.
|
|
1235
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1236
|
-
path: _path2 + ".start",
|
|
1237
|
-
expected: "number",
|
|
1238
|
-
value: input3.start
|
|
1239
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1240
|
-
path: _path2 + ".stop",
|
|
1241
|
-
expected: "number",
|
|
1242
|
-
value: input3.stop
|
|
1243
|
-
})].every((flag) => flag);
|
|
1244
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1245
|
-
path: _path2 + ".dt",
|
|
1246
|
-
expected: "1",
|
|
1247
|
-
value: input3.dt
|
|
1248
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1249
|
-
path: _path2 + ".mclassLst",
|
|
1250
|
-
expected: "Array<SNVIndelClasses>",
|
|
1251
|
-
value: input3.mclassLst
|
|
1252
|
-
})) && 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, {
|
|
1253
|
-
path: _path2 + ".mclassLst[" + _index22 + "]",
|
|
1254
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1255
|
-
value: elem
|
|
1256
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1257
|
-
path: _path2 + ".mclassLst",
|
|
1258
|
-
expected: "Array<SNVIndelClasses>",
|
|
1259
|
-
value: input3.mclassLst
|
|
1260
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1261
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1262
|
-
expected: "Array<SNVIndelClasses>",
|
|
1263
|
-
value: input3.mclassExcludeLst
|
|
1264
|
-
})) && 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, {
|
|
1265
|
-
path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
|
|
1266
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1267
|
-
value: elem
|
|
1268
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1269
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1270
|
-
expected: "Array<SNVIndelClasses>",
|
|
1271
|
-
value: input3.mclassExcludeLst
|
|
1272
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1273
|
-
path: _path2 + ".origin",
|
|
1274
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1275
|
-
value: input3.origin
|
|
1276
|
-
})].every((flag) => flag);
|
|
1277
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1278
|
-
path: _path2 + ".dt",
|
|
1279
|
-
expected: "4",
|
|
1280
|
-
value: input3.dt
|
|
1281
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1282
|
-
path: _path2 + ".mclassLst",
|
|
1283
|
-
expected: "Array<CNVClasses>",
|
|
1284
|
-
value: input3.mclassLst
|
|
1285
|
-
})) && 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, {
|
|
1286
|
-
path: _path2 + ".mclassLst[" + _index24 + "]",
|
|
1287
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1288
|
-
value: elem
|
|
1289
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1290
|
-
path: _path2 + ".mclassLst",
|
|
1291
|
-
expected: "Array<CNVClasses>",
|
|
1292
|
-
value: input3.mclassLst
|
|
1293
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1294
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1295
|
-
expected: "Array<CNVClasses>",
|
|
1296
|
-
value: input3.mclassExcludeLst
|
|
1297
|
-
})) && 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, {
|
|
1298
|
-
path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
|
|
1299
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1300
|
-
value: elem
|
|
1301
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1302
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1303
|
-
expected: "Array<CNVClasses>",
|
|
1304
|
-
value: input3.mclassExcludeLst
|
|
1305
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1306
|
-
path: _path2 + ".origin",
|
|
1307
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1308
|
-
value: input3.origin
|
|
1309
|
-
})].every((flag) => flag);
|
|
1310
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1311
|
-
path: _path2 + ".dt",
|
|
1312
|
-
expected: "5",
|
|
1313
|
-
value: input3.dt
|
|
1314
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1315
|
-
path: _path2 + ".mclassLst",
|
|
1316
|
-
expected: "Array<SVClasses>",
|
|
1317
|
-
value: input3.mclassLst
|
|
1318
|
-
})) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1319
|
-
path: _path2 + ".mclassLst[" + _index26 + "]",
|
|
1320
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1321
|
-
value: elem
|
|
1322
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1323
|
-
path: _path2 + ".mclassLst",
|
|
1324
|
-
expected: "Array<SVClasses>",
|
|
1325
|
-
value: input3.mclassLst
|
|
1326
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1327
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1328
|
-
expected: "Array<SVClasses>",
|
|
1329
|
-
value: input3.mclassExcludeLst
|
|
1330
|
-
})) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1331
|
-
path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
|
|
1332
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1333
|
-
value: elem
|
|
1334
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1335
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1336
|
-
expected: "Array<SVClasses>",
|
|
1337
|
-
value: input3.mclassExcludeLst
|
|
1338
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1339
|
-
path: _path2 + ".origin",
|
|
1340
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1341
|
-
value: input3.origin
|
|
1342
|
-
})].every((flag) => flag);
|
|
1343
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1344
|
-
path: _path2 + ".dt",
|
|
1345
|
-
expected: "2",
|
|
1346
|
-
value: input3.dt
|
|
1347
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1348
|
-
path: _path2 + ".mclassLst",
|
|
1349
|
-
expected: "Array<FusionRNAClasses>",
|
|
1350
|
-
value: input3.mclassLst
|
|
1351
|
-
})) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1352
|
-
path: _path2 + ".mclassLst[" + _index28 + "]",
|
|
1353
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1354
|
-
value: elem
|
|
1355
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1356
|
-
path: _path2 + ".mclassLst",
|
|
1357
|
-
expected: "Array<FusionRNAClasses>",
|
|
1358
|
-
value: input3.mclassLst
|
|
1359
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1360
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1361
|
-
expected: "Array<FusionRNAClasses>",
|
|
1362
|
-
value: input3.mclassExcludeLst
|
|
1363
|
-
})) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1364
|
-
path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
|
|
1365
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1366
|
-
value: elem
|
|
1367
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1368
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1369
|
-
expected: "Array<FusionRNAClasses>",
|
|
1370
|
-
value: input3.mclassExcludeLst
|
|
1371
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1372
|
-
path: _path2 + ".origin",
|
|
1373
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1374
|
-
value: input3.origin
|
|
1245
|
+
value: input3.value
|
|
1375
1246
|
})].every((flag) => flag);
|
|
1376
1247
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1377
|
-
if (
|
|
1248
|
+
if ("tvslst" === input3.type)
|
|
1378
1249
|
return $vo3(input3, _path2, _exceptionable2);
|
|
1379
|
-
if (
|
|
1380
|
-
return $
|
|
1381
|
-
return $
|
|
1250
|
+
if ("tvs" === input3.type)
|
|
1251
|
+
return $vo4(input3, _path2, _exceptionable2);
|
|
1252
|
+
return $report(_exceptionable2, {
|
|
1253
|
+
path: _path2,
|
|
1254
|
+
expected: "(Filter | __type.o2)",
|
|
1255
|
+
value: input3
|
|
1256
|
+
});
|
|
1382
1257
|
})();
|
|
1383
1258
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1384
1259
|
if ("string" === typeof input3.type)
|
|
1385
|
-
return $
|
|
1260
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1386
1261
|
if ("filter" === input3.type)
|
|
1387
|
-
return $
|
|
1262
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1388
1263
|
return $report(_exceptionable2, {
|
|
1389
1264
|
path: _path2,
|
|
1390
1265
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1393,36 +1268,26 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1393
1268
|
})();
|
|
1394
1269
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1395
1270
|
if (true === input3.startunbounded)
|
|
1396
|
-
return $
|
|
1271
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1397
1272
|
if (true === input3.stopunbounded)
|
|
1398
|
-
return $
|
|
1399
|
-
return $
|
|
1273
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1274
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1400
1275
|
})();
|
|
1401
1276
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1402
|
-
if (
|
|
1403
|
-
return $
|
|
1404
|
-
|
|
1405
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
1406
|
-
if (4 === input3.dt)
|
|
1407
|
-
return $vo32(input3, _path2, _exceptionable2);
|
|
1408
|
-
if (1 === input3.dt)
|
|
1409
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
1410
|
-
return $report(_exceptionable2, {
|
|
1411
|
-
path: _path2,
|
|
1412
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
1413
|
-
value: input3
|
|
1414
|
-
});
|
|
1277
|
+
if (void 0 !== input3.ranges)
|
|
1278
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1279
|
+
return $vo5(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
1415
1280
|
})();
|
|
1416
1281
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1417
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1418
|
-
return $
|
|
1419
|
-
return $
|
|
1282
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index21) => "object" === typeof elem && null !== elem && $vo13(elem, _path2 + ".lst[" + _index21 + "]", false)).every((flag) => flag))
|
|
1283
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1284
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1420
1285
|
})();
|
|
1421
1286
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1422
1287
|
if ("regular-bin" === input3.type)
|
|
1423
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
1424
|
-
if ("custom-bin" === input3.type)
|
|
1425
1288
|
return $vo22(input3, _path2, _exceptionable2);
|
|
1289
|
+
if ("custom-bin" === input3.type)
|
|
1290
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
1426
1291
|
return $report(_exceptionable2, {
|
|
1427
1292
|
path: _path2,
|
|
1428
1293
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1431,9 +1296,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1431
1296
|
})();
|
|
1432
1297
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1433
1298
|
if (true === input3.startunbounded)
|
|
1434
|
-
return $
|
|
1299
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1435
1300
|
if (void 0 !== input3.start)
|
|
1436
|
-
return $
|
|
1301
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1437
1302
|
return $report(_exceptionable2, {
|
|
1438
1303
|
path: _path2,
|
|
1439
1304
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1442,26 +1307,15 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1442
1307
|
})();
|
|
1443
1308
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1444
1309
|
if (void 0 !== input3.stop)
|
|
1445
|
-
return $
|
|
1310
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1446
1311
|
if (true === input3.stopunbounded)
|
|
1447
|
-
return $
|
|
1312
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1448
1313
|
return $report(_exceptionable2, {
|
|
1449
1314
|
path: _path2,
|
|
1450
1315
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1451
1316
|
value: input3
|
|
1452
1317
|
});
|
|
1453
1318
|
})();
|
|
1454
|
-
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1455
|
-
if ("gene" === input3.kind)
|
|
1456
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1457
|
-
if ("coord" === input3.kind)
|
|
1458
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1459
|
-
return $report(_exceptionable2, {
|
|
1460
|
-
path: _path2,
|
|
1461
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
1462
|
-
value: input3
|
|
1463
|
-
});
|
|
1464
|
-
})();
|
|
1465
1319
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1466
1320
|
path: _path + "",
|
|
1467
1321
|
expected: "TermdbTopVariablyExpressedGenesRequest",
|