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