@sjcrh/proteinpaint-types 2.140.1-2 → 2.141.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-Y6Z6XAFN.js → chunk-424IUJWR.js} +532 -154
- package/dist/{chunk-NHELOLDH.js → chunk-56JQGGZJ.js} +4103 -2234
- package/dist/{chunk-5BKOSJEU.js → chunk-77RH7U6G.js} +2101 -981
- package/dist/{chunk-F2ZZ5J3F.js → chunk-EOBFYFLQ.js} +2483 -1911
- package/dist/{chunk-34LXTZYA.js → chunk-I7FTK55B.js} +2162 -1590
- package/dist/{chunk-4S36DRJ4.js → chunk-KEJROUTM.js} +1314 -572
- package/dist/{chunk-ZHCVV36H.js → chunk-QWAPDNYB.js} +2486 -1914
- package/dist/{chunk-HJ7XFSJK.js → chunk-S6OBK4RE.js} +528 -150
- package/dist/{chunk-P3Z422N2.js → chunk-T3GTEGQN.js} +532 -154
- package/dist/{chunk-2QKCLUH3.js → chunk-UYBVE3DL.js} +2478 -1906
- package/dist/{chunk-KDHGWAOS.js → chunk-VMQUAU5V.js} +2481 -1909
- package/dist/{chunk-G5BYLEJC.js → chunk-WCWYMCZD.js} +532 -154
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- 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 -2
- package/src/dataset.ts +14 -4
- package/src/genome.ts +2 -2
- package/src/index.ts +1 -0
- package/src/routes/termdb.cluster.ts +6 -6
- package/src/terms/categorical.ts +0 -8
- package/src/terms/condition.ts +4 -3
- package/src/terms/date.ts +18 -0
- package/src/terms/geneExpression.ts +7 -21
- package/src/terms/geneVariant.ts +3 -0
- package/src/terms/metaboliteIntensity.ts +7 -20
- package/src/terms/numeric.ts +17 -38
- package/src/terms/singleCellGeneExpression.ts +3 -4
- package/src/terms/snp.ts +7 -7
- package/src/terms/snps.ts +1 -0
- package/src/terms/ssGSEA.ts +7 -13
- package/src/terms/tw.ts +11 -6
- package/src/terms/updated-types.ts +0 -10
|
@@ -60,7 +60,7 @@ var validPercentileRequest = (input) => {
|
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
62
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.getpercentile) && input3.getpercentile.every((elem) => "number" === typeof elem)) && ("object" === typeof input3.term && null !== input3.term && $iu4(input3.term)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && true;
|
|
63
|
-
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $
|
|
63
|
+
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
64
64
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
65
65
|
const value = input3[key];
|
|
66
66
|
if (void 0 === value)
|
|
@@ -81,11 +81,12 @@ var validPercentileRequest = (input) => {
|
|
|
81
81
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
82
82
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
83
83
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.color;
|
|
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 && $
|
|
85
|
-
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
86
|
-
const $io15 = (input3) => "
|
|
87
|
-
const $io16 = (input3) =>
|
|
88
|
-
const $io17 = (input3) =>
|
|
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 && $iu6(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 && $io27(elem)));
|
|
85
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
86
|
+
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
87
|
+
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
88
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
89
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
89
90
|
const value = input3[key];
|
|
90
91
|
if (void 0 === value)
|
|
91
92
|
return true;
|
|
@@ -93,43 +94,50 @@ var validPercentileRequest = (input) => {
|
|
|
93
94
|
return "number" === typeof value;
|
|
94
95
|
return true;
|
|
95
96
|
});
|
|
96
|
-
const $
|
|
97
|
-
const $
|
|
98
|
-
const $
|
|
99
|
-
const $
|
|
100
|
-
const $
|
|
101
|
-
const $
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
110
|
-
const $
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
113
|
-
const $
|
|
114
|
-
const $
|
|
115
|
-
const $
|
|
116
|
-
const $
|
|
117
|
-
const $
|
|
118
|
-
const $
|
|
119
|
-
const $
|
|
120
|
-
const $
|
|
121
|
-
const $
|
|
97
|
+
const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
98
|
+
const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
99
|
+
const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
100
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $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);
|
|
101
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
102
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
103
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
106
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (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 && $io30(elem)));
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
108
|
+
const $io30 = (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;
|
|
109
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
110
|
+
const $io32 = (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 && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values));
|
|
111
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
112
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
|
|
113
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
114
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
115
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
116
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
117
|
+
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
118
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
119
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
120
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
121
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
122
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
123
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
124
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
|
|
125
|
+
const $io47 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io48(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io49(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
126
|
+
const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
127
|
+
const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
128
|
+
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io51(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
129
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
122
130
|
const value = input3[key];
|
|
123
131
|
if (void 0 === value)
|
|
124
132
|
return true;
|
|
125
133
|
if (RegExp(/(.*)/).test(key))
|
|
126
|
-
return "object" === typeof value && null !== value && $
|
|
134
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
127
135
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
128
|
-
return "object" === typeof value && null !== value && $
|
|
136
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
129
137
|
return true;
|
|
130
138
|
});
|
|
131
|
-
const $
|
|
132
|
-
const $
|
|
139
|
+
const $io52 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && true;
|
|
140
|
+
const $io53 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
133
141
|
const $iu0 = (input3) => (() => {
|
|
134
142
|
if ("tvslst" === input3.type)
|
|
135
143
|
return $io4(input3);
|
|
@@ -146,34 +154,42 @@ var validPercentileRequest = (input) => {
|
|
|
146
154
|
})();
|
|
147
155
|
const $iu2 = (input3) => (() => {
|
|
148
156
|
if (true === input3.startunbounded)
|
|
149
|
-
return $
|
|
157
|
+
return $io19(input3);
|
|
150
158
|
if (true === input3.stopunbounded)
|
|
151
|
-
return $
|
|
152
|
-
return $
|
|
159
|
+
return $io21(input3);
|
|
160
|
+
return $io20(input3);
|
|
153
161
|
})();
|
|
154
162
|
const $iu3 = (input3) => (() => {
|
|
155
163
|
if ("gene" === input3.kind)
|
|
156
|
-
return $
|
|
164
|
+
return $io34(input3);
|
|
157
165
|
if ("coord" === input3.kind)
|
|
158
|
-
return $
|
|
166
|
+
return $io35(input3);
|
|
159
167
|
return false;
|
|
160
168
|
})();
|
|
161
169
|
const $iu4 = (input3) => (() => {
|
|
162
170
|
if ("gene" === input3.kind)
|
|
163
171
|
return $io1(input3);
|
|
164
172
|
if ("coord" === input3.kind)
|
|
165
|
-
return $
|
|
173
|
+
return $io38(input3);
|
|
174
|
+
if ("geneExpression" === input3.type)
|
|
175
|
+
return $io39(input3);
|
|
176
|
+
if ("metaboliteIntensity" === input3.type)
|
|
177
|
+
return $io40(input3);
|
|
166
178
|
if ("categorical" === input3.type)
|
|
167
|
-
return $
|
|
168
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
169
|
-
return $
|
|
179
|
+
return $io41(input3);
|
|
180
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
181
|
+
return $io42(input3);
|
|
182
|
+
if ("date" === input3.type)
|
|
183
|
+
return $io43(input3);
|
|
184
|
+
if ("ssGSEA" === input3.type)
|
|
185
|
+
return $io44(input3);
|
|
170
186
|
if ("condition" === input3.type)
|
|
171
|
-
return $
|
|
187
|
+
return $io45(input3);
|
|
172
188
|
return (() => {
|
|
173
|
-
if ($
|
|
174
|
-
return $
|
|
175
|
-
if ($
|
|
176
|
-
return $
|
|
189
|
+
if ($io46(input3))
|
|
190
|
+
return $io46(input3);
|
|
191
|
+
if ($io50(input3))
|
|
192
|
+
return $io50(input3);
|
|
177
193
|
return false;
|
|
178
194
|
})();
|
|
179
195
|
})();
|
|
@@ -183,39 +199,52 @@ var validPercentileRequest = (input) => {
|
|
|
183
199
|
return (() => {
|
|
184
200
|
if ($io6(input3))
|
|
185
201
|
return $io6(input3);
|
|
186
|
-
if ($
|
|
187
|
-
return $
|
|
188
|
-
if ($
|
|
189
|
-
return $
|
|
202
|
+
if ($io28(input3))
|
|
203
|
+
return $io28(input3);
|
|
204
|
+
if ($io31(input3))
|
|
205
|
+
return $io31(input3);
|
|
190
206
|
return false;
|
|
191
207
|
})();
|
|
192
208
|
})();
|
|
193
209
|
const $iu6 = (input3) => (() => {
|
|
210
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
211
|
+
return $io14(input3);
|
|
212
|
+
if ("geneExpression" === input3.type)
|
|
213
|
+
return $io23(input3);
|
|
214
|
+
if ("date" === input3.type)
|
|
215
|
+
return $io25(input3);
|
|
216
|
+
if ("metaboliteIntensity" === input3.type)
|
|
217
|
+
return $io24(input3);
|
|
218
|
+
if ("ssGSEA" === input3.type)
|
|
219
|
+
return $io26(input3);
|
|
220
|
+
return false;
|
|
221
|
+
})();
|
|
222
|
+
const $iu7 = (input3) => (() => {
|
|
194
223
|
if ("regular-bin" === input3.type)
|
|
195
|
-
return $
|
|
224
|
+
return $io17(input3);
|
|
196
225
|
if ("custom-bin" === input3.type)
|
|
197
|
-
return $
|
|
226
|
+
return $io22(input3);
|
|
198
227
|
return false;
|
|
199
228
|
})();
|
|
200
|
-
const $
|
|
229
|
+
const $iu8 = (input3) => (() => {
|
|
201
230
|
if (true === input3.startunbounded)
|
|
202
|
-
return $io18(input3);
|
|
203
|
-
if (void 0 !== input3.start)
|
|
204
231
|
return $io19(input3);
|
|
232
|
+
if (void 0 !== input3.start)
|
|
233
|
+
return $io20(input3);
|
|
205
234
|
return false;
|
|
206
235
|
})();
|
|
207
|
-
const $
|
|
236
|
+
const $iu9 = (input3) => (() => {
|
|
208
237
|
if (void 0 !== input3.stop)
|
|
209
|
-
return $io19(input3);
|
|
210
|
-
if (true === input3.stopunbounded)
|
|
211
238
|
return $io20(input3);
|
|
239
|
+
if (true === input3.stopunbounded)
|
|
240
|
+
return $io21(input3);
|
|
212
241
|
return false;
|
|
213
242
|
})();
|
|
214
|
-
const $
|
|
243
|
+
const $iu10 = (input3) => (() => {
|
|
215
244
|
if ("gene" === input3.kind)
|
|
216
|
-
return $
|
|
245
|
+
return $io33(input3);
|
|
217
246
|
if ("coord" === input3.kind)
|
|
218
|
-
return $
|
|
247
|
+
return $io36(input3);
|
|
219
248
|
return false;
|
|
220
249
|
})();
|
|
221
250
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -250,11 +279,11 @@ var validPercentileRequest = (input) => {
|
|
|
250
279
|
value: input3.getpercentile
|
|
251
280
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
252
281
|
path: _path2 + ".term",
|
|
253
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & {
|
|
282
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "date"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
254
283
|
value: input3.term
|
|
255
284
|
})) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
256
285
|
path: _path2 + ".term",
|
|
257
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & {
|
|
286
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "date"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
258
287
|
value: input3.term
|
|
259
288
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
260
289
|
path: _path2 + ".filter",
|
|
@@ -373,7 +402,7 @@ var validPercentileRequest = (input) => {
|
|
|
373
402
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
374
403
|
expected: "DtTerm",
|
|
375
404
|
value: elem
|
|
376
|
-
})) && $
|
|
405
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
377
406
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
378
407
|
expected: "DtTerm",
|
|
379
408
|
value: elem
|
|
@@ -712,11 +741,11 @@ var validPercentileRequest = (input) => {
|
|
|
712
741
|
value: input3.isnot
|
|
713
742
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
714
743
|
path: _path2 + ".term",
|
|
715
|
-
expected: "
|
|
744
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
716
745
|
value: input3.term
|
|
717
|
-
})) && $
|
|
746
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
718
747
|
path: _path2 + ".term",
|
|
719
|
-
expected: "
|
|
748
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
720
749
|
value: input3.term
|
|
721
750
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
722
751
|
path: _path2 + ".ranges",
|
|
@@ -742,7 +771,7 @@ var validPercentileRequest = (input) => {
|
|
|
742
771
|
path: _path2 + ".values[" + _index14 + "]",
|
|
743
772
|
expected: "__type.o3",
|
|
744
773
|
value: elem
|
|
745
|
-
})) && $
|
|
774
|
+
})) && $vo27(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
746
775
|
path: _path2 + ".values[" + _index14 + "]",
|
|
747
776
|
expected: "__type.o3",
|
|
748
777
|
value: elem
|
|
@@ -759,9 +788,9 @@ var validPercentileRequest = (input) => {
|
|
|
759
788
|
path: _path2 + ".name",
|
|
760
789
|
expected: "string",
|
|
761
790
|
value: input3.name
|
|
762
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
791
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
763
792
|
path: _path2 + ".type",
|
|
764
|
-
expected: '("
|
|
793
|
+
expected: '("float" | "integer")',
|
|
765
794
|
value: input3.type
|
|
766
795
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
767
796
|
path: _path2 + ".child_types",
|
|
@@ -807,32 +836,41 @@ var validPercentileRequest = (input) => {
|
|
|
807
836
|
path: _path2 + ".skipValuesBuild",
|
|
808
837
|
expected: "(boolean | undefined)",
|
|
809
838
|
value: input3.skipValuesBuild
|
|
810
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
811
|
-
path: _path2 + ".bins",
|
|
812
|
-
expected: "PresetNumericBins",
|
|
813
|
-
value: input3.bins
|
|
814
|
-
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
815
|
-
path: _path2 + ".bins",
|
|
816
|
-
expected: "PresetNumericBins",
|
|
817
|
-
value: input3.bins
|
|
818
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
819
|
-
path: _path2 + ".unit",
|
|
820
|
-
expected: "(string | undefined)",
|
|
821
|
-
value: input3.unit
|
|
822
839
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
823
840
|
path: _path2 + ".continuousColorScale",
|
|
824
841
|
expected: "(__type.o2 | undefined)",
|
|
825
842
|
value: input3.continuousColorScale
|
|
826
|
-
})) && $
|
|
843
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
827
844
|
path: _path2 + ".continuousColorScale",
|
|
828
845
|
expected: "(__type.o2 | undefined)",
|
|
829
846
|
value: input3.continuousColorScale
|
|
847
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
848
|
+
path: _path2 + ".unit",
|
|
849
|
+
expected: "(string | undefined)",
|
|
850
|
+
value: input3.unit
|
|
851
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
852
|
+
path: _path2 + ".bins",
|
|
853
|
+
expected: "PresetNumericBins",
|
|
854
|
+
value: input3.bins
|
|
855
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
856
|
+
path: _path2 + ".bins",
|
|
857
|
+
expected: "PresetNumericBins",
|
|
858
|
+
value: input3.bins
|
|
859
|
+
})].every((flag) => flag);
|
|
860
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
861
|
+
path: _path2 + ".minColor",
|
|
862
|
+
expected: "string",
|
|
863
|
+
value: input3.minColor
|
|
864
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
865
|
+
path: _path2 + ".maxColor",
|
|
866
|
+
expected: "string",
|
|
867
|
+
value: input3.maxColor
|
|
830
868
|
})].every((flag) => flag);
|
|
831
|
-
const $
|
|
869
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
832
870
|
path: _path2 + '["default"]',
|
|
833
871
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
834
872
|
value: input3["default"]
|
|
835
|
-
})) && $
|
|
873
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
836
874
|
path: _path2 + '["default"]',
|
|
837
875
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
838
876
|
value: input3["default"]
|
|
@@ -840,7 +878,7 @@ var validPercentileRequest = (input) => {
|
|
|
840
878
|
path: _path2 + ".less",
|
|
841
879
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
842
880
|
value: input3.less
|
|
843
|
-
})) && $
|
|
881
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
844
882
|
path: _path2 + ".less",
|
|
845
883
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
846
884
|
value: input3.less
|
|
@@ -865,11 +903,11 @@ var validPercentileRequest = (input) => {
|
|
|
865
903
|
expected: "(number | undefined)",
|
|
866
904
|
value: input3.max
|
|
867
905
|
})].every((flag) => flag);
|
|
868
|
-
const $
|
|
906
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
869
907
|
path: _path2 + ".hiddenValues",
|
|
870
908
|
expected: "(HiddenValues | undefined)",
|
|
871
909
|
value: input3.hiddenValues
|
|
872
|
-
})) && $
|
|
910
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
873
911
|
path: _path2 + ".hiddenValues",
|
|
874
912
|
expected: "(HiddenValues | undefined)",
|
|
875
913
|
value: input3.hiddenValues
|
|
@@ -901,7 +939,7 @@ var validPercentileRequest = (input) => {
|
|
|
901
939
|
path: _path2 + ".first_bin",
|
|
902
940
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
903
941
|
value: input3.first_bin
|
|
904
|
-
})) && $
|
|
942
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
905
943
|
path: _path2 + ".first_bin",
|
|
906
944
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
907
945
|
value: input3.first_bin
|
|
@@ -909,7 +947,7 @@ var validPercentileRequest = (input) => {
|
|
|
909
947
|
path: _path2 + ".last_bin",
|
|
910
948
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
911
949
|
value: input3.last_bin
|
|
912
|
-
})) && $
|
|
950
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
913
951
|
path: _path2 + ".last_bin",
|
|
914
952
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
915
953
|
value: input3.last_bin
|
|
@@ -918,7 +956,7 @@ var validPercentileRequest = (input) => {
|
|
|
918
956
|
expected: "(number | undefined)",
|
|
919
957
|
value: input3.label_offset
|
|
920
958
|
})].every((flag) => flag);
|
|
921
|
-
const $
|
|
959
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
922
960
|
const value = input3[key];
|
|
923
961
|
if (void 0 === value)
|
|
924
962
|
return true;
|
|
@@ -930,7 +968,7 @@ var validPercentileRequest = (input) => {
|
|
|
930
968
|
});
|
|
931
969
|
return true;
|
|
932
970
|
}).every((flag) => flag)].every((flag) => flag);
|
|
933
|
-
const $
|
|
971
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
934
972
|
path: _path2 + ".startunbounded",
|
|
935
973
|
expected: "true",
|
|
936
974
|
value: input3.startunbounded
|
|
@@ -955,7 +993,7 @@ var validPercentileRequest = (input) => {
|
|
|
955
993
|
expected: "(string | undefined)",
|
|
956
994
|
value: input3.label
|
|
957
995
|
})].every((flag) => flag);
|
|
958
|
-
const $
|
|
996
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
959
997
|
path: _path2 + ".startunbounded",
|
|
960
998
|
expected: "(false | undefined)",
|
|
961
999
|
value: input3.startunbounded
|
|
@@ -984,7 +1022,7 @@ var validPercentileRequest = (input) => {
|
|
|
984
1022
|
expected: "(string | undefined)",
|
|
985
1023
|
value: input3.label
|
|
986
1024
|
})].every((flag) => flag);
|
|
987
|
-
const $
|
|
1025
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
988
1026
|
path: _path2 + ".start",
|
|
989
1027
|
expected: "number",
|
|
990
1028
|
value: input3.start
|
|
@@ -1009,11 +1047,11 @@ var validPercentileRequest = (input) => {
|
|
|
1009
1047
|
expected: "(string | undefined)",
|
|
1010
1048
|
value: input3.label
|
|
1011
1049
|
})].every((flag) => flag);
|
|
1012
|
-
const $
|
|
1050
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1013
1051
|
path: _path2 + ".hiddenValues",
|
|
1014
1052
|
expected: "(HiddenValues | undefined)",
|
|
1015
1053
|
value: input3.hiddenValues
|
|
1016
|
-
})) && $
|
|
1054
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1017
1055
|
path: _path2 + ".hiddenValues",
|
|
1018
1056
|
expected: "(HiddenValues | undefined)",
|
|
1019
1057
|
value: input3.hiddenValues
|
|
@@ -1076,78 +1114,7 @@ var validPercentileRequest = (input) => {
|
|
|
1076
1114
|
expected: '("median" | undefined)',
|
|
1077
1115
|
value: input3.preferredBins
|
|
1078
1116
|
})].every((flag) => flag);
|
|
1079
|
-
const $
|
|
1080
|
-
path: _path2 + ".minColor",
|
|
1081
|
-
expected: "string",
|
|
1082
|
-
value: input3.minColor
|
|
1083
|
-
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
1084
|
-
path: _path2 + ".maxColor",
|
|
1085
|
-
expected: "string",
|
|
1086
|
-
value: input3.maxColor
|
|
1087
|
-
})].every((flag) => flag);
|
|
1088
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1089
|
-
path: _path2 + ".key",
|
|
1090
|
-
expected: "string",
|
|
1091
|
-
value: input3.key
|
|
1092
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1093
|
-
path: _path2 + ".value",
|
|
1094
|
-
expected: "number",
|
|
1095
|
-
value: input3.value
|
|
1096
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1097
|
-
path: _path2 + ".uncomputable",
|
|
1098
|
-
expected: "true",
|
|
1099
|
-
value: input3.uncomputable
|
|
1100
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1101
|
-
path: _path2 + ".label",
|
|
1102
|
-
expected: "(string | undefined)",
|
|
1103
|
-
value: input3.label
|
|
1104
|
-
})].every((flag) => flag);
|
|
1105
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1106
|
-
path: _path2 + ".join",
|
|
1107
|
-
expected: "(string | undefined)",
|
|
1108
|
-
value: input3.join
|
|
1109
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1110
|
-
path: _path2 + ".isnot",
|
|
1111
|
-
expected: "(boolean | undefined)",
|
|
1112
|
-
value: input3.isnot
|
|
1113
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1114
|
-
path: _path2 + ".term",
|
|
1115
|
-
expected: "ConditionTerm",
|
|
1116
|
-
value: input3.term
|
|
1117
|
-
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1118
|
-
path: _path2 + ".term",
|
|
1119
|
-
expected: "ConditionTerm",
|
|
1120
|
-
value: input3.term
|
|
1121
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1122
|
-
path: _path2 + ".value_by_max_grade",
|
|
1123
|
-
expected: "(boolean | undefined)",
|
|
1124
|
-
value: input3.value_by_max_grade
|
|
1125
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1126
|
-
path: _path2 + ".value_by_most_recent",
|
|
1127
|
-
expected: "(boolean | undefined)",
|
|
1128
|
-
value: input3.value_by_most_recent
|
|
1129
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1130
|
-
path: _path2 + ".value_by_computable_grade",
|
|
1131
|
-
expected: "(boolean | undefined)",
|
|
1132
|
-
value: input3.value_by_computable_grade
|
|
1133
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1134
|
-
path: _path2 + ".grade_and_child",
|
|
1135
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1136
|
-
value: input3.grade_and_child
|
|
1137
|
-
})) && input3.grade_and_child.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1138
|
-
path: _path2 + ".grade_and_child[" + _index18 + "]",
|
|
1139
|
-
expected: "GradeAndChildEntry",
|
|
1140
|
-
value: elem
|
|
1141
|
-
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1142
|
-
path: _path2 + ".grade_and_child[" + _index18 + "]",
|
|
1143
|
-
expected: "GradeAndChildEntry",
|
|
1144
|
-
value: elem
|
|
1145
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1146
|
-
path: _path2 + ".grade_and_child",
|
|
1147
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1148
|
-
value: input3.grade_and_child
|
|
1149
|
-
})].every((flag) => flag);
|
|
1150
|
-
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1117
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1151
1118
|
path: _path2 + ".id",
|
|
1152
1119
|
expected: "string",
|
|
1153
1120
|
value: input3.id
|
|
@@ -1155,16 +1122,16 @@ var validPercentileRequest = (input) => {
|
|
|
1155
1122
|
path: _path2 + ".name",
|
|
1156
1123
|
expected: "string",
|
|
1157
1124
|
value: input3.name
|
|
1158
|
-
}), "
|
|
1125
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1159
1126
|
path: _path2 + ".type",
|
|
1160
|
-
expected: '"
|
|
1127
|
+
expected: '"geneExpression"',
|
|
1161
1128
|
value: input3.type
|
|
1162
1129
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1163
1130
|
path: _path2 + ".child_types",
|
|
1164
1131
|
expected: "(Array<string> | undefined)",
|
|
1165
1132
|
value: input3.child_types
|
|
1166
|
-
})) && input3.child_types.map((elem,
|
|
1167
|
-
path: _path2 + ".child_types[" +
|
|
1133
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1168
1135
|
expected: "string",
|
|
1169
1136
|
value: elem
|
|
1170
1137
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1179,8 +1146,8 @@ var validPercentileRequest = (input) => {
|
|
|
1179
1146
|
path: _path2 + ".included_types",
|
|
1180
1147
|
expected: "(Array<string> | undefined)",
|
|
1181
1148
|
value: input3.included_types
|
|
1182
|
-
})) && input3.included_types.map((elem,
|
|
1183
|
-
path: _path2 + ".included_types[" +
|
|
1149
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1184
1151
|
expected: "string",
|
|
1185
1152
|
value: elem
|
|
1186
1153
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1203,115 +1170,44 @@ var validPercentileRequest = (input) => {
|
|
|
1203
1170
|
path: _path2 + ".skipValuesBuild",
|
|
1204
1171
|
expected: "(boolean | undefined)",
|
|
1205
1172
|
value: input3.skipValuesBuild
|
|
1206
|
-
})
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
path: _path2 + ".child_id",
|
|
1217
|
-
expected: "(string | undefined)",
|
|
1218
|
-
value: input3.child_id
|
|
1219
|
-
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1220
|
-
path: _path2 + ".child_label",
|
|
1221
|
-
expected: "string",
|
|
1222
|
-
value: input3.child_label
|
|
1223
|
-
})].every((flag) => flag);
|
|
1224
|
-
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1225
|
-
path: _path2 + ".join",
|
|
1173
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".continuousColorScale",
|
|
1175
|
+
expected: "(__type.o2 | undefined)",
|
|
1176
|
+
value: input3.continuousColorScale
|
|
1177
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".continuousColorScale",
|
|
1179
|
+
expected: "(__type.o2 | undefined)",
|
|
1180
|
+
value: input3.continuousColorScale
|
|
1181
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".unit",
|
|
1226
1183
|
expected: "(string | undefined)",
|
|
1227
|
-
value: input3.
|
|
1228
|
-
}),
|
|
1229
|
-
path: _path2 + ".
|
|
1230
|
-
expected: "(boolean | undefined)",
|
|
1231
|
-
value: input3.isnot
|
|
1232
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1233
|
-
path: _path2 + ".term",
|
|
1234
|
-
expected: "DtTerm",
|
|
1235
|
-
value: input3.term
|
|
1236
|
-
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1237
|
-
path: _path2 + ".term",
|
|
1238
|
-
expected: "DtTerm",
|
|
1239
|
-
value: input3.term
|
|
1240
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1241
|
-
path: _path2 + ".values",
|
|
1242
|
-
expected: "Array<__type>.o2",
|
|
1243
|
-
value: input3.values
|
|
1244
|
-
})) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1245
|
-
path: _path2 + ".values[" + _index21 + "]",
|
|
1246
|
-
expected: "__type.o4",
|
|
1247
|
-
value: elem
|
|
1248
|
-
})) && $vo33(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1249
|
-
path: _path2 + ".values[" + _index21 + "]",
|
|
1250
|
-
expected: "__type.o4",
|
|
1251
|
-
value: elem
|
|
1252
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1253
|
-
path: _path2 + ".values",
|
|
1254
|
-
expected: "Array<__type>.o2",
|
|
1255
|
-
value: input3.values
|
|
1256
|
-
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1257
|
-
path: _path2 + ".includeNotTested",
|
|
1258
|
-
expected: "(boolean | undefined)",
|
|
1259
|
-
value: input3.includeNotTested
|
|
1260
|
-
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1261
|
-
path: _path2 + ".excludeGeneName",
|
|
1262
|
-
expected: "(boolean | undefined)",
|
|
1263
|
-
value: input3.excludeGeneName
|
|
1264
|
-
})].every((flag) => flag);
|
|
1265
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1266
|
-
path: _path2 + ".id",
|
|
1267
|
-
expected: "string",
|
|
1268
|
-
value: input3.id
|
|
1269
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1270
|
-
path: _path2 + ".query",
|
|
1271
|
-
expected: "string",
|
|
1272
|
-
value: input3.query
|
|
1273
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1274
|
-
path: _path2 + ".name",
|
|
1275
|
-
expected: "string",
|
|
1276
|
-
value: input3.name
|
|
1277
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1278
|
-
path: _path2 + ".name_noOrigin",
|
|
1279
|
-
expected: "string",
|
|
1280
|
-
value: input3.name_noOrigin
|
|
1281
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1282
|
-
path: _path2 + ".parentTerm",
|
|
1283
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1284
|
-
value: input3.parentTerm
|
|
1285
|
-
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1286
|
-
path: _path2 + ".parentTerm",
|
|
1287
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1288
|
-
value: input3.parentTerm
|
|
1289
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1290
|
-
path: _path2 + ".isleaf",
|
|
1291
|
-
expected: "boolean",
|
|
1292
|
-
value: input3.isleaf
|
|
1293
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1294
|
-
path: _path2 + ".type",
|
|
1184
|
+
value: input3.unit
|
|
1185
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1186
|
+
path: _path2 + ".gene",
|
|
1295
1187
|
expected: "string",
|
|
1296
|
-
value: input3.
|
|
1297
|
-
}), "
|
|
1298
|
-
path: _path2 + ".
|
|
1299
|
-
expected: "
|
|
1300
|
-
value: input3.
|
|
1301
|
-
})
|
|
1302
|
-
path: _path2 + ".
|
|
1188
|
+
value: input3.gene
|
|
1189
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1190
|
+
path: _path2 + ".bins",
|
|
1191
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1192
|
+
value: input3.bins
|
|
1193
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1194
|
+
path: _path2 + ".bins",
|
|
1195
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1196
|
+
value: input3.bins
|
|
1197
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1198
|
+
path: _path2 + ".chr",
|
|
1303
1199
|
expected: "(string | undefined)",
|
|
1304
|
-
value: input3.
|
|
1305
|
-
}),
|
|
1306
|
-
path: _path2 + ".
|
|
1307
|
-
expected: "
|
|
1308
|
-
value: input3.
|
|
1309
|
-
})
|
|
1310
|
-
path: _path2 + ".
|
|
1311
|
-
expected: "
|
|
1312
|
-
value: input3.
|
|
1200
|
+
value: input3.chr
|
|
1201
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1202
|
+
path: _path2 + ".start",
|
|
1203
|
+
expected: "(number | undefined)",
|
|
1204
|
+
value: input3.start
|
|
1205
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1206
|
+
path: _path2 + ".stop",
|
|
1207
|
+
expected: "(number | undefined)",
|
|
1208
|
+
value: input3.stop
|
|
1313
1209
|
})].every((flag) => flag);
|
|
1314
|
-
const $
|
|
1210
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1315
1211
|
path: _path2 + ".id",
|
|
1316
1212
|
expected: "string",
|
|
1317
1213
|
value: input3.id
|
|
@@ -1319,16 +1215,16 @@ var validPercentileRequest = (input) => {
|
|
|
1319
1215
|
path: _path2 + ".name",
|
|
1320
1216
|
expected: "string",
|
|
1321
1217
|
value: input3.name
|
|
1322
|
-
}), "
|
|
1218
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1323
1219
|
path: _path2 + ".type",
|
|
1324
|
-
expected: '"
|
|
1220
|
+
expected: '"metaboliteIntensity"',
|
|
1325
1221
|
value: input3.type
|
|
1326
1222
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1327
1223
|
path: _path2 + ".child_types",
|
|
1328
1224
|
expected: "(Array<string> | undefined)",
|
|
1329
1225
|
value: input3.child_types
|
|
1330
|
-
})) && input3.child_types.map((elem,
|
|
1331
|
-
path: _path2 + ".child_types[" +
|
|
1226
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1332
1228
|
expected: "string",
|
|
1333
1229
|
value: elem
|
|
1334
1230
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1343,8 +1239,8 @@ var validPercentileRequest = (input) => {
|
|
|
1343
1239
|
path: _path2 + ".included_types",
|
|
1344
1240
|
expected: "(Array<string> | undefined)",
|
|
1345
1241
|
value: input3.included_types
|
|
1346
|
-
})) && input3.included_types.map((elem,
|
|
1347
|
-
path: _path2 + ".included_types[" +
|
|
1242
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1348
1244
|
expected: "string",
|
|
1349
1245
|
value: elem
|
|
1350
1246
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1367,36 +1263,776 @@ var validPercentileRequest = (input) => {
|
|
|
1367
1263
|
path: _path2 + ".skipValuesBuild",
|
|
1368
1264
|
expected: "(boolean | undefined)",
|
|
1369
1265
|
value: input3.skipValuesBuild
|
|
1370
|
-
}), "
|
|
1371
|
-
path: _path2 + ".
|
|
1372
|
-
expected:
|
|
1373
|
-
value: input3.
|
|
1374
|
-
}), "
|
|
1266
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1267
|
+
path: _path2 + ".continuousColorScale",
|
|
1268
|
+
expected: "(__type.o2 | undefined)",
|
|
1269
|
+
value: input3.continuousColorScale
|
|
1270
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".continuousColorScale",
|
|
1272
|
+
expected: "(__type.o2 | undefined)",
|
|
1273
|
+
value: input3.continuousColorScale
|
|
1274
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".unit",
|
|
1276
|
+
expected: "(string | undefined)",
|
|
1277
|
+
value: input3.unit
|
|
1278
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1279
|
+
path: _path2 + ".metabolite",
|
|
1280
|
+
expected: "string",
|
|
1281
|
+
value: input3.metabolite
|
|
1282
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1283
|
+
path: _path2 + ".bins",
|
|
1284
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1285
|
+
value: input3.bins
|
|
1286
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1287
|
+
path: _path2 + ".bins",
|
|
1288
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1289
|
+
value: input3.bins
|
|
1290
|
+
})].every((flag) => flag);
|
|
1291
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".id",
|
|
1293
|
+
expected: "string",
|
|
1294
|
+
value: input3.id
|
|
1295
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".name",
|
|
1297
|
+
expected: "string",
|
|
1298
|
+
value: input3.name
|
|
1299
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".type",
|
|
1301
|
+
expected: '"date"',
|
|
1302
|
+
value: input3.type
|
|
1303
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".child_types",
|
|
1305
|
+
expected: "(Array<string> | undefined)",
|
|
1306
|
+
value: input3.child_types
|
|
1307
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1309
|
+
expected: "string",
|
|
1310
|
+
value: elem
|
|
1311
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".child_types",
|
|
1313
|
+
expected: "(Array<string> | undefined)",
|
|
1314
|
+
value: input3.child_types
|
|
1315
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1316
|
+
path: _path2 + ".hashtmldetail",
|
|
1317
|
+
expected: "(boolean | undefined)",
|
|
1318
|
+
value: input3.hashtmldetail
|
|
1319
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1320
|
+
path: _path2 + ".included_types",
|
|
1321
|
+
expected: "(Array<string> | undefined)",
|
|
1322
|
+
value: input3.included_types
|
|
1323
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1325
|
+
expected: "string",
|
|
1326
|
+
value: elem
|
|
1327
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".included_types",
|
|
1329
|
+
expected: "(Array<string> | undefined)",
|
|
1330
|
+
value: input3.included_types
|
|
1331
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".isleaf",
|
|
1333
|
+
expected: "(boolean | undefined)",
|
|
1334
|
+
value: input3.isleaf
|
|
1335
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1336
|
+
path: _path2 + ".values",
|
|
1337
|
+
expected: "(TermValues | undefined)",
|
|
1338
|
+
value: input3.values
|
|
1339
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1340
|
+
path: _path2 + ".values",
|
|
1341
|
+
expected: "(TermValues | undefined)",
|
|
1342
|
+
value: input3.values
|
|
1343
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1344
|
+
path: _path2 + ".skipValuesBuild",
|
|
1345
|
+
expected: "(boolean | undefined)",
|
|
1346
|
+
value: input3.skipValuesBuild
|
|
1347
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1348
|
+
path: _path2 + ".continuousColorScale",
|
|
1349
|
+
expected: "(__type.o2 | undefined)",
|
|
1350
|
+
value: input3.continuousColorScale
|
|
1351
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1352
|
+
path: _path2 + ".continuousColorScale",
|
|
1353
|
+
expected: "(__type.o2 | undefined)",
|
|
1354
|
+
value: input3.continuousColorScale
|
|
1355
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1356
|
+
path: _path2 + ".unit",
|
|
1357
|
+
expected: "(string | undefined)",
|
|
1358
|
+
value: input3.unit
|
|
1359
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1360
|
+
path: _path2 + ".metabolite",
|
|
1361
|
+
expected: "string",
|
|
1362
|
+
value: input3.metabolite
|
|
1363
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1364
|
+
path: _path2 + ".bins",
|
|
1365
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1366
|
+
value: input3.bins
|
|
1367
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1368
|
+
path: _path2 + ".bins",
|
|
1369
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1370
|
+
value: input3.bins
|
|
1371
|
+
})].every((flag) => flag);
|
|
1372
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1373
|
+
path: _path2 + ".id",
|
|
1374
|
+
expected: "string",
|
|
1375
|
+
value: input3.id
|
|
1376
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1377
|
+
path: _path2 + ".name",
|
|
1378
|
+
expected: "string",
|
|
1379
|
+
value: input3.name
|
|
1380
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1381
|
+
path: _path2 + ".type",
|
|
1382
|
+
expected: '"ssGSEA"',
|
|
1383
|
+
value: input3.type
|
|
1384
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".child_types",
|
|
1386
|
+
expected: "(Array<string> | undefined)",
|
|
1387
|
+
value: input3.child_types
|
|
1388
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1389
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1390
|
+
expected: "string",
|
|
1391
|
+
value: elem
|
|
1392
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1393
|
+
path: _path2 + ".child_types",
|
|
1394
|
+
expected: "(Array<string> | undefined)",
|
|
1395
|
+
value: input3.child_types
|
|
1396
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1397
|
+
path: _path2 + ".hashtmldetail",
|
|
1398
|
+
expected: "(boolean | undefined)",
|
|
1399
|
+
value: input3.hashtmldetail
|
|
1400
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".included_types",
|
|
1402
|
+
expected: "(Array<string> | undefined)",
|
|
1403
|
+
value: input3.included_types
|
|
1404
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1405
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1406
|
+
expected: "string",
|
|
1407
|
+
value: elem
|
|
1408
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1409
|
+
path: _path2 + ".included_types",
|
|
1410
|
+
expected: "(Array<string> | undefined)",
|
|
1411
|
+
value: input3.included_types
|
|
1412
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1413
|
+
path: _path2 + ".isleaf",
|
|
1414
|
+
expected: "(boolean | undefined)",
|
|
1415
|
+
value: input3.isleaf
|
|
1416
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1417
|
+
path: _path2 + ".values",
|
|
1418
|
+
expected: "(TermValues | undefined)",
|
|
1419
|
+
value: input3.values
|
|
1420
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1421
|
+
path: _path2 + ".values",
|
|
1422
|
+
expected: "(TermValues | undefined)",
|
|
1423
|
+
value: input3.values
|
|
1424
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1425
|
+
path: _path2 + ".skipValuesBuild",
|
|
1426
|
+
expected: "(boolean | undefined)",
|
|
1427
|
+
value: input3.skipValuesBuild
|
|
1428
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1429
|
+
path: _path2 + ".continuousColorScale",
|
|
1430
|
+
expected: "(__type.o2 | undefined)",
|
|
1431
|
+
value: input3.continuousColorScale
|
|
1432
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1433
|
+
path: _path2 + ".continuousColorScale",
|
|
1434
|
+
expected: "(__type.o2 | undefined)",
|
|
1435
|
+
value: input3.continuousColorScale
|
|
1436
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1437
|
+
path: _path2 + ".unit",
|
|
1438
|
+
expected: "(string | undefined)",
|
|
1439
|
+
value: input3.unit
|
|
1440
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1441
|
+
path: _path2 + ".genes",
|
|
1442
|
+
expected: "(Array<string> | undefined)",
|
|
1443
|
+
value: input3.genes
|
|
1444
|
+
})) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1445
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1446
|
+
expected: "string",
|
|
1447
|
+
value: elem
|
|
1448
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1449
|
+
path: _path2 + ".genes",
|
|
1450
|
+
expected: "(Array<string> | undefined)",
|
|
1451
|
+
value: input3.genes
|
|
1452
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1453
|
+
path: _path2 + ".bins",
|
|
1454
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1455
|
+
value: input3.bins
|
|
1456
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1457
|
+
path: _path2 + ".bins",
|
|
1458
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1459
|
+
value: input3.bins
|
|
1460
|
+
})].every((flag) => flag);
|
|
1461
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1462
|
+
path: _path2 + ".key",
|
|
1463
|
+
expected: "string",
|
|
1464
|
+
value: input3.key
|
|
1465
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1466
|
+
path: _path2 + ".value",
|
|
1467
|
+
expected: "number",
|
|
1468
|
+
value: input3.value
|
|
1469
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1470
|
+
path: _path2 + ".uncomputable",
|
|
1471
|
+
expected: "true",
|
|
1472
|
+
value: input3.uncomputable
|
|
1473
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1474
|
+
path: _path2 + ".label",
|
|
1475
|
+
expected: "(string | undefined)",
|
|
1476
|
+
value: input3.label
|
|
1477
|
+
})].every((flag) => flag);
|
|
1478
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1479
|
+
path: _path2 + ".join",
|
|
1480
|
+
expected: "(string | undefined)",
|
|
1481
|
+
value: input3.join
|
|
1482
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1483
|
+
path: _path2 + ".isnot",
|
|
1484
|
+
expected: "(boolean | undefined)",
|
|
1485
|
+
value: input3.isnot
|
|
1486
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1487
|
+
path: _path2 + ".term",
|
|
1488
|
+
expected: "ConditionTerm",
|
|
1489
|
+
value: input3.term
|
|
1490
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1491
|
+
path: _path2 + ".term",
|
|
1492
|
+
expected: "ConditionTerm",
|
|
1493
|
+
value: input3.term
|
|
1494
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1495
|
+
path: _path2 + ".value_by_max_grade",
|
|
1496
|
+
expected: "(boolean | undefined)",
|
|
1497
|
+
value: input3.value_by_max_grade
|
|
1498
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1499
|
+
path: _path2 + ".value_by_most_recent",
|
|
1500
|
+
expected: "(boolean | undefined)",
|
|
1501
|
+
value: input3.value_by_most_recent
|
|
1502
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1503
|
+
path: _path2 + ".value_by_computable_grade",
|
|
1504
|
+
expected: "(boolean | undefined)",
|
|
1505
|
+
value: input3.value_by_computable_grade
|
|
1506
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1507
|
+
path: _path2 + ".grade_and_child",
|
|
1508
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1509
|
+
value: input3.grade_and_child
|
|
1510
|
+
})) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1511
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
1512
|
+
expected: "GradeAndChildEntry",
|
|
1513
|
+
value: elem
|
|
1514
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1515
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
1516
|
+
expected: "GradeAndChildEntry",
|
|
1517
|
+
value: elem
|
|
1518
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1519
|
+
path: _path2 + ".grade_and_child",
|
|
1520
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1521
|
+
value: input3.grade_and_child
|
|
1522
|
+
})].every((flag) => flag);
|
|
1523
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1524
|
+
path: _path2 + ".id",
|
|
1525
|
+
expected: "string",
|
|
1526
|
+
value: input3.id
|
|
1527
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1528
|
+
path: _path2 + ".name",
|
|
1529
|
+
expected: "string",
|
|
1530
|
+
value: input3.name
|
|
1531
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
1532
|
+
path: _path2 + ".type",
|
|
1533
|
+
expected: '"condition"',
|
|
1534
|
+
value: input3.type
|
|
1535
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1536
|
+
path: _path2 + ".child_types",
|
|
1537
|
+
expected: "(Array<string> | undefined)",
|
|
1538
|
+
value: input3.child_types
|
|
1539
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1540
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1541
|
+
expected: "string",
|
|
1542
|
+
value: elem
|
|
1543
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1544
|
+
path: _path2 + ".child_types",
|
|
1545
|
+
expected: "(Array<string> | undefined)",
|
|
1546
|
+
value: input3.child_types
|
|
1547
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1548
|
+
path: _path2 + ".hashtmldetail",
|
|
1549
|
+
expected: "(boolean | undefined)",
|
|
1550
|
+
value: input3.hashtmldetail
|
|
1551
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1552
|
+
path: _path2 + ".included_types",
|
|
1553
|
+
expected: "(Array<string> | undefined)",
|
|
1554
|
+
value: input3.included_types
|
|
1555
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1556
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1557
|
+
expected: "string",
|
|
1558
|
+
value: elem
|
|
1559
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1560
|
+
path: _path2 + ".included_types",
|
|
1561
|
+
expected: "(Array<string> | undefined)",
|
|
1562
|
+
value: input3.included_types
|
|
1563
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1564
|
+
path: _path2 + ".isleaf",
|
|
1565
|
+
expected: "(boolean | undefined)",
|
|
1566
|
+
value: input3.isleaf
|
|
1567
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1568
|
+
path: _path2 + ".values",
|
|
1569
|
+
expected: "(TermValues | undefined)",
|
|
1570
|
+
value: input3.values
|
|
1571
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1572
|
+
path: _path2 + ".values",
|
|
1573
|
+
expected: "(TermValues | undefined)",
|
|
1574
|
+
value: input3.values
|
|
1575
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1576
|
+
path: _path2 + ".skipValuesBuild",
|
|
1577
|
+
expected: "(boolean | undefined)",
|
|
1578
|
+
value: input3.skipValuesBuild
|
|
1579
|
+
})].every((flag) => flag);
|
|
1580
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1581
|
+
path: _path2 + ".grade",
|
|
1582
|
+
expected: "number",
|
|
1583
|
+
value: input3.grade
|
|
1584
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
1585
|
+
path: _path2 + ".grade_label",
|
|
1586
|
+
expected: "string",
|
|
1587
|
+
value: input3.grade_label
|
|
1588
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
1589
|
+
path: _path2 + ".child_id",
|
|
1590
|
+
expected: "(string | undefined)",
|
|
1591
|
+
value: input3.child_id
|
|
1592
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1593
|
+
path: _path2 + ".child_label",
|
|
1594
|
+
expected: "string",
|
|
1595
|
+
value: input3.child_label
|
|
1596
|
+
})].every((flag) => flag);
|
|
1597
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".join",
|
|
1599
|
+
expected: "(string | undefined)",
|
|
1600
|
+
value: input3.join
|
|
1601
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".isnot",
|
|
1603
|
+
expected: "(boolean | undefined)",
|
|
1604
|
+
value: input3.isnot
|
|
1605
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".term",
|
|
1607
|
+
expected: "DtTerm",
|
|
1608
|
+
value: input3.term
|
|
1609
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".term",
|
|
1611
|
+
expected: "DtTerm",
|
|
1612
|
+
value: input3.term
|
|
1613
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".values",
|
|
1615
|
+
expected: "Array<__type>.o2",
|
|
1616
|
+
value: input3.values
|
|
1617
|
+
})) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
1619
|
+
expected: "__type.o4",
|
|
1620
|
+
value: elem
|
|
1621
|
+
})) && $vo37(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
1623
|
+
expected: "__type.o4",
|
|
1624
|
+
value: elem
|
|
1625
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".values",
|
|
1627
|
+
expected: "Array<__type>.o2",
|
|
1628
|
+
value: input3.values
|
|
1629
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".includeNotTested",
|
|
1631
|
+
expected: "(boolean | undefined)",
|
|
1632
|
+
value: input3.includeNotTested
|
|
1633
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1634
|
+
path: _path2 + ".excludeGeneName",
|
|
1635
|
+
expected: "(boolean | undefined)",
|
|
1636
|
+
value: input3.excludeGeneName
|
|
1637
|
+
})].every((flag) => flag);
|
|
1638
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1639
|
+
path: _path2 + ".id",
|
|
1640
|
+
expected: "string",
|
|
1641
|
+
value: input3.id
|
|
1642
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1643
|
+
path: _path2 + ".query",
|
|
1644
|
+
expected: "string",
|
|
1645
|
+
value: input3.query
|
|
1646
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".name",
|
|
1648
|
+
expected: "string",
|
|
1649
|
+
value: input3.name
|
|
1650
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1651
|
+
path: _path2 + ".name_noOrigin",
|
|
1652
|
+
expected: "string",
|
|
1653
|
+
value: input3.name_noOrigin
|
|
1654
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1655
|
+
path: _path2 + ".parentTerm",
|
|
1656
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1657
|
+
value: input3.parentTerm
|
|
1658
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1659
|
+
path: _path2 + ".parentTerm",
|
|
1660
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1661
|
+
value: input3.parentTerm
|
|
1662
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1663
|
+
path: _path2 + ".isleaf",
|
|
1664
|
+
expected: "boolean",
|
|
1665
|
+
value: input3.isleaf
|
|
1666
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1667
|
+
path: _path2 + ".type",
|
|
1668
|
+
expected: "string",
|
|
1669
|
+
value: input3.type
|
|
1670
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".dt",
|
|
1672
|
+
expected: "number",
|
|
1673
|
+
value: input3.dt
|
|
1674
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1675
|
+
path: _path2 + ".origin",
|
|
1676
|
+
expected: "(string | undefined)",
|
|
1677
|
+
value: input3.origin
|
|
1678
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1679
|
+
path: _path2 + ".values",
|
|
1680
|
+
expected: "TermValues",
|
|
1681
|
+
value: input3.values
|
|
1682
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1683
|
+
path: _path2 + ".values",
|
|
1684
|
+
expected: "TermValues",
|
|
1685
|
+
value: input3.values
|
|
1686
|
+
})].every((flag) => flag);
|
|
1687
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1688
|
+
path: _path2 + ".id",
|
|
1689
|
+
expected: "string",
|
|
1690
|
+
value: input3.id
|
|
1691
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1692
|
+
path: _path2 + ".name",
|
|
1693
|
+
expected: "string",
|
|
1694
|
+
value: input3.name
|
|
1695
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1696
|
+
path: _path2 + ".type",
|
|
1697
|
+
expected: '"geneVariant"',
|
|
1698
|
+
value: input3.type
|
|
1699
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1700
|
+
path: _path2 + ".child_types",
|
|
1701
|
+
expected: "(Array<string> | undefined)",
|
|
1702
|
+
value: input3.child_types
|
|
1703
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1704
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1705
|
+
expected: "string",
|
|
1706
|
+
value: elem
|
|
1707
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1708
|
+
path: _path2 + ".child_types",
|
|
1709
|
+
expected: "(Array<string> | undefined)",
|
|
1710
|
+
value: input3.child_types
|
|
1711
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".hashtmldetail",
|
|
1713
|
+
expected: "(boolean | undefined)",
|
|
1714
|
+
value: input3.hashtmldetail
|
|
1715
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1716
|
+
path: _path2 + ".included_types",
|
|
1717
|
+
expected: "(Array<string> | undefined)",
|
|
1718
|
+
value: input3.included_types
|
|
1719
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1720
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1721
|
+
expected: "string",
|
|
1722
|
+
value: elem
|
|
1723
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1724
|
+
path: _path2 + ".included_types",
|
|
1725
|
+
expected: "(Array<string> | undefined)",
|
|
1726
|
+
value: input3.included_types
|
|
1727
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1728
|
+
path: _path2 + ".isleaf",
|
|
1729
|
+
expected: "(boolean | undefined)",
|
|
1730
|
+
value: input3.isleaf
|
|
1731
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".values",
|
|
1733
|
+
expected: "(TermValues | undefined)",
|
|
1734
|
+
value: input3.values
|
|
1735
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".values",
|
|
1737
|
+
expected: "(TermValues | undefined)",
|
|
1738
|
+
value: input3.values
|
|
1739
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1740
|
+
path: _path2 + ".skipValuesBuild",
|
|
1741
|
+
expected: "(boolean | undefined)",
|
|
1742
|
+
value: input3.skipValuesBuild
|
|
1743
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".kind",
|
|
1745
|
+
expected: '"gene"',
|
|
1746
|
+
value: input3.kind
|
|
1747
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1748
|
+
path: _path2 + ".gene",
|
|
1749
|
+
expected: "string",
|
|
1750
|
+
value: input3.gene
|
|
1751
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1752
|
+
path: _path2 + ".chr",
|
|
1753
|
+
expected: "(string | undefined)",
|
|
1754
|
+
value: input3.chr
|
|
1755
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".start",
|
|
1757
|
+
expected: "(number | undefined)",
|
|
1758
|
+
value: input3.start
|
|
1759
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".stop",
|
|
1761
|
+
expected: "(number | undefined)",
|
|
1762
|
+
value: input3.stop
|
|
1763
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1764
|
+
path: _path2 + ".genes",
|
|
1765
|
+
expected: "Array<GvGeneTerm>",
|
|
1766
|
+
value: input3.genes
|
|
1767
|
+
})) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1768
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
1769
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1770
|
+
value: elem
|
|
1771
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1772
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
1773
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1774
|
+
value: elem
|
|
1775
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1776
|
+
path: _path2 + ".genes",
|
|
1777
|
+
expected: "Array<GvGeneTerm>",
|
|
1778
|
+
value: input3.genes
|
|
1779
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1780
|
+
path: _path2 + ".groupsetting",
|
|
1781
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1782
|
+
value: input3.groupsetting
|
|
1783
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1784
|
+
path: _path2 + ".groupsetting",
|
|
1785
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1786
|
+
value: input3.groupsetting
|
|
1787
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1788
|
+
path: _path2 + ".childTerms",
|
|
1789
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1790
|
+
value: input3.childTerms
|
|
1791
|
+
})) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1792
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
1793
|
+
expected: "DtTerm",
|
|
1794
|
+
value: elem
|
|
1795
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1796
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
1797
|
+
expected: "DtTerm",
|
|
1798
|
+
value: elem
|
|
1799
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1800
|
+
path: _path2 + ".childTerms",
|
|
1801
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1802
|
+
value: input3.childTerms
|
|
1803
|
+
})].every((flag) => flag);
|
|
1804
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1805
|
+
path: _path2 + ".id",
|
|
1806
|
+
expected: "string",
|
|
1807
|
+
value: input3.id
|
|
1808
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1809
|
+
path: _path2 + ".name",
|
|
1810
|
+
expected: "string",
|
|
1811
|
+
value: input3.name
|
|
1812
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1813
|
+
path: _path2 + ".type",
|
|
1814
|
+
expected: "string",
|
|
1815
|
+
value: input3.type
|
|
1816
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1817
|
+
path: _path2 + ".child_types",
|
|
1818
|
+
expected: "(Array<string> | undefined)",
|
|
1819
|
+
value: input3.child_types
|
|
1820
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1821
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1822
|
+
expected: "string",
|
|
1823
|
+
value: elem
|
|
1824
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1825
|
+
path: _path2 + ".child_types",
|
|
1826
|
+
expected: "(Array<string> | undefined)",
|
|
1827
|
+
value: input3.child_types
|
|
1828
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1829
|
+
path: _path2 + ".hashtmldetail",
|
|
1830
|
+
expected: "(boolean | undefined)",
|
|
1831
|
+
value: input3.hashtmldetail
|
|
1832
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1833
|
+
path: _path2 + ".included_types",
|
|
1834
|
+
expected: "(Array<string> | undefined)",
|
|
1835
|
+
value: input3.included_types
|
|
1836
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1837
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1838
|
+
expected: "string",
|
|
1839
|
+
value: elem
|
|
1840
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1841
|
+
path: _path2 + ".included_types",
|
|
1842
|
+
expected: "(Array<string> | undefined)",
|
|
1843
|
+
value: input3.included_types
|
|
1844
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1845
|
+
path: _path2 + ".isleaf",
|
|
1846
|
+
expected: "(boolean | undefined)",
|
|
1847
|
+
value: input3.isleaf
|
|
1848
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1849
|
+
path: _path2 + ".values",
|
|
1850
|
+
expected: "(TermValues | undefined)",
|
|
1851
|
+
value: input3.values
|
|
1852
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1853
|
+
path: _path2 + ".values",
|
|
1854
|
+
expected: "(TermValues | undefined)",
|
|
1855
|
+
value: input3.values
|
|
1856
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1857
|
+
path: _path2 + ".skipValuesBuild",
|
|
1858
|
+
expected: "(boolean | undefined)",
|
|
1859
|
+
value: input3.skipValuesBuild
|
|
1860
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1861
|
+
path: _path2 + ".kind",
|
|
1862
|
+
expected: '"gene"',
|
|
1863
|
+
value: input3.kind
|
|
1864
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1375
1865
|
path: _path2 + ".gene",
|
|
1376
1866
|
expected: "string",
|
|
1377
|
-
value: input3.gene
|
|
1378
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1867
|
+
value: input3.gene
|
|
1868
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1869
|
+
path: _path2 + ".chr",
|
|
1870
|
+
expected: "(string | undefined)",
|
|
1871
|
+
value: input3.chr
|
|
1872
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1873
|
+
path: _path2 + ".start",
|
|
1874
|
+
expected: "(number | undefined)",
|
|
1875
|
+
value: input3.start
|
|
1876
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1877
|
+
path: _path2 + ".stop",
|
|
1878
|
+
expected: "(number | undefined)",
|
|
1879
|
+
value: input3.stop
|
|
1880
|
+
})].every((flag) => flag);
|
|
1881
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1882
|
+
path: _path2 + ".id",
|
|
1883
|
+
expected: "string",
|
|
1884
|
+
value: input3.id
|
|
1885
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1886
|
+
path: _path2 + ".name",
|
|
1887
|
+
expected: "string",
|
|
1888
|
+
value: input3.name
|
|
1889
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1890
|
+
path: _path2 + ".type",
|
|
1891
|
+
expected: "string",
|
|
1892
|
+
value: input3.type
|
|
1893
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1894
|
+
path: _path2 + ".child_types",
|
|
1895
|
+
expected: "(Array<string> | undefined)",
|
|
1896
|
+
value: input3.child_types
|
|
1897
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1898
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
1899
|
+
expected: "string",
|
|
1900
|
+
value: elem
|
|
1901
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1902
|
+
path: _path2 + ".child_types",
|
|
1903
|
+
expected: "(Array<string> | undefined)",
|
|
1904
|
+
value: input3.child_types
|
|
1905
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1906
|
+
path: _path2 + ".hashtmldetail",
|
|
1907
|
+
expected: "(boolean | undefined)",
|
|
1908
|
+
value: input3.hashtmldetail
|
|
1909
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".included_types",
|
|
1911
|
+
expected: "(Array<string> | undefined)",
|
|
1912
|
+
value: input3.included_types
|
|
1913
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1914
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
1915
|
+
expected: "string",
|
|
1916
|
+
value: elem
|
|
1917
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1918
|
+
path: _path2 + ".included_types",
|
|
1919
|
+
expected: "(Array<string> | undefined)",
|
|
1920
|
+
value: input3.included_types
|
|
1921
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1922
|
+
path: _path2 + ".isleaf",
|
|
1923
|
+
expected: "(boolean | undefined)",
|
|
1924
|
+
value: input3.isleaf
|
|
1925
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".values",
|
|
1927
|
+
expected: "(TermValues | undefined)",
|
|
1928
|
+
value: input3.values
|
|
1929
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".values",
|
|
1931
|
+
expected: "(TermValues | undefined)",
|
|
1932
|
+
value: input3.values
|
|
1933
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".skipValuesBuild",
|
|
1935
|
+
expected: "(boolean | undefined)",
|
|
1936
|
+
value: input3.skipValuesBuild
|
|
1937
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".kind",
|
|
1939
|
+
expected: '"coord"',
|
|
1940
|
+
value: input3.kind
|
|
1941
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1379
1942
|
path: _path2 + ".chr",
|
|
1380
|
-
expected: "
|
|
1943
|
+
expected: "string",
|
|
1381
1944
|
value: input3.chr
|
|
1382
|
-
}),
|
|
1945
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1383
1946
|
path: _path2 + ".start",
|
|
1384
|
-
expected: "
|
|
1947
|
+
expected: "number",
|
|
1385
1948
|
value: input3.start
|
|
1386
|
-
}),
|
|
1949
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1387
1950
|
path: _path2 + ".stop",
|
|
1388
|
-
expected: "
|
|
1951
|
+
expected: "number",
|
|
1952
|
+
value: input3.stop
|
|
1953
|
+
})].every((flag) => flag);
|
|
1954
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1955
|
+
path: _path2 + ".id",
|
|
1956
|
+
expected: "string",
|
|
1957
|
+
value: input3.id
|
|
1958
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1959
|
+
path: _path2 + ".name",
|
|
1960
|
+
expected: "string",
|
|
1961
|
+
value: input3.name
|
|
1962
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1963
|
+
path: _path2 + ".type",
|
|
1964
|
+
expected: '"geneVariant"',
|
|
1965
|
+
value: input3.type
|
|
1966
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1967
|
+
path: _path2 + ".child_types",
|
|
1968
|
+
expected: "(Array<string> | undefined)",
|
|
1969
|
+
value: input3.child_types
|
|
1970
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1971
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
1972
|
+
expected: "string",
|
|
1973
|
+
value: elem
|
|
1974
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1975
|
+
path: _path2 + ".child_types",
|
|
1976
|
+
expected: "(Array<string> | undefined)",
|
|
1977
|
+
value: input3.child_types
|
|
1978
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1979
|
+
path: _path2 + ".hashtmldetail",
|
|
1980
|
+
expected: "(boolean | undefined)",
|
|
1981
|
+
value: input3.hashtmldetail
|
|
1982
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1983
|
+
path: _path2 + ".included_types",
|
|
1984
|
+
expected: "(Array<string> | undefined)",
|
|
1985
|
+
value: input3.included_types
|
|
1986
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1987
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
1988
|
+
expected: "string",
|
|
1989
|
+
value: elem
|
|
1990
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1991
|
+
path: _path2 + ".included_types",
|
|
1992
|
+
expected: "(Array<string> | undefined)",
|
|
1993
|
+
value: input3.included_types
|
|
1994
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".isleaf",
|
|
1996
|
+
expected: "(boolean | undefined)",
|
|
1997
|
+
value: input3.isleaf
|
|
1998
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".values",
|
|
2000
|
+
expected: "(TermValues | undefined)",
|
|
2001
|
+
value: input3.values
|
|
2002
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2003
|
+
path: _path2 + ".values",
|
|
2004
|
+
expected: "(TermValues | undefined)",
|
|
2005
|
+
value: input3.values
|
|
2006
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".skipValuesBuild",
|
|
2008
|
+
expected: "(boolean | undefined)",
|
|
2009
|
+
value: input3.skipValuesBuild
|
|
2010
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2011
|
+
path: _path2 + ".kind",
|
|
2012
|
+
expected: '"coord"',
|
|
2013
|
+
value: input3.kind
|
|
2014
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2015
|
+
path: _path2 + ".chr",
|
|
2016
|
+
expected: "string",
|
|
2017
|
+
value: input3.chr
|
|
2018
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".start",
|
|
2020
|
+
expected: "number",
|
|
2021
|
+
value: input3.start
|
|
2022
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".stop",
|
|
2024
|
+
expected: "number",
|
|
1389
2025
|
value: input3.stop
|
|
1390
2026
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1391
2027
|
path: _path2 + ".genes",
|
|
1392
2028
|
expected: "Array<GvGeneTerm>",
|
|
1393
2029
|
value: input3.genes
|
|
1394
|
-
})) && input3.genes.map((elem,
|
|
1395
|
-
path: _path2 + ".genes[" +
|
|
2030
|
+
})) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2031
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
1396
2032
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1397
2033
|
value: elem
|
|
1398
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1399
|
-
path: _path2 + ".genes[" +
|
|
2034
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2035
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
1400
2036
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1401
2037
|
value: elem
|
|
1402
2038
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1415,12 +2051,12 @@ var validPercentileRequest = (input) => {
|
|
|
1415
2051
|
path: _path2 + ".childTerms",
|
|
1416
2052
|
expected: "(Array<DtTerm> | undefined)",
|
|
1417
2053
|
value: input3.childTerms
|
|
1418
|
-
})) && input3.childTerms.map((elem,
|
|
1419
|
-
path: _path2 + ".childTerms[" +
|
|
2054
|
+
})) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2055
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
1420
2056
|
expected: "DtTerm",
|
|
1421
2057
|
value: elem
|
|
1422
|
-
})) && $
|
|
1423
|
-
path: _path2 + ".childTerms[" +
|
|
2058
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2059
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
1424
2060
|
expected: "DtTerm",
|
|
1425
2061
|
value: elem
|
|
1426
2062
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1428,7 +2064,20 @@ var validPercentileRequest = (input) => {
|
|
|
1428
2064
|
expected: "(Array<DtTerm> | undefined)",
|
|
1429
2065
|
value: input3.childTerms
|
|
1430
2066
|
})].every((flag) => flag);
|
|
1431
|
-
const $
|
|
2067
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2068
|
+
path: _path2 + ".key",
|
|
2069
|
+
expected: "string",
|
|
2070
|
+
value: input3.key
|
|
2071
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2072
|
+
path: _path2 + ".label",
|
|
2073
|
+
expected: "string",
|
|
2074
|
+
value: input3.label
|
|
2075
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2076
|
+
path: _path2 + ".value",
|
|
2077
|
+
expected: "string",
|
|
2078
|
+
value: input3.value
|
|
2079
|
+
})].every((flag) => flag);
|
|
2080
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1432
2081
|
path: _path2 + ".id",
|
|
1433
2082
|
expected: "string",
|
|
1434
2083
|
value: input3.id
|
|
@@ -1436,16 +2085,16 @@ var validPercentileRequest = (input) => {
|
|
|
1436
2085
|
path: _path2 + ".name",
|
|
1437
2086
|
expected: "string",
|
|
1438
2087
|
value: input3.name
|
|
1439
|
-
}), "
|
|
2088
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1440
2089
|
path: _path2 + ".type",
|
|
1441
|
-
expected: "
|
|
2090
|
+
expected: '"geneVariant"',
|
|
1442
2091
|
value: input3.type
|
|
1443
2092
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1444
2093
|
path: _path2 + ".child_types",
|
|
1445
2094
|
expected: "(Array<string> | undefined)",
|
|
1446
2095
|
value: input3.child_types
|
|
1447
|
-
})) && input3.child_types.map((elem,
|
|
1448
|
-
path: _path2 + ".child_types[" +
|
|
2096
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2097
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
1449
2098
|
expected: "string",
|
|
1450
2099
|
value: elem
|
|
1451
2100
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1460,8 +2109,8 @@ var validPercentileRequest = (input) => {
|
|
|
1460
2109
|
path: _path2 + ".included_types",
|
|
1461
2110
|
expected: "(Array<string> | undefined)",
|
|
1462
2111
|
value: input3.included_types
|
|
1463
|
-
})) && input3.included_types.map((elem,
|
|
1464
|
-
path: _path2 + ".included_types[" +
|
|
2112
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2113
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
1465
2114
|
expected: "string",
|
|
1466
2115
|
value: elem
|
|
1467
2116
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1484,14 +2133,143 @@ var validPercentileRequest = (input) => {
|
|
|
1484
2133
|
path: _path2 + ".skipValuesBuild",
|
|
1485
2134
|
expected: "(boolean | undefined)",
|
|
1486
2135
|
value: input3.skipValuesBuild
|
|
1487
|
-
}), "
|
|
2136
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1488
2137
|
path: _path2 + ".kind",
|
|
1489
|
-
expected: '"
|
|
2138
|
+
expected: '"coord"',
|
|
1490
2139
|
value: input3.kind
|
|
2140
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2141
|
+
path: _path2 + ".chr",
|
|
2142
|
+
expected: "string",
|
|
2143
|
+
value: input3.chr
|
|
2144
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2145
|
+
path: _path2 + ".start",
|
|
2146
|
+
expected: "number",
|
|
2147
|
+
value: input3.start
|
|
2148
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2149
|
+
path: _path2 + ".stop",
|
|
2150
|
+
expected: "number",
|
|
2151
|
+
value: input3.stop
|
|
2152
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2153
|
+
path: _path2 + ".genes",
|
|
2154
|
+
expected: "Array<GvGeneTerm>",
|
|
2155
|
+
value: input3.genes
|
|
2156
|
+
})) && input3.genes.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2157
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
2158
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2159
|
+
value: elem
|
|
2160
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2161
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
2162
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2163
|
+
value: elem
|
|
2164
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2165
|
+
path: _path2 + ".genes",
|
|
2166
|
+
expected: "Array<GvGeneTerm>",
|
|
2167
|
+
value: input3.genes
|
|
2168
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2169
|
+
path: _path2 + ".groupsetting",
|
|
2170
|
+
expected: "TermGroupSetting",
|
|
2171
|
+
value: input3.groupsetting
|
|
2172
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2173
|
+
path: _path2 + ".groupsetting",
|
|
2174
|
+
expected: "TermGroupSetting",
|
|
2175
|
+
value: input3.groupsetting
|
|
2176
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2177
|
+
path: _path2 + ".childTerms",
|
|
2178
|
+
expected: "Array<DtTerm>",
|
|
2179
|
+
value: input3.childTerms
|
|
2180
|
+
})) && input3.childTerms.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2181
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
2182
|
+
expected: "DtTerm",
|
|
2183
|
+
value: elem
|
|
2184
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2185
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
2186
|
+
expected: "DtTerm",
|
|
2187
|
+
value: elem
|
|
2188
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2189
|
+
path: _path2 + ".childTerms",
|
|
2190
|
+
expected: "Array<DtTerm>",
|
|
2191
|
+
value: input3.childTerms
|
|
2192
|
+
})].every((flag) => flag);
|
|
2193
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2194
|
+
path: _path2 + ".id",
|
|
2195
|
+
expected: "string",
|
|
2196
|
+
value: input3.id
|
|
2197
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2198
|
+
path: _path2 + ".name",
|
|
2199
|
+
expected: "string",
|
|
2200
|
+
value: input3.name
|
|
2201
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
2202
|
+
path: _path2 + ".type",
|
|
2203
|
+
expected: '"geneExpression"',
|
|
2204
|
+
value: input3.type
|
|
2205
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2206
|
+
path: _path2 + ".child_types",
|
|
2207
|
+
expected: "(Array<string> | undefined)",
|
|
2208
|
+
value: input3.child_types
|
|
2209
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2210
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2211
|
+
expected: "string",
|
|
2212
|
+
value: elem
|
|
2213
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2214
|
+
path: _path2 + ".child_types",
|
|
2215
|
+
expected: "(Array<string> | undefined)",
|
|
2216
|
+
value: input3.child_types
|
|
2217
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2218
|
+
path: _path2 + ".hashtmldetail",
|
|
2219
|
+
expected: "(boolean | undefined)",
|
|
2220
|
+
value: input3.hashtmldetail
|
|
2221
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2222
|
+
path: _path2 + ".included_types",
|
|
2223
|
+
expected: "(Array<string> | undefined)",
|
|
2224
|
+
value: input3.included_types
|
|
2225
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2226
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2227
|
+
expected: "string",
|
|
2228
|
+
value: elem
|
|
2229
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2230
|
+
path: _path2 + ".included_types",
|
|
2231
|
+
expected: "(Array<string> | undefined)",
|
|
2232
|
+
value: input3.included_types
|
|
2233
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2234
|
+
path: _path2 + ".isleaf",
|
|
2235
|
+
expected: "(boolean | undefined)",
|
|
2236
|
+
value: input3.isleaf
|
|
2237
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2238
|
+
path: _path2 + ".values",
|
|
2239
|
+
expected: "(TermValues | undefined)",
|
|
2240
|
+
value: input3.values
|
|
2241
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2242
|
+
path: _path2 + ".values",
|
|
2243
|
+
expected: "(TermValues | undefined)",
|
|
2244
|
+
value: input3.values
|
|
2245
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2246
|
+
path: _path2 + ".skipValuesBuild",
|
|
2247
|
+
expected: "(boolean | undefined)",
|
|
2248
|
+
value: input3.skipValuesBuild
|
|
2249
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2250
|
+
path: _path2 + ".continuousColorScale",
|
|
2251
|
+
expected: "(__type.o2 | undefined)",
|
|
2252
|
+
value: input3.continuousColorScale
|
|
2253
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2254
|
+
path: _path2 + ".continuousColorScale",
|
|
2255
|
+
expected: "(__type.o2 | undefined)",
|
|
2256
|
+
value: input3.continuousColorScale
|
|
2257
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2258
|
+
path: _path2 + ".unit",
|
|
2259
|
+
expected: "(string | undefined)",
|
|
2260
|
+
value: input3.unit
|
|
1491
2261
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1492
2262
|
path: _path2 + ".gene",
|
|
1493
2263
|
expected: "string",
|
|
1494
2264
|
value: input3.gene
|
|
2265
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2266
|
+
path: _path2 + ".bins",
|
|
2267
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2268
|
+
value: input3.bins
|
|
2269
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2270
|
+
path: _path2 + ".bins",
|
|
2271
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2272
|
+
value: input3.bins
|
|
1495
2273
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1496
2274
|
path: _path2 + ".chr",
|
|
1497
2275
|
expected: "(string | undefined)",
|
|
@@ -1505,7 +2283,7 @@ var validPercentileRequest = (input) => {
|
|
|
1505
2283
|
expected: "(number | undefined)",
|
|
1506
2284
|
value: input3.stop
|
|
1507
2285
|
})].every((flag) => flag);
|
|
1508
|
-
const $
|
|
2286
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1509
2287
|
path: _path2 + ".id",
|
|
1510
2288
|
expected: "string",
|
|
1511
2289
|
value: input3.id
|
|
@@ -1513,16 +2291,16 @@ var validPercentileRequest = (input) => {
|
|
|
1513
2291
|
path: _path2 + ".name",
|
|
1514
2292
|
expected: "string",
|
|
1515
2293
|
value: input3.name
|
|
1516
|
-
}), "
|
|
2294
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1517
2295
|
path: _path2 + ".type",
|
|
1518
|
-
expected: "
|
|
2296
|
+
expected: '"metaboliteIntensity"',
|
|
1519
2297
|
value: input3.type
|
|
1520
2298
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1521
2299
|
path: _path2 + ".child_types",
|
|
1522
2300
|
expected: "(Array<string> | undefined)",
|
|
1523
2301
|
value: input3.child_types
|
|
1524
|
-
})) && input3.child_types.map((elem,
|
|
1525
|
-
path: _path2 + ".child_types[" +
|
|
2302
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2303
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
1526
2304
|
expected: "string",
|
|
1527
2305
|
value: elem
|
|
1528
2306
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1536,9 +2314,9 @@ var validPercentileRequest = (input) => {
|
|
|
1536
2314
|
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1537
2315
|
path: _path2 + ".included_types",
|
|
1538
2316
|
expected: "(Array<string> | undefined)",
|
|
1539
|
-
value: input3.included_types
|
|
1540
|
-
})) && input3.included_types.map((elem,
|
|
1541
|
-
path: _path2 + ".included_types[" +
|
|
2317
|
+
value: input3.included_types
|
|
2318
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2319
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
1542
2320
|
expected: "string",
|
|
1543
2321
|
value: elem
|
|
1544
2322
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1561,24 +2339,32 @@ var validPercentileRequest = (input) => {
|
|
|
1561
2339
|
path: _path2 + ".skipValuesBuild",
|
|
1562
2340
|
expected: "(boolean | undefined)",
|
|
1563
2341
|
value: input3.skipValuesBuild
|
|
1564
|
-
}), "
|
|
1565
|
-
path: _path2 + ".
|
|
1566
|
-
expected:
|
|
1567
|
-
value: input3.
|
|
1568
|
-
}), "
|
|
1569
|
-
path: _path2 + ".
|
|
2342
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2343
|
+
path: _path2 + ".continuousColorScale",
|
|
2344
|
+
expected: "(__type.o2 | undefined)",
|
|
2345
|
+
value: input3.continuousColorScale
|
|
2346
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2347
|
+
path: _path2 + ".continuousColorScale",
|
|
2348
|
+
expected: "(__type.o2 | undefined)",
|
|
2349
|
+
value: input3.continuousColorScale
|
|
2350
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2351
|
+
path: _path2 + ".unit",
|
|
2352
|
+
expected: "(string | undefined)",
|
|
2353
|
+
value: input3.unit
|
|
2354
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
2355
|
+
path: _path2 + ".metabolite",
|
|
1570
2356
|
expected: "string",
|
|
1571
|
-
value: input3.
|
|
1572
|
-
}), "
|
|
1573
|
-
path: _path2 + ".
|
|
1574
|
-
expected: "
|
|
1575
|
-
value: input3.
|
|
1576
|
-
}), "
|
|
1577
|
-
path: _path2 + ".
|
|
1578
|
-
expected: "
|
|
1579
|
-
value: input3.
|
|
2357
|
+
value: input3.metabolite
|
|
2358
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2359
|
+
path: _path2 + ".bins",
|
|
2360
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2361
|
+
value: input3.bins
|
|
2362
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".bins",
|
|
2364
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2365
|
+
value: input3.bins
|
|
1580
2366
|
})].every((flag) => flag);
|
|
1581
|
-
const $
|
|
2367
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1582
2368
|
path: _path2 + ".id",
|
|
1583
2369
|
expected: "string",
|
|
1584
2370
|
value: input3.id
|
|
@@ -1586,16 +2372,16 @@ var validPercentileRequest = (input) => {
|
|
|
1586
2372
|
path: _path2 + ".name",
|
|
1587
2373
|
expected: "string",
|
|
1588
2374
|
value: input3.name
|
|
1589
|
-
}), "
|
|
2375
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
1590
2376
|
path: _path2 + ".type",
|
|
1591
|
-
expected: '"
|
|
2377
|
+
expected: '"categorical"',
|
|
1592
2378
|
value: input3.type
|
|
1593
2379
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1594
2380
|
path: _path2 + ".child_types",
|
|
1595
2381
|
expected: "(Array<string> | undefined)",
|
|
1596
2382
|
value: input3.child_types
|
|
1597
|
-
})) && input3.child_types.map((elem,
|
|
1598
|
-
path: _path2 + ".child_types[" +
|
|
2383
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2384
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
1599
2385
|
expected: "string",
|
|
1600
2386
|
value: elem
|
|
1601
2387
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1610,8 +2396,8 @@ var validPercentileRequest = (input) => {
|
|
|
1610
2396
|
path: _path2 + ".included_types",
|
|
1611
2397
|
expected: "(Array<string> | undefined)",
|
|
1612
2398
|
value: input3.included_types
|
|
1613
|
-
})) && input3.included_types.map((elem,
|
|
1614
|
-
path: _path2 + ".included_types[" +
|
|
2399
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2400
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
1615
2401
|
expected: "string",
|
|
1616
2402
|
value: elem
|
|
1617
2403
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1634,77 +2420,16 @@ var validPercentileRequest = (input) => {
|
|
|
1634
2420
|
path: _path2 + ".skipValuesBuild",
|
|
1635
2421
|
expected: "(boolean | undefined)",
|
|
1636
2422
|
value: input3.skipValuesBuild
|
|
1637
|
-
}), "
|
|
1638
|
-
path: _path2 + ".kind",
|
|
1639
|
-
expected: '"coord"',
|
|
1640
|
-
value: input3.kind
|
|
1641
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1642
|
-
path: _path2 + ".chr",
|
|
1643
|
-
expected: "string",
|
|
1644
|
-
value: input3.chr
|
|
1645
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1646
|
-
path: _path2 + ".start",
|
|
1647
|
-
expected: "number",
|
|
1648
|
-
value: input3.start
|
|
1649
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1650
|
-
path: _path2 + ".stop",
|
|
1651
|
-
expected: "number",
|
|
1652
|
-
value: input3.stop
|
|
1653
|
-
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1654
|
-
path: _path2 + ".genes",
|
|
1655
|
-
expected: "Array<GvGeneTerm>",
|
|
1656
|
-
value: input3.genes
|
|
1657
|
-
})) && input3.genes.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1658
|
-
path: _path2 + ".genes[" + _index32 + "]",
|
|
1659
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1660
|
-
value: elem
|
|
1661
|
-
})) && $vu3(elem, _path2 + ".genes[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1662
|
-
path: _path2 + ".genes[" + _index32 + "]",
|
|
1663
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1664
|
-
value: elem
|
|
1665
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1666
|
-
path: _path2 + ".genes",
|
|
1667
|
-
expected: "Array<GvGeneTerm>",
|
|
1668
|
-
value: input3.genes
|
|
1669
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2423
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1670
2424
|
path: _path2 + ".groupsetting",
|
|
1671
|
-
expected: "
|
|
2425
|
+
expected: "TermGroupSetting",
|
|
1672
2426
|
value: input3.groupsetting
|
|
1673
2427
|
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1674
2428
|
path: _path2 + ".groupsetting",
|
|
1675
|
-
expected: "
|
|
2429
|
+
expected: "TermGroupSetting",
|
|
1676
2430
|
value: input3.groupsetting
|
|
1677
|
-
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1678
|
-
path: _path2 + ".childTerms",
|
|
1679
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1680
|
-
value: input3.childTerms
|
|
1681
|
-
})) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1682
|
-
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
1683
|
-
expected: "DtTerm",
|
|
1684
|
-
value: elem
|
|
1685
|
-
})) && $vo28(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1686
|
-
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
1687
|
-
expected: "DtTerm",
|
|
1688
|
-
value: elem
|
|
1689
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1690
|
-
path: _path2 + ".childTerms",
|
|
1691
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1692
|
-
value: input3.childTerms
|
|
1693
|
-
})].every((flag) => flag);
|
|
1694
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1695
|
-
path: _path2 + ".key",
|
|
1696
|
-
expected: "string",
|
|
1697
|
-
value: input3.key
|
|
1698
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1699
|
-
path: _path2 + ".label",
|
|
1700
|
-
expected: "string",
|
|
1701
|
-
value: input3.label
|
|
1702
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1703
|
-
path: _path2 + ".value",
|
|
1704
|
-
expected: "string",
|
|
1705
|
-
value: input3.value
|
|
1706
2431
|
})].every((flag) => flag);
|
|
1707
|
-
const $
|
|
2432
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1708
2433
|
path: _path2 + ".id",
|
|
1709
2434
|
expected: "string",
|
|
1710
2435
|
value: input3.id
|
|
@@ -1712,16 +2437,16 @@ var validPercentileRequest = (input) => {
|
|
|
1712
2437
|
path: _path2 + ".name",
|
|
1713
2438
|
expected: "string",
|
|
1714
2439
|
value: input3.name
|
|
1715
|
-
}), "
|
|
2440
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
1716
2441
|
path: _path2 + ".type",
|
|
1717
|
-
expected: '"
|
|
2442
|
+
expected: '("float" | "integer")',
|
|
1718
2443
|
value: input3.type
|
|
1719
2444
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1720
2445
|
path: _path2 + ".child_types",
|
|
1721
2446
|
expected: "(Array<string> | undefined)",
|
|
1722
2447
|
value: input3.child_types
|
|
1723
|
-
})) && input3.child_types.map((elem,
|
|
1724
|
-
path: _path2 + ".child_types[" +
|
|
2448
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2449
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
1725
2450
|
expected: "string",
|
|
1726
2451
|
value: elem
|
|
1727
2452
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1736,8 +2461,8 @@ var validPercentileRequest = (input) => {
|
|
|
1736
2461
|
path: _path2 + ".included_types",
|
|
1737
2462
|
expected: "(Array<string> | undefined)",
|
|
1738
2463
|
value: input3.included_types
|
|
1739
|
-
})) && input3.included_types.map((elem,
|
|
1740
|
-
path: _path2 + ".included_types[" +
|
|
2464
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2465
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
1741
2466
|
expected: "string",
|
|
1742
2467
|
value: elem
|
|
1743
2468
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1760,64 +2485,28 @@ var validPercentileRequest = (input) => {
|
|
|
1760
2485
|
path: _path2 + ".skipValuesBuild",
|
|
1761
2486
|
expected: "(boolean | undefined)",
|
|
1762
2487
|
value: input3.skipValuesBuild
|
|
1763
|
-
}), "
|
|
1764
|
-
path: _path2 + ".
|
|
1765
|
-
expected:
|
|
1766
|
-
value: input3.
|
|
1767
|
-
}), "
|
|
1768
|
-
path: _path2 + ".
|
|
1769
|
-
expected: "
|
|
1770
|
-
value: input3.
|
|
1771
|
-
}), "
|
|
1772
|
-
path: _path2 + ".
|
|
1773
|
-
expected: "
|
|
1774
|
-
value: input3.
|
|
1775
|
-
}), "
|
|
1776
|
-
path: _path2 + ".
|
|
1777
|
-
expected: "
|
|
1778
|
-
value: input3.
|
|
1779
|
-
})
|
|
1780
|
-
path: _path2 + ".
|
|
1781
|
-
expected: "
|
|
1782
|
-
value: input3.
|
|
1783
|
-
})) && input3.genes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1784
|
-
path: _path2 + ".genes[" + _index36 + "]",
|
|
1785
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1786
|
-
value: elem
|
|
1787
|
-
})) && $vu3(elem, _path2 + ".genes[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1788
|
-
path: _path2 + ".genes[" + _index36 + "]",
|
|
1789
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1790
|
-
value: elem
|
|
1791
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1792
|
-
path: _path2 + ".genes",
|
|
1793
|
-
expected: "Array<GvGeneTerm>",
|
|
1794
|
-
value: input3.genes
|
|
1795
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1796
|
-
path: _path2 + ".groupsetting",
|
|
1797
|
-
expected: "TermGroupSetting",
|
|
1798
|
-
value: input3.groupsetting
|
|
1799
|
-
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1800
|
-
path: _path2 + ".groupsetting",
|
|
1801
|
-
expected: "TermGroupSetting",
|
|
1802
|
-
value: input3.groupsetting
|
|
1803
|
-
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1804
|
-
path: _path2 + ".childTerms",
|
|
1805
|
-
expected: "Array<DtTerm>",
|
|
1806
|
-
value: input3.childTerms
|
|
1807
|
-
})) && input3.childTerms.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1808
|
-
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1809
|
-
expected: "DtTerm",
|
|
1810
|
-
value: elem
|
|
1811
|
-
})) && $vo28(elem, _path2 + ".childTerms[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1812
|
-
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1813
|
-
expected: "DtTerm",
|
|
1814
|
-
value: elem
|
|
1815
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1816
|
-
path: _path2 + ".childTerms",
|
|
1817
|
-
expected: "Array<DtTerm>",
|
|
1818
|
-
value: input3.childTerms
|
|
2488
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2489
|
+
path: _path2 + ".continuousColorScale",
|
|
2490
|
+
expected: "(__type.o2 | undefined)",
|
|
2491
|
+
value: input3.continuousColorScale
|
|
2492
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2493
|
+
path: _path2 + ".continuousColorScale",
|
|
2494
|
+
expected: "(__type.o2 | undefined)",
|
|
2495
|
+
value: input3.continuousColorScale
|
|
2496
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2497
|
+
path: _path2 + ".unit",
|
|
2498
|
+
expected: "(string | undefined)",
|
|
2499
|
+
value: input3.unit
|
|
2500
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2501
|
+
path: _path2 + ".bins",
|
|
2502
|
+
expected: "PresetNumericBins",
|
|
2503
|
+
value: input3.bins
|
|
2504
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2505
|
+
path: _path2 + ".bins",
|
|
2506
|
+
expected: "PresetNumericBins",
|
|
2507
|
+
value: input3.bins
|
|
1819
2508
|
})].every((flag) => flag);
|
|
1820
|
-
const $
|
|
2509
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1821
2510
|
path: _path2 + ".id",
|
|
1822
2511
|
expected: "string",
|
|
1823
2512
|
value: input3.id
|
|
@@ -1825,16 +2514,16 @@ var validPercentileRequest = (input) => {
|
|
|
1825
2514
|
path: _path2 + ".name",
|
|
1826
2515
|
expected: "string",
|
|
1827
2516
|
value: input3.name
|
|
1828
|
-
}), "
|
|
2517
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1829
2518
|
path: _path2 + ".type",
|
|
1830
|
-
expected: '"
|
|
2519
|
+
expected: '"date"',
|
|
1831
2520
|
value: input3.type
|
|
1832
2521
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1833
2522
|
path: _path2 + ".child_types",
|
|
1834
2523
|
expected: "(Array<string> | undefined)",
|
|
1835
2524
|
value: input3.child_types
|
|
1836
|
-
})) && input3.child_types.map((elem,
|
|
1837
|
-
path: _path2 + ".child_types[" +
|
|
2525
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2526
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
1838
2527
|
expected: "string",
|
|
1839
2528
|
value: elem
|
|
1840
2529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1849,8 +2538,8 @@ var validPercentileRequest = (input) => {
|
|
|
1849
2538
|
path: _path2 + ".included_types",
|
|
1850
2539
|
expected: "(Array<string> | undefined)",
|
|
1851
2540
|
value: input3.included_types
|
|
1852
|
-
})) && input3.included_types.map((elem,
|
|
1853
|
-
path: _path2 + ".included_types[" +
|
|
2541
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2542
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
1854
2543
|
expected: "string",
|
|
1855
2544
|
value: elem
|
|
1856
2545
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1873,16 +2562,32 @@ var validPercentileRequest = (input) => {
|
|
|
1873
2562
|
path: _path2 + ".skipValuesBuild",
|
|
1874
2563
|
expected: "(boolean | undefined)",
|
|
1875
2564
|
value: input3.skipValuesBuild
|
|
1876
|
-
}), ("object" === typeof input3.
|
|
1877
|
-
path: _path2 + ".
|
|
1878
|
-
expected: "
|
|
1879
|
-
value: input3.
|
|
1880
|
-
})) && $
|
|
1881
|
-
path: _path2 + ".
|
|
1882
|
-
expected: "
|
|
1883
|
-
value: input3.
|
|
2565
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2566
|
+
path: _path2 + ".continuousColorScale",
|
|
2567
|
+
expected: "(__type.o2 | undefined)",
|
|
2568
|
+
value: input3.continuousColorScale
|
|
2569
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2570
|
+
path: _path2 + ".continuousColorScale",
|
|
2571
|
+
expected: "(__type.o2 | undefined)",
|
|
2572
|
+
value: input3.continuousColorScale
|
|
2573
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2574
|
+
path: _path2 + ".unit",
|
|
2575
|
+
expected: "(string | undefined)",
|
|
2576
|
+
value: input3.unit
|
|
2577
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
2578
|
+
path: _path2 + ".metabolite",
|
|
2579
|
+
expected: "string",
|
|
2580
|
+
value: input3.metabolite
|
|
2581
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2582
|
+
path: _path2 + ".bins",
|
|
2583
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2584
|
+
value: input3.bins
|
|
2585
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2586
|
+
path: _path2 + ".bins",
|
|
2587
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2588
|
+
value: input3.bins
|
|
1884
2589
|
})].every((flag) => flag);
|
|
1885
|
-
const $
|
|
2590
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1886
2591
|
path: _path2 + ".id",
|
|
1887
2592
|
expected: "string",
|
|
1888
2593
|
value: input3.id
|
|
@@ -1890,16 +2595,16 @@ var validPercentileRequest = (input) => {
|
|
|
1890
2595
|
path: _path2 + ".name",
|
|
1891
2596
|
expected: "string",
|
|
1892
2597
|
value: input3.name
|
|
1893
|
-
}), "
|
|
2598
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1894
2599
|
path: _path2 + ".type",
|
|
1895
|
-
expected: '
|
|
2600
|
+
expected: '"ssGSEA"',
|
|
1896
2601
|
value: input3.type
|
|
1897
2602
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1898
2603
|
path: _path2 + ".child_types",
|
|
1899
2604
|
expected: "(Array<string> | undefined)",
|
|
1900
2605
|
value: input3.child_types
|
|
1901
|
-
})) && input3.child_types.map((elem,
|
|
1902
|
-
path: _path2 + ".child_types[" +
|
|
2606
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2607
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
1903
2608
|
expected: "string",
|
|
1904
2609
|
value: elem
|
|
1905
2610
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1914,8 +2619,8 @@ var validPercentileRequest = (input) => {
|
|
|
1914
2619
|
path: _path2 + ".included_types",
|
|
1915
2620
|
expected: "(Array<string> | undefined)",
|
|
1916
2621
|
value: input3.included_types
|
|
1917
|
-
})) && input3.included_types.map((elem,
|
|
1918
|
-
path: _path2 + ".included_types[" +
|
|
2622
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2623
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
1919
2624
|
expected: "string",
|
|
1920
2625
|
value: elem
|
|
1921
2626
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1938,28 +2643,40 @@ var validPercentileRequest = (input) => {
|
|
|
1938
2643
|
path: _path2 + ".skipValuesBuild",
|
|
1939
2644
|
expected: "(boolean | undefined)",
|
|
1940
2645
|
value: input3.skipValuesBuild
|
|
1941
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1942
|
-
path: _path2 + ".bins",
|
|
1943
|
-
expected: "PresetNumericBins",
|
|
1944
|
-
value: input3.bins
|
|
1945
|
-
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1946
|
-
path: _path2 + ".bins",
|
|
1947
|
-
expected: "PresetNumericBins",
|
|
1948
|
-
value: input3.bins
|
|
1949
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1950
|
-
path: _path2 + ".unit",
|
|
1951
|
-
expected: "(string | undefined)",
|
|
1952
|
-
value: input3.unit
|
|
1953
2646
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1954
2647
|
path: _path2 + ".continuousColorScale",
|
|
1955
2648
|
expected: "(__type.o2 | undefined)",
|
|
1956
2649
|
value: input3.continuousColorScale
|
|
1957
|
-
})) && $
|
|
2650
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1958
2651
|
path: _path2 + ".continuousColorScale",
|
|
1959
2652
|
expected: "(__type.o2 | undefined)",
|
|
1960
2653
|
value: input3.continuousColorScale
|
|
2654
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2655
|
+
path: _path2 + ".unit",
|
|
2656
|
+
expected: "(string | undefined)",
|
|
2657
|
+
value: input3.unit
|
|
2658
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2659
|
+
path: _path2 + ".genes",
|
|
2660
|
+
expected: "(Array<string> | undefined)",
|
|
2661
|
+
value: input3.genes
|
|
2662
|
+
})) && input3.genes.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2663
|
+
path: _path2 + ".genes[" + _index59 + "]",
|
|
2664
|
+
expected: "string",
|
|
2665
|
+
value: elem
|
|
2666
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2667
|
+
path: _path2 + ".genes",
|
|
2668
|
+
expected: "(Array<string> | undefined)",
|
|
2669
|
+
value: input3.genes
|
|
2670
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2671
|
+
path: _path2 + ".bins",
|
|
2672
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2673
|
+
value: input3.bins
|
|
2674
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2675
|
+
path: _path2 + ".bins",
|
|
2676
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2677
|
+
value: input3.bins
|
|
1961
2678
|
})].every((flag) => flag);
|
|
1962
|
-
const $
|
|
2679
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1963
2680
|
path: _path2 + ".id",
|
|
1964
2681
|
expected: "string",
|
|
1965
2682
|
value: input3.id
|
|
@@ -1975,8 +2692,8 @@ var validPercentileRequest = (input) => {
|
|
|
1975
2692
|
path: _path2 + ".child_types",
|
|
1976
2693
|
expected: "(Array<string> | undefined)",
|
|
1977
2694
|
value: input3.child_types
|
|
1978
|
-
})) && input3.child_types.map((elem,
|
|
1979
|
-
path: _path2 + ".child_types[" +
|
|
2695
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2696
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
1980
2697
|
expected: "string",
|
|
1981
2698
|
value: elem
|
|
1982
2699
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1991,8 +2708,8 @@ var validPercentileRequest = (input) => {
|
|
|
1991
2708
|
path: _path2 + ".included_types",
|
|
1992
2709
|
expected: "(Array<string> | undefined)",
|
|
1993
2710
|
value: input3.included_types
|
|
1994
|
-
})) && input3.included_types.map((elem,
|
|
1995
|
-
path: _path2 + ".included_types[" +
|
|
2711
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2712
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
1996
2713
|
expected: "string",
|
|
1997
2714
|
value: elem
|
|
1998
2715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2016,7 +2733,7 @@ var validPercentileRequest = (input) => {
|
|
|
2016
2733
|
expected: "(boolean | undefined)",
|
|
2017
2734
|
value: input3.skipValuesBuild
|
|
2018
2735
|
})].every((flag) => flag);
|
|
2019
|
-
const $
|
|
2736
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2020
2737
|
path: _path2 + ".id",
|
|
2021
2738
|
expected: "string",
|
|
2022
2739
|
value: input3.id
|
|
@@ -2032,8 +2749,8 @@ var validPercentileRequest = (input) => {
|
|
|
2032
2749
|
path: _path2 + ".child_types",
|
|
2033
2750
|
expected: "(Array<string> | undefined)",
|
|
2034
2751
|
value: input3.child_types
|
|
2035
|
-
})) && input3.child_types.map((elem,
|
|
2036
|
-
path: _path2 + ".child_types[" +
|
|
2752
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2753
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
2037
2754
|
expected: "string",
|
|
2038
2755
|
value: elem
|
|
2039
2756
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2048,8 +2765,8 @@ var validPercentileRequest = (input) => {
|
|
|
2048
2765
|
path: _path2 + ".included_types",
|
|
2049
2766
|
expected: "(Array<string> | undefined)",
|
|
2050
2767
|
value: input3.included_types
|
|
2051
|
-
})) && input3.included_types.map((elem,
|
|
2052
|
-
path: _path2 + ".included_types[" +
|
|
2768
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2769
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
2053
2770
|
expected: "string",
|
|
2054
2771
|
value: elem
|
|
2055
2772
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2080,12 +2797,12 @@ var validPercentileRequest = (input) => {
|
|
|
2080
2797
|
path: _path2 + ".snps",
|
|
2081
2798
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2082
2799
|
value: input3.snps
|
|
2083
|
-
})) && input3.snps.map((elem,
|
|
2084
|
-
path: _path2 + ".snps[" +
|
|
2800
|
+
})) && input3.snps.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2801
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
2085
2802
|
expected: "SnpsEntry",
|
|
2086
2803
|
value: elem
|
|
2087
|
-
})) && $
|
|
2088
|
-
path: _path2 + ".snps[" +
|
|
2804
|
+
})) && $vo47(elem, _path2 + ".snps[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2805
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
2089
2806
|
expected: "SnpsEntry",
|
|
2090
2807
|
value: elem
|
|
2091
2808
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2093,12 +2810,12 @@ var validPercentileRequest = (input) => {
|
|
|
2093
2810
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2094
2811
|
value: input3.snps
|
|
2095
2812
|
})].every((flag) => flag);
|
|
2096
|
-
const $
|
|
2813
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2097
2814
|
path: _path2 + ".altAlleles",
|
|
2098
2815
|
expected: "(Array<string> | undefined)",
|
|
2099
2816
|
value: input3.altAlleles
|
|
2100
|
-
})) && input3.altAlleles.map((elem,
|
|
2101
|
-
path: _path2 + ".altAlleles[" +
|
|
2817
|
+
})) && input3.altAlleles.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2818
|
+
path: _path2 + ".altAlleles[" + _index65 + "]",
|
|
2102
2819
|
expected: "string",
|
|
2103
2820
|
value: elem
|
|
2104
2821
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2109,12 +2826,12 @@ var validPercentileRequest = (input) => {
|
|
|
2109
2826
|
path: _path2 + ".alleles",
|
|
2110
2827
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2111
2828
|
value: input3.alleles
|
|
2112
|
-
})) && input3.alleles.map((elem,
|
|
2113
|
-
path: _path2 + ".alleles[" +
|
|
2829
|
+
})) && input3.alleles.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2830
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
2114
2831
|
expected: "AllelesEntry",
|
|
2115
2832
|
value: elem
|
|
2116
|
-
})) && $
|
|
2117
|
-
path: _path2 + ".alleles[" +
|
|
2833
|
+
})) && $vo48(elem, _path2 + ".alleles[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2834
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
2118
2835
|
expected: "AllelesEntry",
|
|
2119
2836
|
value: elem
|
|
2120
2837
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2129,7 +2846,7 @@ var validPercentileRequest = (input) => {
|
|
|
2129
2846
|
path: _path2 + ".gt2count",
|
|
2130
2847
|
expected: "(__type.o5 | undefined)",
|
|
2131
2848
|
value: input3.gt2count
|
|
2132
|
-
})) && $
|
|
2849
|
+
})) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2133
2850
|
path: _path2 + ".gt2count",
|
|
2134
2851
|
expected: "(__type.o5 | undefined)",
|
|
2135
2852
|
value: input3.gt2count
|
|
@@ -2158,7 +2875,7 @@ var validPercentileRequest = (input) => {
|
|
|
2158
2875
|
expected: "(number | undefined)",
|
|
2159
2876
|
value: input3.pos
|
|
2160
2877
|
})].every((flag) => flag);
|
|
2161
|
-
const $
|
|
2878
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2162
2879
|
path: _path2 + ".allele",
|
|
2163
2880
|
expected: "string",
|
|
2164
2881
|
value: input3.allele
|
|
@@ -2171,7 +2888,7 @@ var validPercentileRequest = (input) => {
|
|
|
2171
2888
|
expected: "boolean",
|
|
2172
2889
|
value: input3.isRef
|
|
2173
2890
|
})].every((flag) => flag);
|
|
2174
|
-
const $
|
|
2891
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2175
2892
|
path: _path2 + ".k",
|
|
2176
2893
|
expected: "string",
|
|
2177
2894
|
value: input3.k
|
|
@@ -2180,7 +2897,7 @@ var validPercentileRequest = (input) => {
|
|
|
2180
2897
|
expected: "(number | string)",
|
|
2181
2898
|
value: input3.v
|
|
2182
2899
|
})].every((flag) => flag);
|
|
2183
|
-
const $
|
|
2900
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2184
2901
|
path: _path2 + ".id",
|
|
2185
2902
|
expected: "string",
|
|
2186
2903
|
value: input3.id
|
|
@@ -2196,8 +2913,8 @@ var validPercentileRequest = (input) => {
|
|
|
2196
2913
|
path: _path2 + ".child_types",
|
|
2197
2914
|
expected: "(Array<string> | undefined)",
|
|
2198
2915
|
value: input3.child_types
|
|
2199
|
-
})) && input3.child_types.map((elem,
|
|
2200
|
-
path: _path2 + ".child_types[" +
|
|
2916
|
+
})) && input3.child_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2917
|
+
path: _path2 + ".child_types[" + _index67 + "]",
|
|
2201
2918
|
expected: "string",
|
|
2202
2919
|
value: elem
|
|
2203
2920
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2212,8 +2929,8 @@ var validPercentileRequest = (input) => {
|
|
|
2212
2929
|
path: _path2 + ".included_types",
|
|
2213
2930
|
expected: "(Array<string> | undefined)",
|
|
2214
2931
|
value: input3.included_types
|
|
2215
|
-
})) && input3.included_types.map((elem,
|
|
2216
|
-
path: _path2 + ".included_types[" +
|
|
2932
|
+
})) && input3.included_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2933
|
+
path: _path2 + ".included_types[" + _index68 + "]",
|
|
2217
2934
|
expected: "string",
|
|
2218
2935
|
value: elem
|
|
2219
2936
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2228,7 +2945,7 @@ var validPercentileRequest = (input) => {
|
|
|
2228
2945
|
path: _path2 + ".values",
|
|
2229
2946
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2230
2947
|
value: input3.values
|
|
2231
|
-
})) && $
|
|
2948
|
+
})) && $vo51(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2232
2949
|
path: _path2 + ".values",
|
|
2233
2950
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2234
2951
|
value: input3.values
|
|
@@ -2237,7 +2954,7 @@ var validPercentileRequest = (input) => {
|
|
|
2237
2954
|
expected: "(boolean | undefined)",
|
|
2238
2955
|
value: input3.skipValuesBuild
|
|
2239
2956
|
})].every((flag) => flag);
|
|
2240
|
-
const $
|
|
2957
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2241
2958
|
const value = input3[key];
|
|
2242
2959
|
if (void 0 === value)
|
|
2243
2960
|
return true;
|
|
@@ -2246,7 +2963,7 @@ var validPercentileRequest = (input) => {
|
|
|
2246
2963
|
path: _path2 + $join(key),
|
|
2247
2964
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2248
2965
|
value
|
|
2249
|
-
})) && $
|
|
2966
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2250
2967
|
path: _path2 + $join(key),
|
|
2251
2968
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2252
2969
|
value
|
|
@@ -2256,14 +2973,14 @@ var validPercentileRequest = (input) => {
|
|
|
2256
2973
|
path: _path2 + $join(key),
|
|
2257
2974
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2258
2975
|
value
|
|
2259
|
-
})) && $
|
|
2976
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2260
2977
|
path: _path2 + $join(key),
|
|
2261
2978
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2262
2979
|
value
|
|
2263
2980
|
});
|
|
2264
2981
|
return true;
|
|
2265
2982
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2266
|
-
const $
|
|
2983
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2267
2984
|
path: _path2 + ".key",
|
|
2268
2985
|
expected: "(string | undefined)",
|
|
2269
2986
|
value: input3.key
|
|
@@ -2307,12 +3024,12 @@ var validPercentileRequest = (input) => {
|
|
|
2307
3024
|
path: _path2 + ".list",
|
|
2308
3025
|
expected: "Array<__type>.o3",
|
|
2309
3026
|
value: input3.list
|
|
2310
|
-
})) && input3.list.map((elem,
|
|
2311
|
-
path: _path2 + ".list[" +
|
|
3027
|
+
})) && input3.list.map((elem, _index69) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3028
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
2312
3029
|
expected: "__type.o6",
|
|
2313
3030
|
value: elem
|
|
2314
|
-
})) && $
|
|
2315
|
-
path: _path2 + ".list[" +
|
|
3031
|
+
})) && $vo53(elem, _path2 + ".list[" + _index69 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3032
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
2316
3033
|
expected: "__type.o6",
|
|
2317
3034
|
value: elem
|
|
2318
3035
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2320,7 +3037,7 @@ var validPercentileRequest = (input) => {
|
|
|
2320
3037
|
expected: "Array<__type>.o3",
|
|
2321
3038
|
value: input3.list
|
|
2322
3039
|
}), true].every((flag) => flag);
|
|
2323
|
-
const $
|
|
3040
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
2324
3041
|
path: _path2 + ".sampleId",
|
|
2325
3042
|
expected: "string",
|
|
2326
3043
|
value: input3.sampleId
|
|
@@ -2353,16 +3070,16 @@ var validPercentileRequest = (input) => {
|
|
|
2353
3070
|
})();
|
|
2354
3071
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2355
3072
|
if (true === input3.startunbounded)
|
|
2356
|
-
return $
|
|
3073
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
2357
3074
|
if (true === input3.stopunbounded)
|
|
2358
|
-
return $
|
|
2359
|
-
return $
|
|
3075
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3076
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2360
3077
|
})();
|
|
2361
3078
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2362
3079
|
if ("gene" === input3.kind)
|
|
2363
|
-
return $
|
|
3080
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
2364
3081
|
if ("coord" === input3.kind)
|
|
2365
|
-
return $
|
|
3082
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
2366
3083
|
return $report(_exceptionable2, {
|
|
2367
3084
|
path: _path2,
|
|
2368
3085
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2373,58 +3090,83 @@ var validPercentileRequest = (input) => {
|
|
|
2373
3090
|
if ("gene" === input3.kind)
|
|
2374
3091
|
return $vo1(input3, _path2, _exceptionable2);
|
|
2375
3092
|
if ("coord" === input3.kind)
|
|
2376
|
-
return $
|
|
3093
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
3094
|
+
if ("geneExpression" === input3.type)
|
|
3095
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
3096
|
+
if ("metaboliteIntensity" === input3.type)
|
|
3097
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2377
3098
|
if ("categorical" === input3.type)
|
|
2378
|
-
return $
|
|
2379
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
2380
|
-
return $
|
|
3099
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
3100
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
3101
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3102
|
+
if ("date" === input3.type)
|
|
3103
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3104
|
+
if ("ssGSEA" === input3.type)
|
|
3105
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
2381
3106
|
if ("condition" === input3.type)
|
|
2382
|
-
return $
|
|
2383
|
-
return $
|
|
3107
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3108
|
+
return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
|
|
2384
3109
|
})();
|
|
2385
3110
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2386
3111
|
if (void 0 !== input3.ranges)
|
|
2387
3112
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2388
|
-
return $vo6(input3, _path2, false) || $
|
|
3113
|
+
return $vo6(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
2389
3114
|
})();
|
|
2390
3115
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3116
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
3117
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
3118
|
+
if ("geneExpression" === input3.type)
|
|
3119
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3120
|
+
if ("date" === input3.type)
|
|
3121
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3122
|
+
if ("metaboliteIntensity" === input3.type)
|
|
3123
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3124
|
+
if ("ssGSEA" === input3.type)
|
|
3125
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3126
|
+
return $report(_exceptionable2, {
|
|
3127
|
+
path: _path2,
|
|
3128
|
+
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
3129
|
+
value: input3
|
|
3130
|
+
});
|
|
3131
|
+
})();
|
|
3132
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2391
3133
|
if ("regular-bin" === input3.type)
|
|
2392
|
-
return $
|
|
3134
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2393
3135
|
if ("custom-bin" === input3.type)
|
|
2394
|
-
return $
|
|
3136
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2395
3137
|
return $report(_exceptionable2, {
|
|
2396
3138
|
path: _path2,
|
|
2397
3139
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
2398
3140
|
value: input3
|
|
2399
3141
|
});
|
|
2400
3142
|
})();
|
|
2401
|
-
const $
|
|
3143
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2402
3144
|
if (true === input3.startunbounded)
|
|
2403
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
2404
|
-
if (void 0 !== input3.start)
|
|
2405
3145
|
return $vo19(input3, _path2, _exceptionable2);
|
|
3146
|
+
if (void 0 !== input3.start)
|
|
3147
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2406
3148
|
return $report(_exceptionable2, {
|
|
2407
3149
|
path: _path2,
|
|
2408
3150
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
2409
3151
|
value: input3
|
|
2410
3152
|
});
|
|
2411
3153
|
})();
|
|
2412
|
-
const $
|
|
3154
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2413
3155
|
if (void 0 !== input3.stop)
|
|
2414
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
2415
|
-
if (true === input3.stopunbounded)
|
|
2416
3156
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3157
|
+
if (true === input3.stopunbounded)
|
|
3158
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2417
3159
|
return $report(_exceptionable2, {
|
|
2418
3160
|
path: _path2,
|
|
2419
3161
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2420
3162
|
value: input3
|
|
2421
3163
|
});
|
|
2422
3164
|
})();
|
|
2423
|
-
const $
|
|
3165
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2424
3166
|
if ("gene" === input3.kind)
|
|
2425
|
-
return $
|
|
3167
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2426
3168
|
if ("coord" === input3.kind)
|
|
2427
|
-
return $
|
|
3169
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2428
3170
|
return $report(_exceptionable2, {
|
|
2429
3171
|
path: _path2,
|
|
2430
3172
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|