@sjcrh/proteinpaint-types 2.126.1 → 2.128.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-YOS2YTCE.js → chunk-24RS7HFO.js} +652 -770
- package/dist/{chunk-VSNV3MLV.js → chunk-6C4DMGK3.js} +408 -494
- package/dist/{chunk-DJCPG2RT.js → chunk-BMHL5ZZJ.js} +1216 -1436
- package/dist/{chunk-LVXO4MLR.js → chunk-CI6OEJNH.js} +744 -862
- package/dist/{chunk-NWEXA2YB.js → chunk-DJ5QE625.js} +22 -36
- package/dist/chunk-HUMZDPUU.js +322 -0
- package/dist/{chunk-5O422YU6.js → chunk-KHM52S5N.js} +408 -494
- package/dist/{chunk-GZCIY2WK.js → chunk-PX7P2A6A.js} +652 -770
- package/dist/{chunk-537XOM43.js → chunk-RP6RBKKL.js} +652 -770
- package/dist/{chunk-O4RAE6UJ.js → chunk-UXXLPWL2.js} +650 -768
- package/dist/{chunk-7IRM7OKB.js → chunk-WHO7HCNU.js} +408 -494
- package/dist/{chunk-BXPSDGWG.js → chunk-WK4CKVHY.js} +408 -494
- package/dist/{chunk-CJC7ZHSZ.js → chunk-WSL4JPUP.js} +417 -503
- package/dist/{chunk-2S4T3WUF.js → chunk-Y5BVEGR2.js} +1234 -1430
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +3 -3
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +16 -16
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/routes/gdc.grin2.ts +14 -7
- package/src/routes/genesetEnrichment.ts +40 -5
- package/src/terms/geneVariant.ts +4 -4
- package/src/terms/term.ts +2 -11
- package/dist/chunk-XZAH6P4D.js +0 -130
|
@@ -28,7 +28,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
28
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
29
|
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
30
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)) && (
|
|
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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
32
32
|
const $io7 = (input3) => Object.keys(input3).every((key) => {
|
|
33
33
|
const value = input3[key];
|
|
34
34
|
if (void 0 === value)
|
|
@@ -40,23 +40,17 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
40
40
|
return true;
|
|
41
41
|
});
|
|
42
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) =>
|
|
44
|
-
const $io10 = (input3) => Array.isArray(input3.
|
|
45
|
-
const $io11 = (input3) => "string" === typeof input3.
|
|
46
|
-
const $io12 = (input3) =>
|
|
47
|
-
const $io13 = (input3) =>
|
|
48
|
-
const $io14 = (input3) => "
|
|
49
|
-
const $io15 = (input3) => "string" === typeof input3.
|
|
50
|
-
const $io16 = (input3) => ("string" === typeof input3.
|
|
51
|
-
const $io17 = (input3) => "
|
|
52
|
-
const $io18 = (input3) => "object" === typeof input3.
|
|
53
|
-
const $io19 = (input3) =>
|
|
54
|
-
const $io20 = (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) && $io7(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io9(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
55
|
-
const $io21 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io22(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 && $io31(elem)));
|
|
56
|
-
const $io22 = (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 && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io30(input3.continuousColorScale));
|
|
57
|
-
const $io23 = (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);
|
|
58
|
-
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io25(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);
|
|
59
|
-
const $io25 = (input3) => Object.keys(input3).every((key) => {
|
|
43
|
+
const $io9 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)));
|
|
44
|
+
const $io10 = (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)));
|
|
45
|
+
const $io11 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io12(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
46
|
+
const $io12 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
48
|
+
const $io14 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
49
|
+
const $io15 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io16(input3.term)) && (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 && $io25(elem)));
|
|
50
|
+
const $io16 = (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)) && ("object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io24(input3.continuousColorScale));
|
|
51
|
+
const $io17 = (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);
|
|
52
|
+
const $io18 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(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);
|
|
53
|
+
const $io19 = (input3) => Object.keys(input3).every((key) => {
|
|
60
54
|
const value = input3[key];
|
|
61
55
|
if (void 0 === value)
|
|
62
56
|
return true;
|
|
@@ -64,17 +58,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
64
58
|
return "number" === typeof value;
|
|
65
59
|
return true;
|
|
66
60
|
});
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
61
|
+
const $io20 = (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);
|
|
62
|
+
const $io21 = (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);
|
|
63
|
+
const $io22 = (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);
|
|
64
|
+
const $io23 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(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);
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
66
|
+
const $io25 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
67
|
+
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io27(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 && $io28(elem)));
|
|
68
|
+
const $io27 = (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));
|
|
69
|
+
const $io28 = (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;
|
|
70
|
+
const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
71
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu8(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values));
|
|
72
|
+
const $io31 = (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) && $io7(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
73
|
+
const $io32 = (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) && $io7(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
78
75
|
const $iu0 = (input3) => (() => {
|
|
79
76
|
if ("tvslst" === input3.type)
|
|
80
77
|
return $io3(input3);
|
|
@@ -84,62 +81,62 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
84
81
|
})();
|
|
85
82
|
const $iu1 = (input3) => (() => {
|
|
86
83
|
if ("string" === typeof input3.type)
|
|
87
|
-
return $
|
|
84
|
+
return $io11(input3);
|
|
88
85
|
if ("filter" === input3.type)
|
|
89
|
-
return $
|
|
86
|
+
return $io13(input3);
|
|
90
87
|
return false;
|
|
91
88
|
})();
|
|
92
89
|
const $iu2 = (input3) => (() => {
|
|
93
90
|
if (true === input3.startunbounded)
|
|
94
|
-
return $
|
|
91
|
+
return $io20(input3);
|
|
95
92
|
if (true === input3.stopunbounded)
|
|
96
|
-
return $
|
|
97
|
-
return $
|
|
93
|
+
return $io22(input3);
|
|
94
|
+
return $io21(input3);
|
|
98
95
|
})();
|
|
99
96
|
const $iu3 = (input3) => (() => {
|
|
100
97
|
if (void 0 !== input3.ranges)
|
|
101
|
-
return $
|
|
98
|
+
return $io15(input3);
|
|
102
99
|
return (() => {
|
|
103
100
|
if ($io5(input3))
|
|
104
101
|
return $io5(input3);
|
|
105
|
-
if ($
|
|
106
|
-
return $
|
|
107
|
-
if ($
|
|
108
|
-
return $
|
|
102
|
+
if ($io26(input3))
|
|
103
|
+
return $io26(input3);
|
|
104
|
+
if ($io29(input3))
|
|
105
|
+
return $io29(input3);
|
|
109
106
|
return false;
|
|
110
107
|
})();
|
|
111
108
|
})();
|
|
112
109
|
const $iu4 = (input3) => (() => {
|
|
113
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
114
|
-
return $
|
|
115
|
-
return $
|
|
110
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)))
|
|
111
|
+
return $io9(input3);
|
|
112
|
+
return $io14(input3);
|
|
116
113
|
})();
|
|
117
114
|
const $iu5 = (input3) => (() => {
|
|
118
|
-
if ("gene" === input3.kind)
|
|
119
|
-
return $io12(input3);
|
|
120
|
-
if ("coord" === input3.kind)
|
|
121
|
-
return $io20(input3);
|
|
122
|
-
return false;
|
|
123
|
-
})();
|
|
124
|
-
const $iu6 = (input3) => (() => {
|
|
125
115
|
if ("regular-bin" === input3.type)
|
|
126
|
-
return $
|
|
116
|
+
return $io18(input3);
|
|
127
117
|
if ("custom-bin" === input3.type)
|
|
128
|
-
return $
|
|
118
|
+
return $io23(input3);
|
|
129
119
|
return false;
|
|
130
120
|
})();
|
|
131
|
-
const $
|
|
121
|
+
const $iu6 = (input3) => (() => {
|
|
132
122
|
if (true === input3.startunbounded)
|
|
133
|
-
return $
|
|
123
|
+
return $io20(input3);
|
|
134
124
|
if (void 0 !== input3.start)
|
|
135
|
-
return $
|
|
125
|
+
return $io21(input3);
|
|
136
126
|
return false;
|
|
137
127
|
})();
|
|
138
|
-
const $
|
|
128
|
+
const $iu7 = (input3) => (() => {
|
|
139
129
|
if (void 0 !== input3.stop)
|
|
140
|
-
return $
|
|
130
|
+
return $io21(input3);
|
|
141
131
|
if (true === input3.stopunbounded)
|
|
142
|
-
return $
|
|
132
|
+
return $io22(input3);
|
|
133
|
+
return false;
|
|
134
|
+
})();
|
|
135
|
+
const $iu8 = (input3) => (() => {
|
|
136
|
+
if ("gene" === input3.kind)
|
|
137
|
+
return $io31(input3);
|
|
138
|
+
if ("coord" === input3.kind)
|
|
139
|
+
return $io32(input3);
|
|
143
140
|
return false;
|
|
144
141
|
})();
|
|
145
142
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -358,21 +355,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
358
355
|
path: _path2 + ".values",
|
|
359
356
|
expected: "(TermValues | undefined)",
|
|
360
357
|
value: input3.values
|
|
361
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
362
|
-
path: _path2 + ".filter",
|
|
363
|
-
expected: "(TermFilter | undefined)",
|
|
364
|
-
value: input3.filter
|
|
365
|
-
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
366
|
-
path: _path2 + ".filter",
|
|
367
|
-
expected: "(TermFilter | undefined)",
|
|
368
|
-
value: input3.filter
|
|
369
358
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
370
359
|
path: _path2 + ".groupsetting",
|
|
371
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
360
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
372
361
|
value: input3.groupsetting
|
|
373
362
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
374
363
|
path: _path2 + ".groupsetting",
|
|
375
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
364
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
376
365
|
value: input3.groupsetting
|
|
377
366
|
})].every((flag) => flag);
|
|
378
367
|
const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -434,183 +423,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
434
423
|
expected: "(Filter | undefined)",
|
|
435
424
|
value: input3.filter
|
|
436
425
|
})].every((flag) => flag);
|
|
437
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => [
|
|
438
|
-
path: _path2 + ".opts",
|
|
439
|
-
expected: "__type.o3",
|
|
440
|
-
value: input3.opts
|
|
441
|
-
})) && $vo10(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
442
|
-
path: _path2 + ".opts",
|
|
443
|
-
expected: "__type.o3",
|
|
444
|
-
value: input3.opts
|
|
445
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
446
|
-
path: _path2 + ".terms",
|
|
447
|
-
expected: "Array<DtTerm>",
|
|
448
|
-
value: input3.terms
|
|
449
|
-
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
450
|
-
path: _path2 + ".terms[" + _index6 + "]",
|
|
451
|
-
expected: "DtTerm",
|
|
452
|
-
value: elem
|
|
453
|
-
})) && $vo11(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
454
|
-
path: _path2 + ".terms[" + _index6 + "]",
|
|
455
|
-
expected: "DtTerm",
|
|
456
|
-
value: elem
|
|
457
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
458
|
-
path: _path2 + ".terms",
|
|
459
|
-
expected: "Array<DtTerm>",
|
|
460
|
-
value: input3.terms
|
|
461
|
-
})].every((flag) => flag);
|
|
462
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
463
|
-
path: _path2 + ".joinWith",
|
|
464
|
-
expected: "Array<string>",
|
|
465
|
-
value: input3.joinWith
|
|
466
|
-
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
467
|
-
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
468
|
-
expected: "string",
|
|
469
|
-
value: elem
|
|
470
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
471
|
-
path: _path2 + ".joinWith",
|
|
472
|
-
expected: "Array<string>",
|
|
473
|
-
value: input3.joinWith
|
|
474
|
-
})].every((flag) => flag);
|
|
475
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
476
|
-
path: _path2 + ".id",
|
|
477
|
-
expected: "string",
|
|
478
|
-
value: input3.id
|
|
479
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
480
|
-
path: _path2 + ".query",
|
|
481
|
-
expected: "string",
|
|
482
|
-
value: input3.query
|
|
483
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
484
|
-
path: _path2 + ".name",
|
|
485
|
-
expected: "string",
|
|
486
|
-
value: input3.name
|
|
487
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
488
|
-
path: _path2 + ".name_noOrigin",
|
|
489
|
-
expected: "string",
|
|
490
|
-
value: input3.name_noOrigin
|
|
491
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
492
|
-
path: _path2 + ".geneVariantTerm",
|
|
493
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
494
|
-
value: input3.geneVariantTerm
|
|
495
|
-
})) && $vu5(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
496
|
-
path: _path2 + ".geneVariantTerm",
|
|
497
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
498
|
-
value: input3.geneVariantTerm
|
|
499
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
500
|
-
path: _path2 + ".isleaf",
|
|
501
|
-
expected: "boolean",
|
|
502
|
-
value: input3.isleaf
|
|
503
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
504
|
-
path: _path2 + ".type",
|
|
505
|
-
expected: "string",
|
|
506
|
-
value: input3.type
|
|
507
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
508
|
-
path: _path2 + ".dt",
|
|
509
|
-
expected: "number",
|
|
510
|
-
value: input3.dt
|
|
511
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
512
|
-
path: _path2 + ".origin",
|
|
513
|
-
expected: "(string | undefined)",
|
|
514
|
-
value: input3.origin
|
|
515
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
516
|
-
path: _path2 + ".values",
|
|
517
|
-
expected: "TermValues",
|
|
518
|
-
value: input3.values
|
|
519
|
-
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
520
|
-
path: _path2 + ".values",
|
|
521
|
-
expected: "TermValues",
|
|
522
|
-
value: input3.values
|
|
523
|
-
})].every((flag) => flag);
|
|
524
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
525
|
-
path: _path2 + ".id",
|
|
526
|
-
expected: "string",
|
|
527
|
-
value: input3.id
|
|
528
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
529
|
-
path: _path2 + ".name",
|
|
530
|
-
expected: "string",
|
|
531
|
-
value: input3.name
|
|
532
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
533
|
-
path: _path2 + ".type",
|
|
534
|
-
expected: '"geneVariant"',
|
|
535
|
-
value: input3.type
|
|
536
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
537
|
-
path: _path2 + ".child_types",
|
|
538
|
-
expected: "(Array<string> | undefined)",
|
|
539
|
-
value: input3.child_types
|
|
540
|
-
})) && input3.child_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
541
|
-
path: _path2 + ".child_types[" + _index8 + "]",
|
|
542
|
-
expected: "string",
|
|
543
|
-
value: elem
|
|
544
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
545
|
-
path: _path2 + ".child_types",
|
|
546
|
-
expected: "(Array<string> | undefined)",
|
|
547
|
-
value: input3.child_types
|
|
548
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
549
|
-
path: _path2 + ".hashtmldetail",
|
|
550
|
-
expected: "(boolean | undefined)",
|
|
551
|
-
value: input3.hashtmldetail
|
|
552
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
553
|
-
path: _path2 + ".included_types",
|
|
554
|
-
expected: "(Array<string> | undefined)",
|
|
555
|
-
value: input3.included_types
|
|
556
|
-
})) && input3.included_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
557
|
-
path: _path2 + ".included_types[" + _index9 + "]",
|
|
558
|
-
expected: "string",
|
|
559
|
-
value: elem
|
|
560
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
561
|
-
path: _path2 + ".included_types",
|
|
562
|
-
expected: "(Array<string> | undefined)",
|
|
563
|
-
value: input3.included_types
|
|
564
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
565
|
-
path: _path2 + ".isleaf",
|
|
566
|
-
expected: "(boolean | undefined)",
|
|
567
|
-
value: input3.isleaf
|
|
568
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
569
|
-
path: _path2 + ".values",
|
|
570
|
-
expected: "(TermValues | undefined)",
|
|
571
|
-
value: input3.values
|
|
572
|
-
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
573
|
-
path: _path2 + ".values",
|
|
574
|
-
expected: "(TermValues | undefined)",
|
|
575
|
-
value: input3.values
|
|
576
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
577
|
-
path: _path2 + ".filter",
|
|
578
|
-
expected: "(TermFilter | undefined)",
|
|
579
|
-
value: input3.filter
|
|
580
|
-
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
581
|
-
path: _path2 + ".filter",
|
|
582
|
-
expected: "(TermFilter | undefined)",
|
|
583
|
-
value: input3.filter
|
|
584
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
585
|
-
path: _path2 + ".kind",
|
|
586
|
-
expected: '"gene"',
|
|
587
|
-
value: input3.kind
|
|
588
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
589
|
-
path: _path2 + ".gene",
|
|
590
|
-
expected: "string",
|
|
591
|
-
value: input3.gene
|
|
592
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
593
|
-
path: _path2 + ".chr",
|
|
594
|
-
expected: "(string | undefined)",
|
|
595
|
-
value: input3.chr
|
|
596
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
597
|
-
path: _path2 + ".start",
|
|
598
|
-
expected: "(number | undefined)",
|
|
599
|
-
value: input3.start
|
|
600
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
601
|
-
path: _path2 + ".stop",
|
|
602
|
-
expected: "(number | undefined)",
|
|
603
|
-
value: input3.stop
|
|
604
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
605
|
-
path: _path2 + ".groupsetting",
|
|
606
|
-
expected: "(EnabledTermGroupSetting | __type.o5 | undefined)",
|
|
607
|
-
value: input3.groupsetting
|
|
608
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
609
|
-
path: _path2 + ".groupsetting",
|
|
610
|
-
expected: "(EnabledTermGroupSetting | __type.o5 | undefined)",
|
|
611
|
-
value: input3.groupsetting
|
|
612
|
-
})].every((flag) => flag);
|
|
613
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
426
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
614
427
|
path: _path2 + ".disabled",
|
|
615
428
|
expected: "(boolean | undefined)",
|
|
616
429
|
value: input3.disabled
|
|
@@ -618,12 +431,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
618
431
|
path: _path2 + ".lst",
|
|
619
432
|
expected: "Array<Groupset>",
|
|
620
433
|
value: input3.lst
|
|
621
|
-
})) && input3.lst.map((elem,
|
|
622
|
-
path: _path2 + ".lst[" +
|
|
434
|
+
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
435
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
623
436
|
expected: "Groupset",
|
|
624
437
|
value: elem
|
|
625
|
-
})) && $
|
|
626
|
-
path: _path2 + ".lst[" +
|
|
438
|
+
})) && $vo10(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
439
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
627
440
|
expected: "Groupset",
|
|
628
441
|
value: elem
|
|
629
442
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -631,7 +444,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
631
444
|
expected: "Array<Groupset>",
|
|
632
445
|
value: input3.lst
|
|
633
446
|
})].every((flag) => flag);
|
|
634
|
-
const $
|
|
447
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
635
448
|
path: _path2 + ".name",
|
|
636
449
|
expected: "string",
|
|
637
450
|
value: input3.name
|
|
@@ -651,12 +464,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
651
464
|
path: _path2 + ".groups",
|
|
652
465
|
expected: "Array<GroupEntry>",
|
|
653
466
|
value: input3.groups
|
|
654
|
-
})) && input3.groups.map((elem,
|
|
655
|
-
path: _path2 + ".groups[" +
|
|
467
|
+
})) && input3.groups.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
468
|
+
path: _path2 + ".groups[" + _index7 + "]",
|
|
656
469
|
expected: "(FilterGroup | ValuesGroup)",
|
|
657
470
|
value: elem
|
|
658
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
659
|
-
path: _path2 + ".groups[" +
|
|
471
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
472
|
+
path: _path2 + ".groups[" + _index7 + "]",
|
|
660
473
|
expected: "(FilterGroup | ValuesGroup)",
|
|
661
474
|
value: elem
|
|
662
475
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -664,7 +477,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
664
477
|
expected: "Array<GroupEntry>",
|
|
665
478
|
value: input3.groups
|
|
666
479
|
})].every((flag) => flag);
|
|
667
|
-
const $
|
|
480
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
668
481
|
path: _path2 + ".name",
|
|
669
482
|
expected: "string",
|
|
670
483
|
value: input3.name
|
|
@@ -676,13 +489,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
676
489
|
path: _path2 + ".values",
|
|
677
490
|
expected: "Array<__type>",
|
|
678
491
|
value: input3.values
|
|
679
|
-
})) && input3.values.map((elem,
|
|
680
|
-
path: _path2 + ".values[" +
|
|
681
|
-
expected: "__type.
|
|
492
|
+
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
493
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
494
|
+
expected: "__type.o3",
|
|
682
495
|
value: elem
|
|
683
|
-
})) && $
|
|
684
|
-
path: _path2 + ".values[" +
|
|
685
|
-
expected: "__type.
|
|
496
|
+
})) && $vo12(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
497
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
498
|
+
expected: "__type.o3",
|
|
686
499
|
value: elem
|
|
687
500
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
688
501
|
path: _path2 + ".values",
|
|
@@ -693,7 +506,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
693
506
|
expected: "(boolean | undefined)",
|
|
694
507
|
value: input3.uncomputable
|
|
695
508
|
})].every((flag) => flag);
|
|
696
|
-
const $
|
|
509
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
697
510
|
path: _path2 + ".key",
|
|
698
511
|
expected: "(number | string)",
|
|
699
512
|
value: input3.key
|
|
@@ -702,7 +515,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
702
515
|
expected: "string",
|
|
703
516
|
value: input3.label
|
|
704
517
|
})].every((flag) => flag);
|
|
705
|
-
const $
|
|
518
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
706
519
|
path: _path2 + ".name",
|
|
707
520
|
expected: "string",
|
|
708
521
|
value: input3.name
|
|
@@ -712,55 +525,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
712
525
|
value: input3.type
|
|
713
526
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
714
527
|
path: _path2 + ".filter",
|
|
715
|
-
expected: "
|
|
528
|
+
expected: "Filter",
|
|
716
529
|
value: input3.filter
|
|
717
|
-
})) && $
|
|
530
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
718
531
|
path: _path2 + ".filter",
|
|
719
|
-
expected: "
|
|
532
|
+
expected: "Filter",
|
|
720
533
|
value: input3.filter
|
|
721
534
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
722
535
|
path: _path2 + ".uncomputable",
|
|
723
536
|
expected: "boolean",
|
|
724
537
|
value: input3.uncomputable
|
|
725
538
|
})].every((flag) => flag);
|
|
726
|
-
const $
|
|
727
|
-
path: _path2 + ".opts",
|
|
728
|
-
expected: "__type.o3",
|
|
729
|
-
value: input3.opts
|
|
730
|
-
})) && $vo10(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
731
|
-
path: _path2 + ".opts",
|
|
732
|
-
expected: "__type.o3",
|
|
733
|
-
value: input3.opts
|
|
734
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
735
|
-
path: _path2 + ".terms",
|
|
736
|
-
expected: "Array<DtTerm>",
|
|
737
|
-
value: input3.terms
|
|
738
|
-
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
739
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
740
|
-
expected: "DtTerm",
|
|
741
|
-
value: elem
|
|
742
|
-
})) && $vo11(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
743
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
744
|
-
expected: "DtTerm",
|
|
745
|
-
value: elem
|
|
746
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
747
|
-
path: _path2 + ".terms",
|
|
748
|
-
expected: "Array<DtTerm>",
|
|
749
|
-
value: input3.terms
|
|
750
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
751
|
-
path: _path2 + ".active",
|
|
752
|
-
expected: "Filter",
|
|
753
|
-
value: input3.active
|
|
754
|
-
})) && $vo3(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
755
|
-
path: _path2 + ".active",
|
|
756
|
-
expected: "Filter",
|
|
757
|
-
value: input3.active
|
|
758
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
759
|
-
path: _path2 + ".group",
|
|
760
|
-
expected: "number",
|
|
761
|
-
value: input3.group
|
|
762
|
-
})].every((flag) => flag);
|
|
763
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
539
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
764
540
|
path: _path2 + ".disabled",
|
|
765
541
|
expected: "boolean",
|
|
766
542
|
value: input3.disabled
|
|
@@ -777,92 +553,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
777
553
|
expected: "([] | undefined)",
|
|
778
554
|
value: input3.lst
|
|
779
555
|
})].every((flag) => flag);
|
|
780
|
-
const $
|
|
781
|
-
path: _path2 + ".id",
|
|
782
|
-
expected: "string",
|
|
783
|
-
value: input3.id
|
|
784
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
785
|
-
path: _path2 + ".name",
|
|
786
|
-
expected: "string",
|
|
787
|
-
value: input3.name
|
|
788
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
789
|
-
path: _path2 + ".type",
|
|
790
|
-
expected: '"geneVariant"',
|
|
791
|
-
value: input3.type
|
|
792
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
793
|
-
path: _path2 + ".child_types",
|
|
794
|
-
expected: "(Array<string> | undefined)",
|
|
795
|
-
value: input3.child_types
|
|
796
|
-
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
797
|
-
path: _path2 + ".child_types[" + _index14 + "]",
|
|
798
|
-
expected: "string",
|
|
799
|
-
value: elem
|
|
800
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
801
|
-
path: _path2 + ".child_types",
|
|
802
|
-
expected: "(Array<string> | undefined)",
|
|
803
|
-
value: input3.child_types
|
|
804
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
805
|
-
path: _path2 + ".hashtmldetail",
|
|
806
|
-
expected: "(boolean | undefined)",
|
|
807
|
-
value: input3.hashtmldetail
|
|
808
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
809
|
-
path: _path2 + ".included_types",
|
|
810
|
-
expected: "(Array<string> | undefined)",
|
|
811
|
-
value: input3.included_types
|
|
812
|
-
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
813
|
-
path: _path2 + ".included_types[" + _index15 + "]",
|
|
814
|
-
expected: "string",
|
|
815
|
-
value: elem
|
|
816
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
817
|
-
path: _path2 + ".included_types",
|
|
818
|
-
expected: "(Array<string> | undefined)",
|
|
819
|
-
value: input3.included_types
|
|
820
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
821
|
-
path: _path2 + ".isleaf",
|
|
822
|
-
expected: "(boolean | undefined)",
|
|
823
|
-
value: input3.isleaf
|
|
824
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
825
|
-
path: _path2 + ".values",
|
|
826
|
-
expected: "(TermValues | undefined)",
|
|
827
|
-
value: input3.values
|
|
828
|
-
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
829
|
-
path: _path2 + ".values",
|
|
830
|
-
expected: "(TermValues | undefined)",
|
|
831
|
-
value: input3.values
|
|
832
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
833
|
-
path: _path2 + ".filter",
|
|
834
|
-
expected: "(TermFilter | undefined)",
|
|
835
|
-
value: input3.filter
|
|
836
|
-
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
837
|
-
path: _path2 + ".filter",
|
|
838
|
-
expected: "(TermFilter | undefined)",
|
|
839
|
-
value: input3.filter
|
|
840
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
841
|
-
path: _path2 + ".kind",
|
|
842
|
-
expected: '"coord"',
|
|
843
|
-
value: input3.kind
|
|
844
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
845
|
-
path: _path2 + ".chr",
|
|
846
|
-
expected: "string",
|
|
847
|
-
value: input3.chr
|
|
848
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
849
|
-
path: _path2 + ".start",
|
|
850
|
-
expected: "number",
|
|
851
|
-
value: input3.start
|
|
852
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
853
|
-
path: _path2 + ".stop",
|
|
854
|
-
expected: "number",
|
|
855
|
-
value: input3.stop
|
|
856
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
857
|
-
path: _path2 + ".groupsetting",
|
|
858
|
-
expected: "(EnabledTermGroupSetting | __type.o5 | undefined)",
|
|
859
|
-
value: input3.groupsetting
|
|
860
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
861
|
-
path: _path2 + ".groupsetting",
|
|
862
|
-
expected: "(EnabledTermGroupSetting | __type.o5 | undefined)",
|
|
863
|
-
value: input3.groupsetting
|
|
864
|
-
})].every((flag) => flag);
|
|
865
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
556
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
866
557
|
path: _path2 + ".join",
|
|
867
558
|
expected: "(string | undefined)",
|
|
868
559
|
value: input3.join
|
|
@@ -874,7 +565,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
874
565
|
path: _path2 + ".term",
|
|
875
566
|
expected: "NumericTerm",
|
|
876
567
|
value: input3.term
|
|
877
|
-
})) && $
|
|
568
|
+
})) && $vo16(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
878
569
|
path: _path2 + ".term",
|
|
879
570
|
expected: "NumericTerm",
|
|
880
571
|
value: input3.term
|
|
@@ -882,12 +573,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
882
573
|
path: _path2 + ".ranges",
|
|
883
574
|
expected: "Array<NumericBin>",
|
|
884
575
|
value: input3.ranges
|
|
885
|
-
})) && input3.ranges.map((elem,
|
|
886
|
-
path: _path2 + ".ranges[" +
|
|
576
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
577
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
887
578
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
888
579
|
value: elem
|
|
889
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
890
|
-
path: _path2 + ".ranges[" +
|
|
580
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
581
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
891
582
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
892
583
|
value: elem
|
|
893
584
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -898,20 +589,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
898
589
|
path: _path2 + ".values",
|
|
899
590
|
expected: "Array<__type>.o1",
|
|
900
591
|
value: input3.values
|
|
901
|
-
})) && input3.values.map((elem,
|
|
902
|
-
path: _path2 + ".values[" +
|
|
903
|
-
expected: "__type.
|
|
592
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
593
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
594
|
+
expected: "__type.o6",
|
|
904
595
|
value: elem
|
|
905
|
-
})) && $
|
|
906
|
-
path: _path2 + ".values[" +
|
|
907
|
-
expected: "__type.
|
|
596
|
+
})) && $vo25(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
597
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
598
|
+
expected: "__type.o6",
|
|
908
599
|
value: elem
|
|
909
600
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
910
601
|
path: _path2 + ".values",
|
|
911
602
|
expected: "Array<__type>.o1",
|
|
912
603
|
value: input3.values
|
|
913
604
|
})].every((flag) => flag);
|
|
914
|
-
const $
|
|
605
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
915
606
|
path: _path2 + ".id",
|
|
916
607
|
expected: "string",
|
|
917
608
|
value: input3.id
|
|
@@ -927,8 +618,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
927
618
|
path: _path2 + ".child_types",
|
|
928
619
|
expected: "(Array<string> | undefined)",
|
|
929
620
|
value: input3.child_types
|
|
930
|
-
})) && input3.child_types.map((elem,
|
|
931
|
-
path: _path2 + ".child_types[" +
|
|
621
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
622
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
932
623
|
expected: "string",
|
|
933
624
|
value: elem
|
|
934
625
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -943,8 +634,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
943
634
|
path: _path2 + ".included_types",
|
|
944
635
|
expected: "(Array<string> | undefined)",
|
|
945
636
|
value: input3.included_types
|
|
946
|
-
})) && input3.included_types.map((elem,
|
|
947
|
-
path: _path2 + ".included_types[" +
|
|
637
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
948
639
|
expected: "string",
|
|
949
640
|
value: elem
|
|
950
641
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -963,19 +654,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
963
654
|
path: _path2 + ".values",
|
|
964
655
|
expected: "(TermValues | undefined)",
|
|
965
656
|
value: input3.values
|
|
966
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
967
|
-
path: _path2 + ".filter",
|
|
968
|
-
expected: "(TermFilter | undefined)",
|
|
969
|
-
value: input3.filter
|
|
970
|
-
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
971
|
-
path: _path2 + ".filter",
|
|
972
|
-
expected: "(TermFilter | undefined)",
|
|
973
|
-
value: input3.filter
|
|
974
657
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
975
658
|
path: _path2 + ".bins",
|
|
976
659
|
expected: "PresetNumericBins",
|
|
977
660
|
value: input3.bins
|
|
978
|
-
})) && $
|
|
661
|
+
})) && $vo17(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
979
662
|
path: _path2 + ".bins",
|
|
980
663
|
expected: "PresetNumericBins",
|
|
981
664
|
value: input3.bins
|
|
@@ -985,18 +668,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
985
668
|
value: input3.unit
|
|
986
669
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
987
670
|
path: _path2 + ".continuousColorScale",
|
|
988
|
-
expected: "(__type.
|
|
671
|
+
expected: "(__type.o5 | undefined)",
|
|
989
672
|
value: input3.continuousColorScale
|
|
990
|
-
})) && $
|
|
673
|
+
})) && $vo24(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
991
674
|
path: _path2 + ".continuousColorScale",
|
|
992
|
-
expected: "(__type.
|
|
675
|
+
expected: "(__type.o5 | undefined)",
|
|
993
676
|
value: input3.continuousColorScale
|
|
994
677
|
})].every((flag) => flag);
|
|
995
|
-
const $
|
|
678
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
996
679
|
path: _path2 + '["default"]',
|
|
997
680
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
998
681
|
value: input3["default"]
|
|
999
|
-
})) && $
|
|
682
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1000
683
|
path: _path2 + '["default"]',
|
|
1001
684
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1002
685
|
value: input3["default"]
|
|
@@ -1004,7 +687,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1004
687
|
path: _path2 + ".less",
|
|
1005
688
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1006
689
|
value: input3.less
|
|
1007
|
-
})) && $
|
|
690
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1008
691
|
path: _path2 + ".less",
|
|
1009
692
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1010
693
|
value: input3.less
|
|
@@ -1029,11 +712,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1029
712
|
expected: "(number | undefined)",
|
|
1030
713
|
value: input3.max
|
|
1031
714
|
})].every((flag) => flag);
|
|
1032
|
-
const $
|
|
715
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1033
716
|
path: _path2 + ".hiddenValues",
|
|
1034
717
|
expected: "(HiddenValues | undefined)",
|
|
1035
718
|
value: input3.hiddenValues
|
|
1036
|
-
})) && $
|
|
719
|
+
})) && $vo19(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1037
720
|
path: _path2 + ".hiddenValues",
|
|
1038
721
|
expected: "(HiddenValues | undefined)",
|
|
1039
722
|
value: input3.hiddenValues
|
|
@@ -1065,7 +748,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1065
748
|
path: _path2 + ".first_bin",
|
|
1066
749
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1067
750
|
value: input3.first_bin
|
|
1068
|
-
})) && $
|
|
751
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1069
752
|
path: _path2 + ".first_bin",
|
|
1070
753
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1071
754
|
value: input3.first_bin
|
|
@@ -1073,7 +756,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1073
756
|
path: _path2 + ".last_bin",
|
|
1074
757
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1075
758
|
value: input3.last_bin
|
|
1076
|
-
})) && $
|
|
759
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1077
760
|
path: _path2 + ".last_bin",
|
|
1078
761
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1079
762
|
value: input3.last_bin
|
|
@@ -1082,7 +765,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1082
765
|
expected: "(number | undefined)",
|
|
1083
766
|
value: input3.label_offset
|
|
1084
767
|
})].every((flag) => flag);
|
|
1085
|
-
const $
|
|
768
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1086
769
|
const value = input3[key];
|
|
1087
770
|
if (void 0 === value)
|
|
1088
771
|
return true;
|
|
@@ -1094,7 +777,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1094
777
|
});
|
|
1095
778
|
return true;
|
|
1096
779
|
}).every((flag) => flag)].every((flag) => flag);
|
|
1097
|
-
const $
|
|
780
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1098
781
|
path: _path2 + ".startunbounded",
|
|
1099
782
|
expected: "true",
|
|
1100
783
|
value: input3.startunbounded
|
|
@@ -1119,7 +802,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1119
802
|
expected: "(string | undefined)",
|
|
1120
803
|
value: input3.label
|
|
1121
804
|
})].every((flag) => flag);
|
|
1122
|
-
const $
|
|
805
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1123
806
|
path: _path2 + ".startunbounded",
|
|
1124
807
|
expected: "(false | undefined)",
|
|
1125
808
|
value: input3.startunbounded
|
|
@@ -1148,7 +831,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1148
831
|
expected: "(string | undefined)",
|
|
1149
832
|
value: input3.label
|
|
1150
833
|
})].every((flag) => flag);
|
|
1151
|
-
const $
|
|
834
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1152
835
|
path: _path2 + ".start",
|
|
1153
836
|
expected: "number",
|
|
1154
837
|
value: input3.start
|
|
@@ -1173,11 +856,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1173
856
|
expected: "(string | undefined)",
|
|
1174
857
|
value: input3.label
|
|
1175
858
|
})].every((flag) => flag);
|
|
1176
|
-
const $
|
|
859
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1177
860
|
path: _path2 + ".hiddenValues",
|
|
1178
861
|
expected: "(HiddenValues | undefined)",
|
|
1179
862
|
value: input3.hiddenValues
|
|
1180
|
-
})) && $
|
|
863
|
+
})) && $vo19(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1181
864
|
path: _path2 + ".hiddenValues",
|
|
1182
865
|
expected: "(HiddenValues | undefined)",
|
|
1183
866
|
value: input3.hiddenValues
|
|
@@ -1219,12 +902,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1219
902
|
path: _path2 + ".lst",
|
|
1220
903
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1221
904
|
value: input3.lst.slice(1)
|
|
1222
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1223
|
-
path: _path2 + ".lst[" + (1 +
|
|
905
|
+
})) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
906
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1224
907
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1225
908
|
value: elem
|
|
1226
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1227
|
-
path: _path2 + ".lst[" + (1 +
|
|
909
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
910
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1228
911
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1229
912
|
value: elem
|
|
1230
913
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1240,7 +923,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1240
923
|
expected: '("median" | undefined)',
|
|
1241
924
|
value: input3.preferredBins
|
|
1242
925
|
})].every((flag) => flag);
|
|
1243
|
-
const $
|
|
926
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1244
927
|
path: _path2 + ".minColor",
|
|
1245
928
|
expected: "string",
|
|
1246
929
|
value: input3.minColor
|
|
@@ -1249,7 +932,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1249
932
|
expected: "string",
|
|
1250
933
|
value: input3.maxColor
|
|
1251
934
|
})].every((flag) => flag);
|
|
1252
|
-
const $
|
|
935
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1253
936
|
path: _path2 + ".key",
|
|
1254
937
|
expected: "string",
|
|
1255
938
|
value: input3.key
|
|
@@ -1266,7 +949,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1266
949
|
expected: "(string | undefined)",
|
|
1267
950
|
value: input3.label
|
|
1268
951
|
})].every((flag) => flag);
|
|
1269
|
-
const $
|
|
952
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1270
953
|
path: _path2 + ".join",
|
|
1271
954
|
expected: "(string | undefined)",
|
|
1272
955
|
value: input3.join
|
|
@@ -1278,7 +961,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1278
961
|
path: _path2 + ".term",
|
|
1279
962
|
expected: "ConditionTerm",
|
|
1280
963
|
value: input3.term
|
|
1281
|
-
})) && $
|
|
964
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1282
965
|
path: _path2 + ".term",
|
|
1283
966
|
expected: "ConditionTerm",
|
|
1284
967
|
value: input3.term
|
|
@@ -1298,12 +981,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1298
981
|
path: _path2 + ".grade_and_child",
|
|
1299
982
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1300
983
|
value: input3.grade_and_child
|
|
1301
|
-
})) && input3.grade_and_child.map((elem,
|
|
1302
|
-
path: _path2 + ".grade_and_child[" +
|
|
984
|
+
})) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
985
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1303
986
|
expected: "GradeAndChildEntry",
|
|
1304
987
|
value: elem
|
|
1305
|
-
})) && $
|
|
1306
|
-
path: _path2 + ".grade_and_child[" +
|
|
988
|
+
})) && $vo28(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
989
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1307
990
|
expected: "GradeAndChildEntry",
|
|
1308
991
|
value: elem
|
|
1309
992
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1311,7 +994,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1311
994
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1312
995
|
value: input3.grade_and_child
|
|
1313
996
|
})].every((flag) => flag);
|
|
1314
|
-
const $
|
|
997
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1315
998
|
path: _path2 + ".id",
|
|
1316
999
|
expected: "string",
|
|
1317
1000
|
value: input3.id
|
|
@@ -1327,8 +1010,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1327
1010
|
path: _path2 + ".child_types",
|
|
1328
1011
|
expected: "(Array<string> | undefined)",
|
|
1329
1012
|
value: input3.child_types
|
|
1330
|
-
})) && input3.child_types.map((elem,
|
|
1331
|
-
path: _path2 + ".child_types[" +
|
|
1013
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1014
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1332
1015
|
expected: "string",
|
|
1333
1016
|
value: elem
|
|
1334
1017
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1343,8 +1026,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1343
1026
|
path: _path2 + ".included_types",
|
|
1344
1027
|
expected: "(Array<string> | undefined)",
|
|
1345
1028
|
value: input3.included_types
|
|
1346
|
-
})) && input3.included_types.map((elem,
|
|
1347
|
-
path: _path2 + ".included_types[" +
|
|
1029
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1030
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1348
1031
|
expected: "string",
|
|
1349
1032
|
value: elem
|
|
1350
1033
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1363,16 +1046,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1363
1046
|
path: _path2 + ".values",
|
|
1364
1047
|
expected: "(TermValues | undefined)",
|
|
1365
1048
|
value: input3.values
|
|
1366
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1367
|
-
path: _path2 + ".filter",
|
|
1368
|
-
expected: "(TermFilter | undefined)",
|
|
1369
|
-
value: input3.filter
|
|
1370
|
-
})) && $vo9(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1371
|
-
path: _path2 + ".filter",
|
|
1372
|
-
expected: "(TermFilter | undefined)",
|
|
1373
|
-
value: input3.filter
|
|
1374
1049
|
})].every((flag) => flag);
|
|
1375
|
-
const $
|
|
1050
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1376
1051
|
path: _path2 + ".grade",
|
|
1377
1052
|
expected: "number",
|
|
1378
1053
|
value: input3.grade
|
|
@@ -1389,7 +1064,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1389
1064
|
expected: "string",
|
|
1390
1065
|
value: input3.child_label
|
|
1391
1066
|
})].every((flag) => flag);
|
|
1392
|
-
const $
|
|
1067
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1393
1068
|
path: _path2 + ".join",
|
|
1394
1069
|
expected: "(string | undefined)",
|
|
1395
1070
|
value: input3.join
|
|
@@ -1401,7 +1076,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1401
1076
|
path: _path2 + ".term",
|
|
1402
1077
|
expected: "DtTerm",
|
|
1403
1078
|
value: input3.term
|
|
1404
|
-
})) && $
|
|
1079
|
+
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1405
1080
|
path: _path2 + ".term",
|
|
1406
1081
|
expected: "DtTerm",
|
|
1407
1082
|
value: input3.term
|
|
@@ -1409,20 +1084,259 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1409
1084
|
path: _path2 + ".values",
|
|
1410
1085
|
expected: "Array<__type>.o2",
|
|
1411
1086
|
value: input3.values
|
|
1412
|
-
})) && input3.values.map((elem,
|
|
1413
|
-
path: _path2 + ".values[" +
|
|
1414
|
-
expected: "__type.
|
|
1087
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1088
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1089
|
+
expected: "__type.o7",
|
|
1415
1090
|
value: elem
|
|
1416
|
-
})) && $
|
|
1417
|
-
path: _path2 + ".values[" +
|
|
1418
|
-
expected: "__type.
|
|
1091
|
+
})) && $vo33(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1092
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1093
|
+
expected: "__type.o7",
|
|
1419
1094
|
value: elem
|
|
1420
1095
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1421
1096
|
path: _path2 + ".values",
|
|
1422
1097
|
expected: "Array<__type>.o2",
|
|
1423
1098
|
value: input3.values
|
|
1424
1099
|
})].every((flag) => flag);
|
|
1425
|
-
const $
|
|
1100
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1101
|
+
path: _path2 + ".id",
|
|
1102
|
+
expected: "string",
|
|
1103
|
+
value: input3.id
|
|
1104
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1105
|
+
path: _path2 + ".query",
|
|
1106
|
+
expected: "string",
|
|
1107
|
+
value: input3.query
|
|
1108
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1109
|
+
path: _path2 + ".name",
|
|
1110
|
+
expected: "string",
|
|
1111
|
+
value: input3.name
|
|
1112
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1113
|
+
path: _path2 + ".name_noOrigin",
|
|
1114
|
+
expected: "string",
|
|
1115
|
+
value: input3.name_noOrigin
|
|
1116
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1117
|
+
path: _path2 + ".parentTerm",
|
|
1118
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1119
|
+
value: input3.parentTerm
|
|
1120
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1121
|
+
path: _path2 + ".parentTerm",
|
|
1122
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1123
|
+
value: input3.parentTerm
|
|
1124
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1125
|
+
path: _path2 + ".isleaf",
|
|
1126
|
+
expected: "boolean",
|
|
1127
|
+
value: input3.isleaf
|
|
1128
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1129
|
+
path: _path2 + ".type",
|
|
1130
|
+
expected: "string",
|
|
1131
|
+
value: input3.type
|
|
1132
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1133
|
+
path: _path2 + ".dt",
|
|
1134
|
+
expected: "number",
|
|
1135
|
+
value: input3.dt
|
|
1136
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1137
|
+
path: _path2 + ".origin",
|
|
1138
|
+
expected: "(string | undefined)",
|
|
1139
|
+
value: input3.origin
|
|
1140
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1141
|
+
path: _path2 + ".values",
|
|
1142
|
+
expected: "TermValues",
|
|
1143
|
+
value: input3.values
|
|
1144
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1145
|
+
path: _path2 + ".values",
|
|
1146
|
+
expected: "TermValues",
|
|
1147
|
+
value: input3.values
|
|
1148
|
+
})].every((flag) => flag);
|
|
1149
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".id",
|
|
1151
|
+
expected: "string",
|
|
1152
|
+
value: input3.id
|
|
1153
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".name",
|
|
1155
|
+
expected: "string",
|
|
1156
|
+
value: input3.name
|
|
1157
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".type",
|
|
1159
|
+
expected: '"geneVariant"',
|
|
1160
|
+
value: input3.type
|
|
1161
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".child_types",
|
|
1163
|
+
expected: "(Array<string> | undefined)",
|
|
1164
|
+
value: input3.child_types
|
|
1165
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1167
|
+
expected: "string",
|
|
1168
|
+
value: elem
|
|
1169
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".child_types",
|
|
1171
|
+
expected: "(Array<string> | undefined)",
|
|
1172
|
+
value: input3.child_types
|
|
1173
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".hashtmldetail",
|
|
1175
|
+
expected: "(boolean | undefined)",
|
|
1176
|
+
value: input3.hashtmldetail
|
|
1177
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".included_types",
|
|
1179
|
+
expected: "(Array<string> | undefined)",
|
|
1180
|
+
value: input3.included_types
|
|
1181
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1183
|
+
expected: "string",
|
|
1184
|
+
value: elem
|
|
1185
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1186
|
+
path: _path2 + ".included_types",
|
|
1187
|
+
expected: "(Array<string> | undefined)",
|
|
1188
|
+
value: input3.included_types
|
|
1189
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1190
|
+
path: _path2 + ".isleaf",
|
|
1191
|
+
expected: "(boolean | undefined)",
|
|
1192
|
+
value: input3.isleaf
|
|
1193
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1194
|
+
path: _path2 + ".values",
|
|
1195
|
+
expected: "(TermValues | undefined)",
|
|
1196
|
+
value: input3.values
|
|
1197
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1198
|
+
path: _path2 + ".values",
|
|
1199
|
+
expected: "(TermValues | undefined)",
|
|
1200
|
+
value: input3.values
|
|
1201
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1202
|
+
path: _path2 + ".kind",
|
|
1203
|
+
expected: '"gene"',
|
|
1204
|
+
value: input3.kind
|
|
1205
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1206
|
+
path: _path2 + ".gene",
|
|
1207
|
+
expected: "string",
|
|
1208
|
+
value: input3.gene
|
|
1209
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1210
|
+
path: _path2 + ".chr",
|
|
1211
|
+
expected: "(string | undefined)",
|
|
1212
|
+
value: input3.chr
|
|
1213
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1214
|
+
path: _path2 + ".start",
|
|
1215
|
+
expected: "(number | undefined)",
|
|
1216
|
+
value: input3.start
|
|
1217
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1218
|
+
path: _path2 + ".stop",
|
|
1219
|
+
expected: "(number | undefined)",
|
|
1220
|
+
value: input3.stop
|
|
1221
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1222
|
+
path: _path2 + ".groupsetting",
|
|
1223
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1224
|
+
value: input3.groupsetting
|
|
1225
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1226
|
+
path: _path2 + ".groupsetting",
|
|
1227
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1228
|
+
value: input3.groupsetting
|
|
1229
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1230
|
+
path: _path2 + ".childTerms",
|
|
1231
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1232
|
+
value: input3.childTerms
|
|
1233
|
+
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1234
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1235
|
+
expected: "DtTerm",
|
|
1236
|
+
value: elem
|
|
1237
|
+
})) && $vo30(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1238
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1239
|
+
expected: "DtTerm",
|
|
1240
|
+
value: elem
|
|
1241
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1242
|
+
path: _path2 + ".childTerms",
|
|
1243
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1244
|
+
value: input3.childTerms
|
|
1245
|
+
})].every((flag) => flag);
|
|
1246
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".id",
|
|
1248
|
+
expected: "string",
|
|
1249
|
+
value: input3.id
|
|
1250
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1251
|
+
path: _path2 + ".name",
|
|
1252
|
+
expected: "string",
|
|
1253
|
+
value: input3.name
|
|
1254
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".type",
|
|
1256
|
+
expected: '"geneVariant"',
|
|
1257
|
+
value: input3.type
|
|
1258
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1259
|
+
path: _path2 + ".child_types",
|
|
1260
|
+
expected: "(Array<string> | undefined)",
|
|
1261
|
+
value: input3.child_types
|
|
1262
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1263
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1264
|
+
expected: "string",
|
|
1265
|
+
value: elem
|
|
1266
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1267
|
+
path: _path2 + ".child_types",
|
|
1268
|
+
expected: "(Array<string> | undefined)",
|
|
1269
|
+
value: input3.child_types
|
|
1270
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".hashtmldetail",
|
|
1272
|
+
expected: "(boolean | undefined)",
|
|
1273
|
+
value: input3.hashtmldetail
|
|
1274
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".included_types",
|
|
1276
|
+
expected: "(Array<string> | undefined)",
|
|
1277
|
+
value: input3.included_types
|
|
1278
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1279
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1280
|
+
expected: "string",
|
|
1281
|
+
value: elem
|
|
1282
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1283
|
+
path: _path2 + ".included_types",
|
|
1284
|
+
expected: "(Array<string> | undefined)",
|
|
1285
|
+
value: input3.included_types
|
|
1286
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1287
|
+
path: _path2 + ".isleaf",
|
|
1288
|
+
expected: "(boolean | undefined)",
|
|
1289
|
+
value: input3.isleaf
|
|
1290
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1291
|
+
path: _path2 + ".values",
|
|
1292
|
+
expected: "(TermValues | undefined)",
|
|
1293
|
+
value: input3.values
|
|
1294
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1295
|
+
path: _path2 + ".values",
|
|
1296
|
+
expected: "(TermValues | undefined)",
|
|
1297
|
+
value: input3.values
|
|
1298
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1299
|
+
path: _path2 + ".kind",
|
|
1300
|
+
expected: '"coord"',
|
|
1301
|
+
value: input3.kind
|
|
1302
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1303
|
+
path: _path2 + ".chr",
|
|
1304
|
+
expected: "string",
|
|
1305
|
+
value: input3.chr
|
|
1306
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1307
|
+
path: _path2 + ".start",
|
|
1308
|
+
expected: "number",
|
|
1309
|
+
value: input3.start
|
|
1310
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1311
|
+
path: _path2 + ".stop",
|
|
1312
|
+
expected: "number",
|
|
1313
|
+
value: input3.stop
|
|
1314
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1315
|
+
path: _path2 + ".groupsetting",
|
|
1316
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1317
|
+
value: input3.groupsetting
|
|
1318
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1319
|
+
path: _path2 + ".groupsetting",
|
|
1320
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1321
|
+
value: input3.groupsetting
|
|
1322
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1323
|
+
path: _path2 + ".childTerms",
|
|
1324
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1325
|
+
value: input3.childTerms
|
|
1326
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1327
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1328
|
+
expected: "DtTerm",
|
|
1329
|
+
value: elem
|
|
1330
|
+
})) && $vo30(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1331
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1332
|
+
expected: "DtTerm",
|
|
1333
|
+
value: elem
|
|
1334
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1335
|
+
path: _path2 + ".childTerms",
|
|
1336
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1337
|
+
value: input3.childTerms
|
|
1338
|
+
})].every((flag) => flag);
|
|
1339
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1426
1340
|
path: _path2 + ".key",
|
|
1427
1341
|
expected: "string",
|
|
1428
1342
|
value: input3.key
|
|
@@ -1448,9 +1362,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1448
1362
|
})();
|
|
1449
1363
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1450
1364
|
if ("string" === typeof input3.type)
|
|
1451
|
-
return $
|
|
1365
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1452
1366
|
if ("filter" === input3.type)
|
|
1453
|
-
return $
|
|
1367
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1454
1368
|
return $report(_exceptionable2, {
|
|
1455
1369
|
path: _path2,
|
|
1456
1370
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1459,65 +1373,65 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1459
1373
|
})();
|
|
1460
1374
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1461
1375
|
if (true === input3.startunbounded)
|
|
1462
|
-
return $
|
|
1376
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1463
1377
|
if (true === input3.stopunbounded)
|
|
1464
|
-
return $
|
|
1465
|
-
return $
|
|
1378
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1379
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1466
1380
|
})();
|
|
1467
1381
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1468
1382
|
if (void 0 !== input3.ranges)
|
|
1469
|
-
return $
|
|
1470
|
-
return $vo5(input3, _path2, false) || $
|
|
1383
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1384
|
+
return $vo5(input3, _path2, false) || $vo26(input3, _path2, false) || $vo29(input3, _path2, false);
|
|
1471
1385
|
})();
|
|
1472
1386
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1473
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1474
|
-
return $
|
|
1475
|
-
return $
|
|
1387
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index24) => "object" === typeof elem && null !== elem && $vo10(elem, _path2 + ".lst[" + _index24 + "]", false)).every((flag) => flag))
|
|
1388
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
1389
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1476
1390
|
})();
|
|
1477
1391
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1478
|
-
if ("gene" === input3.kind)
|
|
1479
|
-
return $vo12(input3, _path2, _exceptionable2);
|
|
1480
|
-
if ("coord" === input3.kind)
|
|
1481
|
-
return $vo20(input3, _path2, _exceptionable2);
|
|
1482
|
-
return $report(_exceptionable2, {
|
|
1483
|
-
path: _path2,
|
|
1484
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
1485
|
-
value: input3
|
|
1486
|
-
});
|
|
1487
|
-
})();
|
|
1488
|
-
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1489
1392
|
if ("regular-bin" === input3.type)
|
|
1490
|
-
return $
|
|
1393
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1491
1394
|
if ("custom-bin" === input3.type)
|
|
1492
|
-
return $
|
|
1395
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1493
1396
|
return $report(_exceptionable2, {
|
|
1494
1397
|
path: _path2,
|
|
1495
1398
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1496
1399
|
value: input3
|
|
1497
1400
|
});
|
|
1498
1401
|
})();
|
|
1499
|
-
const $
|
|
1402
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1500
1403
|
if (true === input3.startunbounded)
|
|
1501
|
-
return $
|
|
1404
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1502
1405
|
if (void 0 !== input3.start)
|
|
1503
|
-
return $
|
|
1406
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1504
1407
|
return $report(_exceptionable2, {
|
|
1505
1408
|
path: _path2,
|
|
1506
1409
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1507
1410
|
value: input3
|
|
1508
1411
|
});
|
|
1509
1412
|
})();
|
|
1510
|
-
const $
|
|
1413
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1511
1414
|
if (void 0 !== input3.stop)
|
|
1512
|
-
return $
|
|
1415
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1513
1416
|
if (true === input3.stopunbounded)
|
|
1514
|
-
return $
|
|
1417
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1515
1418
|
return $report(_exceptionable2, {
|
|
1516
1419
|
path: _path2,
|
|
1517
1420
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1518
1421
|
value: input3
|
|
1519
1422
|
});
|
|
1520
1423
|
})();
|
|
1424
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1425
|
+
if ("gene" === input3.kind)
|
|
1426
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1427
|
+
if ("coord" === input3.kind)
|
|
1428
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1429
|
+
return $report(_exceptionable2, {
|
|
1430
|
+
path: _path2,
|
|
1431
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1432
|
+
value: input3
|
|
1433
|
+
});
|
|
1434
|
+
})();
|
|
1521
1435
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1522
1436
|
path: _path + "",
|
|
1523
1437
|
expected: "TermdbTopVariablyExpressedGenesRequest",
|