@sjcrh/proteinpaint-types 2.140.1-2 → 2.140.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-KDHGWAOS.js → chunk-2WLN6PMW.js} +575 -367
- package/dist/{chunk-G5BYLEJC.js → chunk-AADDTYUL.js} +266 -154
- package/dist/{chunk-2QKCLUH3.js → chunk-BWLSDIHM.js} +575 -367
- package/dist/{chunk-P3Z422N2.js → chunk-ECF6WSOD.js} +266 -154
- package/dist/{chunk-NHELOLDH.js → chunk-EWON4FG5.js} +2401 -644
- package/dist/{chunk-ZHCVV36H.js → chunk-FZJ3E7JA.js} +579 -371
- package/dist/{chunk-34LXTZYA.js → chunk-IDP5KXE6.js} +632 -424
- package/dist/{chunk-HJ7XFSJK.js → chunk-KS74VVON.js} +262 -150
- package/dist/{chunk-Y6Z6XAFN.js → chunk-PPFFVFUI.js} +266 -154
- package/dist/{chunk-5BKOSJEU.js → chunk-WKT3H4P4.js} +731 -409
- package/dist/{chunk-F2ZZ5J3F.js → chunk-XXHHUIEV.js} +575 -367
- package/dist/{chunk-4S36DRJ4.js → chunk-ZA3FDGAD.js} +465 -255
- 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 -1
- package/src/dataset.ts +10 -2
- package/src/routes/termdb.cluster.ts +6 -6
- package/src/terms/geneExpression.ts +13 -17
- package/src/terms/numeric.ts +7 -18
- package/src/terms/singleCellGeneExpression.ts +3 -4
|
@@ -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 && $io29(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 && $io24(elem)));
|
|
85
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.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,44 @@ 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.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
103
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
105
|
+
const $io27 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
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)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $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));
|
|
108
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io29(elem)));
|
|
109
|
+
const $io31 = (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);
|
|
110
|
+
const $io32 = (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;
|
|
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) && "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 && $io29(elem)));
|
|
112
|
+
const $io34 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
113
|
+
const $io35 = (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 && $io29(elem)));
|
|
114
|
+
const $io36 = (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));
|
|
115
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.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));
|
|
116
|
+
const $io38 = (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);
|
|
117
|
+
const $io39 = (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);
|
|
118
|
+
const $io40 = (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 && $io41(elem)));
|
|
119
|
+
const $io41 = (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 && $io42(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io43(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);
|
|
120
|
+
const $io42 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
121
|
+
const $io43 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
122
|
+
const $io44 = (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) && $io45(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
123
|
+
const $io45 = (input3) => Object.keys(input3).every((key) => {
|
|
122
124
|
const value = input3[key];
|
|
123
125
|
if (void 0 === value)
|
|
124
126
|
return true;
|
|
125
127
|
if (RegExp(/(.*)/).test(key))
|
|
126
|
-
return "object" === typeof value && null !== value && $
|
|
128
|
+
return "object" === typeof value && null !== value && $io46(value);
|
|
127
129
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
128
|
-
return "object" === typeof value && null !== value && $
|
|
130
|
+
return "object" === typeof value && null !== value && $io46(value);
|
|
129
131
|
return true;
|
|
130
132
|
});
|
|
131
|
-
const $
|
|
132
|
-
const $
|
|
133
|
+
const $io46 = (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 && $io47(elem))) && true;
|
|
134
|
+
const $io47 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
133
135
|
const $iu0 = (input3) => (() => {
|
|
134
136
|
if ("tvslst" === input3.type)
|
|
135
137
|
return $io4(input3);
|
|
@@ -146,34 +148,36 @@ var validPercentileRequest = (input) => {
|
|
|
146
148
|
})();
|
|
147
149
|
const $iu2 = (input3) => (() => {
|
|
148
150
|
if (true === input3.startunbounded)
|
|
149
|
-
return $
|
|
151
|
+
return $io19(input3);
|
|
150
152
|
if (true === input3.stopunbounded)
|
|
151
|
-
return $
|
|
152
|
-
return $
|
|
153
|
+
return $io21(input3);
|
|
154
|
+
return $io20(input3);
|
|
153
155
|
})();
|
|
154
156
|
const $iu3 = (input3) => (() => {
|
|
155
157
|
if ("gene" === input3.kind)
|
|
156
|
-
return $io30(input3);
|
|
157
|
-
if ("coord" === input3.kind)
|
|
158
158
|
return $io31(input3);
|
|
159
|
+
if ("coord" === input3.kind)
|
|
160
|
+
return $io32(input3);
|
|
159
161
|
return false;
|
|
160
162
|
})();
|
|
161
163
|
const $iu4 = (input3) => (() => {
|
|
162
164
|
if ("gene" === input3.kind)
|
|
163
165
|
return $io1(input3);
|
|
164
166
|
if ("coord" === input3.kind)
|
|
165
|
-
return $io34(input3);
|
|
166
|
-
if ("categorical" === input3.type)
|
|
167
167
|
return $io35(input3);
|
|
168
|
-
if ("
|
|
168
|
+
if ("categorical" === input3.type)
|
|
169
169
|
return $io36(input3);
|
|
170
|
-
if ("
|
|
170
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
171
171
|
return $io37(input3);
|
|
172
|
+
if ("geneExpression" === input3.type)
|
|
173
|
+
return $io38(input3);
|
|
174
|
+
if ("condition" === input3.type)
|
|
175
|
+
return $io39(input3);
|
|
172
176
|
return (() => {
|
|
173
|
-
if ($
|
|
174
|
-
return $
|
|
175
|
-
if ($
|
|
176
|
-
return $
|
|
177
|
+
if ($io40(input3))
|
|
178
|
+
return $io40(input3);
|
|
179
|
+
if ($io44(input3))
|
|
180
|
+
return $io44(input3);
|
|
177
181
|
return false;
|
|
178
182
|
})();
|
|
179
183
|
})();
|
|
@@ -183,39 +187,46 @@ var validPercentileRequest = (input) => {
|
|
|
183
187
|
return (() => {
|
|
184
188
|
if ($io6(input3))
|
|
185
189
|
return $io6(input3);
|
|
186
|
-
if ($
|
|
187
|
-
return $
|
|
188
|
-
if ($
|
|
189
|
-
return $
|
|
190
|
+
if ($io25(input3))
|
|
191
|
+
return $io25(input3);
|
|
192
|
+
if ($io28(input3))
|
|
193
|
+
return $io28(input3);
|
|
190
194
|
return false;
|
|
191
195
|
})();
|
|
192
196
|
})();
|
|
193
197
|
const $iu6 = (input3) => (() => {
|
|
198
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
199
|
+
return $io14(input3);
|
|
200
|
+
if ("geneExpression" === input3.type)
|
|
201
|
+
return $io23(input3);
|
|
202
|
+
return false;
|
|
203
|
+
})();
|
|
204
|
+
const $iu7 = (input3) => (() => {
|
|
194
205
|
if ("regular-bin" === input3.type)
|
|
195
|
-
return $
|
|
206
|
+
return $io17(input3);
|
|
196
207
|
if ("custom-bin" === input3.type)
|
|
197
|
-
return $
|
|
208
|
+
return $io22(input3);
|
|
198
209
|
return false;
|
|
199
210
|
})();
|
|
200
|
-
const $
|
|
211
|
+
const $iu8 = (input3) => (() => {
|
|
201
212
|
if (true === input3.startunbounded)
|
|
202
|
-
return $io18(input3);
|
|
203
|
-
if (void 0 !== input3.start)
|
|
204
213
|
return $io19(input3);
|
|
214
|
+
if (void 0 !== input3.start)
|
|
215
|
+
return $io20(input3);
|
|
205
216
|
return false;
|
|
206
217
|
})();
|
|
207
|
-
const $
|
|
218
|
+
const $iu9 = (input3) => (() => {
|
|
208
219
|
if (void 0 !== input3.stop)
|
|
209
|
-
return $io19(input3);
|
|
210
|
-
if (true === input3.stopunbounded)
|
|
211
220
|
return $io20(input3);
|
|
221
|
+
if (true === input3.stopunbounded)
|
|
222
|
+
return $io21(input3);
|
|
212
223
|
return false;
|
|
213
224
|
})();
|
|
214
|
-
const $
|
|
225
|
+
const $iu10 = (input3) => (() => {
|
|
215
226
|
if ("gene" === input3.kind)
|
|
216
|
-
return $
|
|
227
|
+
return $io30(input3);
|
|
217
228
|
if ("coord" === input3.kind)
|
|
218
|
-
return $
|
|
229
|
+
return $io33(input3);
|
|
219
230
|
return false;
|
|
220
231
|
})();
|
|
221
232
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -250,11 +261,11 @@ var validPercentileRequest = (input) => {
|
|
|
250
261
|
value: input3.getpercentile
|
|
251
262
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
252
263
|
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 & {
|
|
264
|
+
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; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | 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
265
|
value: input3.term
|
|
255
266
|
})) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
256
267
|
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 & {
|
|
268
|
+
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; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | 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
269
|
value: input3.term
|
|
259
270
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
260
271
|
path: _path2 + ".filter",
|
|
@@ -373,7 +384,7 @@ var validPercentileRequest = (input) => {
|
|
|
373
384
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
374
385
|
expected: "DtTerm",
|
|
375
386
|
value: elem
|
|
376
|
-
})) && $
|
|
387
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
377
388
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
378
389
|
expected: "DtTerm",
|
|
379
390
|
value: elem
|
|
@@ -712,11 +723,11 @@ var validPercentileRequest = (input) => {
|
|
|
712
723
|
value: input3.isnot
|
|
713
724
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
714
725
|
path: _path2 + ".term",
|
|
715
|
-
expected: "
|
|
726
|
+
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
716
727
|
value: input3.term
|
|
717
|
-
})) && $
|
|
728
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
718
729
|
path: _path2 + ".term",
|
|
719
|
-
expected: "
|
|
730
|
+
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
720
731
|
value: input3.term
|
|
721
732
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
722
733
|
path: _path2 + ".ranges",
|
|
@@ -742,7 +753,7 @@ var validPercentileRequest = (input) => {
|
|
|
742
753
|
path: _path2 + ".values[" + _index14 + "]",
|
|
743
754
|
expected: "__type.o3",
|
|
744
755
|
value: elem
|
|
745
|
-
})) && $
|
|
756
|
+
})) && $vo24(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
746
757
|
path: _path2 + ".values[" + _index14 + "]",
|
|
747
758
|
expected: "__type.o3",
|
|
748
759
|
value: elem
|
|
@@ -759,9 +770,9 @@ var validPercentileRequest = (input) => {
|
|
|
759
770
|
path: _path2 + ".name",
|
|
760
771
|
expected: "string",
|
|
761
772
|
value: input3.name
|
|
762
|
-
}), "integer" === input3.type || "float" === input3.type || "
|
|
773
|
+
}), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
763
774
|
path: _path2 + ".type",
|
|
764
|
-
expected: '("date" | "float" | "
|
|
775
|
+
expected: '("date" | "float" | "integer")',
|
|
765
776
|
value: input3.type
|
|
766
777
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
767
778
|
path: _path2 + ".child_types",
|
|
@@ -807,32 +818,41 @@ var validPercentileRequest = (input) => {
|
|
|
807
818
|
path: _path2 + ".skipValuesBuild",
|
|
808
819
|
expected: "(boolean | undefined)",
|
|
809
820
|
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
821
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
823
822
|
path: _path2 + ".continuousColorScale",
|
|
824
823
|
expected: "(__type.o2 | undefined)",
|
|
825
824
|
value: input3.continuousColorScale
|
|
826
|
-
})) && $
|
|
825
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
827
826
|
path: _path2 + ".continuousColorScale",
|
|
828
827
|
expected: "(__type.o2 | undefined)",
|
|
829
828
|
value: input3.continuousColorScale
|
|
829
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
830
|
+
path: _path2 + ".unit",
|
|
831
|
+
expected: "(string | undefined)",
|
|
832
|
+
value: input3.unit
|
|
833
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
834
|
+
path: _path2 + ".bins",
|
|
835
|
+
expected: "PresetNumericBins",
|
|
836
|
+
value: input3.bins
|
|
837
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
838
|
+
path: _path2 + ".bins",
|
|
839
|
+
expected: "PresetNumericBins",
|
|
840
|
+
value: input3.bins
|
|
841
|
+
})].every((flag) => flag);
|
|
842
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
843
|
+
path: _path2 + ".minColor",
|
|
844
|
+
expected: "string",
|
|
845
|
+
value: input3.minColor
|
|
846
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
847
|
+
path: _path2 + ".maxColor",
|
|
848
|
+
expected: "string",
|
|
849
|
+
value: input3.maxColor
|
|
830
850
|
})].every((flag) => flag);
|
|
831
|
-
const $
|
|
851
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
832
852
|
path: _path2 + '["default"]',
|
|
833
853
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
834
854
|
value: input3["default"]
|
|
835
|
-
})) && $
|
|
855
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
836
856
|
path: _path2 + '["default"]',
|
|
837
857
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
838
858
|
value: input3["default"]
|
|
@@ -840,7 +860,7 @@ var validPercentileRequest = (input) => {
|
|
|
840
860
|
path: _path2 + ".less",
|
|
841
861
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
842
862
|
value: input3.less
|
|
843
|
-
})) && $
|
|
863
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
844
864
|
path: _path2 + ".less",
|
|
845
865
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
846
866
|
value: input3.less
|
|
@@ -865,11 +885,11 @@ var validPercentileRequest = (input) => {
|
|
|
865
885
|
expected: "(number | undefined)",
|
|
866
886
|
value: input3.max
|
|
867
887
|
})].every((flag) => flag);
|
|
868
|
-
const $
|
|
888
|
+
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
889
|
path: _path2 + ".hiddenValues",
|
|
870
890
|
expected: "(HiddenValues | undefined)",
|
|
871
891
|
value: input3.hiddenValues
|
|
872
|
-
})) && $
|
|
892
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
873
893
|
path: _path2 + ".hiddenValues",
|
|
874
894
|
expected: "(HiddenValues | undefined)",
|
|
875
895
|
value: input3.hiddenValues
|
|
@@ -901,7 +921,7 @@ var validPercentileRequest = (input) => {
|
|
|
901
921
|
path: _path2 + ".first_bin",
|
|
902
922
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
903
923
|
value: input3.first_bin
|
|
904
|
-
})) && $
|
|
924
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
905
925
|
path: _path2 + ".first_bin",
|
|
906
926
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
907
927
|
value: input3.first_bin
|
|
@@ -909,7 +929,7 @@ var validPercentileRequest = (input) => {
|
|
|
909
929
|
path: _path2 + ".last_bin",
|
|
910
930
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
911
931
|
value: input3.last_bin
|
|
912
|
-
})) && $
|
|
932
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
913
933
|
path: _path2 + ".last_bin",
|
|
914
934
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
915
935
|
value: input3.last_bin
|
|
@@ -918,7 +938,7 @@ var validPercentileRequest = (input) => {
|
|
|
918
938
|
expected: "(number | undefined)",
|
|
919
939
|
value: input3.label_offset
|
|
920
940
|
})].every((flag) => flag);
|
|
921
|
-
const $
|
|
941
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
922
942
|
const value = input3[key];
|
|
923
943
|
if (void 0 === value)
|
|
924
944
|
return true;
|
|
@@ -930,7 +950,7 @@ var validPercentileRequest = (input) => {
|
|
|
930
950
|
});
|
|
931
951
|
return true;
|
|
932
952
|
}).every((flag) => flag)].every((flag) => flag);
|
|
933
|
-
const $
|
|
953
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
934
954
|
path: _path2 + ".startunbounded",
|
|
935
955
|
expected: "true",
|
|
936
956
|
value: input3.startunbounded
|
|
@@ -955,7 +975,7 @@ var validPercentileRequest = (input) => {
|
|
|
955
975
|
expected: "(string | undefined)",
|
|
956
976
|
value: input3.label
|
|
957
977
|
})].every((flag) => flag);
|
|
958
|
-
const $
|
|
978
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
959
979
|
path: _path2 + ".startunbounded",
|
|
960
980
|
expected: "(false | undefined)",
|
|
961
981
|
value: input3.startunbounded
|
|
@@ -984,7 +1004,7 @@ var validPercentileRequest = (input) => {
|
|
|
984
1004
|
expected: "(string | undefined)",
|
|
985
1005
|
value: input3.label
|
|
986
1006
|
})].every((flag) => flag);
|
|
987
|
-
const $
|
|
1007
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
988
1008
|
path: _path2 + ".start",
|
|
989
1009
|
expected: "number",
|
|
990
1010
|
value: input3.start
|
|
@@ -1009,11 +1029,11 @@ var validPercentileRequest = (input) => {
|
|
|
1009
1029
|
expected: "(string | undefined)",
|
|
1010
1030
|
value: input3.label
|
|
1011
1031
|
})].every((flag) => flag);
|
|
1012
|
-
const $
|
|
1032
|
+
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
1033
|
path: _path2 + ".hiddenValues",
|
|
1014
1034
|
expected: "(HiddenValues | undefined)",
|
|
1015
1035
|
value: input3.hiddenValues
|
|
1016
|
-
})) && $
|
|
1036
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1017
1037
|
path: _path2 + ".hiddenValues",
|
|
1018
1038
|
expected: "(HiddenValues | undefined)",
|
|
1019
1039
|
value: input3.hiddenValues
|
|
@@ -1076,16 +1096,100 @@ var validPercentileRequest = (input) => {
|
|
|
1076
1096
|
expected: '("median" | undefined)',
|
|
1077
1097
|
value: input3.preferredBins
|
|
1078
1098
|
})].every((flag) => flag);
|
|
1079
|
-
const $
|
|
1080
|
-
path: _path2 + ".
|
|
1099
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1100
|
+
path: _path2 + ".id",
|
|
1081
1101
|
expected: "string",
|
|
1082
|
-
value: input3.
|
|
1083
|
-
}), "string" === typeof input3.
|
|
1084
|
-
path: _path2 + ".
|
|
1102
|
+
value: input3.id
|
|
1103
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1104
|
+
path: _path2 + ".name",
|
|
1085
1105
|
expected: "string",
|
|
1086
|
-
value: input3.
|
|
1106
|
+
value: input3.name
|
|
1107
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1108
|
+
path: _path2 + ".type",
|
|
1109
|
+
expected: '"geneExpression"',
|
|
1110
|
+
value: input3.type
|
|
1111
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1112
|
+
path: _path2 + ".child_types",
|
|
1113
|
+
expected: "(Array<string> | undefined)",
|
|
1114
|
+
value: input3.child_types
|
|
1115
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1116
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1117
|
+
expected: "string",
|
|
1118
|
+
value: elem
|
|
1119
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1120
|
+
path: _path2 + ".child_types",
|
|
1121
|
+
expected: "(Array<string> | undefined)",
|
|
1122
|
+
value: input3.child_types
|
|
1123
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1124
|
+
path: _path2 + ".hashtmldetail",
|
|
1125
|
+
expected: "(boolean | undefined)",
|
|
1126
|
+
value: input3.hashtmldetail
|
|
1127
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1128
|
+
path: _path2 + ".included_types",
|
|
1129
|
+
expected: "(Array<string> | undefined)",
|
|
1130
|
+
value: input3.included_types
|
|
1131
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1132
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1133
|
+
expected: "string",
|
|
1134
|
+
value: elem
|
|
1135
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1136
|
+
path: _path2 + ".included_types",
|
|
1137
|
+
expected: "(Array<string> | undefined)",
|
|
1138
|
+
value: input3.included_types
|
|
1139
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1140
|
+
path: _path2 + ".isleaf",
|
|
1141
|
+
expected: "(boolean | undefined)",
|
|
1142
|
+
value: input3.isleaf
|
|
1143
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1144
|
+
path: _path2 + ".values",
|
|
1145
|
+
expected: "(TermValues | undefined)",
|
|
1146
|
+
value: input3.values
|
|
1147
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1148
|
+
path: _path2 + ".values",
|
|
1149
|
+
expected: "(TermValues | undefined)",
|
|
1150
|
+
value: input3.values
|
|
1151
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1152
|
+
path: _path2 + ".skipValuesBuild",
|
|
1153
|
+
expected: "(boolean | undefined)",
|
|
1154
|
+
value: input3.skipValuesBuild
|
|
1155
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1156
|
+
path: _path2 + ".continuousColorScale",
|
|
1157
|
+
expected: "(__type.o2 | undefined)",
|
|
1158
|
+
value: input3.continuousColorScale
|
|
1159
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1160
|
+
path: _path2 + ".continuousColorScale",
|
|
1161
|
+
expected: "(__type.o2 | undefined)",
|
|
1162
|
+
value: input3.continuousColorScale
|
|
1163
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1164
|
+
path: _path2 + ".unit",
|
|
1165
|
+
expected: "(string | undefined)",
|
|
1166
|
+
value: input3.unit
|
|
1167
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1168
|
+
path: _path2 + ".gene",
|
|
1169
|
+
expected: "string",
|
|
1170
|
+
value: input3.gene
|
|
1171
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1172
|
+
path: _path2 + ".bins",
|
|
1173
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1174
|
+
value: input3.bins
|
|
1175
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1176
|
+
path: _path2 + ".bins",
|
|
1177
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1178
|
+
value: input3.bins
|
|
1179
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1180
|
+
path: _path2 + ".chr",
|
|
1181
|
+
expected: "(string | undefined)",
|
|
1182
|
+
value: input3.chr
|
|
1183
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1184
|
+
path: _path2 + ".start",
|
|
1185
|
+
expected: "(number | undefined)",
|
|
1186
|
+
value: input3.start
|
|
1187
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1188
|
+
path: _path2 + ".stop",
|
|
1189
|
+
expected: "(number | undefined)",
|
|
1190
|
+
value: input3.stop
|
|
1087
1191
|
})].every((flag) => flag);
|
|
1088
|
-
const $
|
|
1192
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1089
1193
|
path: _path2 + ".key",
|
|
1090
1194
|
expected: "string",
|
|
1091
1195
|
value: input3.key
|
|
@@ -1102,7 +1206,7 @@ var validPercentileRequest = (input) => {
|
|
|
1102
1206
|
expected: "(string | undefined)",
|
|
1103
1207
|
value: input3.label
|
|
1104
1208
|
})].every((flag) => flag);
|
|
1105
|
-
const $
|
|
1209
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1106
1210
|
path: _path2 + ".join",
|
|
1107
1211
|
expected: "(string | undefined)",
|
|
1108
1212
|
value: input3.join
|
|
@@ -1114,7 +1218,7 @@ var validPercentileRequest = (input) => {
|
|
|
1114
1218
|
path: _path2 + ".term",
|
|
1115
1219
|
expected: "ConditionTerm",
|
|
1116
1220
|
value: input3.term
|
|
1117
|
-
})) && $
|
|
1221
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1118
1222
|
path: _path2 + ".term",
|
|
1119
1223
|
expected: "ConditionTerm",
|
|
1120
1224
|
value: input3.term
|
|
@@ -1134,12 +1238,12 @@ var validPercentileRequest = (input) => {
|
|
|
1134
1238
|
path: _path2 + ".grade_and_child",
|
|
1135
1239
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1136
1240
|
value: input3.grade_and_child
|
|
1137
|
-
})) && input3.grade_and_child.map((elem,
|
|
1138
|
-
path: _path2 + ".grade_and_child[" +
|
|
1241
|
+
})) && input3.grade_and_child.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1242
|
+
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
1139
1243
|
expected: "GradeAndChildEntry",
|
|
1140
1244
|
value: elem
|
|
1141
|
-
})) && $
|
|
1142
|
-
path: _path2 + ".grade_and_child[" +
|
|
1245
|
+
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1246
|
+
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
1143
1247
|
expected: "GradeAndChildEntry",
|
|
1144
1248
|
value: elem
|
|
1145
1249
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1147,7 +1251,7 @@ var validPercentileRequest = (input) => {
|
|
|
1147
1251
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1148
1252
|
value: input3.grade_and_child
|
|
1149
1253
|
})].every((flag) => flag);
|
|
1150
|
-
const $
|
|
1254
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1151
1255
|
path: _path2 + ".id",
|
|
1152
1256
|
expected: "string",
|
|
1153
1257
|
value: input3.id
|
|
@@ -1163,8 +1267,8 @@ var validPercentileRequest = (input) => {
|
|
|
1163
1267
|
path: _path2 + ".child_types",
|
|
1164
1268
|
expected: "(Array<string> | undefined)",
|
|
1165
1269
|
value: input3.child_types
|
|
1166
|
-
})) && input3.child_types.map((elem,
|
|
1167
|
-
path: _path2 + ".child_types[" +
|
|
1270
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1168
1272
|
expected: "string",
|
|
1169
1273
|
value: elem
|
|
1170
1274
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1179,8 +1283,8 @@ var validPercentileRequest = (input) => {
|
|
|
1179
1283
|
path: _path2 + ".included_types",
|
|
1180
1284
|
expected: "(Array<string> | undefined)",
|
|
1181
1285
|
value: input3.included_types
|
|
1182
|
-
})) && input3.included_types.map((elem,
|
|
1183
|
-
path: _path2 + ".included_types[" +
|
|
1286
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1287
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1184
1288
|
expected: "string",
|
|
1185
1289
|
value: elem
|
|
1186
1290
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1204,7 +1308,7 @@ var validPercentileRequest = (input) => {
|
|
|
1204
1308
|
expected: "(boolean | undefined)",
|
|
1205
1309
|
value: input3.skipValuesBuild
|
|
1206
1310
|
})].every((flag) => flag);
|
|
1207
|
-
const $
|
|
1311
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1208
1312
|
path: _path2 + ".grade",
|
|
1209
1313
|
expected: "number",
|
|
1210
1314
|
value: input3.grade
|
|
@@ -1221,7 +1325,7 @@ var validPercentileRequest = (input) => {
|
|
|
1221
1325
|
expected: "string",
|
|
1222
1326
|
value: input3.child_label
|
|
1223
1327
|
})].every((flag) => flag);
|
|
1224
|
-
const $
|
|
1328
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1225
1329
|
path: _path2 + ".join",
|
|
1226
1330
|
expected: "(string | undefined)",
|
|
1227
1331
|
value: input3.join
|
|
@@ -1233,7 +1337,7 @@ var validPercentileRequest = (input) => {
|
|
|
1233
1337
|
path: _path2 + ".term",
|
|
1234
1338
|
expected: "DtTerm",
|
|
1235
1339
|
value: input3.term
|
|
1236
|
-
})) && $
|
|
1340
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1237
1341
|
path: _path2 + ".term",
|
|
1238
1342
|
expected: "DtTerm",
|
|
1239
1343
|
value: input3.term
|
|
@@ -1241,12 +1345,12 @@ var validPercentileRequest = (input) => {
|
|
|
1241
1345
|
path: _path2 + ".values",
|
|
1242
1346
|
expected: "Array<__type>.o2",
|
|
1243
1347
|
value: input3.values
|
|
1244
|
-
})) && input3.values.map((elem,
|
|
1245
|
-
path: _path2 + ".values[" +
|
|
1348
|
+
})) && input3.values.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".values[" + _index23 + "]",
|
|
1246
1350
|
expected: "__type.o4",
|
|
1247
1351
|
value: elem
|
|
1248
|
-
})) && $
|
|
1249
|
-
path: _path2 + ".values[" +
|
|
1352
|
+
})) && $vo34(elem, _path2 + ".values[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1353
|
+
path: _path2 + ".values[" + _index23 + "]",
|
|
1250
1354
|
expected: "__type.o4",
|
|
1251
1355
|
value: elem
|
|
1252
1356
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1262,7 +1366,7 @@ var validPercentileRequest = (input) => {
|
|
|
1262
1366
|
expected: "(boolean | undefined)",
|
|
1263
1367
|
value: input3.excludeGeneName
|
|
1264
1368
|
})].every((flag) => flag);
|
|
1265
|
-
const $
|
|
1369
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1266
1370
|
path: _path2 + ".id",
|
|
1267
1371
|
expected: "string",
|
|
1268
1372
|
value: input3.id
|
|
@@ -1282,7 +1386,7 @@ var validPercentileRequest = (input) => {
|
|
|
1282
1386
|
path: _path2 + ".parentTerm",
|
|
1283
1387
|
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
1388
|
value: input3.parentTerm
|
|
1285
|
-
})) && $
|
|
1389
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1286
1390
|
path: _path2 + ".parentTerm",
|
|
1287
1391
|
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
1392
|
value: input3.parentTerm
|
|
@@ -1311,7 +1415,7 @@ var validPercentileRequest = (input) => {
|
|
|
1311
1415
|
expected: "TermValues",
|
|
1312
1416
|
value: input3.values
|
|
1313
1417
|
})].every((flag) => flag);
|
|
1314
|
-
const $
|
|
1418
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1315
1419
|
path: _path2 + ".id",
|
|
1316
1420
|
expected: "string",
|
|
1317
1421
|
value: input3.id
|
|
@@ -1327,8 +1431,8 @@ var validPercentileRequest = (input) => {
|
|
|
1327
1431
|
path: _path2 + ".child_types",
|
|
1328
1432
|
expected: "(Array<string> | undefined)",
|
|
1329
1433
|
value: input3.child_types
|
|
1330
|
-
})) && input3.child_types.map((elem,
|
|
1331
|
-
path: _path2 + ".child_types[" +
|
|
1434
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1435
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1332
1436
|
expected: "string",
|
|
1333
1437
|
value: elem
|
|
1334
1438
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1343,8 +1447,8 @@ var validPercentileRequest = (input) => {
|
|
|
1343
1447
|
path: _path2 + ".included_types",
|
|
1344
1448
|
expected: "(Array<string> | undefined)",
|
|
1345
1449
|
value: input3.included_types
|
|
1346
|
-
})) && input3.included_types.map((elem,
|
|
1347
|
-
path: _path2 + ".included_types[" +
|
|
1450
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1451
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1348
1452
|
expected: "string",
|
|
1349
1453
|
value: elem
|
|
1350
1454
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1391,12 +1495,12 @@ var validPercentileRequest = (input) => {
|
|
|
1391
1495
|
path: _path2 + ".genes",
|
|
1392
1496
|
expected: "Array<GvGeneTerm>",
|
|
1393
1497
|
value: input3.genes
|
|
1394
|
-
})) && input3.genes.map((elem,
|
|
1395
|
-
path: _path2 + ".genes[" +
|
|
1498
|
+
})) && input3.genes.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1499
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1396
1500
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1397
1501
|
value: elem
|
|
1398
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1399
|
-
path: _path2 + ".genes[" +
|
|
1502
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1503
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1400
1504
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1401
1505
|
value: elem
|
|
1402
1506
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1415,12 +1519,12 @@ var validPercentileRequest = (input) => {
|
|
|
1415
1519
|
path: _path2 + ".childTerms",
|
|
1416
1520
|
expected: "(Array<DtTerm> | undefined)",
|
|
1417
1521
|
value: input3.childTerms
|
|
1418
|
-
})) && input3.childTerms.map((elem,
|
|
1419
|
-
path: _path2 + ".childTerms[" +
|
|
1522
|
+
})) && input3.childTerms.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1523
|
+
path: _path2 + ".childTerms[" + _index27 + "]",
|
|
1420
1524
|
expected: "DtTerm",
|
|
1421
1525
|
value: elem
|
|
1422
|
-
})) && $
|
|
1423
|
-
path: _path2 + ".childTerms[" +
|
|
1526
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1527
|
+
path: _path2 + ".childTerms[" + _index27 + "]",
|
|
1424
1528
|
expected: "DtTerm",
|
|
1425
1529
|
value: elem
|
|
1426
1530
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1428,7 +1532,7 @@ var validPercentileRequest = (input) => {
|
|
|
1428
1532
|
expected: "(Array<DtTerm> | undefined)",
|
|
1429
1533
|
value: input3.childTerms
|
|
1430
1534
|
})].every((flag) => flag);
|
|
1431
|
-
const $
|
|
1535
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1432
1536
|
path: _path2 + ".id",
|
|
1433
1537
|
expected: "string",
|
|
1434
1538
|
value: input3.id
|
|
@@ -1444,8 +1548,8 @@ var validPercentileRequest = (input) => {
|
|
|
1444
1548
|
path: _path2 + ".child_types",
|
|
1445
1549
|
expected: "(Array<string> | undefined)",
|
|
1446
1550
|
value: input3.child_types
|
|
1447
|
-
})) && input3.child_types.map((elem,
|
|
1448
|
-
path: _path2 + ".child_types[" +
|
|
1551
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1552
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1449
1553
|
expected: "string",
|
|
1450
1554
|
value: elem
|
|
1451
1555
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1460,8 +1564,8 @@ var validPercentileRequest = (input) => {
|
|
|
1460
1564
|
path: _path2 + ".included_types",
|
|
1461
1565
|
expected: "(Array<string> | undefined)",
|
|
1462
1566
|
value: input3.included_types
|
|
1463
|
-
})) && input3.included_types.map((elem,
|
|
1464
|
-
path: _path2 + ".included_types[" +
|
|
1567
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1568
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1465
1569
|
expected: "string",
|
|
1466
1570
|
value: elem
|
|
1467
1571
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1505,7 +1609,7 @@ var validPercentileRequest = (input) => {
|
|
|
1505
1609
|
expected: "(number | undefined)",
|
|
1506
1610
|
value: input3.stop
|
|
1507
1611
|
})].every((flag) => flag);
|
|
1508
|
-
const $
|
|
1612
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1509
1613
|
path: _path2 + ".id",
|
|
1510
1614
|
expected: "string",
|
|
1511
1615
|
value: input3.id
|
|
@@ -1521,8 +1625,8 @@ var validPercentileRequest = (input) => {
|
|
|
1521
1625
|
path: _path2 + ".child_types",
|
|
1522
1626
|
expected: "(Array<string> | undefined)",
|
|
1523
1627
|
value: input3.child_types
|
|
1524
|
-
})) && input3.child_types.map((elem,
|
|
1525
|
-
path: _path2 + ".child_types[" +
|
|
1628
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1629
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1526
1630
|
expected: "string",
|
|
1527
1631
|
value: elem
|
|
1528
1632
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1537,8 +1641,8 @@ var validPercentileRequest = (input) => {
|
|
|
1537
1641
|
path: _path2 + ".included_types",
|
|
1538
1642
|
expected: "(Array<string> | undefined)",
|
|
1539
1643
|
value: input3.included_types
|
|
1540
|
-
})) && input3.included_types.map((elem,
|
|
1541
|
-
path: _path2 + ".included_types[" +
|
|
1644
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1645
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1542
1646
|
expected: "string",
|
|
1543
1647
|
value: elem
|
|
1544
1648
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1578,7 +1682,7 @@ var validPercentileRequest = (input) => {
|
|
|
1578
1682
|
expected: "number",
|
|
1579
1683
|
value: input3.stop
|
|
1580
1684
|
})].every((flag) => flag);
|
|
1581
|
-
const $
|
|
1685
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1582
1686
|
path: _path2 + ".id",
|
|
1583
1687
|
expected: "string",
|
|
1584
1688
|
value: input3.id
|
|
@@ -1594,8 +1698,8 @@ var validPercentileRequest = (input) => {
|
|
|
1594
1698
|
path: _path2 + ".child_types",
|
|
1595
1699
|
expected: "(Array<string> | undefined)",
|
|
1596
1700
|
value: input3.child_types
|
|
1597
|
-
})) && input3.child_types.map((elem,
|
|
1598
|
-
path: _path2 + ".child_types[" +
|
|
1701
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1702
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1599
1703
|
expected: "string",
|
|
1600
1704
|
value: elem
|
|
1601
1705
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1610,8 +1714,8 @@ var validPercentileRequest = (input) => {
|
|
|
1610
1714
|
path: _path2 + ".included_types",
|
|
1611
1715
|
expected: "(Array<string> | undefined)",
|
|
1612
1716
|
value: input3.included_types
|
|
1613
|
-
})) && input3.included_types.map((elem,
|
|
1614
|
-
path: _path2 + ".included_types[" +
|
|
1717
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1718
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1615
1719
|
expected: "string",
|
|
1616
1720
|
value: elem
|
|
1617
1721
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1654,12 +1758,12 @@ var validPercentileRequest = (input) => {
|
|
|
1654
1758
|
path: _path2 + ".genes",
|
|
1655
1759
|
expected: "Array<GvGeneTerm>",
|
|
1656
1760
|
value: input3.genes
|
|
1657
|
-
})) && input3.genes.map((elem,
|
|
1658
|
-
path: _path2 + ".genes[" +
|
|
1761
|
+
})) && input3.genes.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1762
|
+
path: _path2 + ".genes[" + _index34 + "]",
|
|
1659
1763
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1660
1764
|
value: elem
|
|
1661
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1662
|
-
path: _path2 + ".genes[" +
|
|
1765
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1766
|
+
path: _path2 + ".genes[" + _index34 + "]",
|
|
1663
1767
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1664
1768
|
value: elem
|
|
1665
1769
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1678,12 +1782,12 @@ var validPercentileRequest = (input) => {
|
|
|
1678
1782
|
path: _path2 + ".childTerms",
|
|
1679
1783
|
expected: "(Array<DtTerm> | undefined)",
|
|
1680
1784
|
value: input3.childTerms
|
|
1681
|
-
})) && input3.childTerms.map((elem,
|
|
1682
|
-
path: _path2 + ".childTerms[" +
|
|
1785
|
+
})) && input3.childTerms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1786
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
1683
1787
|
expected: "DtTerm",
|
|
1684
1788
|
value: elem
|
|
1685
|
-
})) && $
|
|
1686
|
-
path: _path2 + ".childTerms[" +
|
|
1789
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1790
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
1687
1791
|
expected: "DtTerm",
|
|
1688
1792
|
value: elem
|
|
1689
1793
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1691,7 +1795,7 @@ var validPercentileRequest = (input) => {
|
|
|
1691
1795
|
expected: "(Array<DtTerm> | undefined)",
|
|
1692
1796
|
value: input3.childTerms
|
|
1693
1797
|
})].every((flag) => flag);
|
|
1694
|
-
const $
|
|
1798
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1695
1799
|
path: _path2 + ".key",
|
|
1696
1800
|
expected: "string",
|
|
1697
1801
|
value: input3.key
|
|
@@ -1704,7 +1808,7 @@ var validPercentileRequest = (input) => {
|
|
|
1704
1808
|
expected: "string",
|
|
1705
1809
|
value: input3.value
|
|
1706
1810
|
})].every((flag) => flag);
|
|
1707
|
-
const $
|
|
1811
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1708
1812
|
path: _path2 + ".id",
|
|
1709
1813
|
expected: "string",
|
|
1710
1814
|
value: input3.id
|
|
@@ -1720,8 +1824,8 @@ var validPercentileRequest = (input) => {
|
|
|
1720
1824
|
path: _path2 + ".child_types",
|
|
1721
1825
|
expected: "(Array<string> | undefined)",
|
|
1722
1826
|
value: input3.child_types
|
|
1723
|
-
})) && input3.child_types.map((elem,
|
|
1724
|
-
path: _path2 + ".child_types[" +
|
|
1827
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1828
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1725
1829
|
expected: "string",
|
|
1726
1830
|
value: elem
|
|
1727
1831
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1736,8 +1840,8 @@ var validPercentileRequest = (input) => {
|
|
|
1736
1840
|
path: _path2 + ".included_types",
|
|
1737
1841
|
expected: "(Array<string> | undefined)",
|
|
1738
1842
|
value: input3.included_types
|
|
1739
|
-
})) && input3.included_types.map((elem,
|
|
1740
|
-
path: _path2 + ".included_types[" +
|
|
1843
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1844
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1741
1845
|
expected: "string",
|
|
1742
1846
|
value: elem
|
|
1743
1847
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1780,12 +1884,12 @@ var validPercentileRequest = (input) => {
|
|
|
1780
1884
|
path: _path2 + ".genes",
|
|
1781
1885
|
expected: "Array<GvGeneTerm>",
|
|
1782
1886
|
value: input3.genes
|
|
1783
|
-
})) && input3.genes.map((elem,
|
|
1784
|
-
path: _path2 + ".genes[" +
|
|
1887
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1888
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1785
1889
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1786
1890
|
value: elem
|
|
1787
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1788
|
-
path: _path2 + ".genes[" +
|
|
1891
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1892
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1789
1893
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1790
1894
|
value: elem
|
|
1791
1895
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1804,12 +1908,12 @@ var validPercentileRequest = (input) => {
|
|
|
1804
1908
|
path: _path2 + ".childTerms",
|
|
1805
1909
|
expected: "Array<DtTerm>",
|
|
1806
1910
|
value: input3.childTerms
|
|
1807
|
-
})) && input3.childTerms.map((elem,
|
|
1808
|
-
path: _path2 + ".childTerms[" +
|
|
1911
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1912
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1809
1913
|
expected: "DtTerm",
|
|
1810
1914
|
value: elem
|
|
1811
|
-
})) && $
|
|
1812
|
-
path: _path2 + ".childTerms[" +
|
|
1915
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1916
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1813
1917
|
expected: "DtTerm",
|
|
1814
1918
|
value: elem
|
|
1815
1919
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1817,7 +1921,7 @@ var validPercentileRequest = (input) => {
|
|
|
1817
1921
|
expected: "Array<DtTerm>",
|
|
1818
1922
|
value: input3.childTerms
|
|
1819
1923
|
})].every((flag) => flag);
|
|
1820
|
-
const $
|
|
1924
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1821
1925
|
path: _path2 + ".id",
|
|
1822
1926
|
expected: "string",
|
|
1823
1927
|
value: input3.id
|
|
@@ -1833,8 +1937,8 @@ var validPercentileRequest = (input) => {
|
|
|
1833
1937
|
path: _path2 + ".child_types",
|
|
1834
1938
|
expected: "(Array<string> | undefined)",
|
|
1835
1939
|
value: input3.child_types
|
|
1836
|
-
})) && input3.child_types.map((elem,
|
|
1837
|
-
path: _path2 + ".child_types[" +
|
|
1940
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1941
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
1838
1942
|
expected: "string",
|
|
1839
1943
|
value: elem
|
|
1840
1944
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1849,8 +1953,8 @@ var validPercentileRequest = (input) => {
|
|
|
1849
1953
|
path: _path2 + ".included_types",
|
|
1850
1954
|
expected: "(Array<string> | undefined)",
|
|
1851
1955
|
value: input3.included_types
|
|
1852
|
-
})) && input3.included_types.map((elem,
|
|
1853
|
-
path: _path2 + ".included_types[" +
|
|
1956
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1957
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
1854
1958
|
expected: "string",
|
|
1855
1959
|
value: elem
|
|
1856
1960
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1882,7 +1986,7 @@ var validPercentileRequest = (input) => {
|
|
|
1882
1986
|
expected: "TermGroupSetting",
|
|
1883
1987
|
value: input3.groupsetting
|
|
1884
1988
|
})].every((flag) => flag);
|
|
1885
|
-
const $
|
|
1989
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1886
1990
|
path: _path2 + ".id",
|
|
1887
1991
|
expected: "string",
|
|
1888
1992
|
value: input3.id
|
|
@@ -1890,16 +1994,16 @@ var validPercentileRequest = (input) => {
|
|
|
1890
1994
|
path: _path2 + ".name",
|
|
1891
1995
|
expected: "string",
|
|
1892
1996
|
value: input3.name
|
|
1893
|
-
}), "integer" === input3.type || "float" === input3.type || "
|
|
1997
|
+
}), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1894
1998
|
path: _path2 + ".type",
|
|
1895
|
-
expected: '("date" | "float" | "
|
|
1999
|
+
expected: '("date" | "float" | "integer")',
|
|
1896
2000
|
value: input3.type
|
|
1897
2001
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1898
2002
|
path: _path2 + ".child_types",
|
|
1899
2003
|
expected: "(Array<string> | undefined)",
|
|
1900
2004
|
value: input3.child_types
|
|
1901
|
-
})) && input3.child_types.map((elem,
|
|
1902
|
-
path: _path2 + ".child_types[" +
|
|
2005
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2006
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
1903
2007
|
expected: "string",
|
|
1904
2008
|
value: elem
|
|
1905
2009
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1914,8 +2018,8 @@ var validPercentileRequest = (input) => {
|
|
|
1914
2018
|
path: _path2 + ".included_types",
|
|
1915
2019
|
expected: "(Array<string> | undefined)",
|
|
1916
2020
|
value: input3.included_types
|
|
1917
|
-
})) && input3.included_types.map((elem,
|
|
1918
|
-
path: _path2 + ".included_types[" +
|
|
2021
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2022
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
1919
2023
|
expected: "string",
|
|
1920
2024
|
value: elem
|
|
1921
2025
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1938,28 +2042,121 @@ var validPercentileRequest = (input) => {
|
|
|
1938
2042
|
path: _path2 + ".skipValuesBuild",
|
|
1939
2043
|
expected: "(boolean | undefined)",
|
|
1940
2044
|
value: input3.skipValuesBuild
|
|
2045
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2046
|
+
path: _path2 + ".continuousColorScale",
|
|
2047
|
+
expected: "(__type.o2 | undefined)",
|
|
2048
|
+
value: input3.continuousColorScale
|
|
2049
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2050
|
+
path: _path2 + ".continuousColorScale",
|
|
2051
|
+
expected: "(__type.o2 | undefined)",
|
|
2052
|
+
value: input3.continuousColorScale
|
|
2053
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2054
|
+
path: _path2 + ".unit",
|
|
2055
|
+
expected: "(string | undefined)",
|
|
2056
|
+
value: input3.unit
|
|
1941
2057
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1942
2058
|
path: _path2 + ".bins",
|
|
1943
2059
|
expected: "PresetNumericBins",
|
|
1944
2060
|
value: input3.bins
|
|
1945
|
-
})) && $
|
|
2061
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1946
2062
|
path: _path2 + ".bins",
|
|
1947
2063
|
expected: "PresetNumericBins",
|
|
1948
2064
|
value: input3.bins
|
|
1949
|
-
})
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
2065
|
+
})].every((flag) => flag);
|
|
2066
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2067
|
+
path: _path2 + ".id",
|
|
2068
|
+
expected: "string",
|
|
2069
|
+
value: input3.id
|
|
2070
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2071
|
+
path: _path2 + ".name",
|
|
2072
|
+
expected: "string",
|
|
2073
|
+
value: input3.name
|
|
2074
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
2075
|
+
path: _path2 + ".type",
|
|
2076
|
+
expected: '"geneExpression"',
|
|
2077
|
+
value: input3.type
|
|
2078
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2079
|
+
path: _path2 + ".child_types",
|
|
2080
|
+
expected: "(Array<string> | undefined)",
|
|
2081
|
+
value: input3.child_types
|
|
2082
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2083
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2084
|
+
expected: "string",
|
|
2085
|
+
value: elem
|
|
2086
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2087
|
+
path: _path2 + ".child_types",
|
|
2088
|
+
expected: "(Array<string> | undefined)",
|
|
2089
|
+
value: input3.child_types
|
|
2090
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2091
|
+
path: _path2 + ".hashtmldetail",
|
|
2092
|
+
expected: "(boolean | undefined)",
|
|
2093
|
+
value: input3.hashtmldetail
|
|
2094
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2095
|
+
path: _path2 + ".included_types",
|
|
2096
|
+
expected: "(Array<string> | undefined)",
|
|
2097
|
+
value: input3.included_types
|
|
2098
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2099
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2100
|
+
expected: "string",
|
|
2101
|
+
value: elem
|
|
2102
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2103
|
+
path: _path2 + ".included_types",
|
|
2104
|
+
expected: "(Array<string> | undefined)",
|
|
2105
|
+
value: input3.included_types
|
|
2106
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2107
|
+
path: _path2 + ".isleaf",
|
|
2108
|
+
expected: "(boolean | undefined)",
|
|
2109
|
+
value: input3.isleaf
|
|
2110
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2111
|
+
path: _path2 + ".values",
|
|
2112
|
+
expected: "(TermValues | undefined)",
|
|
2113
|
+
value: input3.values
|
|
2114
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2115
|
+
path: _path2 + ".values",
|
|
2116
|
+
expected: "(TermValues | undefined)",
|
|
2117
|
+
value: input3.values
|
|
2118
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2119
|
+
path: _path2 + ".skipValuesBuild",
|
|
2120
|
+
expected: "(boolean | undefined)",
|
|
2121
|
+
value: input3.skipValuesBuild
|
|
1953
2122
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1954
2123
|
path: _path2 + ".continuousColorScale",
|
|
1955
2124
|
expected: "(__type.o2 | undefined)",
|
|
1956
2125
|
value: input3.continuousColorScale
|
|
1957
|
-
})) && $
|
|
2126
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1958
2127
|
path: _path2 + ".continuousColorScale",
|
|
1959
2128
|
expected: "(__type.o2 | undefined)",
|
|
1960
2129
|
value: input3.continuousColorScale
|
|
2130
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2131
|
+
path: _path2 + ".unit",
|
|
2132
|
+
expected: "(string | undefined)",
|
|
2133
|
+
value: input3.unit
|
|
2134
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2135
|
+
path: _path2 + ".gene",
|
|
2136
|
+
expected: "string",
|
|
2137
|
+
value: input3.gene
|
|
2138
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2139
|
+
path: _path2 + ".bins",
|
|
2140
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2141
|
+
value: input3.bins
|
|
2142
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2143
|
+
path: _path2 + ".bins",
|
|
2144
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2145
|
+
value: input3.bins
|
|
2146
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".chr",
|
|
2148
|
+
expected: "(string | undefined)",
|
|
2149
|
+
value: input3.chr
|
|
2150
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2151
|
+
path: _path2 + ".start",
|
|
2152
|
+
expected: "(number | undefined)",
|
|
2153
|
+
value: input3.start
|
|
2154
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2155
|
+
path: _path2 + ".stop",
|
|
2156
|
+
expected: "(number | undefined)",
|
|
2157
|
+
value: input3.stop
|
|
1961
2158
|
})].every((flag) => flag);
|
|
1962
|
-
const $
|
|
2159
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1963
2160
|
path: _path2 + ".id",
|
|
1964
2161
|
expected: "string",
|
|
1965
2162
|
value: input3.id
|
|
@@ -1975,8 +2172,8 @@ var validPercentileRequest = (input) => {
|
|
|
1975
2172
|
path: _path2 + ".child_types",
|
|
1976
2173
|
expected: "(Array<string> | undefined)",
|
|
1977
2174
|
value: input3.child_types
|
|
1978
|
-
})) && input3.child_types.map((elem,
|
|
1979
|
-
path: _path2 + ".child_types[" +
|
|
2175
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2176
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
1980
2177
|
expected: "string",
|
|
1981
2178
|
value: elem
|
|
1982
2179
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1991,8 +2188,8 @@ var validPercentileRequest = (input) => {
|
|
|
1991
2188
|
path: _path2 + ".included_types",
|
|
1992
2189
|
expected: "(Array<string> | undefined)",
|
|
1993
2190
|
value: input3.included_types
|
|
1994
|
-
})) && input3.included_types.map((elem,
|
|
1995
|
-
path: _path2 + ".included_types[" +
|
|
2191
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2192
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
1996
2193
|
expected: "string",
|
|
1997
2194
|
value: elem
|
|
1998
2195
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2016,7 +2213,7 @@ var validPercentileRequest = (input) => {
|
|
|
2016
2213
|
expected: "(boolean | undefined)",
|
|
2017
2214
|
value: input3.skipValuesBuild
|
|
2018
2215
|
})].every((flag) => flag);
|
|
2019
|
-
const $
|
|
2216
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2020
2217
|
path: _path2 + ".id",
|
|
2021
2218
|
expected: "string",
|
|
2022
2219
|
value: input3.id
|
|
@@ -2032,8 +2229,8 @@ var validPercentileRequest = (input) => {
|
|
|
2032
2229
|
path: _path2 + ".child_types",
|
|
2033
2230
|
expected: "(Array<string> | undefined)",
|
|
2034
2231
|
value: input3.child_types
|
|
2035
|
-
})) && input3.child_types.map((elem,
|
|
2036
|
-
path: _path2 + ".child_types[" +
|
|
2232
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2233
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
2037
2234
|
expected: "string",
|
|
2038
2235
|
value: elem
|
|
2039
2236
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2048,8 +2245,8 @@ var validPercentileRequest = (input) => {
|
|
|
2048
2245
|
path: _path2 + ".included_types",
|
|
2049
2246
|
expected: "(Array<string> | undefined)",
|
|
2050
2247
|
value: input3.included_types
|
|
2051
|
-
})) && input3.included_types.map((elem,
|
|
2052
|
-
path: _path2 + ".included_types[" +
|
|
2248
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2249
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
2053
2250
|
expected: "string",
|
|
2054
2251
|
value: elem
|
|
2055
2252
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2080,12 +2277,12 @@ var validPercentileRequest = (input) => {
|
|
|
2080
2277
|
path: _path2 + ".snps",
|
|
2081
2278
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2082
2279
|
value: input3.snps
|
|
2083
|
-
})) && input3.snps.map((elem,
|
|
2084
|
-
path: _path2 + ".snps[" +
|
|
2280
|
+
})) && input3.snps.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2281
|
+
path: _path2 + ".snps[" + _index50 + "]",
|
|
2085
2282
|
expected: "SnpsEntry",
|
|
2086
2283
|
value: elem
|
|
2087
|
-
})) && $
|
|
2088
|
-
path: _path2 + ".snps[" +
|
|
2284
|
+
})) && $vo41(elem, _path2 + ".snps[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2285
|
+
path: _path2 + ".snps[" + _index50 + "]",
|
|
2089
2286
|
expected: "SnpsEntry",
|
|
2090
2287
|
value: elem
|
|
2091
2288
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2093,12 +2290,12 @@ var validPercentileRequest = (input) => {
|
|
|
2093
2290
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2094
2291
|
value: input3.snps
|
|
2095
2292
|
})].every((flag) => flag);
|
|
2096
|
-
const $
|
|
2293
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2097
2294
|
path: _path2 + ".altAlleles",
|
|
2098
2295
|
expected: "(Array<string> | undefined)",
|
|
2099
2296
|
value: input3.altAlleles
|
|
2100
|
-
})) && input3.altAlleles.map((elem,
|
|
2101
|
-
path: _path2 + ".altAlleles[" +
|
|
2297
|
+
})) && input3.altAlleles.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2298
|
+
path: _path2 + ".altAlleles[" + _index51 + "]",
|
|
2102
2299
|
expected: "string",
|
|
2103
2300
|
value: elem
|
|
2104
2301
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2109,12 +2306,12 @@ var validPercentileRequest = (input) => {
|
|
|
2109
2306
|
path: _path2 + ".alleles",
|
|
2110
2307
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2111
2308
|
value: input3.alleles
|
|
2112
|
-
})) && input3.alleles.map((elem,
|
|
2113
|
-
path: _path2 + ".alleles[" +
|
|
2309
|
+
})) && input3.alleles.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2310
|
+
path: _path2 + ".alleles[" + _index52 + "]",
|
|
2114
2311
|
expected: "AllelesEntry",
|
|
2115
2312
|
value: elem
|
|
2116
|
-
})) && $
|
|
2117
|
-
path: _path2 + ".alleles[" +
|
|
2313
|
+
})) && $vo42(elem, _path2 + ".alleles[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2314
|
+
path: _path2 + ".alleles[" + _index52 + "]",
|
|
2118
2315
|
expected: "AllelesEntry",
|
|
2119
2316
|
value: elem
|
|
2120
2317
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2129,7 +2326,7 @@ var validPercentileRequest = (input) => {
|
|
|
2129
2326
|
path: _path2 + ".gt2count",
|
|
2130
2327
|
expected: "(__type.o5 | undefined)",
|
|
2131
2328
|
value: input3.gt2count
|
|
2132
|
-
})) && $
|
|
2329
|
+
})) && $vo43(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2133
2330
|
path: _path2 + ".gt2count",
|
|
2134
2331
|
expected: "(__type.o5 | undefined)",
|
|
2135
2332
|
value: input3.gt2count
|
|
@@ -2158,7 +2355,7 @@ var validPercentileRequest = (input) => {
|
|
|
2158
2355
|
expected: "(number | undefined)",
|
|
2159
2356
|
value: input3.pos
|
|
2160
2357
|
})].every((flag) => flag);
|
|
2161
|
-
const $
|
|
2358
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2162
2359
|
path: _path2 + ".allele",
|
|
2163
2360
|
expected: "string",
|
|
2164
2361
|
value: input3.allele
|
|
@@ -2171,7 +2368,7 @@ var validPercentileRequest = (input) => {
|
|
|
2171
2368
|
expected: "boolean",
|
|
2172
2369
|
value: input3.isRef
|
|
2173
2370
|
})].every((flag) => flag);
|
|
2174
|
-
const $
|
|
2371
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2175
2372
|
path: _path2 + ".k",
|
|
2176
2373
|
expected: "string",
|
|
2177
2374
|
value: input3.k
|
|
@@ -2180,7 +2377,7 @@ var validPercentileRequest = (input) => {
|
|
|
2180
2377
|
expected: "(number | string)",
|
|
2181
2378
|
value: input3.v
|
|
2182
2379
|
})].every((flag) => flag);
|
|
2183
|
-
const $
|
|
2380
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2184
2381
|
path: _path2 + ".id",
|
|
2185
2382
|
expected: "string",
|
|
2186
2383
|
value: input3.id
|
|
@@ -2196,8 +2393,8 @@ var validPercentileRequest = (input) => {
|
|
|
2196
2393
|
path: _path2 + ".child_types",
|
|
2197
2394
|
expected: "(Array<string> | undefined)",
|
|
2198
2395
|
value: input3.child_types
|
|
2199
|
-
})) && input3.child_types.map((elem,
|
|
2200
|
-
path: _path2 + ".child_types[" +
|
|
2396
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2397
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
2201
2398
|
expected: "string",
|
|
2202
2399
|
value: elem
|
|
2203
2400
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2212,8 +2409,8 @@ var validPercentileRequest = (input) => {
|
|
|
2212
2409
|
path: _path2 + ".included_types",
|
|
2213
2410
|
expected: "(Array<string> | undefined)",
|
|
2214
2411
|
value: input3.included_types
|
|
2215
|
-
})) && input3.included_types.map((elem,
|
|
2216
|
-
path: _path2 + ".included_types[" +
|
|
2412
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2413
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
2217
2414
|
expected: "string",
|
|
2218
2415
|
value: elem
|
|
2219
2416
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2228,7 +2425,7 @@ var validPercentileRequest = (input) => {
|
|
|
2228
2425
|
path: _path2 + ".values",
|
|
2229
2426
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2230
2427
|
value: input3.values
|
|
2231
|
-
})) && $
|
|
2428
|
+
})) && $vo45(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2232
2429
|
path: _path2 + ".values",
|
|
2233
2430
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2234
2431
|
value: input3.values
|
|
@@ -2237,7 +2434,7 @@ var validPercentileRequest = (input) => {
|
|
|
2237
2434
|
expected: "(boolean | undefined)",
|
|
2238
2435
|
value: input3.skipValuesBuild
|
|
2239
2436
|
})].every((flag) => flag);
|
|
2240
|
-
const $
|
|
2437
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2241
2438
|
const value = input3[key];
|
|
2242
2439
|
if (void 0 === value)
|
|
2243
2440
|
return true;
|
|
@@ -2246,7 +2443,7 @@ var validPercentileRequest = (input) => {
|
|
|
2246
2443
|
path: _path2 + $join(key),
|
|
2247
2444
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2248
2445
|
value
|
|
2249
|
-
})) && $
|
|
2446
|
+
})) && $vo46(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2250
2447
|
path: _path2 + $join(key),
|
|
2251
2448
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2252
2449
|
value
|
|
@@ -2256,14 +2453,14 @@ var validPercentileRequest = (input) => {
|
|
|
2256
2453
|
path: _path2 + $join(key),
|
|
2257
2454
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2258
2455
|
value
|
|
2259
|
-
})) && $
|
|
2456
|
+
})) && $vo46(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2260
2457
|
path: _path2 + $join(key),
|
|
2261
2458
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2262
2459
|
value
|
|
2263
2460
|
});
|
|
2264
2461
|
return true;
|
|
2265
2462
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2266
|
-
const $
|
|
2463
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2267
2464
|
path: _path2 + ".key",
|
|
2268
2465
|
expected: "(string | undefined)",
|
|
2269
2466
|
value: input3.key
|
|
@@ -2307,12 +2504,12 @@ var validPercentileRequest = (input) => {
|
|
|
2307
2504
|
path: _path2 + ".list",
|
|
2308
2505
|
expected: "Array<__type>.o3",
|
|
2309
2506
|
value: input3.list
|
|
2310
|
-
})) && input3.list.map((elem,
|
|
2311
|
-
path: _path2 + ".list[" +
|
|
2507
|
+
})) && input3.list.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2508
|
+
path: _path2 + ".list[" + _index55 + "]",
|
|
2312
2509
|
expected: "__type.o6",
|
|
2313
2510
|
value: elem
|
|
2314
|
-
})) && $
|
|
2315
|
-
path: _path2 + ".list[" +
|
|
2511
|
+
})) && $vo47(elem, _path2 + ".list[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2512
|
+
path: _path2 + ".list[" + _index55 + "]",
|
|
2316
2513
|
expected: "__type.o6",
|
|
2317
2514
|
value: elem
|
|
2318
2515
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2320,7 +2517,7 @@ var validPercentileRequest = (input) => {
|
|
|
2320
2517
|
expected: "Array<__type>.o3",
|
|
2321
2518
|
value: input3.list
|
|
2322
2519
|
}), true].every((flag) => flag);
|
|
2323
|
-
const $
|
|
2520
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
2324
2521
|
path: _path2 + ".sampleId",
|
|
2325
2522
|
expected: "string",
|
|
2326
2523
|
value: input3.sampleId
|
|
@@ -2353,16 +2550,16 @@ var validPercentileRequest = (input) => {
|
|
|
2353
2550
|
})();
|
|
2354
2551
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2355
2552
|
if (true === input3.startunbounded)
|
|
2356
|
-
return $
|
|
2553
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
2357
2554
|
if (true === input3.stopunbounded)
|
|
2358
|
-
return $
|
|
2359
|
-
return $
|
|
2555
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2556
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2360
2557
|
})();
|
|
2361
2558
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2362
2559
|
if ("gene" === input3.kind)
|
|
2363
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
2364
|
-
if ("coord" === input3.kind)
|
|
2365
2560
|
return $vo31(input3, _path2, _exceptionable2);
|
|
2561
|
+
if ("coord" === input3.kind)
|
|
2562
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
2366
2563
|
return $report(_exceptionable2, {
|
|
2367
2564
|
path: _path2,
|
|
2368
2565
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2373,58 +2570,71 @@ var validPercentileRequest = (input) => {
|
|
|
2373
2570
|
if ("gene" === input3.kind)
|
|
2374
2571
|
return $vo1(input3, _path2, _exceptionable2);
|
|
2375
2572
|
if ("coord" === input3.kind)
|
|
2376
|
-
return $vo34(input3, _path2, _exceptionable2);
|
|
2377
|
-
if ("categorical" === input3.type)
|
|
2378
2573
|
return $vo35(input3, _path2, _exceptionable2);
|
|
2379
|
-
if ("
|
|
2574
|
+
if ("categorical" === input3.type)
|
|
2380
2575
|
return $vo36(input3, _path2, _exceptionable2);
|
|
2381
|
-
if ("
|
|
2576
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
2382
2577
|
return $vo37(input3, _path2, _exceptionable2);
|
|
2383
|
-
|
|
2578
|
+
if ("geneExpression" === input3.type)
|
|
2579
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
2580
|
+
if ("condition" === input3.type)
|
|
2581
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
2582
|
+
return $vo40(input3, _path2, false) || $vo44(input3, _path2, false);
|
|
2384
2583
|
})();
|
|
2385
2584
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2386
2585
|
if (void 0 !== input3.ranges)
|
|
2387
2586
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2388
|
-
return $vo6(input3, _path2, false) || $
|
|
2587
|
+
return $vo6(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false);
|
|
2389
2588
|
})();
|
|
2390
2589
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2590
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
2591
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
2592
|
+
if ("geneExpression" === input3.type)
|
|
2593
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
2594
|
+
return $report(_exceptionable2, {
|
|
2595
|
+
path: _path2,
|
|
2596
|
+
expected: "(NumericDictTerm | GeneExpressionTerm)",
|
|
2597
|
+
value: input3
|
|
2598
|
+
});
|
|
2599
|
+
})();
|
|
2600
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2391
2601
|
if ("regular-bin" === input3.type)
|
|
2392
|
-
return $
|
|
2602
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2393
2603
|
if ("custom-bin" === input3.type)
|
|
2394
|
-
return $
|
|
2604
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2395
2605
|
return $report(_exceptionable2, {
|
|
2396
2606
|
path: _path2,
|
|
2397
2607
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
2398
2608
|
value: input3
|
|
2399
2609
|
});
|
|
2400
2610
|
})();
|
|
2401
|
-
const $
|
|
2611
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2402
2612
|
if (true === input3.startunbounded)
|
|
2403
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
2404
|
-
if (void 0 !== input3.start)
|
|
2405
2613
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2614
|
+
if (void 0 !== input3.start)
|
|
2615
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2406
2616
|
return $report(_exceptionable2, {
|
|
2407
2617
|
path: _path2,
|
|
2408
2618
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
2409
2619
|
value: input3
|
|
2410
2620
|
});
|
|
2411
2621
|
})();
|
|
2412
|
-
const $
|
|
2622
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2413
2623
|
if (void 0 !== input3.stop)
|
|
2414
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
2415
|
-
if (true === input3.stopunbounded)
|
|
2416
2624
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2625
|
+
if (true === input3.stopunbounded)
|
|
2626
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2417
2627
|
return $report(_exceptionable2, {
|
|
2418
2628
|
path: _path2,
|
|
2419
2629
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2420
2630
|
value: input3
|
|
2421
2631
|
});
|
|
2422
2632
|
})();
|
|
2423
|
-
const $
|
|
2633
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2424
2634
|
if ("gene" === input3.kind)
|
|
2425
|
-
return $
|
|
2635
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
2426
2636
|
if ("coord" === input3.kind)
|
|
2427
|
-
return $
|
|
2637
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2428
2638
|
return $report(_exceptionable2, {
|
|
2429
2639
|
path: _path2,
|
|
2430
2640
|
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; })',
|