@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
|
@@ -26,7 +26,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
26
26
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
27
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
28
28
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
|
-
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (
|
|
29
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
31
31
|
const value = input3[key];
|
|
32
32
|
if (void 0 === value)
|
|
@@ -38,23 +38,17 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
38
38
|
return true;
|
|
39
39
|
});
|
|
40
40
|
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
|
-
const $io7 = (input3) =>
|
|
42
|
-
const $io8 = (input3) => Array.isArray(input3.
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.
|
|
44
|
-
const $io10 = (input3) =>
|
|
45
|
-
const $io11 = (input3) =>
|
|
46
|
-
const $io12 = (input3) => "
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.
|
|
48
|
-
const $io14 = (input3) => ("string" === typeof input3.
|
|
49
|
-
const $io15 = (input3) => "
|
|
50
|
-
const $io16 = (input3) => "object" === typeof input3.
|
|
51
|
-
const $io17 = (input3) =>
|
|
52
|
-
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
53
|
-
const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
54
|
-
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
|
|
55
|
-
const $io21 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
56
|
-
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
57
|
-
const $io23 = (input3) => Object.keys(input3).every((key) => {
|
|
41
|
+
const $io7 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
|
|
42
|
+
const $io8 = (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)));
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
44
|
+
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
45
|
+
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
46
|
+
const $io12 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
47
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(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 && $io23(elem)));
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
49
|
+
const $io15 = (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);
|
|
50
|
+
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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);
|
|
51
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
58
52
|
const value = input3[key];
|
|
59
53
|
if (void 0 === value)
|
|
60
54
|
return true;
|
|
@@ -62,17 +56,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
62
56
|
return "number" === typeof value;
|
|
63
57
|
return true;
|
|
64
58
|
});
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
59
|
+
const $io18 = (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);
|
|
60
|
+
const $io19 = (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);
|
|
61
|
+
const $io20 = (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);
|
|
62
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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);
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
65
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io26(elem)));
|
|
66
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
67
|
+
const $io26 = (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;
|
|
68
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
69
|
+
const $io28 = (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) && $io5(input3.values));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(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 && $io28(elem)));
|
|
71
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(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 && $io28(elem)));
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
76
73
|
const $iu0 = (input3) => (() => {
|
|
77
74
|
if ("tvslst" === input3.type)
|
|
78
75
|
return $io1(input3);
|
|
@@ -82,62 +79,62 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
82
79
|
})();
|
|
83
80
|
const $iu1 = (input3) => (() => {
|
|
84
81
|
if ("string" === typeof input3.type)
|
|
85
|
-
return $
|
|
82
|
+
return $io9(input3);
|
|
86
83
|
if ("filter" === input3.type)
|
|
87
|
-
return $
|
|
84
|
+
return $io11(input3);
|
|
88
85
|
return false;
|
|
89
86
|
})();
|
|
90
87
|
const $iu2 = (input3) => (() => {
|
|
91
88
|
if (true === input3.startunbounded)
|
|
92
|
-
return $
|
|
89
|
+
return $io18(input3);
|
|
93
90
|
if (true === input3.stopunbounded)
|
|
94
|
-
return $
|
|
95
|
-
return $
|
|
91
|
+
return $io20(input3);
|
|
92
|
+
return $io19(input3);
|
|
96
93
|
})();
|
|
97
94
|
const $iu3 = (input3) => (() => {
|
|
98
95
|
if (void 0 !== input3.ranges)
|
|
99
|
-
return $
|
|
96
|
+
return $io13(input3);
|
|
100
97
|
return (() => {
|
|
101
98
|
if ($io3(input3))
|
|
102
99
|
return $io3(input3);
|
|
103
|
-
if ($
|
|
104
|
-
return $
|
|
105
|
-
if ($
|
|
106
|
-
return $
|
|
100
|
+
if ($io24(input3))
|
|
101
|
+
return $io24(input3);
|
|
102
|
+
if ($io27(input3))
|
|
103
|
+
return $io27(input3);
|
|
107
104
|
return false;
|
|
108
105
|
})();
|
|
109
106
|
})();
|
|
110
107
|
const $iu4 = (input3) => (() => {
|
|
111
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
112
|
-
return $
|
|
113
|
-
return $
|
|
108
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)))
|
|
109
|
+
return $io7(input3);
|
|
110
|
+
return $io12(input3);
|
|
114
111
|
})();
|
|
115
112
|
const $iu5 = (input3) => (() => {
|
|
116
|
-
if ("gene" === input3.kind)
|
|
117
|
-
return $io10(input3);
|
|
118
|
-
if ("coord" === input3.kind)
|
|
119
|
-
return $io18(input3);
|
|
120
|
-
return false;
|
|
121
|
-
})();
|
|
122
|
-
const $iu6 = (input3) => (() => {
|
|
123
113
|
if ("regular-bin" === input3.type)
|
|
124
|
-
return $
|
|
114
|
+
return $io16(input3);
|
|
125
115
|
if ("custom-bin" === input3.type)
|
|
126
|
-
return $
|
|
116
|
+
return $io21(input3);
|
|
127
117
|
return false;
|
|
128
118
|
})();
|
|
129
|
-
const $
|
|
119
|
+
const $iu6 = (input3) => (() => {
|
|
130
120
|
if (true === input3.startunbounded)
|
|
131
|
-
return $
|
|
121
|
+
return $io18(input3);
|
|
132
122
|
if (void 0 !== input3.start)
|
|
133
|
-
return $
|
|
123
|
+
return $io19(input3);
|
|
134
124
|
return false;
|
|
135
125
|
})();
|
|
136
|
-
const $
|
|
126
|
+
const $iu7 = (input3) => (() => {
|
|
137
127
|
if (void 0 !== input3.stop)
|
|
138
|
-
return $
|
|
128
|
+
return $io19(input3);
|
|
139
129
|
if (true === input3.stopunbounded)
|
|
140
|
-
return $
|
|
130
|
+
return $io20(input3);
|
|
131
|
+
return false;
|
|
132
|
+
})();
|
|
133
|
+
const $iu8 = (input3) => (() => {
|
|
134
|
+
if ("gene" === input3.kind)
|
|
135
|
+
return $io29(input3);
|
|
136
|
+
if ("coord" === input3.kind)
|
|
137
|
+
return $io30(input3);
|
|
141
138
|
return false;
|
|
142
139
|
})();
|
|
143
140
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -306,21 +303,13 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
306
303
|
path: _path2 + ".values",
|
|
307
304
|
expected: "(TermValues | undefined)",
|
|
308
305
|
value: input3.values
|
|
309
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
310
|
-
path: _path2 + ".filter",
|
|
311
|
-
expected: "(TermFilter | undefined)",
|
|
312
|
-
value: input3.filter
|
|
313
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
314
|
-
path: _path2 + ".filter",
|
|
315
|
-
expected: "(TermFilter | undefined)",
|
|
316
|
-
value: input3.filter
|
|
317
306
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
318
307
|
path: _path2 + ".groupsetting",
|
|
319
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
308
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
320
309
|
value: input3.groupsetting
|
|
321
310
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
322
311
|
path: _path2 + ".groupsetting",
|
|
323
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
312
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
324
313
|
value: input3.groupsetting
|
|
325
314
|
})].every((flag) => flag);
|
|
326
315
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -382,183 +371,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
382
371
|
expected: "(Filter | undefined)",
|
|
383
372
|
value: input3.filter
|
|
384
373
|
})].every((flag) => flag);
|
|
385
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
386
|
-
path: _path2 + ".opts",
|
|
387
|
-
expected: "__type.o1",
|
|
388
|
-
value: input3.opts
|
|
389
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
390
|
-
path: _path2 + ".opts",
|
|
391
|
-
expected: "__type.o1",
|
|
392
|
-
value: input3.opts
|
|
393
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
394
|
-
path: _path2 + ".terms",
|
|
395
|
-
expected: "Array<DtTerm>",
|
|
396
|
-
value: input3.terms
|
|
397
|
-
})) && input3.terms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
398
|
-
path: _path2 + ".terms[" + _index5 + "]",
|
|
399
|
-
expected: "DtTerm",
|
|
400
|
-
value: elem
|
|
401
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
402
|
-
path: _path2 + ".terms[" + _index5 + "]",
|
|
403
|
-
expected: "DtTerm",
|
|
404
|
-
value: elem
|
|
405
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
406
|
-
path: _path2 + ".terms",
|
|
407
|
-
expected: "Array<DtTerm>",
|
|
408
|
-
value: input3.terms
|
|
409
|
-
})].every((flag) => flag);
|
|
410
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
411
|
-
path: _path2 + ".joinWith",
|
|
412
|
-
expected: "Array<string>",
|
|
413
|
-
value: input3.joinWith
|
|
414
|
-
})) && input3.joinWith.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
415
|
-
path: _path2 + ".joinWith[" + _index6 + "]",
|
|
416
|
-
expected: "string",
|
|
417
|
-
value: elem
|
|
418
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
419
|
-
path: _path2 + ".joinWith",
|
|
420
|
-
expected: "Array<string>",
|
|
421
|
-
value: input3.joinWith
|
|
422
|
-
})].every((flag) => flag);
|
|
423
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
424
|
-
path: _path2 + ".id",
|
|
425
|
-
expected: "string",
|
|
426
|
-
value: input3.id
|
|
427
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
428
|
-
path: _path2 + ".query",
|
|
429
|
-
expected: "string",
|
|
430
|
-
value: input3.query
|
|
431
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
432
|
-
path: _path2 + ".name",
|
|
433
|
-
expected: "string",
|
|
434
|
-
value: input3.name
|
|
435
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
436
|
-
path: _path2 + ".name_noOrigin",
|
|
437
|
-
expected: "string",
|
|
438
|
-
value: input3.name_noOrigin
|
|
439
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
440
|
-
path: _path2 + ".geneVariantTerm",
|
|
441
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
442
|
-
value: input3.geneVariantTerm
|
|
443
|
-
})) && $vu5(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
444
|
-
path: _path2 + ".geneVariantTerm",
|
|
445
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
446
|
-
value: input3.geneVariantTerm
|
|
447
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
448
|
-
path: _path2 + ".isleaf",
|
|
449
|
-
expected: "boolean",
|
|
450
|
-
value: input3.isleaf
|
|
451
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
452
|
-
path: _path2 + ".type",
|
|
453
|
-
expected: "string",
|
|
454
|
-
value: input3.type
|
|
455
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
456
|
-
path: _path2 + ".dt",
|
|
457
|
-
expected: "number",
|
|
458
|
-
value: input3.dt
|
|
459
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
460
|
-
path: _path2 + ".origin",
|
|
461
|
-
expected: "(string | undefined)",
|
|
462
|
-
value: input3.origin
|
|
463
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
464
|
-
path: _path2 + ".values",
|
|
465
|
-
expected: "TermValues",
|
|
466
|
-
value: input3.values
|
|
467
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
468
|
-
path: _path2 + ".values",
|
|
469
|
-
expected: "TermValues",
|
|
470
|
-
value: input3.values
|
|
471
|
-
})].every((flag) => flag);
|
|
472
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
473
|
-
path: _path2 + ".id",
|
|
474
|
-
expected: "string",
|
|
475
|
-
value: input3.id
|
|
476
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
477
|
-
path: _path2 + ".name",
|
|
478
|
-
expected: "string",
|
|
479
|
-
value: input3.name
|
|
480
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
481
|
-
path: _path2 + ".type",
|
|
482
|
-
expected: '"geneVariant"',
|
|
483
|
-
value: input3.type
|
|
484
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
485
|
-
path: _path2 + ".child_types",
|
|
486
|
-
expected: "(Array<string> | undefined)",
|
|
487
|
-
value: input3.child_types
|
|
488
|
-
})) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
489
|
-
path: _path2 + ".child_types[" + _index7 + "]",
|
|
490
|
-
expected: "string",
|
|
491
|
-
value: elem
|
|
492
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
493
|
-
path: _path2 + ".child_types",
|
|
494
|
-
expected: "(Array<string> | undefined)",
|
|
495
|
-
value: input3.child_types
|
|
496
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
497
|
-
path: _path2 + ".hashtmldetail",
|
|
498
|
-
expected: "(boolean | undefined)",
|
|
499
|
-
value: input3.hashtmldetail
|
|
500
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
501
|
-
path: _path2 + ".included_types",
|
|
502
|
-
expected: "(Array<string> | undefined)",
|
|
503
|
-
value: input3.included_types
|
|
504
|
-
})) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
505
|
-
path: _path2 + ".included_types[" + _index8 + "]",
|
|
506
|
-
expected: "string",
|
|
507
|
-
value: elem
|
|
508
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
509
|
-
path: _path2 + ".included_types",
|
|
510
|
-
expected: "(Array<string> | undefined)",
|
|
511
|
-
value: input3.included_types
|
|
512
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
513
|
-
path: _path2 + ".isleaf",
|
|
514
|
-
expected: "(boolean | undefined)",
|
|
515
|
-
value: input3.isleaf
|
|
516
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
517
|
-
path: _path2 + ".values",
|
|
518
|
-
expected: "(TermValues | undefined)",
|
|
519
|
-
value: input3.values
|
|
520
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
521
|
-
path: _path2 + ".values",
|
|
522
|
-
expected: "(TermValues | undefined)",
|
|
523
|
-
value: input3.values
|
|
524
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
525
|
-
path: _path2 + ".filter",
|
|
526
|
-
expected: "(TermFilter | undefined)",
|
|
527
|
-
value: input3.filter
|
|
528
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
529
|
-
path: _path2 + ".filter",
|
|
530
|
-
expected: "(TermFilter | undefined)",
|
|
531
|
-
value: input3.filter
|
|
532
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
533
|
-
path: _path2 + ".kind",
|
|
534
|
-
expected: '"gene"',
|
|
535
|
-
value: input3.kind
|
|
536
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
537
|
-
path: _path2 + ".gene",
|
|
538
|
-
expected: "string",
|
|
539
|
-
value: input3.gene
|
|
540
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
541
|
-
path: _path2 + ".chr",
|
|
542
|
-
expected: "(string | undefined)",
|
|
543
|
-
value: input3.chr
|
|
544
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
545
|
-
path: _path2 + ".start",
|
|
546
|
-
expected: "(number | undefined)",
|
|
547
|
-
value: input3.start
|
|
548
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
549
|
-
path: _path2 + ".stop",
|
|
550
|
-
expected: "(number | undefined)",
|
|
551
|
-
value: input3.stop
|
|
552
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
553
|
-
path: _path2 + ".groupsetting",
|
|
554
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
555
|
-
value: input3.groupsetting
|
|
556
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
557
|
-
path: _path2 + ".groupsetting",
|
|
558
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
559
|
-
value: input3.groupsetting
|
|
560
|
-
})].every((flag) => flag);
|
|
561
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
374
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
562
375
|
path: _path2 + ".disabled",
|
|
563
376
|
expected: "(boolean | undefined)",
|
|
564
377
|
value: input3.disabled
|
|
@@ -566,12 +379,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
566
379
|
path: _path2 + ".lst",
|
|
567
380
|
expected: "Array<Groupset>",
|
|
568
381
|
value: input3.lst
|
|
569
|
-
})) && input3.lst.map((elem,
|
|
570
|
-
path: _path2 + ".lst[" +
|
|
382
|
+
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
383
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
571
384
|
expected: "Groupset",
|
|
572
385
|
value: elem
|
|
573
|
-
})) && $
|
|
574
|
-
path: _path2 + ".lst[" +
|
|
386
|
+
})) && $vo8(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
387
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
575
388
|
expected: "Groupset",
|
|
576
389
|
value: elem
|
|
577
390
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -579,7 +392,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
579
392
|
expected: "Array<Groupset>",
|
|
580
393
|
value: input3.lst
|
|
581
394
|
})].every((flag) => flag);
|
|
582
|
-
const $
|
|
395
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
583
396
|
path: _path2 + ".name",
|
|
584
397
|
expected: "string",
|
|
585
398
|
value: input3.name
|
|
@@ -599,12 +412,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
599
412
|
path: _path2 + ".groups",
|
|
600
413
|
expected: "Array<GroupEntry>",
|
|
601
414
|
value: input3.groups
|
|
602
|
-
})) && input3.groups.map((elem,
|
|
603
|
-
path: _path2 + ".groups[" +
|
|
415
|
+
})) && input3.groups.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
416
|
+
path: _path2 + ".groups[" + _index6 + "]",
|
|
604
417
|
expected: "(FilterGroup | ValuesGroup)",
|
|
605
418
|
value: elem
|
|
606
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
607
|
-
path: _path2 + ".groups[" +
|
|
419
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
420
|
+
path: _path2 + ".groups[" + _index6 + "]",
|
|
608
421
|
expected: "(FilterGroup | ValuesGroup)",
|
|
609
422
|
value: elem
|
|
610
423
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -612,7 +425,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
612
425
|
expected: "Array<GroupEntry>",
|
|
613
426
|
value: input3.groups
|
|
614
427
|
})].every((flag) => flag);
|
|
615
|
-
const $
|
|
428
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
616
429
|
path: _path2 + ".name",
|
|
617
430
|
expected: "string",
|
|
618
431
|
value: input3.name
|
|
@@ -624,13 +437,13 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
624
437
|
path: _path2 + ".values",
|
|
625
438
|
expected: "Array<__type>",
|
|
626
439
|
value: input3.values
|
|
627
|
-
})) && input3.values.map((elem,
|
|
628
|
-
path: _path2 + ".values[" +
|
|
629
|
-
expected: "__type.
|
|
440
|
+
})) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
441
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
442
|
+
expected: "__type.o1",
|
|
630
443
|
value: elem
|
|
631
|
-
})) && $
|
|
632
|
-
path: _path2 + ".values[" +
|
|
633
|
-
expected: "__type.
|
|
444
|
+
})) && $vo10(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
445
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
446
|
+
expected: "__type.o1",
|
|
634
447
|
value: elem
|
|
635
448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
636
449
|
path: _path2 + ".values",
|
|
@@ -641,7 +454,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
641
454
|
expected: "(boolean | undefined)",
|
|
642
455
|
value: input3.uncomputable
|
|
643
456
|
})].every((flag) => flag);
|
|
644
|
-
const $
|
|
457
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
645
458
|
path: _path2 + ".key",
|
|
646
459
|
expected: "(number | string)",
|
|
647
460
|
value: input3.key
|
|
@@ -650,7 +463,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
650
463
|
expected: "string",
|
|
651
464
|
value: input3.label
|
|
652
465
|
})].every((flag) => flag);
|
|
653
|
-
const $
|
|
466
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
654
467
|
path: _path2 + ".name",
|
|
655
468
|
expected: "string",
|
|
656
469
|
value: input3.name
|
|
@@ -660,55 +473,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
660
473
|
value: input3.type
|
|
661
474
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
662
475
|
path: _path2 + ".filter",
|
|
663
|
-
expected: "
|
|
476
|
+
expected: "Filter",
|
|
664
477
|
value: input3.filter
|
|
665
|
-
})) && $
|
|
478
|
+
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
666
479
|
path: _path2 + ".filter",
|
|
667
|
-
expected: "
|
|
480
|
+
expected: "Filter",
|
|
668
481
|
value: input3.filter
|
|
669
482
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
670
483
|
path: _path2 + ".uncomputable",
|
|
671
484
|
expected: "boolean",
|
|
672
485
|
value: input3.uncomputable
|
|
673
486
|
})].every((flag) => flag);
|
|
674
|
-
const $
|
|
675
|
-
path: _path2 + ".opts",
|
|
676
|
-
expected: "__type.o1",
|
|
677
|
-
value: input3.opts
|
|
678
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
679
|
-
path: _path2 + ".opts",
|
|
680
|
-
expected: "__type.o1",
|
|
681
|
-
value: input3.opts
|
|
682
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
683
|
-
path: _path2 + ".terms",
|
|
684
|
-
expected: "Array<DtTerm>",
|
|
685
|
-
value: input3.terms
|
|
686
|
-
})) && input3.terms.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
687
|
-
path: _path2 + ".terms[" + _index12 + "]",
|
|
688
|
-
expected: "DtTerm",
|
|
689
|
-
value: elem
|
|
690
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
691
|
-
path: _path2 + ".terms[" + _index12 + "]",
|
|
692
|
-
expected: "DtTerm",
|
|
693
|
-
value: elem
|
|
694
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
695
|
-
path: _path2 + ".terms",
|
|
696
|
-
expected: "Array<DtTerm>",
|
|
697
|
-
value: input3.terms
|
|
698
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
699
|
-
path: _path2 + ".active",
|
|
700
|
-
expected: "Filter",
|
|
701
|
-
value: input3.active
|
|
702
|
-
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
703
|
-
path: _path2 + ".active",
|
|
704
|
-
expected: "Filter",
|
|
705
|
-
value: input3.active
|
|
706
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
707
|
-
path: _path2 + ".group",
|
|
708
|
-
expected: "number",
|
|
709
|
-
value: input3.group
|
|
710
|
-
})].every((flag) => flag);
|
|
711
|
-
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
487
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
712
488
|
path: _path2 + ".disabled",
|
|
713
489
|
expected: "boolean",
|
|
714
490
|
value: input3.disabled
|
|
@@ -725,92 +501,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
725
501
|
expected: "([] | undefined)",
|
|
726
502
|
value: input3.lst
|
|
727
503
|
})].every((flag) => flag);
|
|
728
|
-
const $
|
|
729
|
-
path: _path2 + ".id",
|
|
730
|
-
expected: "string",
|
|
731
|
-
value: input3.id
|
|
732
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
733
|
-
path: _path2 + ".name",
|
|
734
|
-
expected: "string",
|
|
735
|
-
value: input3.name
|
|
736
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
737
|
-
path: _path2 + ".type",
|
|
738
|
-
expected: '"geneVariant"',
|
|
739
|
-
value: input3.type
|
|
740
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
741
|
-
path: _path2 + ".child_types",
|
|
742
|
-
expected: "(Array<string> | undefined)",
|
|
743
|
-
value: input3.child_types
|
|
744
|
-
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
745
|
-
path: _path2 + ".child_types[" + _index13 + "]",
|
|
746
|
-
expected: "string",
|
|
747
|
-
value: elem
|
|
748
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
749
|
-
path: _path2 + ".child_types",
|
|
750
|
-
expected: "(Array<string> | undefined)",
|
|
751
|
-
value: input3.child_types
|
|
752
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
753
|
-
path: _path2 + ".hashtmldetail",
|
|
754
|
-
expected: "(boolean | undefined)",
|
|
755
|
-
value: input3.hashtmldetail
|
|
756
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
757
|
-
path: _path2 + ".included_types",
|
|
758
|
-
expected: "(Array<string> | undefined)",
|
|
759
|
-
value: input3.included_types
|
|
760
|
-
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
761
|
-
path: _path2 + ".included_types[" + _index14 + "]",
|
|
762
|
-
expected: "string",
|
|
763
|
-
value: elem
|
|
764
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
765
|
-
path: _path2 + ".included_types",
|
|
766
|
-
expected: "(Array<string> | undefined)",
|
|
767
|
-
value: input3.included_types
|
|
768
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
769
|
-
path: _path2 + ".isleaf",
|
|
770
|
-
expected: "(boolean | undefined)",
|
|
771
|
-
value: input3.isleaf
|
|
772
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
773
|
-
path: _path2 + ".values",
|
|
774
|
-
expected: "(TermValues | undefined)",
|
|
775
|
-
value: input3.values
|
|
776
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
777
|
-
path: _path2 + ".values",
|
|
778
|
-
expected: "(TermValues | undefined)",
|
|
779
|
-
value: input3.values
|
|
780
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
781
|
-
path: _path2 + ".filter",
|
|
782
|
-
expected: "(TermFilter | undefined)",
|
|
783
|
-
value: input3.filter
|
|
784
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
785
|
-
path: _path2 + ".filter",
|
|
786
|
-
expected: "(TermFilter | undefined)",
|
|
787
|
-
value: input3.filter
|
|
788
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
789
|
-
path: _path2 + ".kind",
|
|
790
|
-
expected: '"coord"',
|
|
791
|
-
value: input3.kind
|
|
792
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
793
|
-
path: _path2 + ".chr",
|
|
794
|
-
expected: "string",
|
|
795
|
-
value: input3.chr
|
|
796
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
797
|
-
path: _path2 + ".start",
|
|
798
|
-
expected: "number",
|
|
799
|
-
value: input3.start
|
|
800
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
801
|
-
path: _path2 + ".stop",
|
|
802
|
-
expected: "number",
|
|
803
|
-
value: input3.stop
|
|
804
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
805
|
-
path: _path2 + ".groupsetting",
|
|
806
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
807
|
-
value: input3.groupsetting
|
|
808
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
809
|
-
path: _path2 + ".groupsetting",
|
|
810
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
811
|
-
value: input3.groupsetting
|
|
812
|
-
})].every((flag) => flag);
|
|
813
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
504
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
814
505
|
path: _path2 + ".join",
|
|
815
506
|
expected: "(string | undefined)",
|
|
816
507
|
value: input3.join
|
|
@@ -822,7 +513,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
822
513
|
path: _path2 + ".term",
|
|
823
514
|
expected: "NumericTerm",
|
|
824
515
|
value: input3.term
|
|
825
|
-
})) && $
|
|
516
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
826
517
|
path: _path2 + ".term",
|
|
827
518
|
expected: "NumericTerm",
|
|
828
519
|
value: input3.term
|
|
@@ -830,12 +521,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
830
521
|
path: _path2 + ".ranges",
|
|
831
522
|
expected: "Array<NumericBin>",
|
|
832
523
|
value: input3.ranges
|
|
833
|
-
})) && input3.ranges.map((elem,
|
|
834
|
-
path: _path2 + ".ranges[" +
|
|
524
|
+
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
525
|
+
path: _path2 + ".ranges[" + _index8 + "]",
|
|
835
526
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
836
527
|
value: elem
|
|
837
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
838
|
-
path: _path2 + ".ranges[" +
|
|
528
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
529
|
+
path: _path2 + ".ranges[" + _index8 + "]",
|
|
839
530
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
840
531
|
value: elem
|
|
841
532
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -846,20 +537,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
846
537
|
path: _path2 + ".values",
|
|
847
538
|
expected: "Array<__type>.o1",
|
|
848
539
|
value: input3.values
|
|
849
|
-
})) && input3.values.map((elem,
|
|
850
|
-
path: _path2 + ".values[" +
|
|
851
|
-
expected: "__type.
|
|
540
|
+
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
541
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
542
|
+
expected: "__type.o4",
|
|
852
543
|
value: elem
|
|
853
|
-
})) && $
|
|
854
|
-
path: _path2 + ".values[" +
|
|
855
|
-
expected: "__type.
|
|
544
|
+
})) && $vo23(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
545
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
546
|
+
expected: "__type.o4",
|
|
856
547
|
value: elem
|
|
857
548
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
858
549
|
path: _path2 + ".values",
|
|
859
550
|
expected: "Array<__type>.o1",
|
|
860
551
|
value: input3.values
|
|
861
552
|
})].every((flag) => flag);
|
|
862
|
-
const $
|
|
553
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
863
554
|
path: _path2 + ".id",
|
|
864
555
|
expected: "string",
|
|
865
556
|
value: input3.id
|
|
@@ -875,8 +566,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
875
566
|
path: _path2 + ".child_types",
|
|
876
567
|
expected: "(Array<string> | undefined)",
|
|
877
568
|
value: input3.child_types
|
|
878
|
-
})) && input3.child_types.map((elem,
|
|
879
|
-
path: _path2 + ".child_types[" +
|
|
569
|
+
})) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
570
|
+
path: _path2 + ".child_types[" + _index10 + "]",
|
|
880
571
|
expected: "string",
|
|
881
572
|
value: elem
|
|
882
573
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -891,8 +582,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
891
582
|
path: _path2 + ".included_types",
|
|
892
583
|
expected: "(Array<string> | undefined)",
|
|
893
584
|
value: input3.included_types
|
|
894
|
-
})) && input3.included_types.map((elem,
|
|
895
|
-
path: _path2 + ".included_types[" +
|
|
585
|
+
})) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
586
|
+
path: _path2 + ".included_types[" + _index11 + "]",
|
|
896
587
|
expected: "string",
|
|
897
588
|
value: elem
|
|
898
589
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -911,19 +602,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
911
602
|
path: _path2 + ".values",
|
|
912
603
|
expected: "(TermValues | undefined)",
|
|
913
604
|
value: input3.values
|
|
914
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
915
|
-
path: _path2 + ".filter",
|
|
916
|
-
expected: "(TermFilter | undefined)",
|
|
917
|
-
value: input3.filter
|
|
918
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
919
|
-
path: _path2 + ".filter",
|
|
920
|
-
expected: "(TermFilter | undefined)",
|
|
921
|
-
value: input3.filter
|
|
922
605
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
923
606
|
path: _path2 + ".bins",
|
|
924
607
|
expected: "PresetNumericBins",
|
|
925
608
|
value: input3.bins
|
|
926
|
-
})) && $
|
|
609
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
927
610
|
path: _path2 + ".bins",
|
|
928
611
|
expected: "PresetNumericBins",
|
|
929
612
|
value: input3.bins
|
|
@@ -933,18 +616,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
933
616
|
value: input3.unit
|
|
934
617
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
935
618
|
path: _path2 + ".continuousColorScale",
|
|
936
|
-
expected: "(__type.
|
|
619
|
+
expected: "(__type.o3 | undefined)",
|
|
937
620
|
value: input3.continuousColorScale
|
|
938
|
-
})) && $
|
|
621
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
939
622
|
path: _path2 + ".continuousColorScale",
|
|
940
|
-
expected: "(__type.
|
|
623
|
+
expected: "(__type.o3 | undefined)",
|
|
941
624
|
value: input3.continuousColorScale
|
|
942
625
|
})].every((flag) => flag);
|
|
943
|
-
const $
|
|
626
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
944
627
|
path: _path2 + '["default"]',
|
|
945
628
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
946
629
|
value: input3["default"]
|
|
947
|
-
})) && $
|
|
630
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
948
631
|
path: _path2 + '["default"]',
|
|
949
632
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
950
633
|
value: input3["default"]
|
|
@@ -952,7 +635,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
952
635
|
path: _path2 + ".less",
|
|
953
636
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
954
637
|
value: input3.less
|
|
955
|
-
})) && $
|
|
638
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
956
639
|
path: _path2 + ".less",
|
|
957
640
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
958
641
|
value: input3.less
|
|
@@ -977,11 +660,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
977
660
|
expected: "(number | undefined)",
|
|
978
661
|
value: input3.max
|
|
979
662
|
})].every((flag) => flag);
|
|
980
|
-
const $
|
|
663
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
981
664
|
path: _path2 + ".hiddenValues",
|
|
982
665
|
expected: "(HiddenValues | undefined)",
|
|
983
666
|
value: input3.hiddenValues
|
|
984
|
-
})) && $
|
|
667
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
985
668
|
path: _path2 + ".hiddenValues",
|
|
986
669
|
expected: "(HiddenValues | undefined)",
|
|
987
670
|
value: input3.hiddenValues
|
|
@@ -1013,7 +696,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1013
696
|
path: _path2 + ".first_bin",
|
|
1014
697
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1015
698
|
value: input3.first_bin
|
|
1016
|
-
})) && $
|
|
699
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1017
700
|
path: _path2 + ".first_bin",
|
|
1018
701
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1019
702
|
value: input3.first_bin
|
|
@@ -1021,7 +704,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1021
704
|
path: _path2 + ".last_bin",
|
|
1022
705
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1023
706
|
value: input3.last_bin
|
|
1024
|
-
})) && $
|
|
707
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1025
708
|
path: _path2 + ".last_bin",
|
|
1026
709
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1027
710
|
value: input3.last_bin
|
|
@@ -1030,7 +713,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1030
713
|
expected: "(number | undefined)",
|
|
1031
714
|
value: input3.label_offset
|
|
1032
715
|
})].every((flag) => flag);
|
|
1033
|
-
const $
|
|
716
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1034
717
|
const value = input3[key];
|
|
1035
718
|
if (void 0 === value)
|
|
1036
719
|
return true;
|
|
@@ -1042,7 +725,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1042
725
|
});
|
|
1043
726
|
return true;
|
|
1044
727
|
}).every((flag) => flag)].every((flag) => flag);
|
|
1045
|
-
const $
|
|
728
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1046
729
|
path: _path2 + ".startunbounded",
|
|
1047
730
|
expected: "true",
|
|
1048
731
|
value: input3.startunbounded
|
|
@@ -1067,7 +750,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1067
750
|
expected: "(string | undefined)",
|
|
1068
751
|
value: input3.label
|
|
1069
752
|
})].every((flag) => flag);
|
|
1070
|
-
const $
|
|
753
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1071
754
|
path: _path2 + ".startunbounded",
|
|
1072
755
|
expected: "(false | undefined)",
|
|
1073
756
|
value: input3.startunbounded
|
|
@@ -1096,7 +779,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1096
779
|
expected: "(string | undefined)",
|
|
1097
780
|
value: input3.label
|
|
1098
781
|
})].every((flag) => flag);
|
|
1099
|
-
const $
|
|
782
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1100
783
|
path: _path2 + ".start",
|
|
1101
784
|
expected: "number",
|
|
1102
785
|
value: input3.start
|
|
@@ -1121,11 +804,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1121
804
|
expected: "(string | undefined)",
|
|
1122
805
|
value: input3.label
|
|
1123
806
|
})].every((flag) => flag);
|
|
1124
|
-
const $
|
|
807
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1125
808
|
path: _path2 + ".hiddenValues",
|
|
1126
809
|
expected: "(HiddenValues | undefined)",
|
|
1127
810
|
value: input3.hiddenValues
|
|
1128
|
-
})) && $
|
|
811
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1129
812
|
path: _path2 + ".hiddenValues",
|
|
1130
813
|
expected: "(HiddenValues | undefined)",
|
|
1131
814
|
value: input3.hiddenValues
|
|
@@ -1167,12 +850,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1167
850
|
path: _path2 + ".lst",
|
|
1168
851
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1169
852
|
value: input3.lst.slice(1)
|
|
1170
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1171
|
-
path: _path2 + ".lst[" + (1 +
|
|
853
|
+
})) && input3.lst.slice(1).map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
854
|
+
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
1172
855
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1173
856
|
value: elem
|
|
1174
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1175
|
-
path: _path2 + ".lst[" + (1 +
|
|
857
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
858
|
+
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
1176
859
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1177
860
|
value: elem
|
|
1178
861
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1188,7 +871,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1188
871
|
expected: '("median" | undefined)',
|
|
1189
872
|
value: input3.preferredBins
|
|
1190
873
|
})].every((flag) => flag);
|
|
1191
|
-
const $
|
|
874
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1192
875
|
path: _path2 + ".minColor",
|
|
1193
876
|
expected: "string",
|
|
1194
877
|
value: input3.minColor
|
|
@@ -1197,7 +880,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1197
880
|
expected: "string",
|
|
1198
881
|
value: input3.maxColor
|
|
1199
882
|
})].every((flag) => flag);
|
|
1200
|
-
const $
|
|
883
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1201
884
|
path: _path2 + ".key",
|
|
1202
885
|
expected: "string",
|
|
1203
886
|
value: input3.key
|
|
@@ -1214,7 +897,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1214
897
|
expected: "(string | undefined)",
|
|
1215
898
|
value: input3.label
|
|
1216
899
|
})].every((flag) => flag);
|
|
1217
|
-
const $
|
|
900
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1218
901
|
path: _path2 + ".join",
|
|
1219
902
|
expected: "(string | undefined)",
|
|
1220
903
|
value: input3.join
|
|
@@ -1226,7 +909,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1226
909
|
path: _path2 + ".term",
|
|
1227
910
|
expected: "ConditionTerm",
|
|
1228
911
|
value: input3.term
|
|
1229
|
-
})) && $
|
|
912
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1230
913
|
path: _path2 + ".term",
|
|
1231
914
|
expected: "ConditionTerm",
|
|
1232
915
|
value: input3.term
|
|
@@ -1246,12 +929,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1246
929
|
path: _path2 + ".grade_and_child",
|
|
1247
930
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1248
931
|
value: input3.grade_and_child
|
|
1249
|
-
})) && input3.grade_and_child.map((elem,
|
|
1250
|
-
path: _path2 + ".grade_and_child[" +
|
|
932
|
+
})) && input3.grade_and_child.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
933
|
+
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
1251
934
|
expected: "GradeAndChildEntry",
|
|
1252
935
|
value: elem
|
|
1253
|
-
})) && $
|
|
1254
|
-
path: _path2 + ".grade_and_child[" +
|
|
936
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
937
|
+
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
1255
938
|
expected: "GradeAndChildEntry",
|
|
1256
939
|
value: elem
|
|
1257
940
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1259,7 +942,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1259
942
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1260
943
|
value: input3.grade_and_child
|
|
1261
944
|
})].every((flag) => flag);
|
|
1262
|
-
const $
|
|
945
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1263
946
|
path: _path2 + ".id",
|
|
1264
947
|
expected: "string",
|
|
1265
948
|
value: input3.id
|
|
@@ -1275,8 +958,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1275
958
|
path: _path2 + ".child_types",
|
|
1276
959
|
expected: "(Array<string> | undefined)",
|
|
1277
960
|
value: input3.child_types
|
|
1278
|
-
})) && input3.child_types.map((elem,
|
|
1279
|
-
path: _path2 + ".child_types[" +
|
|
961
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
962
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
1280
963
|
expected: "string",
|
|
1281
964
|
value: elem
|
|
1282
965
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1291,8 +974,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1291
974
|
path: _path2 + ".included_types",
|
|
1292
975
|
expected: "(Array<string> | undefined)",
|
|
1293
976
|
value: input3.included_types
|
|
1294
|
-
})) && input3.included_types.map((elem,
|
|
1295
|
-
path: _path2 + ".included_types[" +
|
|
977
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
978
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
1296
979
|
expected: "string",
|
|
1297
980
|
value: elem
|
|
1298
981
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1311,16 +994,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1311
994
|
path: _path2 + ".values",
|
|
1312
995
|
expected: "(TermValues | undefined)",
|
|
1313
996
|
value: input3.values
|
|
1314
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1315
|
-
path: _path2 + ".filter",
|
|
1316
|
-
expected: "(TermFilter | undefined)",
|
|
1317
|
-
value: input3.filter
|
|
1318
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1319
|
-
path: _path2 + ".filter",
|
|
1320
|
-
expected: "(TermFilter | undefined)",
|
|
1321
|
-
value: input3.filter
|
|
1322
997
|
})].every((flag) => flag);
|
|
1323
|
-
const $
|
|
998
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1324
999
|
path: _path2 + ".grade",
|
|
1325
1000
|
expected: "number",
|
|
1326
1001
|
value: input3.grade
|
|
@@ -1337,7 +1012,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1337
1012
|
expected: "string",
|
|
1338
1013
|
value: input3.child_label
|
|
1339
1014
|
})].every((flag) => flag);
|
|
1340
|
-
const $
|
|
1015
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1341
1016
|
path: _path2 + ".join",
|
|
1342
1017
|
expected: "(string | undefined)",
|
|
1343
1018
|
value: input3.join
|
|
@@ -1349,7 +1024,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1349
1024
|
path: _path2 + ".term",
|
|
1350
1025
|
expected: "DtTerm",
|
|
1351
1026
|
value: input3.term
|
|
1352
|
-
})) && $
|
|
1027
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1353
1028
|
path: _path2 + ".term",
|
|
1354
1029
|
expected: "DtTerm",
|
|
1355
1030
|
value: input3.term
|
|
@@ -1357,20 +1032,259 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1357
1032
|
path: _path2 + ".values",
|
|
1358
1033
|
expected: "Array<__type>.o2",
|
|
1359
1034
|
value: input3.values
|
|
1360
|
-
})) && input3.values.map((elem,
|
|
1361
|
-
path: _path2 + ".values[" +
|
|
1362
|
-
expected: "__type.
|
|
1035
|
+
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1036
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
1037
|
+
expected: "__type.o5",
|
|
1363
1038
|
value: elem
|
|
1364
|
-
})) && $
|
|
1365
|
-
path: _path2 + ".values[" +
|
|
1366
|
-
expected: "__type.
|
|
1039
|
+
})) && $vo31(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1040
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
1041
|
+
expected: "__type.o5",
|
|
1367
1042
|
value: elem
|
|
1368
1043
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1369
1044
|
path: _path2 + ".values",
|
|
1370
1045
|
expected: "Array<__type>.o2",
|
|
1371
1046
|
value: input3.values
|
|
1372
1047
|
})].every((flag) => flag);
|
|
1373
|
-
const $
|
|
1048
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1049
|
+
path: _path2 + ".id",
|
|
1050
|
+
expected: "string",
|
|
1051
|
+
value: input3.id
|
|
1052
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1053
|
+
path: _path2 + ".query",
|
|
1054
|
+
expected: "string",
|
|
1055
|
+
value: input3.query
|
|
1056
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1057
|
+
path: _path2 + ".name",
|
|
1058
|
+
expected: "string",
|
|
1059
|
+
value: input3.name
|
|
1060
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1061
|
+
path: _path2 + ".name_noOrigin",
|
|
1062
|
+
expected: "string",
|
|
1063
|
+
value: input3.name_noOrigin
|
|
1064
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1065
|
+
path: _path2 + ".parentTerm",
|
|
1066
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1067
|
+
value: input3.parentTerm
|
|
1068
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".parentTerm",
|
|
1070
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1071
|
+
value: input3.parentTerm
|
|
1072
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".isleaf",
|
|
1074
|
+
expected: "boolean",
|
|
1075
|
+
value: input3.isleaf
|
|
1076
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".type",
|
|
1078
|
+
expected: "string",
|
|
1079
|
+
value: input3.type
|
|
1080
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".dt",
|
|
1082
|
+
expected: "number",
|
|
1083
|
+
value: input3.dt
|
|
1084
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".origin",
|
|
1086
|
+
expected: "(string | undefined)",
|
|
1087
|
+
value: input3.origin
|
|
1088
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1089
|
+
path: _path2 + ".values",
|
|
1090
|
+
expected: "TermValues",
|
|
1091
|
+
value: input3.values
|
|
1092
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1093
|
+
path: _path2 + ".values",
|
|
1094
|
+
expected: "TermValues",
|
|
1095
|
+
value: input3.values
|
|
1096
|
+
})].every((flag) => flag);
|
|
1097
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1098
|
+
path: _path2 + ".id",
|
|
1099
|
+
expected: "string",
|
|
1100
|
+
value: input3.id
|
|
1101
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1102
|
+
path: _path2 + ".name",
|
|
1103
|
+
expected: "string",
|
|
1104
|
+
value: input3.name
|
|
1105
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1106
|
+
path: _path2 + ".type",
|
|
1107
|
+
expected: '"geneVariant"',
|
|
1108
|
+
value: input3.type
|
|
1109
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1110
|
+
path: _path2 + ".child_types",
|
|
1111
|
+
expected: "(Array<string> | undefined)",
|
|
1112
|
+
value: input3.child_types
|
|
1113
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1114
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1115
|
+
expected: "string",
|
|
1116
|
+
value: elem
|
|
1117
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1118
|
+
path: _path2 + ".child_types",
|
|
1119
|
+
expected: "(Array<string> | undefined)",
|
|
1120
|
+
value: input3.child_types
|
|
1121
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1122
|
+
path: _path2 + ".hashtmldetail",
|
|
1123
|
+
expected: "(boolean | undefined)",
|
|
1124
|
+
value: input3.hashtmldetail
|
|
1125
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1126
|
+
path: _path2 + ".included_types",
|
|
1127
|
+
expected: "(Array<string> | undefined)",
|
|
1128
|
+
value: input3.included_types
|
|
1129
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1130
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1131
|
+
expected: "string",
|
|
1132
|
+
value: elem
|
|
1133
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".included_types",
|
|
1135
|
+
expected: "(Array<string> | undefined)",
|
|
1136
|
+
value: input3.included_types
|
|
1137
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".isleaf",
|
|
1139
|
+
expected: "(boolean | undefined)",
|
|
1140
|
+
value: input3.isleaf
|
|
1141
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".values",
|
|
1143
|
+
expected: "(TermValues | undefined)",
|
|
1144
|
+
value: input3.values
|
|
1145
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".values",
|
|
1147
|
+
expected: "(TermValues | undefined)",
|
|
1148
|
+
value: input3.values
|
|
1149
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".kind",
|
|
1151
|
+
expected: '"gene"',
|
|
1152
|
+
value: input3.kind
|
|
1153
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".gene",
|
|
1155
|
+
expected: "string",
|
|
1156
|
+
value: input3.gene
|
|
1157
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".chr",
|
|
1159
|
+
expected: "(string | undefined)",
|
|
1160
|
+
value: input3.chr
|
|
1161
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".start",
|
|
1163
|
+
expected: "(number | undefined)",
|
|
1164
|
+
value: input3.start
|
|
1165
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".stop",
|
|
1167
|
+
expected: "(number | undefined)",
|
|
1168
|
+
value: input3.stop
|
|
1169
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".groupsetting",
|
|
1171
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1172
|
+
value: input3.groupsetting
|
|
1173
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".groupsetting",
|
|
1175
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1176
|
+
value: input3.groupsetting
|
|
1177
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".childTerms",
|
|
1179
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1180
|
+
value: input3.childTerms
|
|
1181
|
+
})) && input3.childTerms.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1183
|
+
expected: "DtTerm",
|
|
1184
|
+
value: elem
|
|
1185
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1186
|
+
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1187
|
+
expected: "DtTerm",
|
|
1188
|
+
value: elem
|
|
1189
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1190
|
+
path: _path2 + ".childTerms",
|
|
1191
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1192
|
+
value: input3.childTerms
|
|
1193
|
+
})].every((flag) => flag);
|
|
1194
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1195
|
+
path: _path2 + ".id",
|
|
1196
|
+
expected: "string",
|
|
1197
|
+
value: input3.id
|
|
1198
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1199
|
+
path: _path2 + ".name",
|
|
1200
|
+
expected: "string",
|
|
1201
|
+
value: input3.name
|
|
1202
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".type",
|
|
1204
|
+
expected: '"geneVariant"',
|
|
1205
|
+
value: input3.type
|
|
1206
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1207
|
+
path: _path2 + ".child_types",
|
|
1208
|
+
expected: "(Array<string> | undefined)",
|
|
1209
|
+
value: input3.child_types
|
|
1210
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1212
|
+
expected: "string",
|
|
1213
|
+
value: elem
|
|
1214
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".child_types",
|
|
1216
|
+
expected: "(Array<string> | undefined)",
|
|
1217
|
+
value: input3.child_types
|
|
1218
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".hashtmldetail",
|
|
1220
|
+
expected: "(boolean | undefined)",
|
|
1221
|
+
value: input3.hashtmldetail
|
|
1222
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".included_types",
|
|
1224
|
+
expected: "(Array<string> | undefined)",
|
|
1225
|
+
value: input3.included_types
|
|
1226
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1228
|
+
expected: "string",
|
|
1229
|
+
value: elem
|
|
1230
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1231
|
+
path: _path2 + ".included_types",
|
|
1232
|
+
expected: "(Array<string> | undefined)",
|
|
1233
|
+
value: input3.included_types
|
|
1234
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".isleaf",
|
|
1236
|
+
expected: "(boolean | undefined)",
|
|
1237
|
+
value: input3.isleaf
|
|
1238
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".values",
|
|
1240
|
+
expected: "(TermValues | undefined)",
|
|
1241
|
+
value: input3.values
|
|
1242
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".values",
|
|
1244
|
+
expected: "(TermValues | undefined)",
|
|
1245
|
+
value: input3.values
|
|
1246
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".kind",
|
|
1248
|
+
expected: '"coord"',
|
|
1249
|
+
value: input3.kind
|
|
1250
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1251
|
+
path: _path2 + ".chr",
|
|
1252
|
+
expected: "string",
|
|
1253
|
+
value: input3.chr
|
|
1254
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".start",
|
|
1256
|
+
expected: "number",
|
|
1257
|
+
value: input3.start
|
|
1258
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1259
|
+
path: _path2 + ".stop",
|
|
1260
|
+
expected: "number",
|
|
1261
|
+
value: input3.stop
|
|
1262
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1263
|
+
path: _path2 + ".groupsetting",
|
|
1264
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1265
|
+
value: input3.groupsetting
|
|
1266
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1267
|
+
path: _path2 + ".groupsetting",
|
|
1268
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1269
|
+
value: input3.groupsetting
|
|
1270
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".childTerms",
|
|
1272
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1273
|
+
value: input3.childTerms
|
|
1274
|
+
})) && input3.childTerms.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1276
|
+
expected: "DtTerm",
|
|
1277
|
+
value: elem
|
|
1278
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1279
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1280
|
+
expected: "DtTerm",
|
|
1281
|
+
value: elem
|
|
1282
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1283
|
+
path: _path2 + ".childTerms",
|
|
1284
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1285
|
+
value: input3.childTerms
|
|
1286
|
+
})].every((flag) => flag);
|
|
1287
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1374
1288
|
path: _path2 + ".key",
|
|
1375
1289
|
expected: "string",
|
|
1376
1290
|
value: input3.key
|
|
@@ -1396,9 +1310,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1396
1310
|
})();
|
|
1397
1311
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1398
1312
|
if ("string" === typeof input3.type)
|
|
1399
|
-
return $
|
|
1313
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
1400
1314
|
if ("filter" === input3.type)
|
|
1401
|
-
return $
|
|
1315
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1402
1316
|
return $report(_exceptionable2, {
|
|
1403
1317
|
path: _path2,
|
|
1404
1318
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1407,65 +1321,65 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1407
1321
|
})();
|
|
1408
1322
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1409
1323
|
if (true === input3.startunbounded)
|
|
1410
|
-
return $
|
|
1324
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1411
1325
|
if (true === input3.stopunbounded)
|
|
1412
|
-
return $
|
|
1413
|
-
return $
|
|
1326
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1327
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1414
1328
|
})();
|
|
1415
1329
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1416
1330
|
if (void 0 !== input3.ranges)
|
|
1417
|
-
return $
|
|
1418
|
-
return $vo3(input3, _path2, false) || $
|
|
1331
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1332
|
+
return $vo3(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
1419
1333
|
})();
|
|
1420
1334
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1421
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1422
|
-
return $
|
|
1423
|
-
return $
|
|
1335
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index23) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index23 + "]", false)).every((flag) => flag))
|
|
1336
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
1337
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1424
1338
|
})();
|
|
1425
1339
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1426
|
-
if ("gene" === input3.kind)
|
|
1427
|
-
return $vo10(input3, _path2, _exceptionable2);
|
|
1428
|
-
if ("coord" === input3.kind)
|
|
1429
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1430
|
-
return $report(_exceptionable2, {
|
|
1431
|
-
path: _path2,
|
|
1432
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
1433
|
-
value: input3
|
|
1434
|
-
});
|
|
1435
|
-
})();
|
|
1436
|
-
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1437
1340
|
if ("regular-bin" === input3.type)
|
|
1438
|
-
return $
|
|
1341
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1439
1342
|
if ("custom-bin" === input3.type)
|
|
1440
|
-
return $
|
|
1343
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1441
1344
|
return $report(_exceptionable2, {
|
|
1442
1345
|
path: _path2,
|
|
1443
1346
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1444
1347
|
value: input3
|
|
1445
1348
|
});
|
|
1446
1349
|
})();
|
|
1447
|
-
const $
|
|
1350
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1448
1351
|
if (true === input3.startunbounded)
|
|
1449
|
-
return $
|
|
1352
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1450
1353
|
if (void 0 !== input3.start)
|
|
1451
|
-
return $
|
|
1354
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1452
1355
|
return $report(_exceptionable2, {
|
|
1453
1356
|
path: _path2,
|
|
1454
1357
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1455
1358
|
value: input3
|
|
1456
1359
|
});
|
|
1457
1360
|
})();
|
|
1458
|
-
const $
|
|
1361
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1459
1362
|
if (void 0 !== input3.stop)
|
|
1460
|
-
return $
|
|
1363
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1461
1364
|
if (true === input3.stopunbounded)
|
|
1462
|
-
return $
|
|
1365
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1463
1366
|
return $report(_exceptionable2, {
|
|
1464
1367
|
path: _path2,
|
|
1465
1368
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1466
1369
|
value: input3
|
|
1467
1370
|
});
|
|
1468
1371
|
})();
|
|
1372
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1373
|
+
if ("gene" === input3.kind)
|
|
1374
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1375
|
+
if ("coord" === input3.kind)
|
|
1376
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1377
|
+
return $report(_exceptionable2, {
|
|
1378
|
+
path: _path2,
|
|
1379
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1380
|
+
value: input3
|
|
1381
|
+
});
|
|
1382
|
+
})();
|
|
1469
1383
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1470
1384
|
path: _path + "",
|
|
1471
1385
|
expected: "NumericCategoriesRequest",
|