@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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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);
|
|
@@ -302,21 +299,13 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
302
299
|
path: _path2 + ".values",
|
|
303
300
|
expected: "(TermValues | undefined)",
|
|
304
301
|
value: input3.values
|
|
305
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
306
|
-
path: _path2 + ".filter",
|
|
307
|
-
expected: "(TermFilter | undefined)",
|
|
308
|
-
value: input3.filter
|
|
309
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
310
|
-
path: _path2 + ".filter",
|
|
311
|
-
expected: "(TermFilter | undefined)",
|
|
312
|
-
value: input3.filter
|
|
313
302
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
314
303
|
path: _path2 + ".groupsetting",
|
|
315
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
304
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
316
305
|
value: input3.groupsetting
|
|
317
306
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
318
307
|
path: _path2 + ".groupsetting",
|
|
319
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
308
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
320
309
|
value: input3.groupsetting
|
|
321
310
|
})].every((flag) => flag);
|
|
322
311
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -378,183 +367,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
378
367
|
expected: "(Filter | undefined)",
|
|
379
368
|
value: input3.filter
|
|
380
369
|
})].every((flag) => flag);
|
|
381
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
382
|
-
path: _path2 + ".opts",
|
|
383
|
-
expected: "__type.o1",
|
|
384
|
-
value: input3.opts
|
|
385
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
386
|
-
path: _path2 + ".opts",
|
|
387
|
-
expected: "__type.o1",
|
|
388
|
-
value: input3.opts
|
|
389
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
390
|
-
path: _path2 + ".terms",
|
|
391
|
-
expected: "Array<DtTerm>",
|
|
392
|
-
value: input3.terms
|
|
393
|
-
})) && input3.terms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
394
|
-
path: _path2 + ".terms[" + _index5 + "]",
|
|
395
|
-
expected: "DtTerm",
|
|
396
|
-
value: elem
|
|
397
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
398
|
-
path: _path2 + ".terms[" + _index5 + "]",
|
|
399
|
-
expected: "DtTerm",
|
|
400
|
-
value: elem
|
|
401
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
402
|
-
path: _path2 + ".terms",
|
|
403
|
-
expected: "Array<DtTerm>",
|
|
404
|
-
value: input3.terms
|
|
405
|
-
})].every((flag) => flag);
|
|
406
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
407
|
-
path: _path2 + ".joinWith",
|
|
408
|
-
expected: "Array<string>",
|
|
409
|
-
value: input3.joinWith
|
|
410
|
-
})) && input3.joinWith.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
411
|
-
path: _path2 + ".joinWith[" + _index6 + "]",
|
|
412
|
-
expected: "string",
|
|
413
|
-
value: elem
|
|
414
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
415
|
-
path: _path2 + ".joinWith",
|
|
416
|
-
expected: "Array<string>",
|
|
417
|
-
value: input3.joinWith
|
|
418
|
-
})].every((flag) => flag);
|
|
419
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
420
|
-
path: _path2 + ".id",
|
|
421
|
-
expected: "string",
|
|
422
|
-
value: input3.id
|
|
423
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
424
|
-
path: _path2 + ".query",
|
|
425
|
-
expected: "string",
|
|
426
|
-
value: input3.query
|
|
427
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
428
|
-
path: _path2 + ".name",
|
|
429
|
-
expected: "string",
|
|
430
|
-
value: input3.name
|
|
431
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
432
|
-
path: _path2 + ".name_noOrigin",
|
|
433
|
-
expected: "string",
|
|
434
|
-
value: input3.name_noOrigin
|
|
435
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
436
|
-
path: _path2 + ".geneVariantTerm",
|
|
437
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
438
|
-
value: input3.geneVariantTerm
|
|
439
|
-
})) && $vu5(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $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
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
444
|
-
path: _path2 + ".isleaf",
|
|
445
|
-
expected: "boolean",
|
|
446
|
-
value: input3.isleaf
|
|
447
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
448
|
-
path: _path2 + ".type",
|
|
449
|
-
expected: "string",
|
|
450
|
-
value: input3.type
|
|
451
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
452
|
-
path: _path2 + ".dt",
|
|
453
|
-
expected: "number",
|
|
454
|
-
value: input3.dt
|
|
455
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
456
|
-
path: _path2 + ".origin",
|
|
457
|
-
expected: "(string | undefined)",
|
|
458
|
-
value: input3.origin
|
|
459
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
460
|
-
path: _path2 + ".values",
|
|
461
|
-
expected: "TermValues",
|
|
462
|
-
value: input3.values
|
|
463
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
464
|
-
path: _path2 + ".values",
|
|
465
|
-
expected: "TermValues",
|
|
466
|
-
value: input3.values
|
|
467
|
-
})].every((flag) => flag);
|
|
468
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
469
|
-
path: _path2 + ".id",
|
|
470
|
-
expected: "string",
|
|
471
|
-
value: input3.id
|
|
472
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
473
|
-
path: _path2 + ".name",
|
|
474
|
-
expected: "string",
|
|
475
|
-
value: input3.name
|
|
476
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
477
|
-
path: _path2 + ".type",
|
|
478
|
-
expected: '"geneVariant"',
|
|
479
|
-
value: input3.type
|
|
480
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
481
|
-
path: _path2 + ".child_types",
|
|
482
|
-
expected: "(Array<string> | undefined)",
|
|
483
|
-
value: input3.child_types
|
|
484
|
-
})) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
485
|
-
path: _path2 + ".child_types[" + _index7 + "]",
|
|
486
|
-
expected: "string",
|
|
487
|
-
value: elem
|
|
488
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
489
|
-
path: _path2 + ".child_types",
|
|
490
|
-
expected: "(Array<string> | undefined)",
|
|
491
|
-
value: input3.child_types
|
|
492
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
493
|
-
path: _path2 + ".hashtmldetail",
|
|
494
|
-
expected: "(boolean | undefined)",
|
|
495
|
-
value: input3.hashtmldetail
|
|
496
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
497
|
-
path: _path2 + ".included_types",
|
|
498
|
-
expected: "(Array<string> | undefined)",
|
|
499
|
-
value: input3.included_types
|
|
500
|
-
})) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
501
|
-
path: _path2 + ".included_types[" + _index8 + "]",
|
|
502
|
-
expected: "string",
|
|
503
|
-
value: elem
|
|
504
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
505
|
-
path: _path2 + ".included_types",
|
|
506
|
-
expected: "(Array<string> | undefined)",
|
|
507
|
-
value: input3.included_types
|
|
508
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
509
|
-
path: _path2 + ".isleaf",
|
|
510
|
-
expected: "(boolean | undefined)",
|
|
511
|
-
value: input3.isleaf
|
|
512
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
513
|
-
path: _path2 + ".values",
|
|
514
|
-
expected: "(TermValues | undefined)",
|
|
515
|
-
value: input3.values
|
|
516
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
517
|
-
path: _path2 + ".values",
|
|
518
|
-
expected: "(TermValues | undefined)",
|
|
519
|
-
value: input3.values
|
|
520
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
521
|
-
path: _path2 + ".filter",
|
|
522
|
-
expected: "(TermFilter | undefined)",
|
|
523
|
-
value: input3.filter
|
|
524
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
525
|
-
path: _path2 + ".filter",
|
|
526
|
-
expected: "(TermFilter | undefined)",
|
|
527
|
-
value: input3.filter
|
|
528
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
529
|
-
path: _path2 + ".kind",
|
|
530
|
-
expected: '"gene"',
|
|
531
|
-
value: input3.kind
|
|
532
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
533
|
-
path: _path2 + ".gene",
|
|
534
|
-
expected: "string",
|
|
535
|
-
value: input3.gene
|
|
536
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
537
|
-
path: _path2 + ".chr",
|
|
538
|
-
expected: "(string | undefined)",
|
|
539
|
-
value: input3.chr
|
|
540
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
541
|
-
path: _path2 + ".start",
|
|
542
|
-
expected: "(number | undefined)",
|
|
543
|
-
value: input3.start
|
|
544
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
545
|
-
path: _path2 + ".stop",
|
|
546
|
-
expected: "(number | undefined)",
|
|
547
|
-
value: input3.stop
|
|
548
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
549
|
-
path: _path2 + ".groupsetting",
|
|
550
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
551
|
-
value: input3.groupsetting
|
|
552
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
553
|
-
path: _path2 + ".groupsetting",
|
|
554
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
555
|
-
value: input3.groupsetting
|
|
556
|
-
})].every((flag) => flag);
|
|
557
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
370
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
558
371
|
path: _path2 + ".disabled",
|
|
559
372
|
expected: "(boolean | undefined)",
|
|
560
373
|
value: input3.disabled
|
|
@@ -562,12 +375,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
562
375
|
path: _path2 + ".lst",
|
|
563
376
|
expected: "Array<Groupset>",
|
|
564
377
|
value: input3.lst
|
|
565
|
-
})) && input3.lst.map((elem,
|
|
566
|
-
path: _path2 + ".lst[" +
|
|
378
|
+
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
379
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
567
380
|
expected: "Groupset",
|
|
568
381
|
value: elem
|
|
569
|
-
})) && $
|
|
570
|
-
path: _path2 + ".lst[" +
|
|
382
|
+
})) && $vo8(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
383
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
571
384
|
expected: "Groupset",
|
|
572
385
|
value: elem
|
|
573
386
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -575,7 +388,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
575
388
|
expected: "Array<Groupset>",
|
|
576
389
|
value: input3.lst
|
|
577
390
|
})].every((flag) => flag);
|
|
578
|
-
const $
|
|
391
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
579
392
|
path: _path2 + ".name",
|
|
580
393
|
expected: "string",
|
|
581
394
|
value: input3.name
|
|
@@ -595,12 +408,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
595
408
|
path: _path2 + ".groups",
|
|
596
409
|
expected: "Array<GroupEntry>",
|
|
597
410
|
value: input3.groups
|
|
598
|
-
})) && input3.groups.map((elem,
|
|
599
|
-
path: _path2 + ".groups[" +
|
|
411
|
+
})) && input3.groups.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
412
|
+
path: _path2 + ".groups[" + _index6 + "]",
|
|
600
413
|
expected: "(FilterGroup | ValuesGroup)",
|
|
601
414
|
value: elem
|
|
602
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
603
|
-
path: _path2 + ".groups[" +
|
|
415
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
416
|
+
path: _path2 + ".groups[" + _index6 + "]",
|
|
604
417
|
expected: "(FilterGroup | ValuesGroup)",
|
|
605
418
|
value: elem
|
|
606
419
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -608,7 +421,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
608
421
|
expected: "Array<GroupEntry>",
|
|
609
422
|
value: input3.groups
|
|
610
423
|
})].every((flag) => flag);
|
|
611
|
-
const $
|
|
424
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
612
425
|
path: _path2 + ".name",
|
|
613
426
|
expected: "string",
|
|
614
427
|
value: input3.name
|
|
@@ -620,13 +433,13 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
620
433
|
path: _path2 + ".values",
|
|
621
434
|
expected: "Array<__type>",
|
|
622
435
|
value: input3.values
|
|
623
|
-
})) && input3.values.map((elem,
|
|
624
|
-
path: _path2 + ".values[" +
|
|
625
|
-
expected: "__type.
|
|
436
|
+
})) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
437
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
438
|
+
expected: "__type.o1",
|
|
626
439
|
value: elem
|
|
627
|
-
})) && $
|
|
628
|
-
path: _path2 + ".values[" +
|
|
629
|
-
expected: "__type.
|
|
440
|
+
})) && $vo10(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
441
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
442
|
+
expected: "__type.o1",
|
|
630
443
|
value: elem
|
|
631
444
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
632
445
|
path: _path2 + ".values",
|
|
@@ -637,7 +450,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
637
450
|
expected: "(boolean | undefined)",
|
|
638
451
|
value: input3.uncomputable
|
|
639
452
|
})].every((flag) => flag);
|
|
640
|
-
const $
|
|
453
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
641
454
|
path: _path2 + ".key",
|
|
642
455
|
expected: "(number | string)",
|
|
643
456
|
value: input3.key
|
|
@@ -646,7 +459,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
646
459
|
expected: "string",
|
|
647
460
|
value: input3.label
|
|
648
461
|
})].every((flag) => flag);
|
|
649
|
-
const $
|
|
462
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
650
463
|
path: _path2 + ".name",
|
|
651
464
|
expected: "string",
|
|
652
465
|
value: input3.name
|
|
@@ -656,55 +469,18 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
656
469
|
value: input3.type
|
|
657
470
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
658
471
|
path: _path2 + ".filter",
|
|
659
|
-
expected: "
|
|
472
|
+
expected: "Filter",
|
|
660
473
|
value: input3.filter
|
|
661
|
-
})) && $
|
|
474
|
+
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
662
475
|
path: _path2 + ".filter",
|
|
663
|
-
expected: "
|
|
476
|
+
expected: "Filter",
|
|
664
477
|
value: input3.filter
|
|
665
478
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
666
479
|
path: _path2 + ".uncomputable",
|
|
667
480
|
expected: "boolean",
|
|
668
481
|
value: input3.uncomputable
|
|
669
482
|
})].every((flag) => flag);
|
|
670
|
-
const $
|
|
671
|
-
path: _path2 + ".opts",
|
|
672
|
-
expected: "__type.o1",
|
|
673
|
-
value: input3.opts
|
|
674
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
675
|
-
path: _path2 + ".opts",
|
|
676
|
-
expected: "__type.o1",
|
|
677
|
-
value: input3.opts
|
|
678
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
679
|
-
path: _path2 + ".terms",
|
|
680
|
-
expected: "Array<DtTerm>",
|
|
681
|
-
value: input3.terms
|
|
682
|
-
})) && input3.terms.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
683
|
-
path: _path2 + ".terms[" + _index12 + "]",
|
|
684
|
-
expected: "DtTerm",
|
|
685
|
-
value: elem
|
|
686
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
687
|
-
path: _path2 + ".terms[" + _index12 + "]",
|
|
688
|
-
expected: "DtTerm",
|
|
689
|
-
value: elem
|
|
690
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
691
|
-
path: _path2 + ".terms",
|
|
692
|
-
expected: "Array<DtTerm>",
|
|
693
|
-
value: input3.terms
|
|
694
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
695
|
-
path: _path2 + ".active",
|
|
696
|
-
expected: "Filter",
|
|
697
|
-
value: input3.active
|
|
698
|
-
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
699
|
-
path: _path2 + ".active",
|
|
700
|
-
expected: "Filter",
|
|
701
|
-
value: input3.active
|
|
702
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
703
|
-
path: _path2 + ".group",
|
|
704
|
-
expected: "number",
|
|
705
|
-
value: input3.group
|
|
706
|
-
})].every((flag) => flag);
|
|
707
|
-
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
483
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
708
484
|
path: _path2 + ".disabled",
|
|
709
485
|
expected: "boolean",
|
|
710
486
|
value: input3.disabled
|
|
@@ -721,7 +497,56 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
721
497
|
expected: "([] | undefined)",
|
|
722
498
|
value: input3.lst
|
|
723
499
|
})].every((flag) => flag);
|
|
724
|
-
const $
|
|
500
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
501
|
+
path: _path2 + ".join",
|
|
502
|
+
expected: "(string | undefined)",
|
|
503
|
+
value: input3.join
|
|
504
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
505
|
+
path: _path2 + ".isnot",
|
|
506
|
+
expected: "(boolean | undefined)",
|
|
507
|
+
value: input3.isnot
|
|
508
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
509
|
+
path: _path2 + ".term",
|
|
510
|
+
expected: "NumericTerm",
|
|
511
|
+
value: input3.term
|
|
512
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
513
|
+
path: _path2 + ".term",
|
|
514
|
+
expected: "NumericTerm",
|
|
515
|
+
value: input3.term
|
|
516
|
+
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
517
|
+
path: _path2 + ".ranges",
|
|
518
|
+
expected: "Array<NumericBin>",
|
|
519
|
+
value: input3.ranges
|
|
520
|
+
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
521
|
+
path: _path2 + ".ranges[" + _index8 + "]",
|
|
522
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
523
|
+
value: elem
|
|
524
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
525
|
+
path: _path2 + ".ranges[" + _index8 + "]",
|
|
526
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
527
|
+
value: elem
|
|
528
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
529
|
+
path: _path2 + ".ranges",
|
|
530
|
+
expected: "Array<NumericBin>",
|
|
531
|
+
value: input3.ranges
|
|
532
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
533
|
+
path: _path2 + ".values",
|
|
534
|
+
expected: "Array<__type>.o1",
|
|
535
|
+
value: input3.values
|
|
536
|
+
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
537
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
538
|
+
expected: "__type.o4",
|
|
539
|
+
value: elem
|
|
540
|
+
})) && $vo23(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
541
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
542
|
+
expected: "__type.o4",
|
|
543
|
+
value: elem
|
|
544
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
545
|
+
path: _path2 + ".values",
|
|
546
|
+
expected: "Array<__type>.o1",
|
|
547
|
+
value: input3.values
|
|
548
|
+
})].every((flag) => flag);
|
|
549
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
725
550
|
path: _path2 + ".id",
|
|
726
551
|
expected: "string",
|
|
727
552
|
value: input3.id
|
|
@@ -729,16 +554,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
729
554
|
path: _path2 + ".name",
|
|
730
555
|
expected: "string",
|
|
731
556
|
value: input3.name
|
|
732
|
-
}), "
|
|
557
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
733
558
|
path: _path2 + ".type",
|
|
734
|
-
expected: '"
|
|
559
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
735
560
|
value: input3.type
|
|
736
561
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
737
562
|
path: _path2 + ".child_types",
|
|
738
563
|
expected: "(Array<string> | undefined)",
|
|
739
564
|
value: input3.child_types
|
|
740
|
-
})) && input3.child_types.map((elem,
|
|
741
|
-
path: _path2 + ".child_types[" +
|
|
565
|
+
})) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
566
|
+
path: _path2 + ".child_types[" + _index10 + "]",
|
|
742
567
|
expected: "string",
|
|
743
568
|
value: elem
|
|
744
569
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -753,8 +578,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
753
578
|
path: _path2 + ".included_types",
|
|
754
579
|
expected: "(Array<string> | undefined)",
|
|
755
580
|
value: input3.included_types
|
|
756
|
-
})) && input3.included_types.map((elem,
|
|
757
|
-
path: _path2 + ".included_types[" +
|
|
581
|
+
})) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
582
|
+
path: _path2 + ".included_types[" + _index11 + "]",
|
|
758
583
|
expected: "string",
|
|
759
584
|
value: elem
|
|
760
585
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -773,153 +598,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
773
598
|
path: _path2 + ".values",
|
|
774
599
|
expected: "(TermValues | undefined)",
|
|
775
600
|
value: input3.values
|
|
776
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
777
|
-
path: _path2 + ".filter",
|
|
778
|
-
expected: "(TermFilter | undefined)",
|
|
779
|
-
value: input3.filter
|
|
780
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
781
|
-
path: _path2 + ".filter",
|
|
782
|
-
expected: "(TermFilter | undefined)",
|
|
783
|
-
value: input3.filter
|
|
784
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
785
|
-
path: _path2 + ".kind",
|
|
786
|
-
expected: '"coord"',
|
|
787
|
-
value: input3.kind
|
|
788
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
789
|
-
path: _path2 + ".chr",
|
|
790
|
-
expected: "string",
|
|
791
|
-
value: input3.chr
|
|
792
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
793
|
-
path: _path2 + ".start",
|
|
794
|
-
expected: "number",
|
|
795
|
-
value: input3.start
|
|
796
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
797
|
-
path: _path2 + ".stop",
|
|
798
|
-
expected: "number",
|
|
799
|
-
value: input3.stop
|
|
800
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
801
|
-
path: _path2 + ".groupsetting",
|
|
802
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
803
|
-
value: input3.groupsetting
|
|
804
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
805
|
-
path: _path2 + ".groupsetting",
|
|
806
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
807
|
-
value: input3.groupsetting
|
|
808
|
-
})].every((flag) => flag);
|
|
809
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
810
|
-
path: _path2 + ".join",
|
|
811
|
-
expected: "(string | undefined)",
|
|
812
|
-
value: input3.join
|
|
813
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
814
|
-
path: _path2 + ".isnot",
|
|
815
|
-
expected: "(boolean | undefined)",
|
|
816
|
-
value: input3.isnot
|
|
817
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
818
|
-
path: _path2 + ".term",
|
|
819
|
-
expected: "NumericTerm",
|
|
820
|
-
value: input3.term
|
|
821
|
-
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
822
|
-
path: _path2 + ".term",
|
|
823
|
-
expected: "NumericTerm",
|
|
824
|
-
value: input3.term
|
|
825
|
-
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
826
|
-
path: _path2 + ".ranges",
|
|
827
|
-
expected: "Array<NumericBin>",
|
|
828
|
-
value: input3.ranges
|
|
829
|
-
})) && input3.ranges.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
830
|
-
path: _path2 + ".ranges[" + _index15 + "]",
|
|
831
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
832
|
-
value: elem
|
|
833
|
-
})) && $vu2(elem, _path2 + ".ranges[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
834
|
-
path: _path2 + ".ranges[" + _index15 + "]",
|
|
835
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
836
|
-
value: elem
|
|
837
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
838
|
-
path: _path2 + ".ranges",
|
|
839
|
-
expected: "Array<NumericBin>",
|
|
840
|
-
value: input3.ranges
|
|
841
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
842
|
-
path: _path2 + ".values",
|
|
843
|
-
expected: "Array<__type>.o1",
|
|
844
|
-
value: input3.values
|
|
845
|
-
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
846
|
-
path: _path2 + ".values[" + _index16 + "]",
|
|
847
|
-
expected: "__type.o5",
|
|
848
|
-
value: elem
|
|
849
|
-
})) && $vo29(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
850
|
-
path: _path2 + ".values[" + _index16 + "]",
|
|
851
|
-
expected: "__type.o5",
|
|
852
|
-
value: elem
|
|
853
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
854
|
-
path: _path2 + ".values",
|
|
855
|
-
expected: "Array<__type>.o1",
|
|
856
|
-
value: input3.values
|
|
857
|
-
})].every((flag) => flag);
|
|
858
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
859
|
-
path: _path2 + ".id",
|
|
860
|
-
expected: "string",
|
|
861
|
-
value: input3.id
|
|
862
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
863
|
-
path: _path2 + ".name",
|
|
864
|
-
expected: "string",
|
|
865
|
-
value: input3.name
|
|
866
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
867
|
-
path: _path2 + ".type",
|
|
868
|
-
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
869
|
-
value: input3.type
|
|
870
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
871
|
-
path: _path2 + ".child_types",
|
|
872
|
-
expected: "(Array<string> | undefined)",
|
|
873
|
-
value: input3.child_types
|
|
874
|
-
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
875
|
-
path: _path2 + ".child_types[" + _index17 + "]",
|
|
876
|
-
expected: "string",
|
|
877
|
-
value: elem
|
|
878
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
879
|
-
path: _path2 + ".child_types",
|
|
880
|
-
expected: "(Array<string> | undefined)",
|
|
881
|
-
value: input3.child_types
|
|
882
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
883
|
-
path: _path2 + ".hashtmldetail",
|
|
884
|
-
expected: "(boolean | undefined)",
|
|
885
|
-
value: input3.hashtmldetail
|
|
886
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
887
|
-
path: _path2 + ".included_types",
|
|
888
|
-
expected: "(Array<string> | undefined)",
|
|
889
|
-
value: input3.included_types
|
|
890
|
-
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
891
|
-
path: _path2 + ".included_types[" + _index18 + "]",
|
|
892
|
-
expected: "string",
|
|
893
|
-
value: elem
|
|
894
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
895
|
-
path: _path2 + ".included_types",
|
|
896
|
-
expected: "(Array<string> | undefined)",
|
|
897
|
-
value: input3.included_types
|
|
898
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
899
|
-
path: _path2 + ".isleaf",
|
|
900
|
-
expected: "(boolean | undefined)",
|
|
901
|
-
value: input3.isleaf
|
|
902
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
903
|
-
path: _path2 + ".values",
|
|
904
|
-
expected: "(TermValues | undefined)",
|
|
905
|
-
value: input3.values
|
|
906
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
907
|
-
path: _path2 + ".values",
|
|
908
|
-
expected: "(TermValues | undefined)",
|
|
909
|
-
value: input3.values
|
|
910
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
911
|
-
path: _path2 + ".filter",
|
|
912
|
-
expected: "(TermFilter | undefined)",
|
|
913
|
-
value: input3.filter
|
|
914
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
915
|
-
path: _path2 + ".filter",
|
|
916
|
-
expected: "(TermFilter | undefined)",
|
|
917
|
-
value: input3.filter
|
|
918
601
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
919
602
|
path: _path2 + ".bins",
|
|
920
603
|
expected: "PresetNumericBins",
|
|
921
604
|
value: input3.bins
|
|
922
|
-
})) && $
|
|
605
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
923
606
|
path: _path2 + ".bins",
|
|
924
607
|
expected: "PresetNumericBins",
|
|
925
608
|
value: input3.bins
|
|
@@ -929,18 +612,18 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
929
612
|
value: input3.unit
|
|
930
613
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
931
614
|
path: _path2 + ".continuousColorScale",
|
|
932
|
-
expected: "(__type.
|
|
615
|
+
expected: "(__type.o3 | undefined)",
|
|
933
616
|
value: input3.continuousColorScale
|
|
934
|
-
})) && $
|
|
617
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
935
618
|
path: _path2 + ".continuousColorScale",
|
|
936
|
-
expected: "(__type.
|
|
619
|
+
expected: "(__type.o3 | undefined)",
|
|
937
620
|
value: input3.continuousColorScale
|
|
938
621
|
})].every((flag) => flag);
|
|
939
|
-
const $
|
|
622
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
940
623
|
path: _path2 + '["default"]',
|
|
941
624
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
942
625
|
value: input3["default"]
|
|
943
|
-
})) && $
|
|
626
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
944
627
|
path: _path2 + '["default"]',
|
|
945
628
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
946
629
|
value: input3["default"]
|
|
@@ -948,7 +631,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
948
631
|
path: _path2 + ".less",
|
|
949
632
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
950
633
|
value: input3.less
|
|
951
|
-
})) && $
|
|
634
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
952
635
|
path: _path2 + ".less",
|
|
953
636
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
954
637
|
value: input3.less
|
|
@@ -973,11 +656,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
973
656
|
expected: "(number | undefined)",
|
|
974
657
|
value: input3.max
|
|
975
658
|
})].every((flag) => flag);
|
|
976
|
-
const $
|
|
659
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
977
660
|
path: _path2 + ".hiddenValues",
|
|
978
661
|
expected: "(HiddenValues | undefined)",
|
|
979
662
|
value: input3.hiddenValues
|
|
980
|
-
})) && $
|
|
663
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
981
664
|
path: _path2 + ".hiddenValues",
|
|
982
665
|
expected: "(HiddenValues | undefined)",
|
|
983
666
|
value: input3.hiddenValues
|
|
@@ -1009,7 +692,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1009
692
|
path: _path2 + ".first_bin",
|
|
1010
693
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1011
694
|
value: input3.first_bin
|
|
1012
|
-
})) && $
|
|
695
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1013
696
|
path: _path2 + ".first_bin",
|
|
1014
697
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1015
698
|
value: input3.first_bin
|
|
@@ -1017,7 +700,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1017
700
|
path: _path2 + ".last_bin",
|
|
1018
701
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1019
702
|
value: input3.last_bin
|
|
1020
|
-
})) && $
|
|
703
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1021
704
|
path: _path2 + ".last_bin",
|
|
1022
705
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1023
706
|
value: input3.last_bin
|
|
@@ -1026,7 +709,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1026
709
|
expected: "(number | undefined)",
|
|
1027
710
|
value: input3.label_offset
|
|
1028
711
|
})].every((flag) => flag);
|
|
1029
|
-
const $
|
|
712
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1030
713
|
const value = input3[key];
|
|
1031
714
|
if (void 0 === value)
|
|
1032
715
|
return true;
|
|
@@ -1038,7 +721,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1038
721
|
});
|
|
1039
722
|
return true;
|
|
1040
723
|
}).every((flag) => flag)].every((flag) => flag);
|
|
1041
|
-
const $
|
|
724
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1042
725
|
path: _path2 + ".startunbounded",
|
|
1043
726
|
expected: "true",
|
|
1044
727
|
value: input3.startunbounded
|
|
@@ -1063,7 +746,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1063
746
|
expected: "(string | undefined)",
|
|
1064
747
|
value: input3.label
|
|
1065
748
|
})].every((flag) => flag);
|
|
1066
|
-
const $
|
|
749
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1067
750
|
path: _path2 + ".startunbounded",
|
|
1068
751
|
expected: "(false | undefined)",
|
|
1069
752
|
value: input3.startunbounded
|
|
@@ -1092,7 +775,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1092
775
|
expected: "(string | undefined)",
|
|
1093
776
|
value: input3.label
|
|
1094
777
|
})].every((flag) => flag);
|
|
1095
|
-
const $
|
|
778
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1096
779
|
path: _path2 + ".start",
|
|
1097
780
|
expected: "number",
|
|
1098
781
|
value: input3.start
|
|
@@ -1117,11 +800,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1117
800
|
expected: "(string | undefined)",
|
|
1118
801
|
value: input3.label
|
|
1119
802
|
})].every((flag) => flag);
|
|
1120
|
-
const $
|
|
803
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1121
804
|
path: _path2 + ".hiddenValues",
|
|
1122
805
|
expected: "(HiddenValues | undefined)",
|
|
1123
806
|
value: input3.hiddenValues
|
|
1124
|
-
})) && $
|
|
807
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1125
808
|
path: _path2 + ".hiddenValues",
|
|
1126
809
|
expected: "(HiddenValues | undefined)",
|
|
1127
810
|
value: input3.hiddenValues
|
|
@@ -1163,12 +846,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1163
846
|
path: _path2 + ".lst",
|
|
1164
847
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1165
848
|
value: input3.lst.slice(1)
|
|
1166
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1167
|
-
path: _path2 + ".lst[" + (1 +
|
|
849
|
+
})) && input3.lst.slice(1).map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
850
|
+
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
1168
851
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1169
852
|
value: elem
|
|
1170
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1171
|
-
path: _path2 + ".lst[" + (1 +
|
|
853
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
854
|
+
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
1172
855
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1173
856
|
value: elem
|
|
1174
857
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1184,7 +867,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1184
867
|
expected: '("median" | undefined)',
|
|
1185
868
|
value: input3.preferredBins
|
|
1186
869
|
})].every((flag) => flag);
|
|
1187
|
-
const $
|
|
870
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1188
871
|
path: _path2 + ".minColor",
|
|
1189
872
|
expected: "string",
|
|
1190
873
|
value: input3.minColor
|
|
@@ -1193,7 +876,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1193
876
|
expected: "string",
|
|
1194
877
|
value: input3.maxColor
|
|
1195
878
|
})].every((flag) => flag);
|
|
1196
|
-
const $
|
|
879
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1197
880
|
path: _path2 + ".key",
|
|
1198
881
|
expected: "string",
|
|
1199
882
|
value: input3.key
|
|
@@ -1210,7 +893,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1210
893
|
expected: "(string | undefined)",
|
|
1211
894
|
value: input3.label
|
|
1212
895
|
})].every((flag) => flag);
|
|
1213
|
-
const $
|
|
896
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1214
897
|
path: _path2 + ".join",
|
|
1215
898
|
expected: "(string | undefined)",
|
|
1216
899
|
value: input3.join
|
|
@@ -1222,7 +905,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1222
905
|
path: _path2 + ".term",
|
|
1223
906
|
expected: "ConditionTerm",
|
|
1224
907
|
value: input3.term
|
|
1225
|
-
})) && $
|
|
908
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1226
909
|
path: _path2 + ".term",
|
|
1227
910
|
expected: "ConditionTerm",
|
|
1228
911
|
value: input3.term
|
|
@@ -1242,12 +925,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1242
925
|
path: _path2 + ".grade_and_child",
|
|
1243
926
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1244
927
|
value: input3.grade_and_child
|
|
1245
|
-
})) && input3.grade_and_child.map((elem,
|
|
1246
|
-
path: _path2 + ".grade_and_child[" +
|
|
928
|
+
})) && input3.grade_and_child.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
929
|
+
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
1247
930
|
expected: "GradeAndChildEntry",
|
|
1248
931
|
value: elem
|
|
1249
|
-
})) && $
|
|
1250
|
-
path: _path2 + ".grade_and_child[" +
|
|
932
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
933
|
+
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
1251
934
|
expected: "GradeAndChildEntry",
|
|
1252
935
|
value: elem
|
|
1253
936
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1255,7 +938,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1255
938
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1256
939
|
value: input3.grade_and_child
|
|
1257
940
|
})].every((flag) => flag);
|
|
1258
|
-
const $
|
|
941
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1259
942
|
path: _path2 + ".id",
|
|
1260
943
|
expected: "string",
|
|
1261
944
|
value: input3.id
|
|
@@ -1271,8 +954,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1271
954
|
path: _path2 + ".child_types",
|
|
1272
955
|
expected: "(Array<string> | undefined)",
|
|
1273
956
|
value: input3.child_types
|
|
1274
|
-
})) && input3.child_types.map((elem,
|
|
1275
|
-
path: _path2 + ".child_types[" +
|
|
957
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
958
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
1276
959
|
expected: "string",
|
|
1277
960
|
value: elem
|
|
1278
961
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1287,8 +970,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1287
970
|
path: _path2 + ".included_types",
|
|
1288
971
|
expected: "(Array<string> | undefined)",
|
|
1289
972
|
value: input3.included_types
|
|
1290
|
-
})) && input3.included_types.map((elem,
|
|
1291
|
-
path: _path2 + ".included_types[" +
|
|
973
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
974
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
1292
975
|
expected: "string",
|
|
1293
976
|
value: elem
|
|
1294
977
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1307,16 +990,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1307
990
|
path: _path2 + ".values",
|
|
1308
991
|
expected: "(TermValues | undefined)",
|
|
1309
992
|
value: input3.values
|
|
1310
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1311
|
-
path: _path2 + ".filter",
|
|
1312
|
-
expected: "(TermFilter | undefined)",
|
|
1313
|
-
value: input3.filter
|
|
1314
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1315
|
-
path: _path2 + ".filter",
|
|
1316
|
-
expected: "(TermFilter | undefined)",
|
|
1317
|
-
value: input3.filter
|
|
1318
993
|
})].every((flag) => flag);
|
|
1319
|
-
const $
|
|
994
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1320
995
|
path: _path2 + ".grade",
|
|
1321
996
|
expected: "number",
|
|
1322
997
|
value: input3.grade
|
|
@@ -1333,7 +1008,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1333
1008
|
expected: "string",
|
|
1334
1009
|
value: input3.child_label
|
|
1335
1010
|
})].every((flag) => flag);
|
|
1336
|
-
const $
|
|
1011
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1337
1012
|
path: _path2 + ".join",
|
|
1338
1013
|
expected: "(string | undefined)",
|
|
1339
1014
|
value: input3.join
|
|
@@ -1345,7 +1020,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1345
1020
|
path: _path2 + ".term",
|
|
1346
1021
|
expected: "DtTerm",
|
|
1347
1022
|
value: input3.term
|
|
1348
|
-
})) && $
|
|
1023
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1349
1024
|
path: _path2 + ".term",
|
|
1350
1025
|
expected: "DtTerm",
|
|
1351
1026
|
value: input3.term
|
|
@@ -1353,113 +1028,352 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1353
1028
|
path: _path2 + ".values",
|
|
1354
1029
|
expected: "Array<__type>.o2",
|
|
1355
1030
|
value: input3.values
|
|
1356
|
-
})) && input3.values.map((elem,
|
|
1357
|
-
path: _path2 + ".values[" +
|
|
1358
|
-
expected: "__type.
|
|
1031
|
+
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1032
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
1033
|
+
expected: "__type.o5",
|
|
1359
1034
|
value: elem
|
|
1360
|
-
})) && $
|
|
1361
|
-
path: _path2 + ".values[" +
|
|
1362
|
-
expected: "__type.
|
|
1035
|
+
})) && $vo31(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1036
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
1037
|
+
expected: "__type.o5",
|
|
1363
1038
|
value: elem
|
|
1364
1039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1365
1040
|
path: _path2 + ".values",
|
|
1366
1041
|
expected: "Array<__type>.o2",
|
|
1367
1042
|
value: input3.values
|
|
1368
1043
|
})].every((flag) => flag);
|
|
1369
|
-
const $
|
|
1370
|
-
path: _path2 + ".
|
|
1044
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1045
|
+
path: _path2 + ".id",
|
|
1371
1046
|
expected: "string",
|
|
1372
|
-
value: input3.
|
|
1373
|
-
}), "string" === typeof input3.
|
|
1374
|
-
path: _path2 + ".
|
|
1047
|
+
value: input3.id
|
|
1048
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1049
|
+
path: _path2 + ".query",
|
|
1375
1050
|
expected: "string",
|
|
1376
|
-
value: input3.
|
|
1377
|
-
}), "string" === typeof input3.
|
|
1378
|
-
path: _path2 + ".
|
|
1051
|
+
value: input3.query
|
|
1052
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1053
|
+
path: _path2 + ".name",
|
|
1379
1054
|
expected: "string",
|
|
1380
|
-
value: input3.
|
|
1055
|
+
value: input3.name
|
|
1056
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1057
|
+
path: _path2 + ".name_noOrigin",
|
|
1058
|
+
expected: "string",
|
|
1059
|
+
value: input3.name_noOrigin
|
|
1060
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1061
|
+
path: _path2 + ".parentTerm",
|
|
1062
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1063
|
+
value: input3.parentTerm
|
|
1064
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $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
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".isleaf",
|
|
1070
|
+
expected: "boolean",
|
|
1071
|
+
value: input3.isleaf
|
|
1072
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".type",
|
|
1074
|
+
expected: "string",
|
|
1075
|
+
value: input3.type
|
|
1076
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".dt",
|
|
1078
|
+
expected: "number",
|
|
1079
|
+
value: input3.dt
|
|
1080
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".origin",
|
|
1082
|
+
expected: "(string | undefined)",
|
|
1083
|
+
value: input3.origin
|
|
1084
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".values",
|
|
1086
|
+
expected: "TermValues",
|
|
1087
|
+
value: input3.values
|
|
1088
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1089
|
+
path: _path2 + ".values",
|
|
1090
|
+
expected: "TermValues",
|
|
1091
|
+
value: input3.values
|
|
1381
1092
|
})].every((flag) => flag);
|
|
1382
|
-
const $
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
})()
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
})(
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1093
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1094
|
+
path: _path2 + ".id",
|
|
1095
|
+
expected: "string",
|
|
1096
|
+
value: input3.id
|
|
1097
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1098
|
+
path: _path2 + ".name",
|
|
1099
|
+
expected: "string",
|
|
1100
|
+
value: input3.name
|
|
1101
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1102
|
+
path: _path2 + ".type",
|
|
1103
|
+
expected: '"geneVariant"',
|
|
1104
|
+
value: input3.type
|
|
1105
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1106
|
+
path: _path2 + ".child_types",
|
|
1107
|
+
expected: "(Array<string> | undefined)",
|
|
1108
|
+
value: input3.child_types
|
|
1109
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1110
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1111
|
+
expected: "string",
|
|
1112
|
+
value: elem
|
|
1113
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1114
|
+
path: _path2 + ".child_types",
|
|
1115
|
+
expected: "(Array<string> | undefined)",
|
|
1116
|
+
value: input3.child_types
|
|
1117
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1118
|
+
path: _path2 + ".hashtmldetail",
|
|
1119
|
+
expected: "(boolean | undefined)",
|
|
1120
|
+
value: input3.hashtmldetail
|
|
1121
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1122
|
+
path: _path2 + ".included_types",
|
|
1123
|
+
expected: "(Array<string> | undefined)",
|
|
1124
|
+
value: input3.included_types
|
|
1125
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1126
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1127
|
+
expected: "string",
|
|
1128
|
+
value: elem
|
|
1129
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1130
|
+
path: _path2 + ".included_types",
|
|
1131
|
+
expected: "(Array<string> | undefined)",
|
|
1132
|
+
value: input3.included_types
|
|
1133
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".isleaf",
|
|
1135
|
+
expected: "(boolean | undefined)",
|
|
1136
|
+
value: input3.isleaf
|
|
1137
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".values",
|
|
1139
|
+
expected: "(TermValues | undefined)",
|
|
1140
|
+
value: input3.values
|
|
1141
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".values",
|
|
1143
|
+
expected: "(TermValues | undefined)",
|
|
1144
|
+
value: input3.values
|
|
1145
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".kind",
|
|
1147
|
+
expected: '"gene"',
|
|
1148
|
+
value: input3.kind
|
|
1149
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".gene",
|
|
1151
|
+
expected: "string",
|
|
1152
|
+
value: input3.gene
|
|
1153
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".chr",
|
|
1155
|
+
expected: "(string | undefined)",
|
|
1156
|
+
value: input3.chr
|
|
1157
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".start",
|
|
1159
|
+
expected: "(number | undefined)",
|
|
1160
|
+
value: input3.start
|
|
1161
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".stop",
|
|
1163
|
+
expected: "(number | undefined)",
|
|
1164
|
+
value: input3.stop
|
|
1165
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".groupsetting",
|
|
1167
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1168
|
+
value: input3.groupsetting
|
|
1169
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".groupsetting",
|
|
1171
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1172
|
+
value: input3.groupsetting
|
|
1173
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".childTerms",
|
|
1175
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1176
|
+
value: input3.childTerms
|
|
1177
|
+
})) && input3.childTerms.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1179
|
+
expected: "DtTerm",
|
|
1180
|
+
value: elem
|
|
1181
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1183
|
+
expected: "DtTerm",
|
|
1184
|
+
value: elem
|
|
1185
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1186
|
+
path: _path2 + ".childTerms",
|
|
1187
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1188
|
+
value: input3.childTerms
|
|
1189
|
+
})].every((flag) => flag);
|
|
1190
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".id",
|
|
1192
|
+
expected: "string",
|
|
1193
|
+
value: input3.id
|
|
1194
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1195
|
+
path: _path2 + ".name",
|
|
1196
|
+
expected: "string",
|
|
1197
|
+
value: input3.name
|
|
1198
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1199
|
+
path: _path2 + ".type",
|
|
1200
|
+
expected: '"geneVariant"',
|
|
1201
|
+
value: input3.type
|
|
1202
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".child_types",
|
|
1204
|
+
expected: "(Array<string> | undefined)",
|
|
1205
|
+
value: input3.child_types
|
|
1206
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1207
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1208
|
+
expected: "string",
|
|
1209
|
+
value: elem
|
|
1210
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".child_types",
|
|
1212
|
+
expected: "(Array<string> | undefined)",
|
|
1213
|
+
value: input3.child_types
|
|
1214
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".hashtmldetail",
|
|
1216
|
+
expected: "(boolean | undefined)",
|
|
1217
|
+
value: input3.hashtmldetail
|
|
1218
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".included_types",
|
|
1220
|
+
expected: "(Array<string> | undefined)",
|
|
1221
|
+
value: input3.included_types
|
|
1222
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1224
|
+
expected: "string",
|
|
1225
|
+
value: elem
|
|
1226
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".included_types",
|
|
1228
|
+
expected: "(Array<string> | undefined)",
|
|
1229
|
+
value: input3.included_types
|
|
1230
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1231
|
+
path: _path2 + ".isleaf",
|
|
1232
|
+
expected: "(boolean | undefined)",
|
|
1233
|
+
value: input3.isleaf
|
|
1234
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".values",
|
|
1236
|
+
expected: "(TermValues | undefined)",
|
|
1237
|
+
value: input3.values
|
|
1238
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".values",
|
|
1240
|
+
expected: "(TermValues | undefined)",
|
|
1241
|
+
value: input3.values
|
|
1242
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".kind",
|
|
1244
|
+
expected: '"coord"',
|
|
1245
|
+
value: input3.kind
|
|
1246
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".chr",
|
|
1248
|
+
expected: "string",
|
|
1249
|
+
value: input3.chr
|
|
1250
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1251
|
+
path: _path2 + ".start",
|
|
1252
|
+
expected: "number",
|
|
1253
|
+
value: input3.start
|
|
1254
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".stop",
|
|
1256
|
+
expected: "number",
|
|
1257
|
+
value: input3.stop
|
|
1258
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1259
|
+
path: _path2 + ".groupsetting",
|
|
1260
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1261
|
+
value: input3.groupsetting
|
|
1262
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1263
|
+
path: _path2 + ".groupsetting",
|
|
1264
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1265
|
+
value: input3.groupsetting
|
|
1266
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1267
|
+
path: _path2 + ".childTerms",
|
|
1268
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1269
|
+
value: input3.childTerms
|
|
1270
|
+
})) && input3.childTerms.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1272
|
+
expected: "DtTerm",
|
|
1273
|
+
value: elem
|
|
1274
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1276
|
+
expected: "DtTerm",
|
|
1277
|
+
value: elem
|
|
1278
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1279
|
+
path: _path2 + ".childTerms",
|
|
1280
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1281
|
+
value: input3.childTerms
|
|
1282
|
+
})].every((flag) => flag);
|
|
1283
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".key",
|
|
1285
|
+
expected: "string",
|
|
1286
|
+
value: input3.key
|
|
1287
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".label",
|
|
1289
|
+
expected: "string",
|
|
1290
|
+
value: input3.label
|
|
1291
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".value",
|
|
1293
|
+
expected: "string",
|
|
1294
|
+
value: input3.value
|
|
1295
|
+
})].every((flag) => flag);
|
|
1296
|
+
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1297
|
+
if ("tvslst" === input3.type)
|
|
1298
|
+
return $vo1(input3, _path2, _exceptionable2);
|
|
1299
|
+
if ("tvs" === input3.type)
|
|
1300
|
+
return $vo2(input3, _path2, _exceptionable2);
|
|
1301
|
+
return $report(_exceptionable2, {
|
|
1302
|
+
path: _path2,
|
|
1303
|
+
expected: "(Filter | __type)",
|
|
1304
|
+
value: input3
|
|
1305
|
+
});
|
|
1306
|
+
})();
|
|
1307
|
+
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1308
|
+
if ("string" === typeof input3.type)
|
|
1309
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
1310
|
+
if ("filter" === input3.type)
|
|
1311
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1312
|
+
return $report(_exceptionable2, {
|
|
1313
|
+
path: _path2,
|
|
1314
|
+
expected: "(ValuesGroup | FilterGroup)",
|
|
1315
|
+
value: input3
|
|
1316
|
+
});
|
|
1317
|
+
})();
|
|
1318
|
+
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1319
|
+
if (true === input3.startunbounded)
|
|
1320
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1321
|
+
if (true === input3.stopunbounded)
|
|
1322
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1323
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1324
|
+
})();
|
|
1325
|
+
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1326
|
+
if (void 0 !== input3.ranges)
|
|
1327
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1328
|
+
return $vo3(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
1329
|
+
})();
|
|
1330
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1331
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index23) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index23 + "]", false)).every((flag) => flag))
|
|
1332
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
1333
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1334
|
+
})();
|
|
1335
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1336
|
+
if ("regular-bin" === input3.type)
|
|
1337
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1338
|
+
if ("custom-bin" === input3.type)
|
|
1339
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1340
|
+
return $report(_exceptionable2, {
|
|
1341
|
+
path: _path2,
|
|
1342
|
+
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1343
|
+
value: input3
|
|
1344
|
+
});
|
|
1345
|
+
})();
|
|
1346
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1347
|
+
if (true === input3.startunbounded)
|
|
1348
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1349
|
+
if (void 0 !== input3.start)
|
|
1350
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1351
|
+
return $report(_exceptionable2, {
|
|
1352
|
+
path: _path2,
|
|
1353
|
+
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1354
|
+
value: input3
|
|
1355
|
+
});
|
|
1356
|
+
})();
|
|
1357
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1358
|
+
if (void 0 !== input3.stop)
|
|
1359
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1360
|
+
if (true === input3.stopunbounded)
|
|
1361
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1362
|
+
return $report(_exceptionable2, {
|
|
1363
|
+
path: _path2,
|
|
1364
|
+
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1365
|
+
value: input3
|
|
1366
|
+
});
|
|
1367
|
+
})();
|
|
1368
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1369
|
+
if ("gene" === input3.kind)
|
|
1370
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1371
|
+
if ("coord" === input3.kind)
|
|
1372
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1373
|
+
return $report(_exceptionable2, {
|
|
1374
|
+
path: _path2,
|
|
1375
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1376
|
+
value: input3
|
|
1463
1377
|
});
|
|
1464
1378
|
})();
|
|
1465
1379
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
@@ -1485,7 +1399,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1485
1399
|
const __is = (input2) => {
|
|
1486
1400
|
const $join = import_typia.createValidate.join;
|
|
1487
1401
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1488
|
-
const $io1 = (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) && $io2(input3.values)) &&
|
|
1402
|
+
const $io1 = (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) && $io2(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) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
1489
1403
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1490
1404
|
const value = input3[key];
|
|
1491
1405
|
if (void 0 === value)
|
|
@@ -1500,24 +1414,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1500
1414
|
const $io4 = (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 && $iu1(elem)));
|
|
1501
1415
|
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
1502
1416
|
const $io6 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io7(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) && $io3(elem)));
|
|
1503
|
-
const $io7 = (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) && $io2(input3.values)) && (
|
|
1504
|
-
const $io8 = (input3) =>
|
|
1505
|
-
const $io9 = (input3) => Array.isArray(input3.
|
|
1506
|
-
const $io10 = (input3) => "string" === typeof input3.
|
|
1507
|
-
const $io11 = (input3) =>
|
|
1508
|
-
const $io12 = (input3) =>
|
|
1509
|
-
const $io13 = (input3) => "
|
|
1510
|
-
const $io14 = (input3) => "string" === typeof input3.
|
|
1511
|
-
const $io15 = (input3) => ("string" === typeof input3.
|
|
1512
|
-
const $io16 = (input3) => "
|
|
1513
|
-
const $io17 = (input3) => "object" === typeof input3.
|
|
1514
|
-
const $io18 = (input3) =>
|
|
1515
|
-
const $io19 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(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));
|
|
1516
|
-
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io21(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
1517
|
-
const $io21 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io22(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
1518
|
-
const $io22 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
1519
|
-
const $io23 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io24(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 && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1520
|
-
const $io24 = (input3) => Object.keys(input3).every((key) => {
|
|
1417
|
+
const $io7 = (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) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1418
|
+
const $io8 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
1419
|
+
const $io9 = (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 && $iu2(elem)));
|
|
1420
|
+
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1421
|
+
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1422
|
+
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
1423
|
+
const $io13 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1424
|
+
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io24(elem)));
|
|
1425
|
+
const $io15 = (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) && $io2(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io23(input3.continuousColorScale));
|
|
1426
|
+
const $io16 = (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);
|
|
1427
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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);
|
|
1428
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
1521
1429
|
const value = input3[key];
|
|
1522
1430
|
if (void 0 === value)
|
|
1523
1431
|
return true;
|
|
@@ -1525,54 +1433,57 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1525
1433
|
return "number" === typeof value;
|
|
1526
1434
|
return true;
|
|
1527
1435
|
});
|
|
1528
|
-
const $
|
|
1529
|
-
const $
|
|
1530
|
-
const $
|
|
1531
|
-
const $
|
|
1532
|
-
const $
|
|
1533
|
-
const $
|
|
1534
|
-
const $
|
|
1535
|
-
const $
|
|
1536
|
-
const $
|
|
1537
|
-
const $
|
|
1538
|
-
const $
|
|
1539
|
-
const $
|
|
1540
|
-
const $
|
|
1541
|
-
const $
|
|
1542
|
-
const $
|
|
1543
|
-
const $
|
|
1544
|
-
const $
|
|
1545
|
-
const $
|
|
1546
|
-
const $
|
|
1547
|
-
const $
|
|
1548
|
-
const $
|
|
1436
|
+
const $io19 = (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);
|
|
1437
|
+
const $io20 = (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);
|
|
1438
|
+
const $io21 = (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);
|
|
1439
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
1440
|
+
const $io23 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1441
|
+
const $io24 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1442
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(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 && $io27(elem)));
|
|
1443
|
+
const $io26 = (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) && $io2(input3.values));
|
|
1444
|
+
const $io27 = (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;
|
|
1445
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
1446
|
+
const $io29 = (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 && $iu9(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) && $io2(input3.values));
|
|
1447
|
+
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) && $io2(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 && $io29(elem)));
|
|
1448
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(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 && $io29(elem)));
|
|
1449
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1450
|
+
const $io33 = (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) && $io2(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
1451
|
+
const $io34 = (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) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1452
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io23(input3.continuousColorScale));
|
|
1453
|
+
const $io36 = (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) && $io2(input3.values));
|
|
1454
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1455
|
+
const $io38 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io40(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
1456
|
+
const $io39 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1457
|
+
const $io40 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1458
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io42(input3.values));
|
|
1459
|
+
const $io42 = (input3) => Object.keys(input3).every((key) => {
|
|
1549
1460
|
const value = input3[key];
|
|
1550
1461
|
if (void 0 === value)
|
|
1551
1462
|
return true;
|
|
1552
1463
|
if (RegExp(/(.*)/).test(key))
|
|
1553
|
-
return "object" === typeof value && null !== value && $
|
|
1464
|
+
return "object" === typeof value && null !== value && $io43(value);
|
|
1554
1465
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1555
|
-
return "object" === typeof value && null !== value && $
|
|
1466
|
+
return "object" === typeof value && null !== value && $io43(value);
|
|
1556
1467
|
return true;
|
|
1557
1468
|
});
|
|
1558
|
-
const $
|
|
1559
|
-
const $
|
|
1469
|
+
const $io43 = (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 && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && true;
|
|
1470
|
+
const $io44 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1560
1471
|
const $iu0 = (input3) => (() => {
|
|
1561
1472
|
if ("gene" === input3.kind)
|
|
1562
1473
|
return $io1(input3);
|
|
1563
1474
|
if ("coord" === input3.kind)
|
|
1564
|
-
return $
|
|
1475
|
+
return $io33(input3);
|
|
1565
1476
|
if ("categorical" === input3.type)
|
|
1566
|
-
return $
|
|
1477
|
+
return $io34(input3);
|
|
1567
1478
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1568
|
-
return $
|
|
1479
|
+
return $io35(input3);
|
|
1569
1480
|
if ("condition" === input3.type)
|
|
1570
|
-
return $
|
|
1481
|
+
return $io36(input3);
|
|
1571
1482
|
return (() => {
|
|
1572
|
-
if ($
|
|
1573
|
-
return $
|
|
1574
|
-
if ($
|
|
1575
|
-
return $
|
|
1483
|
+
if ($io37(input3))
|
|
1484
|
+
return $io37(input3);
|
|
1485
|
+
if ($io41(input3))
|
|
1486
|
+
return $io41(input3);
|
|
1576
1487
|
return false;
|
|
1577
1488
|
})();
|
|
1578
1489
|
})();
|
|
@@ -1585,62 +1496,62 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1585
1496
|
})();
|
|
1586
1497
|
const $iu2 = (input3) => (() => {
|
|
1587
1498
|
if ("string" === typeof input3.type)
|
|
1588
|
-
return $
|
|
1499
|
+
return $io10(input3);
|
|
1589
1500
|
if ("filter" === input3.type)
|
|
1590
|
-
return $
|
|
1501
|
+
return $io12(input3);
|
|
1591
1502
|
return false;
|
|
1592
1503
|
})();
|
|
1593
1504
|
const $iu3 = (input3) => (() => {
|
|
1594
1505
|
if (true === input3.startunbounded)
|
|
1595
|
-
return $
|
|
1506
|
+
return $io19(input3);
|
|
1596
1507
|
if (true === input3.stopunbounded)
|
|
1597
|
-
return $
|
|
1598
|
-
return $
|
|
1508
|
+
return $io21(input3);
|
|
1509
|
+
return $io20(input3);
|
|
1599
1510
|
})();
|
|
1600
1511
|
const $iu4 = (input3) => (() => {
|
|
1601
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1602
|
-
return $
|
|
1603
|
-
return $
|
|
1512
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)))
|
|
1513
|
+
return $io8(input3);
|
|
1514
|
+
return $io13(input3);
|
|
1604
1515
|
})();
|
|
1605
1516
|
const $iu5 = (input3) => (() => {
|
|
1606
1517
|
if (void 0 !== input3.ranges)
|
|
1607
|
-
return $
|
|
1518
|
+
return $io14(input3);
|
|
1608
1519
|
return (() => {
|
|
1609
1520
|
if ($io6(input3))
|
|
1610
1521
|
return $io6(input3);
|
|
1611
|
-
if ($
|
|
1612
|
-
return $
|
|
1613
|
-
if ($
|
|
1614
|
-
return $
|
|
1522
|
+
if ($io25(input3))
|
|
1523
|
+
return $io25(input3);
|
|
1524
|
+
if ($io28(input3))
|
|
1525
|
+
return $io28(input3);
|
|
1615
1526
|
return false;
|
|
1616
1527
|
})();
|
|
1617
1528
|
})();
|
|
1618
1529
|
const $iu6 = (input3) => (() => {
|
|
1619
|
-
if ("gene" === input3.kind)
|
|
1620
|
-
return $io11(input3);
|
|
1621
|
-
if ("coord" === input3.kind)
|
|
1622
|
-
return $io19(input3);
|
|
1623
|
-
return false;
|
|
1624
|
-
})();
|
|
1625
|
-
const $iu7 = (input3) => (() => {
|
|
1626
1530
|
if ("regular-bin" === input3.type)
|
|
1627
|
-
return $
|
|
1531
|
+
return $io17(input3);
|
|
1628
1532
|
if ("custom-bin" === input3.type)
|
|
1629
|
-
return $
|
|
1533
|
+
return $io22(input3);
|
|
1630
1534
|
return false;
|
|
1631
1535
|
})();
|
|
1632
|
-
const $
|
|
1536
|
+
const $iu7 = (input3) => (() => {
|
|
1633
1537
|
if (true === input3.startunbounded)
|
|
1634
|
-
return $
|
|
1538
|
+
return $io19(input3);
|
|
1635
1539
|
if (void 0 !== input3.start)
|
|
1636
|
-
return $
|
|
1540
|
+
return $io20(input3);
|
|
1637
1541
|
return false;
|
|
1638
1542
|
})();
|
|
1639
|
-
const $
|
|
1543
|
+
const $iu8 = (input3) => (() => {
|
|
1640
1544
|
if (void 0 !== input3.stop)
|
|
1641
|
-
return $
|
|
1545
|
+
return $io20(input3);
|
|
1642
1546
|
if (true === input3.stopunbounded)
|
|
1643
|
-
return $
|
|
1547
|
+
return $io21(input3);
|
|
1548
|
+
return false;
|
|
1549
|
+
})();
|
|
1550
|
+
const $iu9 = (input3) => (() => {
|
|
1551
|
+
if ("gene" === input3.kind)
|
|
1552
|
+
return $io30(input3);
|
|
1553
|
+
if ("coord" === input3.kind)
|
|
1554
|
+
return $io31(input3);
|
|
1644
1555
|
return false;
|
|
1645
1556
|
})();
|
|
1646
1557
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1655,11 +1566,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1655
1566
|
value: input3.terms
|
|
1656
1567
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1657
1568
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1658
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting;
|
|
1569
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1659
1570
|
value: elem
|
|
1660
1571
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1661
1572
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1662
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting;
|
|
1573
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1663
1574
|
value: elem
|
|
1664
1575
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1665
1576
|
path: _path2 + ".terms",
|
|
@@ -1718,14 +1629,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1718
1629
|
path: _path2 + ".values",
|
|
1719
1630
|
expected: "(TermValues | undefined)",
|
|
1720
1631
|
value: input3.values
|
|
1721
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1722
|
-
path: _path2 + ".filter",
|
|
1723
|
-
expected: "(TermFilter | undefined)",
|
|
1724
|
-
value: input3.filter
|
|
1725
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1726
|
-
path: _path2 + ".filter",
|
|
1727
|
-
expected: "(TermFilter | undefined)",
|
|
1728
|
-
value: input3.filter
|
|
1729
1632
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1730
1633
|
path: _path2 + ".kind",
|
|
1731
1634
|
expected: '"gene"',
|
|
@@ -1748,12 +1651,28 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1748
1651
|
value: input3.stop
|
|
1749
1652
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1750
1653
|
path: _path2 + ".groupsetting",
|
|
1751
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1654
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
1752
1655
|
value: input3.groupsetting
|
|
1753
1656
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1754
1657
|
path: _path2 + ".groupsetting",
|
|
1755
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1658
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
1756
1659
|
value: input3.groupsetting
|
|
1660
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1661
|
+
path: _path2 + ".childTerms",
|
|
1662
|
+
expected: "Array<DtTerm>",
|
|
1663
|
+
value: input3.childTerms
|
|
1664
|
+
})) && input3.childTerms.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1665
|
+
path: _path2 + ".childTerms[" + _index4 + "]",
|
|
1666
|
+
expected: "DtTerm",
|
|
1667
|
+
value: elem
|
|
1668
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1669
|
+
path: _path2 + ".childTerms[" + _index4 + "]",
|
|
1670
|
+
expected: "DtTerm",
|
|
1671
|
+
value: elem
|
|
1672
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1673
|
+
path: _path2 + ".childTerms",
|
|
1674
|
+
expected: "Array<DtTerm>",
|
|
1675
|
+
value: input3.childTerms
|
|
1757
1676
|
})].every((flag) => flag);
|
|
1758
1677
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1759
1678
|
const value = input3[key];
|
|
@@ -1802,258 +1721,102 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1802
1721
|
expected: "(string | undefined)",
|
|
1803
1722
|
value: input3.color
|
|
1804
1723
|
}), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
|
|
1805
|
-
path: _path2 + ".group",
|
|
1806
|
-
expected: "(number | undefined)",
|
|
1807
|
-
value: input3.group
|
|
1808
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1809
|
-
path: _path2 + ".filter",
|
|
1810
|
-
expected: "(Filter | undefined)",
|
|
1811
|
-
value: input3.filter
|
|
1812
|
-
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1813
|
-
path: _path2 + ".filter",
|
|
1814
|
-
expected: "(Filter | undefined)",
|
|
1815
|
-
value: input3.filter
|
|
1816
|
-
})].every((flag) => flag);
|
|
1817
|
-
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
1818
|
-
path: _path2 + ".type",
|
|
1819
|
-
expected: '"tvslst"',
|
|
1820
|
-
value: input3.type
|
|
1821
|
-
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
1822
|
-
path: _path2 + '["in"]',
|
|
1823
|
-
expected: "boolean",
|
|
1824
|
-
value: input3["in"]
|
|
1825
|
-
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1826
|
-
path: _path2 + ".join",
|
|
1827
|
-
expected: "string",
|
|
1828
|
-
value: input3.join
|
|
1829
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
1830
|
-
path: _path2 + ".tag",
|
|
1831
|
-
expected: "(string | undefined)",
|
|
1832
|
-
value: input3.tag
|
|
1833
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1834
|
-
path: _path2 + ".lst",
|
|
1835
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
1836
|
-
value: input3.lst
|
|
1837
|
-
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1838
|
-
path: _path2 + ".lst[" + _index4 + "]",
|
|
1839
|
-
expected: "(Filter | __type)",
|
|
1840
|
-
value: elem
|
|
1841
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1842
|
-
path: _path2 + ".lst[" + _index4 + "]",
|
|
1843
|
-
expected: "(Filter | __type)",
|
|
1844
|
-
value: elem
|
|
1845
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1846
|
-
path: _path2 + ".lst",
|
|
1847
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
1848
|
-
value: input3.lst
|
|
1849
|
-
})].every((flag) => flag);
|
|
1850
|
-
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
1851
|
-
path: _path2 + ".type",
|
|
1852
|
-
expected: '"tvs"',
|
|
1853
|
-
value: input3.type
|
|
1854
|
-
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
1855
|
-
path: _path2 + ".tvs",
|
|
1856
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1857
|
-
value: input3.tvs
|
|
1858
|
-
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
1859
|
-
path: _path2 + ".tvs",
|
|
1860
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1861
|
-
value: input3.tvs
|
|
1862
|
-
})].every((flag) => flag);
|
|
1863
|
-
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1864
|
-
path: _path2 + ".join",
|
|
1865
|
-
expected: "(string | undefined)",
|
|
1866
|
-
value: input3.join
|
|
1867
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1868
|
-
path: _path2 + ".isnot",
|
|
1869
|
-
expected: "(boolean | undefined)",
|
|
1870
|
-
value: input3.isnot
|
|
1871
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1872
|
-
path: _path2 + ".term",
|
|
1873
|
-
expected: "CategoricalTerm",
|
|
1874
|
-
value: input3.term
|
|
1875
|
-
})) && $vo7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1876
|
-
path: _path2 + ".term",
|
|
1877
|
-
expected: "CategoricalTerm",
|
|
1878
|
-
value: input3.term
|
|
1879
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
1880
|
-
path: _path2 + ".groupset_label",
|
|
1881
|
-
expected: "(string | undefined)",
|
|
1882
|
-
value: input3.groupset_label
|
|
1883
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1884
|
-
path: _path2 + ".values",
|
|
1885
|
-
expected: "Array<BaseValue>",
|
|
1886
|
-
value: input3.values
|
|
1887
|
-
})) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
1888
|
-
path: _path2 + ".values[" + _index5 + "]",
|
|
1889
|
-
expected: "BaseValue",
|
|
1890
|
-
value: elem
|
|
1891
|
-
})) && $vo3(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1892
|
-
path: _path2 + ".values[" + _index5 + "]",
|
|
1893
|
-
expected: "BaseValue",
|
|
1894
|
-
value: elem
|
|
1895
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1896
|
-
path: _path2 + ".values",
|
|
1897
|
-
expected: "Array<BaseValue>",
|
|
1898
|
-
value: input3.values
|
|
1899
|
-
})].every((flag) => flag);
|
|
1900
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1901
|
-
path: _path2 + ".id",
|
|
1902
|
-
expected: "string",
|
|
1903
|
-
value: input3.id
|
|
1904
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1905
|
-
path: _path2 + ".name",
|
|
1906
|
-
expected: "string",
|
|
1907
|
-
value: input3.name
|
|
1908
|
-
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
1909
|
-
path: _path2 + ".type",
|
|
1910
|
-
expected: '"categorical"',
|
|
1911
|
-
value: input3.type
|
|
1912
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1913
|
-
path: _path2 + ".child_types",
|
|
1914
|
-
expected: "(Array<string> | undefined)",
|
|
1915
|
-
value: input3.child_types
|
|
1916
|
-
})) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1917
|
-
path: _path2 + ".child_types[" + _index6 + "]",
|
|
1918
|
-
expected: "string",
|
|
1919
|
-
value: elem
|
|
1920
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1921
|
-
path: _path2 + ".child_types",
|
|
1922
|
-
expected: "(Array<string> | undefined)",
|
|
1923
|
-
value: input3.child_types
|
|
1924
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1925
|
-
path: _path2 + ".hashtmldetail",
|
|
1926
|
-
expected: "(boolean | undefined)",
|
|
1927
|
-
value: input3.hashtmldetail
|
|
1928
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1929
|
-
path: _path2 + ".included_types",
|
|
1930
|
-
expected: "(Array<string> | undefined)",
|
|
1931
|
-
value: input3.included_types
|
|
1932
|
-
})) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1933
|
-
path: _path2 + ".included_types[" + _index7 + "]",
|
|
1934
|
-
expected: "string",
|
|
1935
|
-
value: elem
|
|
1936
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1937
|
-
path: _path2 + ".included_types",
|
|
1938
|
-
expected: "(Array<string> | undefined)",
|
|
1939
|
-
value: input3.included_types
|
|
1940
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1941
|
-
path: _path2 + ".isleaf",
|
|
1942
|
-
expected: "(boolean | undefined)",
|
|
1943
|
-
value: input3.isleaf
|
|
1944
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1945
|
-
path: _path2 + ".values",
|
|
1946
|
-
expected: "(TermValues | undefined)",
|
|
1947
|
-
value: input3.values
|
|
1948
|
-
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1949
|
-
path: _path2 + ".values",
|
|
1950
|
-
expected: "(TermValues | undefined)",
|
|
1951
|
-
value: input3.values
|
|
1952
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1953
|
-
path: _path2 + ".filter",
|
|
1954
|
-
expected: "(TermFilter | undefined)",
|
|
1955
|
-
value: input3.filter
|
|
1956
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1957
|
-
path: _path2 + ".filter",
|
|
1958
|
-
expected: "(TermFilter | undefined)",
|
|
1959
|
-
value: input3.filter
|
|
1960
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1961
|
-
path: _path2 + ".groupsetting",
|
|
1962
|
-
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1963
|
-
value: input3.groupsetting
|
|
1964
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1965
|
-
path: _path2 + ".groupsetting",
|
|
1966
|
-
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1967
|
-
value: input3.groupsetting
|
|
1968
|
-
})].every((flag) => flag);
|
|
1969
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1970
|
-
path: _path2 + ".opts",
|
|
1971
|
-
expected: "__type.o1",
|
|
1972
|
-
value: input3.opts
|
|
1973
|
-
})) && $vo9(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
1974
|
-
path: _path2 + ".opts",
|
|
1975
|
-
expected: "__type.o1",
|
|
1976
|
-
value: input3.opts
|
|
1977
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1978
|
-
path: _path2 + ".terms",
|
|
1979
|
-
expected: "Array<DtTerm>",
|
|
1980
|
-
value: input3.terms
|
|
1981
|
-
})) && input3.terms.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1982
|
-
path: _path2 + ".terms[" + _index8 + "]",
|
|
1983
|
-
expected: "DtTerm",
|
|
1984
|
-
value: elem
|
|
1985
|
-
})) && $vo10(elem, _path2 + ".terms[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1986
|
-
path: _path2 + ".terms[" + _index8 + "]",
|
|
1987
|
-
expected: "DtTerm",
|
|
1988
|
-
value: elem
|
|
1989
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1990
|
-
path: _path2 + ".terms",
|
|
1991
|
-
expected: "Array<DtTerm>",
|
|
1992
|
-
value: input3.terms
|
|
1724
|
+
path: _path2 + ".group",
|
|
1725
|
+
expected: "(number | undefined)",
|
|
1726
|
+
value: input3.group
|
|
1727
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1728
|
+
path: _path2 + ".filter",
|
|
1729
|
+
expected: "(Filter | undefined)",
|
|
1730
|
+
value: input3.filter
|
|
1731
|
+
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".filter",
|
|
1733
|
+
expected: "(Filter | undefined)",
|
|
1734
|
+
value: input3.filter
|
|
1993
1735
|
})].every((flag) => flag);
|
|
1994
|
-
const $
|
|
1995
|
-
path: _path2 + ".
|
|
1996
|
-
expected: "
|
|
1997
|
-
value: input3.
|
|
1998
|
-
})
|
|
1999
|
-
path: _path2 +
|
|
1736
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
1737
|
+
path: _path2 + ".type",
|
|
1738
|
+
expected: '"tvslst"',
|
|
1739
|
+
value: input3.type
|
|
1740
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
1741
|
+
path: _path2 + '["in"]',
|
|
1742
|
+
expected: "boolean",
|
|
1743
|
+
value: input3["in"]
|
|
1744
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1745
|
+
path: _path2 + ".join",
|
|
2000
1746
|
expected: "string",
|
|
1747
|
+
value: input3.join
|
|
1748
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
1749
|
+
path: _path2 + ".tag",
|
|
1750
|
+
expected: "(string | undefined)",
|
|
1751
|
+
value: input3.tag
|
|
1752
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1753
|
+
path: _path2 + ".lst",
|
|
1754
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
1755
|
+
value: input3.lst
|
|
1756
|
+
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1757
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
1758
|
+
expected: "(Filter | __type)",
|
|
1759
|
+
value: elem
|
|
1760
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1761
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
1762
|
+
expected: "(Filter | __type)",
|
|
2001
1763
|
value: elem
|
|
2002
1764
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2003
|
-
path: _path2 + ".
|
|
2004
|
-
expected:
|
|
2005
|
-
value: input3.
|
|
1765
|
+
path: _path2 + ".lst",
|
|
1766
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
1767
|
+
value: input3.lst
|
|
2006
1768
|
})].every((flag) => flag);
|
|
2007
|
-
const $
|
|
2008
|
-
path: _path2 + ".id",
|
|
2009
|
-
expected: "string",
|
|
2010
|
-
value: input3.id
|
|
2011
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2012
|
-
path: _path2 + ".query",
|
|
2013
|
-
expected: "string",
|
|
2014
|
-
value: input3.query
|
|
2015
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2016
|
-
path: _path2 + ".name",
|
|
2017
|
-
expected: "string",
|
|
2018
|
-
value: input3.name
|
|
2019
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2020
|
-
path: _path2 + ".name_noOrigin",
|
|
2021
|
-
expected: "string",
|
|
2022
|
-
value: input3.name_noOrigin
|
|
2023
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
2024
|
-
path: _path2 + ".geneVariantTerm",
|
|
2025
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
2026
|
-
value: input3.geneVariantTerm
|
|
2027
|
-
})) && $vu6(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2028
|
-
path: _path2 + ".geneVariantTerm",
|
|
2029
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
2030
|
-
value: input3.geneVariantTerm
|
|
2031
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2032
|
-
path: _path2 + ".isleaf",
|
|
2033
|
-
expected: "boolean",
|
|
2034
|
-
value: input3.isleaf
|
|
2035
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1769
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
2036
1770
|
path: _path2 + ".type",
|
|
2037
|
-
expected: "
|
|
1771
|
+
expected: '"tvs"',
|
|
2038
1772
|
value: input3.type
|
|
2039
|
-
}), "
|
|
2040
|
-
path: _path2 + ".
|
|
2041
|
-
expected: "
|
|
2042
|
-
value: input3.
|
|
2043
|
-
})
|
|
2044
|
-
path: _path2 + ".
|
|
1773
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
1774
|
+
path: _path2 + ".tvs",
|
|
1775
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1776
|
+
value: input3.tvs
|
|
1777
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
1778
|
+
path: _path2 + ".tvs",
|
|
1779
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1780
|
+
value: input3.tvs
|
|
1781
|
+
})].every((flag) => flag);
|
|
1782
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1783
|
+
path: _path2 + ".join",
|
|
2045
1784
|
expected: "(string | undefined)",
|
|
2046
|
-
value: input3.
|
|
2047
|
-
}),
|
|
1785
|
+
value: input3.join
|
|
1786
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1787
|
+
path: _path2 + ".isnot",
|
|
1788
|
+
expected: "(boolean | undefined)",
|
|
1789
|
+
value: input3.isnot
|
|
1790
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1791
|
+
path: _path2 + ".term",
|
|
1792
|
+
expected: "CategoricalTerm",
|
|
1793
|
+
value: input3.term
|
|
1794
|
+
})) && $vo7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1795
|
+
path: _path2 + ".term",
|
|
1796
|
+
expected: "CategoricalTerm",
|
|
1797
|
+
value: input3.term
|
|
1798
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
1799
|
+
path: _path2 + ".groupset_label",
|
|
1800
|
+
expected: "(string | undefined)",
|
|
1801
|
+
value: input3.groupset_label
|
|
1802
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2048
1803
|
path: _path2 + ".values",
|
|
2049
|
-
expected: "
|
|
1804
|
+
expected: "Array<BaseValue>",
|
|
2050
1805
|
value: input3.values
|
|
2051
|
-
})) &&
|
|
1806
|
+
})) && input3.values.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
1807
|
+
path: _path2 + ".values[" + _index6 + "]",
|
|
1808
|
+
expected: "BaseValue",
|
|
1809
|
+
value: elem
|
|
1810
|
+
})) && $vo3(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1811
|
+
path: _path2 + ".values[" + _index6 + "]",
|
|
1812
|
+
expected: "BaseValue",
|
|
1813
|
+
value: elem
|
|
1814
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2052
1815
|
path: _path2 + ".values",
|
|
2053
|
-
expected: "
|
|
1816
|
+
expected: "Array<BaseValue>",
|
|
2054
1817
|
value: input3.values
|
|
2055
1818
|
})].every((flag) => flag);
|
|
2056
|
-
const $
|
|
1819
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2057
1820
|
path: _path2 + ".id",
|
|
2058
1821
|
expected: "string",
|
|
2059
1822
|
value: input3.id
|
|
@@ -2061,16 +1824,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2061
1824
|
path: _path2 + ".name",
|
|
2062
1825
|
expected: "string",
|
|
2063
1826
|
value: input3.name
|
|
2064
|
-
}), "
|
|
1827
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
2065
1828
|
path: _path2 + ".type",
|
|
2066
|
-
expected: '"
|
|
1829
|
+
expected: '"categorical"',
|
|
2067
1830
|
value: input3.type
|
|
2068
1831
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2069
1832
|
path: _path2 + ".child_types",
|
|
2070
1833
|
expected: "(Array<string> | undefined)",
|
|
2071
1834
|
value: input3.child_types
|
|
2072
|
-
})) && input3.child_types.map((elem,
|
|
2073
|
-
path: _path2 + ".child_types[" +
|
|
1835
|
+
})) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1836
|
+
path: _path2 + ".child_types[" + _index7 + "]",
|
|
2074
1837
|
expected: "string",
|
|
2075
1838
|
value: elem
|
|
2076
1839
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2085,8 +1848,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2085
1848
|
path: _path2 + ".included_types",
|
|
2086
1849
|
expected: "(Array<string> | undefined)",
|
|
2087
1850
|
value: input3.included_types
|
|
2088
|
-
})) && input3.included_types.map((elem,
|
|
2089
|
-
path: _path2 + ".included_types[" +
|
|
1851
|
+
})) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1852
|
+
path: _path2 + ".included_types[" + _index8 + "]",
|
|
2090
1853
|
expected: "string",
|
|
2091
1854
|
value: elem
|
|
2092
1855
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2105,44 +1868,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2105
1868
|
path: _path2 + ".values",
|
|
2106
1869
|
expected: "(TermValues | undefined)",
|
|
2107
1870
|
value: input3.values
|
|
2108
|
-
}),
|
|
2109
|
-
path: _path2 + ".filter",
|
|
2110
|
-
expected: "(TermFilter | undefined)",
|
|
2111
|
-
value: input3.filter
|
|
2112
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2113
|
-
path: _path2 + ".filter",
|
|
2114
|
-
expected: "(TermFilter | undefined)",
|
|
2115
|
-
value: input3.filter
|
|
2116
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2117
|
-
path: _path2 + ".kind",
|
|
2118
|
-
expected: '"gene"',
|
|
2119
|
-
value: input3.kind
|
|
2120
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2121
|
-
path: _path2 + ".gene",
|
|
2122
|
-
expected: "string",
|
|
2123
|
-
value: input3.gene
|
|
2124
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2125
|
-
path: _path2 + ".chr",
|
|
2126
|
-
expected: "(string | undefined)",
|
|
2127
|
-
value: input3.chr
|
|
2128
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2129
|
-
path: _path2 + ".start",
|
|
2130
|
-
expected: "(number | undefined)",
|
|
2131
|
-
value: input3.start
|
|
2132
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2133
|
-
path: _path2 + ".stop",
|
|
2134
|
-
expected: "(number | undefined)",
|
|
2135
|
-
value: input3.stop
|
|
2136
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1871
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2137
1872
|
path: _path2 + ".groupsetting",
|
|
2138
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1873
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
2139
1874
|
value: input3.groupsetting
|
|
2140
1875
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2141
1876
|
path: _path2 + ".groupsetting",
|
|
2142
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1877
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
2143
1878
|
value: input3.groupsetting
|
|
2144
1879
|
})].every((flag) => flag);
|
|
2145
|
-
const $
|
|
1880
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2146
1881
|
path: _path2 + ".disabled",
|
|
2147
1882
|
expected: "(boolean | undefined)",
|
|
2148
1883
|
value: input3.disabled
|
|
@@ -2150,12 +1885,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2150
1885
|
path: _path2 + ".lst",
|
|
2151
1886
|
expected: "Array<Groupset>",
|
|
2152
1887
|
value: input3.lst
|
|
2153
|
-
})) && input3.lst.map((elem,
|
|
2154
|
-
path: _path2 + ".lst[" +
|
|
1888
|
+
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1889
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
2155
1890
|
expected: "Groupset",
|
|
2156
1891
|
value: elem
|
|
2157
|
-
})) && $
|
|
2158
|
-
path: _path2 + ".lst[" +
|
|
1892
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1893
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
2159
1894
|
expected: "Groupset",
|
|
2160
1895
|
value: elem
|
|
2161
1896
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2163,7 +1898,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2163
1898
|
expected: "Array<Groupset>",
|
|
2164
1899
|
value: input3.lst
|
|
2165
1900
|
})].every((flag) => flag);
|
|
2166
|
-
const $
|
|
1901
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2167
1902
|
path: _path2 + ".name",
|
|
2168
1903
|
expected: "string",
|
|
2169
1904
|
value: input3.name
|
|
@@ -2183,12 +1918,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2183
1918
|
path: _path2 + ".groups",
|
|
2184
1919
|
expected: "Array<GroupEntry>",
|
|
2185
1920
|
value: input3.groups
|
|
2186
|
-
})) && input3.groups.map((elem,
|
|
2187
|
-
path: _path2 + ".groups[" +
|
|
1921
|
+
})) && input3.groups.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1922
|
+
path: _path2 + ".groups[" + _index10 + "]",
|
|
2188
1923
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2189
1924
|
value: elem
|
|
2190
|
-
})) && $vu2(elem, _path2 + ".groups[" +
|
|
2191
|
-
path: _path2 + ".groups[" +
|
|
1925
|
+
})) && $vu2(elem, _path2 + ".groups[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".groups[" + _index10 + "]",
|
|
2192
1927
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2193
1928
|
value: elem
|
|
2194
1929
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2196,7 +1931,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2196
1931
|
expected: "Array<GroupEntry>",
|
|
2197
1932
|
value: input3.groups
|
|
2198
1933
|
})].every((flag) => flag);
|
|
2199
|
-
const $
|
|
1934
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2200
1935
|
path: _path2 + ".name",
|
|
2201
1936
|
expected: "string",
|
|
2202
1937
|
value: input3.name
|
|
@@ -2208,13 +1943,13 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2208
1943
|
path: _path2 + ".values",
|
|
2209
1944
|
expected: "Array<__type>",
|
|
2210
1945
|
value: input3.values
|
|
2211
|
-
})) && input3.values.map((elem,
|
|
2212
|
-
path: _path2 + ".values[" +
|
|
2213
|
-
expected: "__type.
|
|
1946
|
+
})) && input3.values.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1947
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
1948
|
+
expected: "__type.o1",
|
|
2214
1949
|
value: elem
|
|
2215
|
-
})) && $
|
|
2216
|
-
path: _path2 + ".values[" +
|
|
2217
|
-
expected: "__type.
|
|
1950
|
+
})) && $vo11(elem, _path2 + ".values[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
1952
|
+
expected: "__type.o1",
|
|
2218
1953
|
value: elem
|
|
2219
1954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2220
1955
|
path: _path2 + ".values",
|
|
@@ -2225,7 +1960,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2225
1960
|
expected: "(boolean | undefined)",
|
|
2226
1961
|
value: input3.uncomputable
|
|
2227
1962
|
})].every((flag) => flag);
|
|
2228
|
-
const $
|
|
1963
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2229
1964
|
path: _path2 + ".key",
|
|
2230
1965
|
expected: "(number | string)",
|
|
2231
1966
|
value: input3.key
|
|
@@ -2234,7 +1969,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2234
1969
|
expected: "string",
|
|
2235
1970
|
value: input3.label
|
|
2236
1971
|
})].every((flag) => flag);
|
|
2237
|
-
const $
|
|
1972
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2238
1973
|
path: _path2 + ".name",
|
|
2239
1974
|
expected: "string",
|
|
2240
1975
|
value: input3.name
|
|
@@ -2244,55 +1979,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2244
1979
|
value: input3.type
|
|
2245
1980
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2246
1981
|
path: _path2 + ".filter",
|
|
2247
|
-
expected: "
|
|
1982
|
+
expected: "Filter",
|
|
2248
1983
|
value: input3.filter
|
|
2249
|
-
})) && $
|
|
1984
|
+
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2250
1985
|
path: _path2 + ".filter",
|
|
2251
|
-
expected: "
|
|
1986
|
+
expected: "Filter",
|
|
2252
1987
|
value: input3.filter
|
|
2253
1988
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2254
1989
|
path: _path2 + ".uncomputable",
|
|
2255
1990
|
expected: "boolean",
|
|
2256
1991
|
value: input3.uncomputable
|
|
2257
1992
|
})].every((flag) => flag);
|
|
2258
|
-
const $
|
|
2259
|
-
path: _path2 + ".opts",
|
|
2260
|
-
expected: "__type.o1",
|
|
2261
|
-
value: input3.opts
|
|
2262
|
-
})) && $vo9(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
2263
|
-
path: _path2 + ".opts",
|
|
2264
|
-
expected: "__type.o1",
|
|
2265
|
-
value: input3.opts
|
|
2266
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
2267
|
-
path: _path2 + ".terms",
|
|
2268
|
-
expected: "Array<DtTerm>",
|
|
2269
|
-
value: input3.terms
|
|
2270
|
-
})) && input3.terms.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2271
|
-
path: _path2 + ".terms[" + _index15 + "]",
|
|
2272
|
-
expected: "DtTerm",
|
|
2273
|
-
value: elem
|
|
2274
|
-
})) && $vo10(elem, _path2 + ".terms[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2275
|
-
path: _path2 + ".terms[" + _index15 + "]",
|
|
2276
|
-
expected: "DtTerm",
|
|
2277
|
-
value: elem
|
|
2278
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2279
|
-
path: _path2 + ".terms",
|
|
2280
|
-
expected: "Array<DtTerm>",
|
|
2281
|
-
value: input3.terms
|
|
2282
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
2283
|
-
path: _path2 + ".active",
|
|
2284
|
-
expected: "Filter",
|
|
2285
|
-
value: input3.active
|
|
2286
|
-
})) && $vo4(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
2287
|
-
path: _path2 + ".active",
|
|
2288
|
-
expected: "Filter",
|
|
2289
|
-
value: input3.active
|
|
2290
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
2291
|
-
path: _path2 + ".group",
|
|
2292
|
-
expected: "number",
|
|
2293
|
-
value: input3.group
|
|
2294
|
-
})].every((flag) => flag);
|
|
2295
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1993
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2296
1994
|
path: _path2 + ".disabled",
|
|
2297
1995
|
expected: "boolean",
|
|
2298
1996
|
value: input3.disabled
|
|
@@ -2309,92 +2007,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2309
2007
|
expected: "([] | undefined)",
|
|
2310
2008
|
value: input3.lst
|
|
2311
2009
|
})].every((flag) => flag);
|
|
2312
|
-
const $
|
|
2313
|
-
path: _path2 + ".id",
|
|
2314
|
-
expected: "string",
|
|
2315
|
-
value: input3.id
|
|
2316
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2317
|
-
path: _path2 + ".name",
|
|
2318
|
-
expected: "string",
|
|
2319
|
-
value: input3.name
|
|
2320
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2321
|
-
path: _path2 + ".type",
|
|
2322
|
-
expected: '"geneVariant"',
|
|
2323
|
-
value: input3.type
|
|
2324
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2325
|
-
path: _path2 + ".child_types",
|
|
2326
|
-
expected: "(Array<string> | undefined)",
|
|
2327
|
-
value: input3.child_types
|
|
2328
|
-
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2329
|
-
path: _path2 + ".child_types[" + _index16 + "]",
|
|
2330
|
-
expected: "string",
|
|
2331
|
-
value: elem
|
|
2332
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2333
|
-
path: _path2 + ".child_types",
|
|
2334
|
-
expected: "(Array<string> | undefined)",
|
|
2335
|
-
value: input3.child_types
|
|
2336
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2337
|
-
path: _path2 + ".hashtmldetail",
|
|
2338
|
-
expected: "(boolean | undefined)",
|
|
2339
|
-
value: input3.hashtmldetail
|
|
2340
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2341
|
-
path: _path2 + ".included_types",
|
|
2342
|
-
expected: "(Array<string> | undefined)",
|
|
2343
|
-
value: input3.included_types
|
|
2344
|
-
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2345
|
-
path: _path2 + ".included_types[" + _index17 + "]",
|
|
2346
|
-
expected: "string",
|
|
2347
|
-
value: elem
|
|
2348
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2349
|
-
path: _path2 + ".included_types",
|
|
2350
|
-
expected: "(Array<string> | undefined)",
|
|
2351
|
-
value: input3.included_types
|
|
2352
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2353
|
-
path: _path2 + ".isleaf",
|
|
2354
|
-
expected: "(boolean | undefined)",
|
|
2355
|
-
value: input3.isleaf
|
|
2356
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2357
|
-
path: _path2 + ".values",
|
|
2358
|
-
expected: "(TermValues | undefined)",
|
|
2359
|
-
value: input3.values
|
|
2360
|
-
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2361
|
-
path: _path2 + ".values",
|
|
2362
|
-
expected: "(TermValues | undefined)",
|
|
2363
|
-
value: input3.values
|
|
2364
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2365
|
-
path: _path2 + ".filter",
|
|
2366
|
-
expected: "(TermFilter | undefined)",
|
|
2367
|
-
value: input3.filter
|
|
2368
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2369
|
-
path: _path2 + ".filter",
|
|
2370
|
-
expected: "(TermFilter | undefined)",
|
|
2371
|
-
value: input3.filter
|
|
2372
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2373
|
-
path: _path2 + ".kind",
|
|
2374
|
-
expected: '"coord"',
|
|
2375
|
-
value: input3.kind
|
|
2376
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2377
|
-
path: _path2 + ".chr",
|
|
2378
|
-
expected: "string",
|
|
2379
|
-
value: input3.chr
|
|
2380
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2381
|
-
path: _path2 + ".start",
|
|
2382
|
-
expected: "number",
|
|
2383
|
-
value: input3.start
|
|
2384
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2385
|
-
path: _path2 + ".stop",
|
|
2386
|
-
expected: "number",
|
|
2387
|
-
value: input3.stop
|
|
2388
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2389
|
-
path: _path2 + ".groupsetting",
|
|
2390
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
2391
|
-
value: input3.groupsetting
|
|
2392
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2393
|
-
path: _path2 + ".groupsetting",
|
|
2394
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
2395
|
-
value: input3.groupsetting
|
|
2396
|
-
})].every((flag) => flag);
|
|
2397
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2010
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2398
2011
|
path: _path2 + ".join",
|
|
2399
2012
|
expected: "(string | undefined)",
|
|
2400
2013
|
value: input3.join
|
|
@@ -2406,7 +2019,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2406
2019
|
path: _path2 + ".term",
|
|
2407
2020
|
expected: "NumericTerm",
|
|
2408
2021
|
value: input3.term
|
|
2409
|
-
})) && $
|
|
2022
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2410
2023
|
path: _path2 + ".term",
|
|
2411
2024
|
expected: "NumericTerm",
|
|
2412
2025
|
value: input3.term
|
|
@@ -2414,12 +2027,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2414
2027
|
path: _path2 + ".ranges",
|
|
2415
2028
|
expected: "Array<NumericBin>",
|
|
2416
2029
|
value: input3.ranges
|
|
2417
|
-
})) && input3.ranges.map((elem,
|
|
2418
|
-
path: _path2 + ".ranges[" +
|
|
2030
|
+
})) && input3.ranges.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2031
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
2419
2032
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2420
2033
|
value: elem
|
|
2421
|
-
})) && $vu3(elem, _path2 + ".ranges[" +
|
|
2422
|
-
path: _path2 + ".ranges[" +
|
|
2034
|
+
})) && $vu3(elem, _path2 + ".ranges[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2035
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
2423
2036
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2424
2037
|
value: elem
|
|
2425
2038
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2430,20 +2043,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2430
2043
|
path: _path2 + ".values",
|
|
2431
2044
|
expected: "Array<__type>.o1",
|
|
2432
2045
|
value: input3.values
|
|
2433
|
-
})) && input3.values.map((elem,
|
|
2434
|
-
path: _path2 + ".values[" +
|
|
2435
|
-
expected: "__type.
|
|
2046
|
+
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2047
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
2048
|
+
expected: "__type.o4",
|
|
2436
2049
|
value: elem
|
|
2437
|
-
})) && $
|
|
2438
|
-
path: _path2 + ".values[" +
|
|
2439
|
-
expected: "__type.
|
|
2050
|
+
})) && $vo24(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2051
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
2052
|
+
expected: "__type.o4",
|
|
2440
2053
|
value: elem
|
|
2441
2054
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2442
2055
|
path: _path2 + ".values",
|
|
2443
2056
|
expected: "Array<__type>.o1",
|
|
2444
2057
|
value: input3.values
|
|
2445
2058
|
})].every((flag) => flag);
|
|
2446
|
-
const $
|
|
2059
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2447
2060
|
path: _path2 + ".id",
|
|
2448
2061
|
expected: "string",
|
|
2449
2062
|
value: input3.id
|
|
@@ -2459,8 +2072,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2459
2072
|
path: _path2 + ".child_types",
|
|
2460
2073
|
expected: "(Array<string> | undefined)",
|
|
2461
2074
|
value: input3.child_types
|
|
2462
|
-
})) && input3.child_types.map((elem,
|
|
2463
|
-
path: _path2 + ".child_types[" +
|
|
2075
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2076
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
2464
2077
|
expected: "string",
|
|
2465
2078
|
value: elem
|
|
2466
2079
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2475,8 +2088,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2475
2088
|
path: _path2 + ".included_types",
|
|
2476
2089
|
expected: "(Array<string> | undefined)",
|
|
2477
2090
|
value: input3.included_types
|
|
2478
|
-
})) && input3.included_types.map((elem,
|
|
2479
|
-
path: _path2 + ".included_types[" +
|
|
2091
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2092
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
2480
2093
|
expected: "string",
|
|
2481
2094
|
value: elem
|
|
2482
2095
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2495,19 +2108,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2495
2108
|
path: _path2 + ".values",
|
|
2496
2109
|
expected: "(TermValues | undefined)",
|
|
2497
2110
|
value: input3.values
|
|
2498
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2499
|
-
path: _path2 + ".filter",
|
|
2500
|
-
expected: "(TermFilter | undefined)",
|
|
2501
|
-
value: input3.filter
|
|
2502
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2503
|
-
path: _path2 + ".filter",
|
|
2504
|
-
expected: "(TermFilter | undefined)",
|
|
2505
|
-
value: input3.filter
|
|
2506
2111
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2507
2112
|
path: _path2 + ".bins",
|
|
2508
2113
|
expected: "PresetNumericBins",
|
|
2509
2114
|
value: input3.bins
|
|
2510
|
-
})) && $
|
|
2115
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2511
2116
|
path: _path2 + ".bins",
|
|
2512
2117
|
expected: "PresetNumericBins",
|
|
2513
2118
|
value: input3.bins
|
|
@@ -2517,18 +2122,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2517
2122
|
value: input3.unit
|
|
2518
2123
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2519
2124
|
path: _path2 + ".continuousColorScale",
|
|
2520
|
-
expected: "(__type.
|
|
2125
|
+
expected: "(__type.o3 | undefined)",
|
|
2521
2126
|
value: input3.continuousColorScale
|
|
2522
|
-
})) && $
|
|
2127
|
+
})) && $vo23(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2523
2128
|
path: _path2 + ".continuousColorScale",
|
|
2524
|
-
expected: "(__type.
|
|
2129
|
+
expected: "(__type.o3 | undefined)",
|
|
2525
2130
|
value: input3.continuousColorScale
|
|
2526
2131
|
})].every((flag) => flag);
|
|
2527
|
-
const $
|
|
2132
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2528
2133
|
path: _path2 + '["default"]',
|
|
2529
2134
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2530
2135
|
value: input3["default"]
|
|
2531
|
-
})) && $
|
|
2136
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2532
2137
|
path: _path2 + '["default"]',
|
|
2533
2138
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2534
2139
|
value: input3["default"]
|
|
@@ -2536,7 +2141,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2536
2141
|
path: _path2 + ".less",
|
|
2537
2142
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2538
2143
|
value: input3.less
|
|
2539
|
-
})) && $
|
|
2144
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2540
2145
|
path: _path2 + ".less",
|
|
2541
2146
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2542
2147
|
value: input3.less
|
|
@@ -2561,11 +2166,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2561
2166
|
expected: "(number | undefined)",
|
|
2562
2167
|
value: input3.max
|
|
2563
2168
|
})].every((flag) => flag);
|
|
2564
|
-
const $
|
|
2169
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2565
2170
|
path: _path2 + ".hiddenValues",
|
|
2566
2171
|
expected: "(HiddenValues | undefined)",
|
|
2567
2172
|
value: input3.hiddenValues
|
|
2568
|
-
})) && $
|
|
2173
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2569
2174
|
path: _path2 + ".hiddenValues",
|
|
2570
2175
|
expected: "(HiddenValues | undefined)",
|
|
2571
2176
|
value: input3.hiddenValues
|
|
@@ -2597,7 +2202,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2597
2202
|
path: _path2 + ".first_bin",
|
|
2598
2203
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2599
2204
|
value: input3.first_bin
|
|
2600
|
-
})) && $
|
|
2205
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2601
2206
|
path: _path2 + ".first_bin",
|
|
2602
2207
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2603
2208
|
value: input3.first_bin
|
|
@@ -2605,7 +2210,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2605
2210
|
path: _path2 + ".last_bin",
|
|
2606
2211
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2607
2212
|
value: input3.last_bin
|
|
2608
|
-
})) && $
|
|
2213
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2609
2214
|
path: _path2 + ".last_bin",
|
|
2610
2215
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2611
2216
|
value: input3.last_bin
|
|
@@ -2614,7 +2219,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2614
2219
|
expected: "(number | undefined)",
|
|
2615
2220
|
value: input3.label_offset
|
|
2616
2221
|
})].every((flag) => flag);
|
|
2617
|
-
const $
|
|
2222
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2618
2223
|
const value = input3[key];
|
|
2619
2224
|
if (void 0 === value)
|
|
2620
2225
|
return true;
|
|
@@ -2626,7 +2231,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2626
2231
|
});
|
|
2627
2232
|
return true;
|
|
2628
2233
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2629
|
-
const $
|
|
2234
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2630
2235
|
path: _path2 + ".startunbounded",
|
|
2631
2236
|
expected: "true",
|
|
2632
2237
|
value: input3.startunbounded
|
|
@@ -2651,7 +2256,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2651
2256
|
expected: "(string | undefined)",
|
|
2652
2257
|
value: input3.label
|
|
2653
2258
|
})].every((flag) => flag);
|
|
2654
|
-
const $
|
|
2259
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2655
2260
|
path: _path2 + ".startunbounded",
|
|
2656
2261
|
expected: "(false | undefined)",
|
|
2657
2262
|
value: input3.startunbounded
|
|
@@ -2680,7 +2285,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2680
2285
|
expected: "(string | undefined)",
|
|
2681
2286
|
value: input3.label
|
|
2682
2287
|
})].every((flag) => flag);
|
|
2683
|
-
const $
|
|
2288
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2684
2289
|
path: _path2 + ".start",
|
|
2685
2290
|
expected: "number",
|
|
2686
2291
|
value: input3.start
|
|
@@ -2705,11 +2310,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2705
2310
|
expected: "(string | undefined)",
|
|
2706
2311
|
value: input3.label
|
|
2707
2312
|
})].every((flag) => flag);
|
|
2708
|
-
const $
|
|
2313
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2709
2314
|
path: _path2 + ".hiddenValues",
|
|
2710
2315
|
expected: "(HiddenValues | undefined)",
|
|
2711
2316
|
value: input3.hiddenValues
|
|
2712
|
-
})) && $
|
|
2317
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2713
2318
|
path: _path2 + ".hiddenValues",
|
|
2714
2319
|
expected: "(HiddenValues | undefined)",
|
|
2715
2320
|
value: input3.hiddenValues
|
|
@@ -2751,99 +2356,348 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2751
2356
|
path: _path2 + ".lst",
|
|
2752
2357
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2753
2358
|
value: input3.lst.slice(1)
|
|
2754
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2755
|
-
path: _path2 + ".lst[" + (1 +
|
|
2359
|
+
})) && input3.lst.slice(1).map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2360
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
2756
2361
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2757
2362
|
value: elem
|
|
2758
|
-
})) && $vu3(elem, _path2 + ".lst[" + (1 +
|
|
2759
|
-
path: _path2 + ".lst[" + (1 +
|
|
2363
|
+
})) && $vu3(elem, _path2 + ".lst[" + (1 + _index16) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2364
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
2760
2365
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2761
2366
|
value: elem
|
|
2762
2367
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2763
|
-
path: _path2 + ".lst",
|
|
2764
|
-
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2765
|
-
value: input3.lst.slice(1)
|
|
2766
|
-
}))) || $report(_exceptionable2, {
|
|
2767
|
-
path: _path2 + ".lst",
|
|
2768
|
-
expected: "[NumericBin, ...NumericBin[]]",
|
|
2769
|
-
value: input3.lst
|
|
2770
|
-
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
2771
|
-
path: _path2 + ".preferredBins",
|
|
2772
|
-
expected: '("median" | undefined)',
|
|
2773
|
-
value: input3.preferredBins
|
|
2774
|
-
})].every((flag) => flag);
|
|
2775
|
-
const $
|
|
2776
|
-
path: _path2 + ".minColor",
|
|
2777
|
-
expected: "string",
|
|
2778
|
-
value: input3.minColor
|
|
2779
|
-
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2780
|
-
path: _path2 + ".maxColor",
|
|
2781
|
-
expected: "string",
|
|
2782
|
-
value: input3.maxColor
|
|
2783
|
-
})].every((flag) => flag);
|
|
2784
|
-
const $
|
|
2785
|
-
path: _path2 + ".key",
|
|
2368
|
+
path: _path2 + ".lst",
|
|
2369
|
+
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2370
|
+
value: input3.lst.slice(1)
|
|
2371
|
+
}))) || $report(_exceptionable2, {
|
|
2372
|
+
path: _path2 + ".lst",
|
|
2373
|
+
expected: "[NumericBin, ...NumericBin[]]",
|
|
2374
|
+
value: input3.lst
|
|
2375
|
+
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
2376
|
+
path: _path2 + ".preferredBins",
|
|
2377
|
+
expected: '("median" | undefined)',
|
|
2378
|
+
value: input3.preferredBins
|
|
2379
|
+
})].every((flag) => flag);
|
|
2380
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2381
|
+
path: _path2 + ".minColor",
|
|
2382
|
+
expected: "string",
|
|
2383
|
+
value: input3.minColor
|
|
2384
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2385
|
+
path: _path2 + ".maxColor",
|
|
2386
|
+
expected: "string",
|
|
2387
|
+
value: input3.maxColor
|
|
2388
|
+
})].every((flag) => flag);
|
|
2389
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2390
|
+
path: _path2 + ".key",
|
|
2391
|
+
expected: "string",
|
|
2392
|
+
value: input3.key
|
|
2393
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
2394
|
+
path: _path2 + ".value",
|
|
2395
|
+
expected: "number",
|
|
2396
|
+
value: input3.value
|
|
2397
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
2398
|
+
path: _path2 + ".uncomputable",
|
|
2399
|
+
expected: "true",
|
|
2400
|
+
value: input3.uncomputable
|
|
2401
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2402
|
+
path: _path2 + ".label",
|
|
2403
|
+
expected: "(string | undefined)",
|
|
2404
|
+
value: input3.label
|
|
2405
|
+
})].every((flag) => flag);
|
|
2406
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2407
|
+
path: _path2 + ".join",
|
|
2408
|
+
expected: "(string | undefined)",
|
|
2409
|
+
value: input3.join
|
|
2410
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2411
|
+
path: _path2 + ".isnot",
|
|
2412
|
+
expected: "(boolean | undefined)",
|
|
2413
|
+
value: input3.isnot
|
|
2414
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2415
|
+
path: _path2 + ".term",
|
|
2416
|
+
expected: "ConditionTerm",
|
|
2417
|
+
value: input3.term
|
|
2418
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2419
|
+
path: _path2 + ".term",
|
|
2420
|
+
expected: "ConditionTerm",
|
|
2421
|
+
value: input3.term
|
|
2422
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2423
|
+
path: _path2 + ".value_by_max_grade",
|
|
2424
|
+
expected: "(boolean | undefined)",
|
|
2425
|
+
value: input3.value_by_max_grade
|
|
2426
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2427
|
+
path: _path2 + ".value_by_most_recent",
|
|
2428
|
+
expected: "(boolean | undefined)",
|
|
2429
|
+
value: input3.value_by_most_recent
|
|
2430
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2431
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2432
|
+
expected: "(boolean | undefined)",
|
|
2433
|
+
value: input3.value_by_computable_grade
|
|
2434
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
2435
|
+
path: _path2 + ".grade_and_child",
|
|
2436
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2437
|
+
value: input3.grade_and_child
|
|
2438
|
+
})) && input3.grade_and_child.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2439
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
2440
|
+
expected: "GradeAndChildEntry",
|
|
2441
|
+
value: elem
|
|
2442
|
+
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2443
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
2444
|
+
expected: "GradeAndChildEntry",
|
|
2445
|
+
value: elem
|
|
2446
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2447
|
+
path: _path2 + ".grade_and_child",
|
|
2448
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2449
|
+
value: input3.grade_and_child
|
|
2450
|
+
})].every((flag) => flag);
|
|
2451
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2452
|
+
path: _path2 + ".id",
|
|
2453
|
+
expected: "string",
|
|
2454
|
+
value: input3.id
|
|
2455
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2456
|
+
path: _path2 + ".name",
|
|
2457
|
+
expected: "string",
|
|
2458
|
+
value: input3.name
|
|
2459
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
2460
|
+
path: _path2 + ".type",
|
|
2461
|
+
expected: '"condition"',
|
|
2462
|
+
value: input3.type
|
|
2463
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2464
|
+
path: _path2 + ".child_types",
|
|
2465
|
+
expected: "(Array<string> | undefined)",
|
|
2466
|
+
value: input3.child_types
|
|
2467
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2468
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
2469
|
+
expected: "string",
|
|
2470
|
+
value: elem
|
|
2471
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2472
|
+
path: _path2 + ".child_types",
|
|
2473
|
+
expected: "(Array<string> | undefined)",
|
|
2474
|
+
value: input3.child_types
|
|
2475
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2476
|
+
path: _path2 + ".hashtmldetail",
|
|
2477
|
+
expected: "(boolean | undefined)",
|
|
2478
|
+
value: input3.hashtmldetail
|
|
2479
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2480
|
+
path: _path2 + ".included_types",
|
|
2481
|
+
expected: "(Array<string> | undefined)",
|
|
2482
|
+
value: input3.included_types
|
|
2483
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2484
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
2485
|
+
expected: "string",
|
|
2486
|
+
value: elem
|
|
2487
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2488
|
+
path: _path2 + ".included_types",
|
|
2489
|
+
expected: "(Array<string> | undefined)",
|
|
2490
|
+
value: input3.included_types
|
|
2491
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2492
|
+
path: _path2 + ".isleaf",
|
|
2493
|
+
expected: "(boolean | undefined)",
|
|
2494
|
+
value: input3.isleaf
|
|
2495
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2496
|
+
path: _path2 + ".values",
|
|
2497
|
+
expected: "(TermValues | undefined)",
|
|
2498
|
+
value: input3.values
|
|
2499
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2500
|
+
path: _path2 + ".values",
|
|
2501
|
+
expected: "(TermValues | undefined)",
|
|
2502
|
+
value: input3.values
|
|
2503
|
+
})].every((flag) => flag);
|
|
2504
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2505
|
+
path: _path2 + ".grade",
|
|
2506
|
+
expected: "number",
|
|
2507
|
+
value: input3.grade
|
|
2508
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
2509
|
+
path: _path2 + ".grade_label",
|
|
2510
|
+
expected: "string",
|
|
2511
|
+
value: input3.grade_label
|
|
2512
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
2513
|
+
path: _path2 + ".child_id",
|
|
2514
|
+
expected: "(string | undefined)",
|
|
2515
|
+
value: input3.child_id
|
|
2516
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
2517
|
+
path: _path2 + ".child_label",
|
|
2518
|
+
expected: "string",
|
|
2519
|
+
value: input3.child_label
|
|
2520
|
+
})].every((flag) => flag);
|
|
2521
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2522
|
+
path: _path2 + ".join",
|
|
2523
|
+
expected: "(string | undefined)",
|
|
2524
|
+
value: input3.join
|
|
2525
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2526
|
+
path: _path2 + ".isnot",
|
|
2527
|
+
expected: "(boolean | undefined)",
|
|
2528
|
+
value: input3.isnot
|
|
2529
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2530
|
+
path: _path2 + ".term",
|
|
2531
|
+
expected: "DtTerm",
|
|
2532
|
+
value: input3.term
|
|
2533
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2534
|
+
path: _path2 + ".term",
|
|
2535
|
+
expected: "DtTerm",
|
|
2536
|
+
value: input3.term
|
|
2537
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2538
|
+
path: _path2 + ".values",
|
|
2539
|
+
expected: "Array<__type>.o2",
|
|
2540
|
+
value: input3.values
|
|
2541
|
+
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2542
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
2543
|
+
expected: "__type.o5",
|
|
2544
|
+
value: elem
|
|
2545
|
+
})) && $vo32(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2546
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
2547
|
+
expected: "__type.o5",
|
|
2548
|
+
value: elem
|
|
2549
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2550
|
+
path: _path2 + ".values",
|
|
2551
|
+
expected: "Array<__type>.o2",
|
|
2552
|
+
value: input3.values
|
|
2553
|
+
})].every((flag) => flag);
|
|
2554
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2555
|
+
path: _path2 + ".id",
|
|
2556
|
+
expected: "string",
|
|
2557
|
+
value: input3.id
|
|
2558
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2559
|
+
path: _path2 + ".query",
|
|
2560
|
+
expected: "string",
|
|
2561
|
+
value: input3.query
|
|
2562
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2563
|
+
path: _path2 + ".name",
|
|
2564
|
+
expected: "string",
|
|
2565
|
+
value: input3.name
|
|
2566
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2567
|
+
path: _path2 + ".name_noOrigin",
|
|
2568
|
+
expected: "string",
|
|
2569
|
+
value: input3.name_noOrigin
|
|
2570
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
2571
|
+
path: _path2 + ".parentTerm",
|
|
2572
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2573
|
+
value: input3.parentTerm
|
|
2574
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2575
|
+
path: _path2 + ".parentTerm",
|
|
2576
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2577
|
+
value: input3.parentTerm
|
|
2578
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2579
|
+
path: _path2 + ".isleaf",
|
|
2580
|
+
expected: "boolean",
|
|
2581
|
+
value: input3.isleaf
|
|
2582
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2583
|
+
path: _path2 + ".type",
|
|
2584
|
+
expected: "string",
|
|
2585
|
+
value: input3.type
|
|
2586
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2587
|
+
path: _path2 + ".dt",
|
|
2588
|
+
expected: "number",
|
|
2589
|
+
value: input3.dt
|
|
2590
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2591
|
+
path: _path2 + ".origin",
|
|
2592
|
+
expected: "(string | undefined)",
|
|
2593
|
+
value: input3.origin
|
|
2594
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2595
|
+
path: _path2 + ".values",
|
|
2596
|
+
expected: "TermValues",
|
|
2597
|
+
value: input3.values
|
|
2598
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2599
|
+
path: _path2 + ".values",
|
|
2600
|
+
expected: "TermValues",
|
|
2601
|
+
value: input3.values
|
|
2602
|
+
})].every((flag) => flag);
|
|
2603
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2604
|
+
path: _path2 + ".id",
|
|
2605
|
+
expected: "string",
|
|
2606
|
+
value: input3.id
|
|
2607
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2608
|
+
path: _path2 + ".name",
|
|
2609
|
+
expected: "string",
|
|
2610
|
+
value: input3.name
|
|
2611
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2612
|
+
path: _path2 + ".type",
|
|
2613
|
+
expected: '"geneVariant"',
|
|
2614
|
+
value: input3.type
|
|
2615
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2616
|
+
path: _path2 + ".child_types",
|
|
2617
|
+
expected: "(Array<string> | undefined)",
|
|
2618
|
+
value: input3.child_types
|
|
2619
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2620
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
2621
|
+
expected: "string",
|
|
2622
|
+
value: elem
|
|
2623
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2624
|
+
path: _path2 + ".child_types",
|
|
2625
|
+
expected: "(Array<string> | undefined)",
|
|
2626
|
+
value: input3.child_types
|
|
2627
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2628
|
+
path: _path2 + ".hashtmldetail",
|
|
2629
|
+
expected: "(boolean | undefined)",
|
|
2630
|
+
value: input3.hashtmldetail
|
|
2631
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2632
|
+
path: _path2 + ".included_types",
|
|
2633
|
+
expected: "(Array<string> | undefined)",
|
|
2634
|
+
value: input3.included_types
|
|
2635
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2636
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
2637
|
+
expected: "string",
|
|
2638
|
+
value: elem
|
|
2639
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2640
|
+
path: _path2 + ".included_types",
|
|
2641
|
+
expected: "(Array<string> | undefined)",
|
|
2642
|
+
value: input3.included_types
|
|
2643
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2644
|
+
path: _path2 + ".isleaf",
|
|
2645
|
+
expected: "(boolean | undefined)",
|
|
2646
|
+
value: input3.isleaf
|
|
2647
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2648
|
+
path: _path2 + ".values",
|
|
2649
|
+
expected: "(TermValues | undefined)",
|
|
2650
|
+
value: input3.values
|
|
2651
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2652
|
+
path: _path2 + ".values",
|
|
2653
|
+
expected: "(TermValues | undefined)",
|
|
2654
|
+
value: input3.values
|
|
2655
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2656
|
+
path: _path2 + ".kind",
|
|
2657
|
+
expected: '"gene"',
|
|
2658
|
+
value: input3.kind
|
|
2659
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2660
|
+
path: _path2 + ".gene",
|
|
2786
2661
|
expected: "string",
|
|
2787
|
-
value: input3.
|
|
2788
|
-
}), "
|
|
2789
|
-
path: _path2 + ".
|
|
2790
|
-
expected: "number",
|
|
2791
|
-
value: input3.value
|
|
2792
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
2793
|
-
path: _path2 + ".uncomputable",
|
|
2794
|
-
expected: "true",
|
|
2795
|
-
value: input3.uncomputable
|
|
2796
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2797
|
-
path: _path2 + ".label",
|
|
2798
|
-
expected: "(string | undefined)",
|
|
2799
|
-
value: input3.label
|
|
2800
|
-
})].every((flag) => flag);
|
|
2801
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2802
|
-
path: _path2 + ".join",
|
|
2662
|
+
value: input3.gene
|
|
2663
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2664
|
+
path: _path2 + ".chr",
|
|
2803
2665
|
expected: "(string | undefined)",
|
|
2804
|
-
value: input3.
|
|
2805
|
-
}), void 0 === input3.
|
|
2806
|
-
path: _path2 + ".
|
|
2807
|
-
expected: "(
|
|
2808
|
-
value: input3.
|
|
2809
|
-
}),
|
|
2810
|
-
path: _path2 + ".
|
|
2811
|
-
expected: "
|
|
2812
|
-
value: input3.
|
|
2813
|
-
})
|
|
2814
|
-
path: _path2 + ".
|
|
2815
|
-
expected: "
|
|
2816
|
-
value: input3.
|
|
2817
|
-
})
|
|
2818
|
-
path: _path2 + ".
|
|
2819
|
-
expected: "(
|
|
2820
|
-
value: input3.
|
|
2821
|
-
}), void 0 === input3.
|
|
2822
|
-
path: _path2 + ".
|
|
2823
|
-
expected: "(
|
|
2824
|
-
value: input3.
|
|
2825
|
-
})
|
|
2826
|
-
path: _path2 + ".
|
|
2827
|
-
expected: "
|
|
2828
|
-
value: input3.value_by_computable_grade
|
|
2829
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
2830
|
-
path: _path2 + ".grade_and_child",
|
|
2831
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2832
|
-
value: input3.grade_and_child
|
|
2833
|
-
})) && input3.grade_and_child.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2834
|
-
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
2835
|
-
expected: "GradeAndChildEntry",
|
|
2666
|
+
value: input3.chr
|
|
2667
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2668
|
+
path: _path2 + ".start",
|
|
2669
|
+
expected: "(number | undefined)",
|
|
2670
|
+
value: input3.start
|
|
2671
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2672
|
+
path: _path2 + ".stop",
|
|
2673
|
+
expected: "(number | undefined)",
|
|
2674
|
+
value: input3.stop
|
|
2675
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2676
|
+
path: _path2 + ".groupsetting",
|
|
2677
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
2678
|
+
value: input3.groupsetting
|
|
2679
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2680
|
+
path: _path2 + ".groupsetting",
|
|
2681
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
2682
|
+
value: input3.groupsetting
|
|
2683
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2684
|
+
path: _path2 + ".childTerms",
|
|
2685
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
2686
|
+
value: input3.childTerms
|
|
2687
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2688
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
2689
|
+
expected: "DtTerm",
|
|
2836
2690
|
value: elem
|
|
2837
|
-
})) && $
|
|
2838
|
-
path: _path2 + ".
|
|
2839
|
-
expected: "
|
|
2691
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2692
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
2693
|
+
expected: "DtTerm",
|
|
2840
2694
|
value: elem
|
|
2841
2695
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2842
|
-
path: _path2 + ".
|
|
2843
|
-
expected: "(Array<
|
|
2844
|
-
value: input3.
|
|
2696
|
+
path: _path2 + ".childTerms",
|
|
2697
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
2698
|
+
value: input3.childTerms
|
|
2845
2699
|
})].every((flag) => flag);
|
|
2846
|
-
const $
|
|
2700
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2847
2701
|
path: _path2 + ".id",
|
|
2848
2702
|
expected: "string",
|
|
2849
2703
|
value: input3.id
|
|
@@ -2851,9 +2705,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2851
2705
|
path: _path2 + ".name",
|
|
2852
2706
|
expected: "string",
|
|
2853
2707
|
value: input3.name
|
|
2854
|
-
}), "
|
|
2708
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2855
2709
|
path: _path2 + ".type",
|
|
2856
|
-
expected: '"
|
|
2710
|
+
expected: '"geneVariant"',
|
|
2857
2711
|
value: input3.type
|
|
2858
2712
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2859
2713
|
path: _path2 + ".child_types",
|
|
@@ -2895,66 +2749,48 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2895
2749
|
path: _path2 + ".values",
|
|
2896
2750
|
expected: "(TermValues | undefined)",
|
|
2897
2751
|
value: input3.values
|
|
2898
|
-
}),
|
|
2899
|
-
path: _path2 + ".
|
|
2900
|
-
expected: "
|
|
2901
|
-
value: input3.
|
|
2902
|
-
})
|
|
2903
|
-
path: _path2 + ".
|
|
2904
|
-
expected: "(TermFilter | undefined)",
|
|
2905
|
-
value: input3.filter
|
|
2906
|
-
})].every((flag) => flag);
|
|
2907
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2908
|
-
path: _path2 + ".grade",
|
|
2909
|
-
expected: "number",
|
|
2910
|
-
value: input3.grade
|
|
2911
|
-
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
2912
|
-
path: _path2 + ".grade_label",
|
|
2913
|
-
expected: "string",
|
|
2914
|
-
value: input3.grade_label
|
|
2915
|
-
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
2916
|
-
path: _path2 + ".child_id",
|
|
2917
|
-
expected: "(string | undefined)",
|
|
2918
|
-
value: input3.child_id
|
|
2919
|
-
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
2920
|
-
path: _path2 + ".child_label",
|
|
2752
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2753
|
+
path: _path2 + ".kind",
|
|
2754
|
+
expected: '"coord"',
|
|
2755
|
+
value: input3.kind
|
|
2756
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2757
|
+
path: _path2 + ".chr",
|
|
2921
2758
|
expected: "string",
|
|
2922
|
-
value: input3.
|
|
2923
|
-
})
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2759
|
+
value: input3.chr
|
|
2760
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2761
|
+
path: _path2 + ".start",
|
|
2762
|
+
expected: "number",
|
|
2763
|
+
value: input3.start
|
|
2764
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2765
|
+
path: _path2 + ".stop",
|
|
2766
|
+
expected: "number",
|
|
2767
|
+
value: input3.stop
|
|
2768
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2769
|
+
path: _path2 + ".groupsetting",
|
|
2770
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
2771
|
+
value: input3.groupsetting
|
|
2772
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2773
|
+
path: _path2 + ".groupsetting",
|
|
2774
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
2775
|
+
value: input3.groupsetting
|
|
2776
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2777
|
+
path: _path2 + ".childTerms",
|
|
2778
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
2779
|
+
value: input3.childTerms
|
|
2780
|
+
})) && input3.childTerms.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2781
|
+
path: _path2 + ".childTerms[" + _index26 + "]",
|
|
2938
2782
|
expected: "DtTerm",
|
|
2939
|
-
value: input3.term
|
|
2940
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2941
|
-
path: _path2 + ".values",
|
|
2942
|
-
expected: "Array<__type>.o2",
|
|
2943
|
-
value: input3.values
|
|
2944
|
-
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2945
|
-
path: _path2 + ".values[" + _index26 + "]",
|
|
2946
|
-
expected: "__type.o6",
|
|
2947
2783
|
value: elem
|
|
2948
|
-
})) && $
|
|
2949
|
-
path: _path2 + ".
|
|
2950
|
-
expected: "
|
|
2784
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2785
|
+
path: _path2 + ".childTerms[" + _index26 + "]",
|
|
2786
|
+
expected: "DtTerm",
|
|
2951
2787
|
value: elem
|
|
2952
2788
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2953
|
-
path: _path2 + ".
|
|
2954
|
-
expected: "Array<
|
|
2955
|
-
value: input3.
|
|
2789
|
+
path: _path2 + ".childTerms",
|
|
2790
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
2791
|
+
value: input3.childTerms
|
|
2956
2792
|
})].every((flag) => flag);
|
|
2957
|
-
const $
|
|
2793
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2958
2794
|
path: _path2 + ".key",
|
|
2959
2795
|
expected: "string",
|
|
2960
2796
|
value: input3.key
|
|
@@ -2967,7 +2803,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2967
2803
|
expected: "string",
|
|
2968
2804
|
value: input3.value
|
|
2969
2805
|
})].every((flag) => flag);
|
|
2970
|
-
const $
|
|
2806
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2971
2807
|
path: _path2 + ".id",
|
|
2972
2808
|
expected: "string",
|
|
2973
2809
|
value: input3.id
|
|
@@ -3019,14 +2855,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3019
2855
|
path: _path2 + ".values",
|
|
3020
2856
|
expected: "(TermValues | undefined)",
|
|
3021
2857
|
value: input3.values
|
|
3022
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3023
|
-
path: _path2 + ".filter",
|
|
3024
|
-
expected: "(TermFilter | undefined)",
|
|
3025
|
-
value: input3.filter
|
|
3026
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3027
|
-
path: _path2 + ".filter",
|
|
3028
|
-
expected: "(TermFilter | undefined)",
|
|
3029
|
-
value: input3.filter
|
|
3030
2858
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3031
2859
|
path: _path2 + ".kind",
|
|
3032
2860
|
expected: '"coord"',
|
|
@@ -3045,14 +2873,30 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3045
2873
|
value: input3.stop
|
|
3046
2874
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3047
2875
|
path: _path2 + ".groupsetting",
|
|
3048
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2876
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
3049
2877
|
value: input3.groupsetting
|
|
3050
2878
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3051
2879
|
path: _path2 + ".groupsetting",
|
|
3052
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2880
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
3053
2881
|
value: input3.groupsetting
|
|
2882
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2883
|
+
path: _path2 + ".childTerms",
|
|
2884
|
+
expected: "Array<DtTerm>",
|
|
2885
|
+
value: input3.childTerms
|
|
2886
|
+
})) && input3.childTerms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2887
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
2888
|
+
expected: "DtTerm",
|
|
2889
|
+
value: elem
|
|
2890
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2891
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
2892
|
+
expected: "DtTerm",
|
|
2893
|
+
value: elem
|
|
2894
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2895
|
+
path: _path2 + ".childTerms",
|
|
2896
|
+
expected: "Array<DtTerm>",
|
|
2897
|
+
value: input3.childTerms
|
|
3054
2898
|
})].every((flag) => flag);
|
|
3055
|
-
const $
|
|
2899
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3056
2900
|
path: _path2 + ".id",
|
|
3057
2901
|
expected: "string",
|
|
3058
2902
|
value: input3.id
|
|
@@ -3068,8 +2912,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3068
2912
|
path: _path2 + ".child_types",
|
|
3069
2913
|
expected: "(Array<string> | undefined)",
|
|
3070
2914
|
value: input3.child_types
|
|
3071
|
-
})) && input3.child_types.map((elem,
|
|
3072
|
-
path: _path2 + ".child_types[" +
|
|
2915
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2916
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
3073
2917
|
expected: "string",
|
|
3074
2918
|
value: elem
|
|
3075
2919
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3084,8 +2928,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3084
2928
|
path: _path2 + ".included_types",
|
|
3085
2929
|
expected: "(Array<string> | undefined)",
|
|
3086
2930
|
value: input3.included_types
|
|
3087
|
-
})) && input3.included_types.map((elem,
|
|
3088
|
-
path: _path2 + ".included_types[" +
|
|
2931
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2932
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
3089
2933
|
expected: "string",
|
|
3090
2934
|
value: elem
|
|
3091
2935
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3104,24 +2948,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3104
2948
|
path: _path2 + ".values",
|
|
3105
2949
|
expected: "(TermValues | undefined)",
|
|
3106
2950
|
value: input3.values
|
|
3107
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3108
|
-
path: _path2 + ".filter",
|
|
3109
|
-
expected: "(TermFilter | undefined)",
|
|
3110
|
-
value: input3.filter
|
|
3111
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3112
|
-
path: _path2 + ".filter",
|
|
3113
|
-
expected: "(TermFilter | undefined)",
|
|
3114
|
-
value: input3.filter
|
|
3115
2951
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3116
2952
|
path: _path2 + ".groupsetting",
|
|
3117
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2953
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
3118
2954
|
value: input3.groupsetting
|
|
3119
2955
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3120
2956
|
path: _path2 + ".groupsetting",
|
|
3121
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2957
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
3122
2958
|
value: input3.groupsetting
|
|
3123
2959
|
})].every((flag) => flag);
|
|
3124
|
-
const $
|
|
2960
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3125
2961
|
path: _path2 + ".id",
|
|
3126
2962
|
expected: "string",
|
|
3127
2963
|
value: input3.id
|
|
@@ -3137,8 +2973,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3137
2973
|
path: _path2 + ".child_types",
|
|
3138
2974
|
expected: "(Array<string> | undefined)",
|
|
3139
2975
|
value: input3.child_types
|
|
3140
|
-
})) && input3.child_types.map((elem,
|
|
3141
|
-
path: _path2 + ".child_types[" +
|
|
2976
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2977
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
3142
2978
|
expected: "string",
|
|
3143
2979
|
value: elem
|
|
3144
2980
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3153,8 +2989,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3153
2989
|
path: _path2 + ".included_types",
|
|
3154
2990
|
expected: "(Array<string> | undefined)",
|
|
3155
2991
|
value: input3.included_types
|
|
3156
|
-
})) && input3.included_types.map((elem,
|
|
3157
|
-
path: _path2 + ".included_types[" +
|
|
2992
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2993
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
3158
2994
|
expected: "string",
|
|
3159
2995
|
value: elem
|
|
3160
2996
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3173,19 +3009,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3173
3009
|
path: _path2 + ".values",
|
|
3174
3010
|
expected: "(TermValues | undefined)",
|
|
3175
3011
|
value: input3.values
|
|
3176
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3177
|
-
path: _path2 + ".filter",
|
|
3178
|
-
expected: "(TermFilter | undefined)",
|
|
3179
|
-
value: input3.filter
|
|
3180
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3181
|
-
path: _path2 + ".filter",
|
|
3182
|
-
expected: "(TermFilter | undefined)",
|
|
3183
|
-
value: input3.filter
|
|
3184
3012
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3185
3013
|
path: _path2 + ".bins",
|
|
3186
3014
|
expected: "PresetNumericBins",
|
|
3187
3015
|
value: input3.bins
|
|
3188
|
-
})) && $
|
|
3016
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3189
3017
|
path: _path2 + ".bins",
|
|
3190
3018
|
expected: "PresetNumericBins",
|
|
3191
3019
|
value: input3.bins
|
|
@@ -3195,14 +3023,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3195
3023
|
value: input3.unit
|
|
3196
3024
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3197
3025
|
path: _path2 + ".continuousColorScale",
|
|
3198
|
-
expected: "(__type.
|
|
3026
|
+
expected: "(__type.o3 | undefined)",
|
|
3199
3027
|
value: input3.continuousColorScale
|
|
3200
|
-
})) && $
|
|
3028
|
+
})) && $vo23(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3201
3029
|
path: _path2 + ".continuousColorScale",
|
|
3202
|
-
expected: "(__type.
|
|
3030
|
+
expected: "(__type.o3 | undefined)",
|
|
3203
3031
|
value: input3.continuousColorScale
|
|
3204
3032
|
})].every((flag) => flag);
|
|
3205
|
-
const $
|
|
3033
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3206
3034
|
path: _path2 + ".id",
|
|
3207
3035
|
expected: "string",
|
|
3208
3036
|
value: input3.id
|
|
@@ -3218,8 +3046,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3218
3046
|
path: _path2 + ".child_types",
|
|
3219
3047
|
expected: "(Array<string> | undefined)",
|
|
3220
3048
|
value: input3.child_types
|
|
3221
|
-
})) && input3.child_types.map((elem,
|
|
3222
|
-
path: _path2 + ".child_types[" +
|
|
3049
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3050
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
3223
3051
|
expected: "string",
|
|
3224
3052
|
value: elem
|
|
3225
3053
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3234,8 +3062,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3234
3062
|
path: _path2 + ".included_types",
|
|
3235
3063
|
expected: "(Array<string> | undefined)",
|
|
3236
3064
|
value: input3.included_types
|
|
3237
|
-
})) && input3.included_types.map((elem,
|
|
3238
|
-
path: _path2 + ".included_types[" +
|
|
3065
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3066
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
3239
3067
|
expected: "string",
|
|
3240
3068
|
value: elem
|
|
3241
3069
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3254,16 +3082,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3254
3082
|
path: _path2 + ".values",
|
|
3255
3083
|
expected: "(TermValues | undefined)",
|
|
3256
3084
|
value: input3.values
|
|
3257
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3258
|
-
path: _path2 + ".filter",
|
|
3259
|
-
expected: "(TermFilter | undefined)",
|
|
3260
|
-
value: input3.filter
|
|
3261
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3262
|
-
path: _path2 + ".filter",
|
|
3263
|
-
expected: "(TermFilter | undefined)",
|
|
3264
|
-
value: input3.filter
|
|
3265
3085
|
})].every((flag) => flag);
|
|
3266
|
-
const $
|
|
3086
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3267
3087
|
path: _path2 + ".id",
|
|
3268
3088
|
expected: "string",
|
|
3269
3089
|
value: input3.id
|
|
@@ -3279,8 +3099,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3279
3099
|
path: _path2 + ".child_types",
|
|
3280
3100
|
expected: "(Array<string> | undefined)",
|
|
3281
3101
|
value: input3.child_types
|
|
3282
|
-
})) && input3.child_types.map((elem,
|
|
3283
|
-
path: _path2 + ".child_types[" +
|
|
3102
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3103
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
3284
3104
|
expected: "string",
|
|
3285
3105
|
value: elem
|
|
3286
3106
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3295,8 +3115,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3295
3115
|
path: _path2 + ".included_types",
|
|
3296
3116
|
expected: "(Array<string> | undefined)",
|
|
3297
3117
|
value: input3.included_types
|
|
3298
|
-
})) && input3.included_types.map((elem,
|
|
3299
|
-
path: _path2 + ".included_types[" +
|
|
3118
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3119
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
3300
3120
|
expected: "string",
|
|
3301
3121
|
value: elem
|
|
3302
3122
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3315,14 +3135,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3315
3135
|
path: _path2 + ".values",
|
|
3316
3136
|
expected: "(TermValues | undefined)",
|
|
3317
3137
|
value: input3.values
|
|
3318
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3319
|
-
path: _path2 + ".filter",
|
|
3320
|
-
expected: "(TermFilter | undefined)",
|
|
3321
|
-
value: input3.filter
|
|
3322
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3323
|
-
path: _path2 + ".filter",
|
|
3324
|
-
expected: "(TermFilter | undefined)",
|
|
3325
|
-
value: input3.filter
|
|
3326
3138
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
3327
3139
|
path: _path2 + ".reachedVariantLimit",
|
|
3328
3140
|
expected: "(boolean | undefined)",
|
|
@@ -3331,12 +3143,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3331
3143
|
path: _path2 + ".snps",
|
|
3332
3144
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3333
3145
|
value: input3.snps
|
|
3334
|
-
})) && input3.snps.map((elem,
|
|
3335
|
-
path: _path2 + ".snps[" +
|
|
3146
|
+
})) && input3.snps.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3147
|
+
path: _path2 + ".snps[" + _index38 + "]",
|
|
3336
3148
|
expected: "SnpsEntry",
|
|
3337
3149
|
value: elem
|
|
3338
|
-
})) && $
|
|
3339
|
-
path: _path2 + ".snps[" +
|
|
3150
|
+
})) && $vo38(elem, _path2 + ".snps[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3151
|
+
path: _path2 + ".snps[" + _index38 + "]",
|
|
3340
3152
|
expected: "SnpsEntry",
|
|
3341
3153
|
value: elem
|
|
3342
3154
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3344,12 +3156,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3344
3156
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3345
3157
|
value: input3.snps
|
|
3346
3158
|
})].every((flag) => flag);
|
|
3347
|
-
const $
|
|
3159
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3348
3160
|
path: _path2 + ".altAlleles",
|
|
3349
3161
|
expected: "(Array<string> | undefined)",
|
|
3350
3162
|
value: input3.altAlleles
|
|
3351
|
-
})) && input3.altAlleles.map((elem,
|
|
3352
|
-
path: _path2 + ".altAlleles[" +
|
|
3163
|
+
})) && input3.altAlleles.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3164
|
+
path: _path2 + ".altAlleles[" + _index39 + "]",
|
|
3353
3165
|
expected: "string",
|
|
3354
3166
|
value: elem
|
|
3355
3167
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3360,12 +3172,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3360
3172
|
path: _path2 + ".alleles",
|
|
3361
3173
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3362
3174
|
value: input3.alleles
|
|
3363
|
-
})) && input3.alleles.map((elem,
|
|
3364
|
-
path: _path2 + ".alleles[" +
|
|
3175
|
+
})) && input3.alleles.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3176
|
+
path: _path2 + ".alleles[" + _index40 + "]",
|
|
3365
3177
|
expected: "AllelesEntry",
|
|
3366
3178
|
value: elem
|
|
3367
|
-
})) && $
|
|
3368
|
-
path: _path2 + ".alleles[" +
|
|
3179
|
+
})) && $vo39(elem, _path2 + ".alleles[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3180
|
+
path: _path2 + ".alleles[" + _index40 + "]",
|
|
3369
3181
|
expected: "AllelesEntry",
|
|
3370
3182
|
value: elem
|
|
3371
3183
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3378,11 +3190,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3378
3190
|
value: input3.effectAllele
|
|
3379
3191
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3380
3192
|
path: _path2 + ".gt2count",
|
|
3381
|
-
expected: "(__type.
|
|
3193
|
+
expected: "(__type.o6 | undefined)",
|
|
3382
3194
|
value: input3.gt2count
|
|
3383
|
-
})) && $
|
|
3195
|
+
})) && $vo40(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3384
3196
|
path: _path2 + ".gt2count",
|
|
3385
|
-
expected: "(__type.
|
|
3197
|
+
expected: "(__type.o6 | undefined)",
|
|
3386
3198
|
value: input3.gt2count
|
|
3387
3199
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3388
3200
|
path: _path2 + ".invalid",
|
|
@@ -3409,7 +3221,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3409
3221
|
expected: "(number | undefined)",
|
|
3410
3222
|
value: input3.pos
|
|
3411
3223
|
})].every((flag) => flag);
|
|
3412
|
-
const $
|
|
3224
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3413
3225
|
path: _path2 + ".allele",
|
|
3414
3226
|
expected: "string",
|
|
3415
3227
|
value: input3.allele
|
|
@@ -3422,7 +3234,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3422
3234
|
expected: "boolean",
|
|
3423
3235
|
value: input3.isRef
|
|
3424
3236
|
})].every((flag) => flag);
|
|
3425
|
-
const $
|
|
3237
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3426
3238
|
path: _path2 + ".k",
|
|
3427
3239
|
expected: "string",
|
|
3428
3240
|
value: input3.k
|
|
@@ -3431,7 +3243,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3431
3243
|
expected: "(number | string)",
|
|
3432
3244
|
value: input3.v
|
|
3433
3245
|
})].every((flag) => flag);
|
|
3434
|
-
const $
|
|
3246
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3435
3247
|
path: _path2 + ".id",
|
|
3436
3248
|
expected: "string",
|
|
3437
3249
|
value: input3.id
|
|
@@ -3447,8 +3259,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3447
3259
|
path: _path2 + ".child_types",
|
|
3448
3260
|
expected: "(Array<string> | undefined)",
|
|
3449
3261
|
value: input3.child_types
|
|
3450
|
-
})) && input3.child_types.map((elem,
|
|
3451
|
-
path: _path2 + ".child_types[" +
|
|
3262
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3263
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
3452
3264
|
expected: "string",
|
|
3453
3265
|
value: elem
|
|
3454
3266
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3463,8 +3275,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3463
3275
|
path: _path2 + ".included_types",
|
|
3464
3276
|
expected: "(Array<string> | undefined)",
|
|
3465
3277
|
value: input3.included_types
|
|
3466
|
-
})) && input3.included_types.map((elem,
|
|
3467
|
-
path: _path2 + ".included_types[" +
|
|
3278
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3279
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
3468
3280
|
expected: "string",
|
|
3469
3281
|
value: elem
|
|
3470
3282
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3479,20 +3291,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3479
3291
|
path: _path2 + ".values",
|
|
3480
3292
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3481
3293
|
value: input3.values
|
|
3482
|
-
})) && $
|
|
3294
|
+
})) && $vo42(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3483
3295
|
path: _path2 + ".values",
|
|
3484
3296
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3485
3297
|
value: input3.values
|
|
3486
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3487
|
-
path: _path2 + ".filter",
|
|
3488
|
-
expected: "(TermFilter | undefined)",
|
|
3489
|
-
value: input3.filter
|
|
3490
|
-
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3491
|
-
path: _path2 + ".filter",
|
|
3492
|
-
expected: "(TermFilter | undefined)",
|
|
3493
|
-
value: input3.filter
|
|
3494
3298
|
})].every((flag) => flag);
|
|
3495
|
-
const $
|
|
3299
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3496
3300
|
const value = input3[key];
|
|
3497
3301
|
if (void 0 === value)
|
|
3498
3302
|
return true;
|
|
@@ -3501,7 +3305,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3501
3305
|
path: _path2 + $join(key),
|
|
3502
3306
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3503
3307
|
value
|
|
3504
|
-
})) && $
|
|
3308
|
+
})) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3505
3309
|
path: _path2 + $join(key),
|
|
3506
3310
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3507
3311
|
value
|
|
@@ -3511,14 +3315,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3511
3315
|
path: _path2 + $join(key),
|
|
3512
3316
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3513
3317
|
value
|
|
3514
|
-
})) && $
|
|
3318
|
+
})) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3515
3319
|
path: _path2 + $join(key),
|
|
3516
3320
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3517
3321
|
value
|
|
3518
3322
|
});
|
|
3519
3323
|
return true;
|
|
3520
3324
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3521
|
-
const $
|
|
3325
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3522
3326
|
path: _path2 + ".key",
|
|
3523
3327
|
expected: "(string | undefined)",
|
|
3524
3328
|
value: input3.key
|
|
@@ -3562,20 +3366,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3562
3366
|
path: _path2 + ".list",
|
|
3563
3367
|
expected: "Array<__type>.o3",
|
|
3564
3368
|
value: input3.list
|
|
3565
|
-
})) && input3.list.map((elem,
|
|
3566
|
-
path: _path2 + ".list[" +
|
|
3567
|
-
expected: "__type.
|
|
3369
|
+
})) && input3.list.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3370
|
+
path: _path2 + ".list[" + _index43 + "]",
|
|
3371
|
+
expected: "__type.o7",
|
|
3568
3372
|
value: elem
|
|
3569
|
-
})) && $
|
|
3570
|
-
path: _path2 + ".list[" +
|
|
3571
|
-
expected: "__type.
|
|
3373
|
+
})) && $vo44(elem, _path2 + ".list[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3374
|
+
path: _path2 + ".list[" + _index43 + "]",
|
|
3375
|
+
expected: "__type.o7",
|
|
3572
3376
|
value: elem
|
|
3573
3377
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3574
3378
|
path: _path2 + ".list",
|
|
3575
3379
|
expected: "Array<__type>.o3",
|
|
3576
3380
|
value: input3.list
|
|
3577
3381
|
}), true].every((flag) => flag);
|
|
3578
|
-
const $
|
|
3382
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3579
3383
|
path: _path2 + ".sampleId",
|
|
3580
3384
|
expected: "string",
|
|
3581
3385
|
value: input3.sampleId
|
|
@@ -3588,14 +3392,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3588
3392
|
if ("gene" === input3.kind)
|
|
3589
3393
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3590
3394
|
if ("coord" === input3.kind)
|
|
3591
|
-
return $
|
|
3395
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3592
3396
|
if ("categorical" === input3.type)
|
|
3593
|
-
return $
|
|
3397
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3594
3398
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3595
|
-
return $
|
|
3399
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3596
3400
|
if ("condition" === input3.type)
|
|
3597
|
-
return $
|
|
3598
|
-
return $
|
|
3401
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3402
|
+
return $vo37(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3599
3403
|
})();
|
|
3600
3404
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3601
3405
|
if ("tvslst" === input3.type)
|
|
@@ -3610,9 +3414,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3610
3414
|
})();
|
|
3611
3415
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3612
3416
|
if ("string" === typeof input3.type)
|
|
3613
|
-
return $
|
|
3417
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
3614
3418
|
if ("filter" === input3.type)
|
|
3615
|
-
return $
|
|
3419
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
3616
3420
|
return $report(_exceptionable2, {
|
|
3617
3421
|
path: _path2,
|
|
3618
3422
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -3621,65 +3425,65 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3621
3425
|
})();
|
|
3622
3426
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3623
3427
|
if (true === input3.startunbounded)
|
|
3624
|
-
return $
|
|
3428
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3625
3429
|
if (true === input3.stopunbounded)
|
|
3626
|
-
return $
|
|
3627
|
-
return $
|
|
3430
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3431
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3628
3432
|
})();
|
|
3629
3433
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3630
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3631
|
-
return $
|
|
3632
|
-
return $
|
|
3434
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index44) => "object" === typeof elem && null !== elem && $vo9(elem, _path2 + ".lst[" + _index44 + "]", false)).every((flag) => flag))
|
|
3435
|
+
return $vo8(input3, _path2, _exceptionable2);
|
|
3436
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3633
3437
|
})();
|
|
3634
3438
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3635
3439
|
if (void 0 !== input3.ranges)
|
|
3636
|
-
return $
|
|
3637
|
-
return $vo6(input3, _path2, false) || $
|
|
3440
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
3441
|
+
return $vo6(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false);
|
|
3638
3442
|
})();
|
|
3639
3443
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3640
|
-
if ("gene" === input3.kind)
|
|
3641
|
-
return $vo11(input3, _path2, _exceptionable2);
|
|
3642
|
-
if ("coord" === input3.kind)
|
|
3643
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
3644
|
-
return $report(_exceptionable2, {
|
|
3645
|
-
path: _path2,
|
|
3646
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
3647
|
-
value: input3
|
|
3648
|
-
});
|
|
3649
|
-
})();
|
|
3650
|
-
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3651
3444
|
if ("regular-bin" === input3.type)
|
|
3652
|
-
return $
|
|
3445
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3653
3446
|
if ("custom-bin" === input3.type)
|
|
3654
|
-
return $
|
|
3447
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3655
3448
|
return $report(_exceptionable2, {
|
|
3656
3449
|
path: _path2,
|
|
3657
3450
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3658
3451
|
value: input3
|
|
3659
3452
|
});
|
|
3660
3453
|
})();
|
|
3661
|
-
const $
|
|
3454
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3662
3455
|
if (true === input3.startunbounded)
|
|
3663
|
-
return $
|
|
3456
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3664
3457
|
if (void 0 !== input3.start)
|
|
3665
|
-
return $
|
|
3458
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3666
3459
|
return $report(_exceptionable2, {
|
|
3667
3460
|
path: _path2,
|
|
3668
3461
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3669
3462
|
value: input3
|
|
3670
3463
|
});
|
|
3671
3464
|
})();
|
|
3672
|
-
const $
|
|
3465
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3673
3466
|
if (void 0 !== input3.stop)
|
|
3674
|
-
return $
|
|
3467
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3675
3468
|
if (true === input3.stopunbounded)
|
|
3676
|
-
return $
|
|
3469
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3677
3470
|
return $report(_exceptionable2, {
|
|
3678
3471
|
path: _path2,
|
|
3679
3472
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3680
3473
|
value: input3
|
|
3681
3474
|
});
|
|
3682
3475
|
})();
|
|
3476
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3477
|
+
if ("gene" === input3.kind)
|
|
3478
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3479
|
+
if ("coord" === input3.kind)
|
|
3480
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3481
|
+
return $report(_exceptionable2, {
|
|
3482
|
+
path: _path2,
|
|
3483
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
3484
|
+
value: input3
|
|
3485
|
+
});
|
|
3486
|
+
})();
|
|
3683
3487
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
3684
3488
|
path: _path + "",
|
|
3685
3489
|
expected: "TermdbTopTermsByTypeResponse",
|