@sjcrh/proteinpaint-types 2.178.0 → 2.179.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-GAYJUXNZ.js → chunk-4J5BPYYR.js} +429 -201
- package/dist/{chunk-WXCXZRKP.js → chunk-6DWX22RA.js} +707 -479
- package/dist/{chunk-UWAVSKMD.js → chunk-7V7USAKJ.js} +705 -477
- package/dist/{chunk-2XQJCZEO.js → chunk-A2FMYVMI.js} +520 -292
- package/dist/{chunk-FQYNRDHB.js → chunk-CC4IBTKW.js} +429 -201
- package/dist/{chunk-2Y7WE3JU.js → chunk-CSK3ZCDF.js} +705 -477
- package/dist/{chunk-UFYKXOY2.js → chunk-DUFHC6EI.js} +1073 -625
- package/dist/{chunk-NRV6MPRM.js → chunk-E2O4N7OC.js} +1346 -898
- package/dist/{chunk-CYQDO4FX.js → chunk-FQLGK65A.js} +742 -456
- package/dist/{chunk-HZEV7D5E.js → chunk-JTZQYNIT.js} +705 -477
- package/dist/{chunk-CX2Y673E.js → chunk-MKM4A5NU.js} +429 -201
- package/dist/{chunk-26UKKPK2.js → chunk-QQNDJ6BY.js} +713 -485
- package/dist/{chunk-PHRILOVX.js → chunk-RANWGPF7.js} +429 -201
- package/dist/{chunk-VBNF7BRI.js → chunk-XAHE4RNZ.js} +452 -224
- package/dist/{chunk-YHKFJCXG.js → chunk-YI63CW7Y.js} +646 -426
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +429 -201
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.dmr.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 +28 -8
- package/src/filter.ts +33 -4
- package/src/routes/termdb.chat2.ts +13 -2
- package/src/routes/termdb.dmr.ts +17 -2
- package/src/terms/termCollection.ts +0 -3
|
@@ -25,9 +25,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "number" === typeof input3.maxGenes && (void 0 === input3.geneSet || "object" === typeof input3.geneSet && null !== input3.geneSet && $io1(input3.geneSet)) && (void 0 === input3.min_median_log2_uqfpkm || "number" === typeof input3.min_median_log2_uqfpkm) && (void 0 === input3.filter_extreme_values || "number" === typeof input3.filter_extreme_values) && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.rank_type || "object" === typeof input3.rank_type && null !== input3.rank_type && $io2(input3.rank_type)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && true;
|
|
26
26
|
const $io1 = (input3) => ("all" === input3.type || "custom" === input3.type || "msigdb" === input3.type) && (null === input3.geneList || Array.isArray(input3.geneList) && input3.geneList.every((elem) => "string" === typeof elem));
|
|
27
27
|
const $io2 = (input3) => "var" === input3.type || "iqr" === input3.type;
|
|
28
|
-
const $io3 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
29
|
-
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
30
|
-
const $io5 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io6(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io8(elem)));
|
|
28
|
+
const $io3 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem))) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
29
|
+
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
30
|
+
const $io5 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io6(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io8(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
|
|
31
31
|
const $io6 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io10(input3.groupsetting));
|
|
32
32
|
const $io7 = (input3) => Object.keys(input3).every((key) => {
|
|
33
33
|
const value = input3[key];
|
|
@@ -46,11 +46,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
46
46
|
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io13(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
47
47
|
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
48
48
|
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "string" === typeof input3.color;
|
|
49
|
-
const $io15 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $
|
|
49
|
+
const $io15 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("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))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
50
50
|
const $io16 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
51
51
|
const $io17 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
52
|
-
const $io18 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
53
|
-
const $io19 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io20(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 && $
|
|
52
|
+
const $io18 = (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);
|
|
53
|
+
const $io19 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io20(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) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
54
54
|
const $io20 = (input3) => Object.keys(input3).every((key) => {
|
|
55
55
|
const value = input3[key];
|
|
56
56
|
if (void 0 === value)
|
|
@@ -62,7 +62,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
62
62
|
const $io21 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
63
63
|
const $io22 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
64
64
|
const $io23 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
65
|
-
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io20(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] && $
|
|
65
|
+
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io20(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] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
66
66
|
const $io25 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "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);
|
|
67
67
|
const $io26 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
68
68
|
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
@@ -72,29 +72,40 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
72
72
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
73
73
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
74
74
|
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
75
|
-
const $io34 = (input3) => "
|
|
76
|
-
const $io35 = (input3) =>
|
|
77
|
-
const $io36 = (input3) =>
|
|
78
|
-
const $io37 = (input3) => "
|
|
79
|
-
const $io38 = (input3) =>
|
|
80
|
-
const $io39 = (input3) => "string" === typeof input3.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
75
|
+
const $io34 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
77
|
+
const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io37(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
78
|
+
const $io37 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
79
|
+
const $io38 = (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;
|
|
80
|
+
const $io39 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
81
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
82
|
+
return true;
|
|
83
|
+
const value = input3[key];
|
|
84
|
+
if (void 0 === value)
|
|
85
|
+
return true;
|
|
86
|
+
if (RegExp(/(.*)/).test(key))
|
|
87
|
+
return true;
|
|
88
|
+
return true;
|
|
89
|
+
});
|
|
90
|
+
const $io40 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io41(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io46(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
|
|
91
|
+
const $io41 = (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) && $io7(input3.values));
|
|
92
|
+
const $io42 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "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 && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io41(elem)));
|
|
93
|
+
const $io43 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "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);
|
|
94
|
+
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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
95
|
+
const $io45 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "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 && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io41(elem)));
|
|
96
|
+
const $io46 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
97
|
+
const $io47 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
|
|
98
|
+
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io50(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
99
|
+
const $io49 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
100
|
+
const $io50 = (input3) => Object.keys(input3).every((key) => {
|
|
90
101
|
const value = input3[key];
|
|
91
102
|
if (void 0 === value)
|
|
92
103
|
return true;
|
|
93
104
|
if (RegExp(/(.*)/).test(key))
|
|
94
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
105
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io51(value);
|
|
95
106
|
return true;
|
|
96
107
|
});
|
|
97
|
-
const $
|
|
108
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
98
109
|
const value = input3[key];
|
|
99
110
|
if (void 0 === value)
|
|
100
111
|
return true;
|
|
@@ -102,8 +113,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
102
113
|
return true;
|
|
103
114
|
return true;
|
|
104
115
|
});
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
116
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io50(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io53(elem)));
|
|
117
|
+
const $io53 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
107
118
|
const $iu0 = (input3) => (() => {
|
|
108
119
|
if ("tvslst" === input3.type)
|
|
109
120
|
return $io3(input3);
|
|
@@ -123,31 +134,40 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
123
134
|
return $io21(input3);
|
|
124
135
|
if (true === input3.stopunbounded)
|
|
125
136
|
return $io23(input3);
|
|
137
|
+
if (void 0 !== input3.value)
|
|
138
|
+
return $io34(input3);
|
|
126
139
|
return $io22(input3);
|
|
127
140
|
})();
|
|
128
141
|
const $iu3 = (input3) => (() => {
|
|
129
142
|
if ("gene" === input3.kind)
|
|
130
|
-
return $
|
|
143
|
+
return $io43(input3);
|
|
131
144
|
if ("coord" === input3.kind)
|
|
132
|
-
return $
|
|
145
|
+
return $io44(input3);
|
|
133
146
|
return false;
|
|
134
147
|
})();
|
|
135
148
|
const $iu4 = (input3) => (() => {
|
|
149
|
+
if (true === input3.startunbounded)
|
|
150
|
+
return $io21(input3);
|
|
151
|
+
if (true === input3.stopunbounded)
|
|
152
|
+
return $io23(input3);
|
|
153
|
+
return $io22(input3);
|
|
154
|
+
})();
|
|
155
|
+
const $iu5 = (input3) => (() => {
|
|
136
156
|
if (void 0 !== input3.ranges)
|
|
137
157
|
return $io15(input3);
|
|
138
158
|
if (void 0 !== input3.ratio)
|
|
139
|
-
return $
|
|
159
|
+
return $io47(input3);
|
|
140
160
|
return (() => {
|
|
141
161
|
if ($io5(input3))
|
|
142
162
|
return $io5(input3);
|
|
143
|
-
if ($
|
|
144
|
-
return $
|
|
145
|
-
if ($
|
|
146
|
-
return $
|
|
163
|
+
if ($io36(input3))
|
|
164
|
+
return $io36(input3);
|
|
165
|
+
if ($io40(input3))
|
|
166
|
+
return $io40(input3);
|
|
147
167
|
return false;
|
|
148
168
|
})();
|
|
149
169
|
})();
|
|
150
|
-
const $
|
|
170
|
+
const $iu6 = (input3) => (() => {
|
|
151
171
|
if ("integer" === input3.type || "float" === input3.type)
|
|
152
172
|
return $io16(input3);
|
|
153
173
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -172,39 +192,39 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
172
192
|
return false;
|
|
173
193
|
})();
|
|
174
194
|
})();
|
|
175
|
-
const $
|
|
195
|
+
const $iu7 = (input3) => (() => {
|
|
176
196
|
if ("regular-bin" === input3.type)
|
|
177
197
|
return $io19(input3);
|
|
178
198
|
if ("custom-bin" === input3.type)
|
|
179
199
|
return $io24(input3);
|
|
180
200
|
return false;
|
|
181
201
|
})();
|
|
182
|
-
const $
|
|
202
|
+
const $iu8 = (input3) => (() => {
|
|
183
203
|
if (true === input3.startunbounded)
|
|
184
204
|
return $io21(input3);
|
|
185
205
|
if (void 0 !== input3.start)
|
|
186
206
|
return $io22(input3);
|
|
187
207
|
return false;
|
|
188
208
|
})();
|
|
189
|
-
const $
|
|
209
|
+
const $iu9 = (input3) => (() => {
|
|
190
210
|
if (void 0 !== input3.stop)
|
|
191
211
|
return $io22(input3);
|
|
192
212
|
if (true === input3.stopunbounded)
|
|
193
213
|
return $io23(input3);
|
|
194
214
|
return false;
|
|
195
215
|
})();
|
|
196
|
-
const $
|
|
216
|
+
const $iu10 = (input3) => (() => {
|
|
197
217
|
if ("gene" === input3.kind)
|
|
198
|
-
return $
|
|
218
|
+
return $io42(input3);
|
|
199
219
|
if ("coord" === input3.kind)
|
|
200
|
-
return $
|
|
220
|
+
return $io45(input3);
|
|
201
221
|
return false;
|
|
202
222
|
})();
|
|
203
|
-
const $
|
|
223
|
+
const $iu11 = (input3) => (() => {
|
|
204
224
|
if ("numeric" === input3.memberType)
|
|
205
|
-
return $
|
|
225
|
+
return $io48(input3);
|
|
206
226
|
if ("categorical" === input3.memberType)
|
|
207
|
-
return $
|
|
227
|
+
return $io52(input3);
|
|
208
228
|
return false;
|
|
209
229
|
})();
|
|
210
230
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -320,6 +340,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
320
340
|
path: _path2 + ".lst",
|
|
321
341
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
322
342
|
value: input3.lst
|
|
343
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
344
|
+
path: _path2 + ".$id",
|
|
345
|
+
expected: "(string | undefined)",
|
|
346
|
+
value: input3.$id
|
|
323
347
|
})].every((flag) => flag);
|
|
324
348
|
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
325
349
|
path: _path2 + ".type",
|
|
@@ -329,7 +353,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
329
353
|
path: _path2 + ".tvs",
|
|
330
354
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
331
355
|
value: input3.tvs
|
|
332
|
-
})) && $
|
|
356
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
333
357
|
path: _path2 + ".tvs",
|
|
334
358
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
335
359
|
value: input3.tvs
|
|
@@ -342,6 +366,26 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
342
366
|
path: _path2 + ".isnot",
|
|
343
367
|
expected: "(boolean | undefined)",
|
|
344
368
|
value: input3.isnot
|
|
369
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
370
|
+
path: _path2 + ".bar_by_grade",
|
|
371
|
+
expected: "(boolean | undefined)",
|
|
372
|
+
value: input3.bar_by_grade
|
|
373
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
374
|
+
path: _path2 + ".bar_by_children",
|
|
375
|
+
expected: "(boolean | undefined)",
|
|
376
|
+
value: input3.bar_by_children
|
|
377
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
378
|
+
path: _path2 + ".value_by_max_grade",
|
|
379
|
+
expected: "(boolean | undefined)",
|
|
380
|
+
value: input3.value_by_max_grade
|
|
381
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
382
|
+
path: _path2 + ".value_by_most_recent",
|
|
383
|
+
expected: "(boolean | undefined)",
|
|
384
|
+
value: input3.value_by_most_recent
|
|
385
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
386
|
+
path: _path2 + ".value_by_computable_grade",
|
|
387
|
+
expected: "(boolean | undefined)",
|
|
388
|
+
value: input3.value_by_computable_grade
|
|
345
389
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
346
390
|
path: _path2 + ".term",
|
|
347
391
|
expected: "CategoricalTerm",
|
|
@@ -370,6 +414,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
370
414
|
path: _path2 + ".values",
|
|
371
415
|
expected: "Array<BaseValue>",
|
|
372
416
|
value: input3.values
|
|
417
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
418
|
+
path: _path2 + ".valueset",
|
|
419
|
+
expected: "(Set<any> | undefined)",
|
|
420
|
+
value: input3.valueset
|
|
373
421
|
})].every((flag) => flag);
|
|
374
422
|
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
375
423
|
path: _path2 + ".id",
|
|
@@ -637,45 +685,65 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
637
685
|
path: _path2 + ".isnot",
|
|
638
686
|
expected: "(boolean | undefined)",
|
|
639
687
|
value: input3.isnot
|
|
688
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
689
|
+
path: _path2 + ".bar_by_grade",
|
|
690
|
+
expected: "(boolean | undefined)",
|
|
691
|
+
value: input3.bar_by_grade
|
|
692
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
693
|
+
path: _path2 + ".bar_by_children",
|
|
694
|
+
expected: "(boolean | undefined)",
|
|
695
|
+
value: input3.bar_by_children
|
|
696
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
697
|
+
path: _path2 + ".value_by_max_grade",
|
|
698
|
+
expected: "(boolean | undefined)",
|
|
699
|
+
value: input3.value_by_max_grade
|
|
700
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
701
|
+
path: _path2 + ".value_by_most_recent",
|
|
702
|
+
expected: "(boolean | undefined)",
|
|
703
|
+
value: input3.value_by_most_recent
|
|
704
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
705
|
+
path: _path2 + ".value_by_computable_grade",
|
|
706
|
+
expected: "(boolean | undefined)",
|
|
707
|
+
value: input3.value_by_computable_grade
|
|
640
708
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
641
709
|
path: _path2 + ".term",
|
|
642
710
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
643
711
|
value: input3.term
|
|
644
|
-
})) && $
|
|
712
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
645
713
|
path: _path2 + ".term",
|
|
646
714
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
647
715
|
value: input3.term
|
|
648
716
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
649
717
|
path: _path2 + ".ranges",
|
|
650
|
-
expected: "Array<NumericBin>",
|
|
718
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
651
719
|
value: input3.ranges
|
|
652
720
|
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
653
721
|
path: _path2 + ".ranges[" + _index9 + "]",
|
|
654
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
722
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o6)",
|
|
655
723
|
value: elem
|
|
656
724
|
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
657
725
|
path: _path2 + ".ranges[" + _index9 + "]",
|
|
658
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
726
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o6)",
|
|
659
727
|
value: elem
|
|
660
728
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
661
729
|
path: _path2 + ".ranges",
|
|
662
|
-
expected: "Array<NumericBin>",
|
|
730
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
663
731
|
value: input3.ranges
|
|
664
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
732
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
665
733
|
path: _path2 + ".values",
|
|
666
|
-
expected: "Array<__type>.o1",
|
|
734
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
667
735
|
value: input3.values
|
|
668
736
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
669
737
|
path: _path2 + ".values[" + _index10 + "]",
|
|
670
|
-
expected: "__type.
|
|
738
|
+
expected: "__type.o7",
|
|
671
739
|
value: elem
|
|
672
|
-
})) && $
|
|
740
|
+
})) && $vo35(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
673
741
|
path: _path2 + ".values[" + _index10 + "]",
|
|
674
|
-
expected: "__type.
|
|
742
|
+
expected: "__type.o7",
|
|
675
743
|
value: elem
|
|
676
744
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
677
745
|
path: _path2 + ".values",
|
|
678
|
-
expected: "Array<__type>.o1",
|
|
746
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
679
747
|
value: input3.values
|
|
680
748
|
})].every((flag) => flag);
|
|
681
749
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -776,7 +844,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
776
844
|
path: _path2 + '["default"]',
|
|
777
845
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
778
846
|
value: input3["default"]
|
|
779
|
-
})) && $
|
|
847
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
780
848
|
path: _path2 + '["default"]',
|
|
781
849
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
782
850
|
value: input3["default"]
|
|
@@ -784,7 +852,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
784
852
|
path: _path2 + ".less",
|
|
785
853
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
786
854
|
value: input3.less
|
|
787
|
-
})) && $
|
|
855
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
788
856
|
path: _path2 + ".less",
|
|
789
857
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
790
858
|
value: input3.less
|
|
@@ -845,7 +913,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
845
913
|
path: _path2 + ".first_bin",
|
|
846
914
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
847
915
|
value: input3.first_bin
|
|
848
|
-
})) && $
|
|
916
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
849
917
|
path: _path2 + ".first_bin",
|
|
850
918
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
851
919
|
value: input3.first_bin
|
|
@@ -853,7 +921,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
853
921
|
path: _path2 + ".last_bin",
|
|
854
922
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
855
923
|
value: input3.last_bin
|
|
856
|
-
})) && $
|
|
924
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
857
925
|
path: _path2 + ".last_bin",
|
|
858
926
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
859
927
|
value: input3.last_bin
|
|
@@ -1018,7 +1086,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1018
1086
|
path: _path2 + ".lst[0]",
|
|
1019
1087
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1020
1088
|
value: input3.lst[0]
|
|
1021
|
-
})) && $
|
|
1089
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
1022
1090
|
path: _path2 + ".lst[0]",
|
|
1023
1091
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1024
1092
|
value: input3.lst[0]
|
|
@@ -1031,7 +1099,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1031
1099
|
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1032
1100
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1033
1101
|
value: elem
|
|
1034
|
-
})) && $
|
|
1102
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1035
1103
|
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1036
1104
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1037
1105
|
value: elem
|
|
@@ -1937,7 +2005,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1937
2005
|
expected: "number",
|
|
1938
2006
|
value: input3.stop
|
|
1939
2007
|
})].every((flag) => flag);
|
|
1940
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["
|
|
2008
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
2009
|
+
path: _path2 + ".value",
|
|
2010
|
+
expected: "number",
|
|
2011
|
+
value: input3.value
|
|
2012
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2013
|
+
path: _path2 + ".label",
|
|
2014
|
+
expected: "(string | undefined)",
|
|
2015
|
+
value: input3.label
|
|
2016
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2017
|
+
path: _path2 + ".name",
|
|
2018
|
+
expected: "(string | undefined)",
|
|
2019
|
+
value: input3.name
|
|
2020
|
+
})].every((flag) => flag);
|
|
2021
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1941
2022
|
path: _path2 + ".key",
|
|
1942
2023
|
expected: "string",
|
|
1943
2024
|
value: input3.key
|
|
@@ -1954,7 +2035,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1954
2035
|
expected: "(string | undefined)",
|
|
1955
2036
|
value: input3.label
|
|
1956
2037
|
})].every((flag) => flag);
|
|
1957
|
-
const $
|
|
2038
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1958
2039
|
path: _path2 + ".join",
|
|
1959
2040
|
expected: "(string | undefined)",
|
|
1960
2041
|
value: input3.join
|
|
@@ -1962,14 +2043,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1962
2043
|
path: _path2 + ".isnot",
|
|
1963
2044
|
expected: "(boolean | undefined)",
|
|
1964
2045
|
value: input3.isnot
|
|
1965
|
-
}),
|
|
1966
|
-
path: _path2 + ".
|
|
1967
|
-
expected: "
|
|
1968
|
-
value: input3.
|
|
1969
|
-
})
|
|
1970
|
-
path: _path2 + ".
|
|
1971
|
-
expected: "
|
|
1972
|
-
value: input3.
|
|
2046
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2047
|
+
path: _path2 + ".bar_by_grade",
|
|
2048
|
+
expected: "(boolean | undefined)",
|
|
2049
|
+
value: input3.bar_by_grade
|
|
2050
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2051
|
+
path: _path2 + ".bar_by_children",
|
|
2052
|
+
expected: "(boolean | undefined)",
|
|
2053
|
+
value: input3.bar_by_children
|
|
1973
2054
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1974
2055
|
path: _path2 + ".value_by_max_grade",
|
|
1975
2056
|
expected: "(boolean | undefined)",
|
|
@@ -1982,6 +2063,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1982
2063
|
path: _path2 + ".value_by_computable_grade",
|
|
1983
2064
|
expected: "(boolean | undefined)",
|
|
1984
2065
|
value: input3.value_by_computable_grade
|
|
2066
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2067
|
+
path: _path2 + ".term",
|
|
2068
|
+
expected: "ConditionTerm",
|
|
2069
|
+
value: input3.term
|
|
2070
|
+
})) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2071
|
+
path: _path2 + ".term",
|
|
2072
|
+
expected: "ConditionTerm",
|
|
2073
|
+
value: input3.term
|
|
1985
2074
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1986
2075
|
path: _path2 + ".grade_and_child",
|
|
1987
2076
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -1990,7 +2079,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1990
2079
|
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
1991
2080
|
expected: "GradeAndChildEntry",
|
|
1992
2081
|
value: elem
|
|
1993
|
-
})) && $
|
|
2082
|
+
})) && $vo38(elem, _path2 + ".grade_and_child[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1994
2083
|
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
1995
2084
|
expected: "GradeAndChildEntry",
|
|
1996
2085
|
value: elem
|
|
@@ -1998,8 +2087,24 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1998
2087
|
path: _path2 + ".grade_and_child",
|
|
1999
2088
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2000
2089
|
value: input3.grade_and_child
|
|
2090
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2091
|
+
path: _path2 + ".values",
|
|
2092
|
+
expected: "Array<__type>.o2",
|
|
2093
|
+
value: input3.values
|
|
2094
|
+
})) && input3.values.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2095
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
2096
|
+
expected: "__type.o8",
|
|
2097
|
+
value: elem
|
|
2098
|
+
})) && $vo39(elem, _path2 + ".values[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2099
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
2100
|
+
expected: "__type.o8",
|
|
2101
|
+
value: elem
|
|
2102
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2103
|
+
path: _path2 + ".values",
|
|
2104
|
+
expected: "Array<__type>.o2",
|
|
2105
|
+
value: input3.values
|
|
2001
2106
|
})].every((flag) => flag);
|
|
2002
|
-
const $
|
|
2107
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2003
2108
|
path: _path2 + ".id",
|
|
2004
2109
|
expected: "string",
|
|
2005
2110
|
value: input3.id
|
|
@@ -2015,8 +2120,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2015
2120
|
path: _path2 + ".child_types",
|
|
2016
2121
|
expected: "(Array<string> | undefined)",
|
|
2017
2122
|
value: input3.child_types
|
|
2018
|
-
})) && input3.child_types.map((elem,
|
|
2019
|
-
path: _path2 + ".child_types[" +
|
|
2123
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2124
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
2020
2125
|
expected: "string",
|
|
2021
2126
|
value: elem
|
|
2022
2127
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2031,8 +2136,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2031
2136
|
path: _path2 + ".included_types",
|
|
2032
2137
|
expected: "(Array<string> | undefined)",
|
|
2033
2138
|
value: input3.included_types
|
|
2034
|
-
})) && input3.included_types.map((elem,
|
|
2035
|
-
path: _path2 + ".included_types[" +
|
|
2139
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2140
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
2036
2141
|
expected: "string",
|
|
2037
2142
|
value: elem
|
|
2038
2143
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2064,7 +2169,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2064
2169
|
expected: "(__type.o3 | undefined)",
|
|
2065
2170
|
value: input3.valueConversion
|
|
2066
2171
|
})].every((flag) => flag);
|
|
2067
|
-
const $
|
|
2172
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2068
2173
|
path: _path2 + ".grade",
|
|
2069
2174
|
expected: "number",
|
|
2070
2175
|
value: input3.grade
|
|
@@ -2081,7 +2186,25 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2081
2186
|
expected: "string",
|
|
2082
2187
|
value: input3.child_label
|
|
2083
2188
|
})].every((flag) => flag);
|
|
2084
|
-
const $
|
|
2189
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2190
|
+
path: _path2 + ".key",
|
|
2191
|
+
expected: "(number | string)",
|
|
2192
|
+
value: input3.key
|
|
2193
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2194
|
+
path: _path2 + ".label",
|
|
2195
|
+
expected: "(string | undefined)",
|
|
2196
|
+
value: input3.label
|
|
2197
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2198
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2199
|
+
return true;
|
|
2200
|
+
const value = input3[key];
|
|
2201
|
+
if (void 0 === value)
|
|
2202
|
+
return true;
|
|
2203
|
+
if (RegExp(/(.*)/).test(key))
|
|
2204
|
+
return true;
|
|
2205
|
+
return true;
|
|
2206
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2207
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2085
2208
|
path: _path2 + ".join",
|
|
2086
2209
|
expected: "(string | undefined)",
|
|
2087
2210
|
value: input3.join
|
|
@@ -2089,29 +2212,49 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2089
2212
|
path: _path2 + ".isnot",
|
|
2090
2213
|
expected: "(boolean | undefined)",
|
|
2091
2214
|
value: input3.isnot
|
|
2215
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".bar_by_grade",
|
|
2217
|
+
expected: "(boolean | undefined)",
|
|
2218
|
+
value: input3.bar_by_grade
|
|
2219
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2220
|
+
path: _path2 + ".bar_by_children",
|
|
2221
|
+
expected: "(boolean | undefined)",
|
|
2222
|
+
value: input3.bar_by_children
|
|
2223
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2224
|
+
path: _path2 + ".value_by_max_grade",
|
|
2225
|
+
expected: "(boolean | undefined)",
|
|
2226
|
+
value: input3.value_by_max_grade
|
|
2227
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2228
|
+
path: _path2 + ".value_by_most_recent",
|
|
2229
|
+
expected: "(boolean | undefined)",
|
|
2230
|
+
value: input3.value_by_most_recent
|
|
2231
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2232
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2233
|
+
expected: "(boolean | undefined)",
|
|
2234
|
+
value: input3.value_by_computable_grade
|
|
2092
2235
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2093
2236
|
path: _path2 + ".term",
|
|
2094
2237
|
expected: "DtTerm",
|
|
2095
2238
|
value: input3.term
|
|
2096
|
-
})) && $
|
|
2239
|
+
})) && $vo41(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2097
2240
|
path: _path2 + ".term",
|
|
2098
2241
|
expected: "DtTerm",
|
|
2099
2242
|
value: input3.term
|
|
2100
2243
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2101
2244
|
path: _path2 + ".values",
|
|
2102
|
-
expected: "Array<
|
|
2245
|
+
expected: "Array<GeneVariantValue>",
|
|
2103
2246
|
value: input3.values
|
|
2104
|
-
})) && input3.values.map((elem,
|
|
2105
|
-
path: _path2 + ".values[" +
|
|
2106
|
-
expected: "
|
|
2247
|
+
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2248
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2249
|
+
expected: "GeneVariantValue",
|
|
2107
2250
|
value: elem
|
|
2108
|
-
})) && $
|
|
2109
|
-
path: _path2 + ".values[" +
|
|
2110
|
-
expected: "
|
|
2251
|
+
})) && $vo46(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2253
|
+
expected: "GeneVariantValue",
|
|
2111
2254
|
value: elem
|
|
2112
2255
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2113
2256
|
path: _path2 + ".values",
|
|
2114
|
-
expected: "Array<
|
|
2257
|
+
expected: "Array<GeneVariantValue>",
|
|
2115
2258
|
value: input3.values
|
|
2116
2259
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2117
2260
|
path: _path2 + ".includeNotTested",
|
|
@@ -2121,8 +2264,40 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2121
2264
|
path: _path2 + ".excludeGeneName",
|
|
2122
2265
|
expected: "(boolean | undefined)",
|
|
2123
2266
|
value: input3.excludeGeneName
|
|
2267
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2268
|
+
path: _path2 + ".genotype",
|
|
2269
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2270
|
+
value: input3.genotype
|
|
2271
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2272
|
+
path: _path2 + ".mcount",
|
|
2273
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2274
|
+
value: input3.mcount
|
|
2275
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2276
|
+
path: _path2 + ".continuousCnv",
|
|
2277
|
+
expected: "(boolean | undefined)",
|
|
2278
|
+
value: input3.continuousCnv
|
|
2279
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2280
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2281
|
+
expected: "(number | undefined)",
|
|
2282
|
+
value: input3.cnvLossCutoff
|
|
2283
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2284
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2285
|
+
expected: "(number | undefined)",
|
|
2286
|
+
value: input3.cnvGainCutoff
|
|
2287
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2288
|
+
path: _path2 + ".cnvMaxLength",
|
|
2289
|
+
expected: "(number | undefined)",
|
|
2290
|
+
value: input3.cnvMaxLength
|
|
2291
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2292
|
+
path: _path2 + ".cnvWT",
|
|
2293
|
+
expected: "(boolean | undefined)",
|
|
2294
|
+
value: input3.cnvWT
|
|
2295
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2296
|
+
path: _path2 + ".fractionOverlap",
|
|
2297
|
+
expected: "(number | undefined)",
|
|
2298
|
+
value: input3.fractionOverlap
|
|
2124
2299
|
})].every((flag) => flag);
|
|
2125
|
-
const $
|
|
2300
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2126
2301
|
path: _path2 + ".id",
|
|
2127
2302
|
expected: "string",
|
|
2128
2303
|
value: input3.id
|
|
@@ -2142,7 +2317,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2142
2317
|
path: _path2 + ".parentTerm",
|
|
2143
2318
|
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)',
|
|
2144
2319
|
value: input3.parentTerm
|
|
2145
|
-
})) && $
|
|
2320
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2146
2321
|
path: _path2 + ".parentTerm",
|
|
2147
2322
|
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)',
|
|
2148
2323
|
value: input3.parentTerm
|
|
@@ -2171,7 +2346,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2171
2346
|
expected: "TermValues",
|
|
2172
2347
|
value: input3.values
|
|
2173
2348
|
})].every((flag) => flag);
|
|
2174
|
-
const $
|
|
2349
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2175
2350
|
path: _path2 + ".id",
|
|
2176
2351
|
expected: "string",
|
|
2177
2352
|
value: input3.id
|
|
@@ -2187,8 +2362,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2187
2362
|
path: _path2 + ".child_types",
|
|
2188
2363
|
expected: "(Array<string> | undefined)",
|
|
2189
2364
|
value: input3.child_types
|
|
2190
|
-
})) && input3.child_types.map((elem,
|
|
2191
|
-
path: _path2 + ".child_types[" +
|
|
2365
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2366
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2192
2367
|
expected: "string",
|
|
2193
2368
|
value: elem
|
|
2194
2369
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2203,8 +2378,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2203
2378
|
path: _path2 + ".included_types",
|
|
2204
2379
|
expected: "(Array<string> | undefined)",
|
|
2205
2380
|
value: input3.included_types
|
|
2206
|
-
})) && input3.included_types.map((elem,
|
|
2207
|
-
path: _path2 + ".included_types[" +
|
|
2381
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2382
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2208
2383
|
expected: "string",
|
|
2209
2384
|
value: elem
|
|
2210
2385
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2259,12 +2434,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2259
2434
|
path: _path2 + ".genes",
|
|
2260
2435
|
expected: "Array<GvGeneTerm>",
|
|
2261
2436
|
value: input3.genes
|
|
2262
|
-
})) && input3.genes.map((elem,
|
|
2263
|
-
path: _path2 + ".genes[" +
|
|
2437
|
+
})) && input3.genes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2438
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
2264
2439
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2265
2440
|
value: elem
|
|
2266
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2267
|
-
path: _path2 + ".genes[" +
|
|
2441
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2442
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
2268
2443
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2269
2444
|
value: elem
|
|
2270
2445
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2283,12 +2458,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2283
2458
|
path: _path2 + ".childTerms",
|
|
2284
2459
|
expected: "(Array<DtTerm> | undefined)",
|
|
2285
2460
|
value: input3.childTerms
|
|
2286
|
-
})) && input3.childTerms.map((elem,
|
|
2287
|
-
path: _path2 + ".childTerms[" +
|
|
2461
|
+
})) && input3.childTerms.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2462
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2288
2463
|
expected: "DtTerm",
|
|
2289
2464
|
value: elem
|
|
2290
|
-
})) && $
|
|
2291
|
-
path: _path2 + ".childTerms[" +
|
|
2465
|
+
})) && $vo41(elem, _path2 + ".childTerms[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2466
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2292
2467
|
expected: "DtTerm",
|
|
2293
2468
|
value: elem
|
|
2294
2469
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2296,7 +2471,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2296
2471
|
expected: "(Array<DtTerm> | undefined)",
|
|
2297
2472
|
value: input3.childTerms
|
|
2298
2473
|
})].every((flag) => flag);
|
|
2299
|
-
const $
|
|
2474
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2300
2475
|
path: _path2 + ".id",
|
|
2301
2476
|
expected: "string",
|
|
2302
2477
|
value: input3.id
|
|
@@ -2312,8 +2487,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2312
2487
|
path: _path2 + ".child_types",
|
|
2313
2488
|
expected: "(Array<string> | undefined)",
|
|
2314
2489
|
value: input3.child_types
|
|
2315
|
-
})) && input3.child_types.map((elem,
|
|
2316
|
-
path: _path2 + ".child_types[" +
|
|
2490
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2491
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
2317
2492
|
expected: "string",
|
|
2318
2493
|
value: elem
|
|
2319
2494
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2328,8 +2503,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2328
2503
|
path: _path2 + ".included_types",
|
|
2329
2504
|
expected: "(Array<string> | undefined)",
|
|
2330
2505
|
value: input3.included_types
|
|
2331
|
-
})) && input3.included_types.map((elem,
|
|
2332
|
-
path: _path2 + ".included_types[" +
|
|
2506
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2507
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
2333
2508
|
expected: "string",
|
|
2334
2509
|
value: elem
|
|
2335
2510
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2381,7 +2556,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2381
2556
|
expected: "(number | undefined)",
|
|
2382
2557
|
value: input3.stop
|
|
2383
2558
|
})].every((flag) => flag);
|
|
2384
|
-
const $
|
|
2559
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2385
2560
|
path: _path2 + ".id",
|
|
2386
2561
|
expected: "string",
|
|
2387
2562
|
value: input3.id
|
|
@@ -2397,8 +2572,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2397
2572
|
path: _path2 + ".child_types",
|
|
2398
2573
|
expected: "(Array<string> | undefined)",
|
|
2399
2574
|
value: input3.child_types
|
|
2400
|
-
})) && input3.child_types.map((elem,
|
|
2401
|
-
path: _path2 + ".child_types[" +
|
|
2575
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2576
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2402
2577
|
expected: "string",
|
|
2403
2578
|
value: elem
|
|
2404
2579
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2413,8 +2588,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2413
2588
|
path: _path2 + ".included_types",
|
|
2414
2589
|
expected: "(Array<string> | undefined)",
|
|
2415
2590
|
value: input3.included_types
|
|
2416
|
-
})) && input3.included_types.map((elem,
|
|
2417
|
-
path: _path2 + ".included_types[" +
|
|
2591
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2592
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2418
2593
|
expected: "string",
|
|
2419
2594
|
value: elem
|
|
2420
2595
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2462,7 +2637,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2462
2637
|
expected: "number",
|
|
2463
2638
|
value: input3.stop
|
|
2464
2639
|
})].every((flag) => flag);
|
|
2465
|
-
const $
|
|
2640
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2466
2641
|
path: _path2 + ".id",
|
|
2467
2642
|
expected: "string",
|
|
2468
2643
|
value: input3.id
|
|
@@ -2478,8 +2653,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2478
2653
|
path: _path2 + ".child_types",
|
|
2479
2654
|
expected: "(Array<string> | undefined)",
|
|
2480
2655
|
value: input3.child_types
|
|
2481
|
-
})) && input3.child_types.map((elem,
|
|
2482
|
-
path: _path2 + ".child_types[" +
|
|
2656
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2657
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2483
2658
|
expected: "string",
|
|
2484
2659
|
value: elem
|
|
2485
2660
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2494,8 +2669,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2494
2669
|
path: _path2 + ".included_types",
|
|
2495
2670
|
expected: "(Array<string> | undefined)",
|
|
2496
2671
|
value: input3.included_types
|
|
2497
|
-
})) && input3.included_types.map((elem,
|
|
2498
|
-
path: _path2 + ".included_types[" +
|
|
2672
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2673
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2499
2674
|
expected: "string",
|
|
2500
2675
|
value: elem
|
|
2501
2676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2546,12 +2721,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2546
2721
|
path: _path2 + ".genes",
|
|
2547
2722
|
expected: "Array<GvGeneTerm>",
|
|
2548
2723
|
value: input3.genes
|
|
2549
|
-
})) && input3.genes.map((elem,
|
|
2550
|
-
path: _path2 + ".genes[" +
|
|
2724
|
+
})) && input3.genes.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2725
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
2551
2726
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2552
2727
|
value: elem
|
|
2553
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2554
|
-
path: _path2 + ".genes[" +
|
|
2728
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2729
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
2555
2730
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2556
2731
|
value: elem
|
|
2557
2732
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2570,12 +2745,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2570
2745
|
path: _path2 + ".childTerms",
|
|
2571
2746
|
expected: "(Array<DtTerm> | undefined)",
|
|
2572
2747
|
value: input3.childTerms
|
|
2573
|
-
})) && input3.childTerms.map((elem,
|
|
2574
|
-
path: _path2 + ".childTerms[" +
|
|
2748
|
+
})) && input3.childTerms.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2749
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
2575
2750
|
expected: "DtTerm",
|
|
2576
2751
|
value: elem
|
|
2577
|
-
})) && $
|
|
2578
|
-
path: _path2 + ".childTerms[" +
|
|
2752
|
+
})) && $vo41(elem, _path2 + ".childTerms[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2753
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
2579
2754
|
expected: "DtTerm",
|
|
2580
2755
|
value: elem
|
|
2581
2756
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2583,20 +2758,52 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2583
2758
|
expected: "(Array<DtTerm> | undefined)",
|
|
2584
2759
|
value: input3.childTerms
|
|
2585
2760
|
})].every((flag) => flag);
|
|
2586
|
-
const $
|
|
2761
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2587
2762
|
path: _path2 + ".key",
|
|
2588
|
-
expected: "string",
|
|
2763
|
+
expected: "(string | undefined)",
|
|
2589
2764
|
value: input3.key
|
|
2590
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2765
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2591
2766
|
path: _path2 + ".label",
|
|
2592
|
-
expected: "string",
|
|
2767
|
+
expected: "(number | string | undefined)",
|
|
2593
2768
|
value: input3.label
|
|
2594
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2769
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2595
2770
|
path: _path2 + ".value",
|
|
2596
|
-
expected: "string",
|
|
2771
|
+
expected: "(string | undefined)",
|
|
2597
2772
|
value: input3.value
|
|
2773
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2774
|
+
path: _path2 + ".dt",
|
|
2775
|
+
expected: "(number | undefined)",
|
|
2776
|
+
value: input3.dt
|
|
2777
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2778
|
+
path: _path2 + ".mclasslst",
|
|
2779
|
+
expected: "(Array<string> | undefined)",
|
|
2780
|
+
value: input3.mclasslst
|
|
2781
|
+
})) && input3.mclasslst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2782
|
+
path: _path2 + ".mclasslst[" + _index50 + "]",
|
|
2783
|
+
expected: "string",
|
|
2784
|
+
value: elem
|
|
2785
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2786
|
+
path: _path2 + ".mclasslst",
|
|
2787
|
+
expected: "(Array<string> | undefined)",
|
|
2788
|
+
value: input3.mclasslst
|
|
2789
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2790
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2791
|
+
expected: "(Array<string> | undefined)",
|
|
2792
|
+
value: input3.mclassExcludeLst
|
|
2793
|
+
})) && input3.mclassExcludeLst.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2794
|
+
path: _path2 + ".mclassExcludeLst[" + _index51 + "]",
|
|
2795
|
+
expected: "string",
|
|
2796
|
+
value: elem
|
|
2797
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2798
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2799
|
+
expected: "(Array<string> | undefined)",
|
|
2800
|
+
value: input3.mclassExcludeLst
|
|
2801
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2802
|
+
path: _path2 + ".origin",
|
|
2803
|
+
expected: "(string | undefined)",
|
|
2804
|
+
value: input3.origin
|
|
2598
2805
|
})].every((flag) => flag);
|
|
2599
|
-
const $
|
|
2806
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2600
2807
|
path: _path2 + ".join",
|
|
2601
2808
|
expected: "(string | undefined)",
|
|
2602
2809
|
value: input3.join
|
|
@@ -2604,11 +2811,31 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2604
2811
|
path: _path2 + ".isnot",
|
|
2605
2812
|
expected: "(boolean | undefined)",
|
|
2606
2813
|
value: input3.isnot
|
|
2814
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2815
|
+
path: _path2 + ".bar_by_grade",
|
|
2816
|
+
expected: "(boolean | undefined)",
|
|
2817
|
+
value: input3.bar_by_grade
|
|
2818
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2819
|
+
path: _path2 + ".bar_by_children",
|
|
2820
|
+
expected: "(boolean | undefined)",
|
|
2821
|
+
value: input3.bar_by_children
|
|
2822
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2823
|
+
path: _path2 + ".value_by_max_grade",
|
|
2824
|
+
expected: "(boolean | undefined)",
|
|
2825
|
+
value: input3.value_by_max_grade
|
|
2826
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2827
|
+
path: _path2 + ".value_by_most_recent",
|
|
2828
|
+
expected: "(boolean | undefined)",
|
|
2829
|
+
value: input3.value_by_most_recent
|
|
2830
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2831
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2832
|
+
expected: "(boolean | undefined)",
|
|
2833
|
+
value: input3.value_by_computable_grade
|
|
2607
2834
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2608
2835
|
path: _path2 + ".term",
|
|
2609
2836
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2610
2837
|
value: input3.term
|
|
2611
|
-
})) && $
|
|
2838
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2612
2839
|
path: _path2 + ".term",
|
|
2613
2840
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2614
2841
|
value: input3.term
|
|
@@ -2617,7 +2844,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2617
2844
|
expected: "number",
|
|
2618
2845
|
value: input3.ratio
|
|
2619
2846
|
})].every((flag) => flag);
|
|
2620
|
-
const $
|
|
2847
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2621
2848
|
path: _path2 + ".id",
|
|
2622
2849
|
expected: "string",
|
|
2623
2850
|
value: input3.id
|
|
@@ -2633,8 +2860,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2633
2860
|
path: _path2 + ".child_types",
|
|
2634
2861
|
expected: "(Array<string> | undefined)",
|
|
2635
2862
|
value: input3.child_types
|
|
2636
|
-
})) && input3.child_types.map((elem,
|
|
2637
|
-
path: _path2 + ".child_types[" +
|
|
2863
|
+
})) && input3.child_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2864
|
+
path: _path2 + ".child_types[" + _index52 + "]",
|
|
2638
2865
|
expected: "string",
|
|
2639
2866
|
value: elem
|
|
2640
2867
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2649,8 +2876,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2649
2876
|
path: _path2 + ".included_types",
|
|
2650
2877
|
expected: "(Array<string> | undefined)",
|
|
2651
2878
|
value: input3.included_types
|
|
2652
|
-
})) && input3.included_types.map((elem,
|
|
2653
|
-
path: _path2 + ".included_types[" +
|
|
2879
|
+
})) && input3.included_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2880
|
+
path: _path2 + ".included_types[" + _index53 + "]",
|
|
2654
2881
|
expected: "string",
|
|
2655
2882
|
value: elem
|
|
2656
2883
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2681,16 +2908,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2681
2908
|
path: _path2 + ".valueConversion",
|
|
2682
2909
|
expected: "(__type.o3 | undefined)",
|
|
2683
2910
|
value: input3.valueConversion
|
|
2684
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2685
|
-
path: _path2 + ".collectionId",
|
|
2686
|
-
expected: "(string | undefined)",
|
|
2687
|
-
value: input3.collectionId
|
|
2688
2911
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2689
2912
|
path: _path2 + ".termIds",
|
|
2690
2913
|
expected: "(Array<string> | undefined)",
|
|
2691
2914
|
value: input3.termIds
|
|
2692
|
-
})) && input3.termIds.map((elem,
|
|
2693
|
-
path: _path2 + ".termIds[" +
|
|
2915
|
+
})) && input3.termIds.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2916
|
+
path: _path2 + ".termIds[" + _index54 + "]",
|
|
2694
2917
|
expected: "string",
|
|
2695
2918
|
value: elem
|
|
2696
2919
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2701,12 +2924,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2701
2924
|
path: _path2 + ".termlst",
|
|
2702
2925
|
expected: "Array<BaseTerm>",
|
|
2703
2926
|
value: input3.termlst
|
|
2704
|
-
})) && input3.termlst.map((elem,
|
|
2705
|
-
path: _path2 + ".termlst[" +
|
|
2927
|
+
})) && input3.termlst.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2928
|
+
path: _path2 + ".termlst[" + _index55 + "]",
|
|
2706
2929
|
expected: "BaseTerm",
|
|
2707
2930
|
value: elem
|
|
2708
|
-
})) && $
|
|
2709
|
-
path: _path2 + ".termlst[" +
|
|
2931
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2932
|
+
path: _path2 + ".termlst[" + _index55 + "]",
|
|
2710
2933
|
expected: "BaseTerm",
|
|
2711
2934
|
value: elem
|
|
2712
2935
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2719,11 +2942,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2719
2942
|
value: input3.newTvs
|
|
2720
2943
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2721
2944
|
path: _path2 + ".propsByTermId",
|
|
2722
|
-
expected: "__type.
|
|
2945
|
+
expected: "__type.o9",
|
|
2723
2946
|
value: input3.propsByTermId
|
|
2724
|
-
})) && $
|
|
2947
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2725
2948
|
path: _path2 + ".propsByTermId",
|
|
2726
|
-
expected: "__type.
|
|
2949
|
+
expected: "__type.o9",
|
|
2727
2950
|
value: input3.propsByTermId
|
|
2728
2951
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2729
2952
|
path: _path2 + ".memberType",
|
|
@@ -2733,8 +2956,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2733
2956
|
path: _path2 + ".numerators",
|
|
2734
2957
|
expected: "(Array<string> | undefined)",
|
|
2735
2958
|
value: input3.numerators
|
|
2736
|
-
})) && input3.numerators.map((elem,
|
|
2737
|
-
path: _path2 + ".numerators[" +
|
|
2959
|
+
})) && input3.numerators.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2960
|
+
path: _path2 + ".numerators[" + _index56 + "]",
|
|
2738
2961
|
expected: "string",
|
|
2739
2962
|
value: elem
|
|
2740
2963
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2742,7 +2965,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2742
2965
|
expected: "(Array<string> | undefined)",
|
|
2743
2966
|
value: input3.numerators
|
|
2744
2967
|
})].every((flag) => flag);
|
|
2745
|
-
const $
|
|
2968
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2746
2969
|
path: _path2 + ".id",
|
|
2747
2970
|
expected: "string",
|
|
2748
2971
|
value: input3.id
|
|
@@ -2758,8 +2981,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2758
2981
|
path: _path2 + ".child_types",
|
|
2759
2982
|
expected: "(Array<string> | undefined)",
|
|
2760
2983
|
value: input3.child_types
|
|
2761
|
-
})) && input3.child_types.map((elem,
|
|
2762
|
-
path: _path2 + ".child_types[" +
|
|
2984
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2985
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
2763
2986
|
expected: "string",
|
|
2764
2987
|
value: elem
|
|
2765
2988
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2774,8 +2997,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2774
2997
|
path: _path2 + ".included_types",
|
|
2775
2998
|
expected: "(Array<string> | undefined)",
|
|
2776
2999
|
value: input3.included_types
|
|
2777
|
-
})) && input3.included_types.map((elem,
|
|
2778
|
-
path: _path2 + ".included_types[" +
|
|
3000
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3001
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
2779
3002
|
expected: "string",
|
|
2780
3003
|
value: elem
|
|
2781
3004
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2807,23 +3030,23 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2807
3030
|
expected: "(__type.o3 | undefined)",
|
|
2808
3031
|
value: input3.valueConversion
|
|
2809
3032
|
})].every((flag) => flag);
|
|
2810
|
-
const $
|
|
3033
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2811
3034
|
const value = input3[key];
|
|
2812
3035
|
if (void 0 === value)
|
|
2813
3036
|
return true;
|
|
2814
3037
|
if (RegExp(/(.*)/).test(key))
|
|
2815
3038
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2816
3039
|
path: _path2 + $join(key),
|
|
2817
|
-
expected: "__type.
|
|
3040
|
+
expected: "__type.o10",
|
|
2818
3041
|
value
|
|
2819
|
-
})) && $
|
|
3042
|
+
})) && $vo51(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2820
3043
|
path: _path2 + $join(key),
|
|
2821
|
-
expected: "__type.
|
|
3044
|
+
expected: "__type.o10",
|
|
2822
3045
|
value
|
|
2823
3046
|
});
|
|
2824
3047
|
return true;
|
|
2825
3048
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2826
|
-
const $
|
|
3049
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2827
3050
|
const value = input3[key];
|
|
2828
3051
|
if (void 0 === value)
|
|
2829
3052
|
return true;
|
|
@@ -2831,7 +3054,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2831
3054
|
return true;
|
|
2832
3055
|
return true;
|
|
2833
3056
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2834
|
-
const $
|
|
3057
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2835
3058
|
path: _path2 + ".id",
|
|
2836
3059
|
expected: "string",
|
|
2837
3060
|
value: input3.id
|
|
@@ -2847,8 +3070,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2847
3070
|
path: _path2 + ".child_types",
|
|
2848
3071
|
expected: "(Array<string> | undefined)",
|
|
2849
3072
|
value: input3.child_types
|
|
2850
|
-
})) && input3.child_types.map((elem,
|
|
2851
|
-
path: _path2 + ".child_types[" +
|
|
3073
|
+
})) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3074
|
+
path: _path2 + ".child_types[" + _index59 + "]",
|
|
2852
3075
|
expected: "string",
|
|
2853
3076
|
value: elem
|
|
2854
3077
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2863,8 +3086,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2863
3086
|
path: _path2 + ".included_types",
|
|
2864
3087
|
expected: "(Array<string> | undefined)",
|
|
2865
3088
|
value: input3.included_types
|
|
2866
|
-
})) && input3.included_types.map((elem,
|
|
2867
|
-
path: _path2 + ".included_types[" +
|
|
3089
|
+
})) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3090
|
+
path: _path2 + ".included_types[" + _index60 + "]",
|
|
2868
3091
|
expected: "string",
|
|
2869
3092
|
value: elem
|
|
2870
3093
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2895,16 +3118,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2895
3118
|
path: _path2 + ".valueConversion",
|
|
2896
3119
|
expected: "(__type.o3 | undefined)",
|
|
2897
3120
|
value: input3.valueConversion
|
|
2898
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2899
|
-
path: _path2 + ".collectionId",
|
|
2900
|
-
expected: "(string | undefined)",
|
|
2901
|
-
value: input3.collectionId
|
|
2902
3121
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2903
3122
|
path: _path2 + ".termIds",
|
|
2904
3123
|
expected: "(Array<string> | undefined)",
|
|
2905
3124
|
value: input3.termIds
|
|
2906
|
-
})) && input3.termIds.map((elem,
|
|
2907
|
-
path: _path2 + ".termIds[" +
|
|
3125
|
+
})) && input3.termIds.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3126
|
+
path: _path2 + ".termIds[" + _index61 + "]",
|
|
2908
3127
|
expected: "string",
|
|
2909
3128
|
value: elem
|
|
2910
3129
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2915,12 +3134,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2915
3134
|
path: _path2 + ".termlst",
|
|
2916
3135
|
expected: "Array<BaseTerm>",
|
|
2917
3136
|
value: input3.termlst
|
|
2918
|
-
})) && input3.termlst.map((elem,
|
|
2919
|
-
path: _path2 + ".termlst[" +
|
|
3137
|
+
})) && input3.termlst.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3138
|
+
path: _path2 + ".termlst[" + _index62 + "]",
|
|
2920
3139
|
expected: "BaseTerm",
|
|
2921
3140
|
value: elem
|
|
2922
|
-
})) && $
|
|
2923
|
-
path: _path2 + ".termlst[" +
|
|
3141
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3142
|
+
path: _path2 + ".termlst[" + _index62 + "]",
|
|
2924
3143
|
expected: "BaseTerm",
|
|
2925
3144
|
value: elem
|
|
2926
3145
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2933,11 +3152,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2933
3152
|
value: input3.newTvs
|
|
2934
3153
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2935
3154
|
path: _path2 + ".propsByTermId",
|
|
2936
|
-
expected: "__type.
|
|
3155
|
+
expected: "__type.o9",
|
|
2937
3156
|
value: input3.propsByTermId
|
|
2938
|
-
})) && $
|
|
3157
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2939
3158
|
path: _path2 + ".propsByTermId",
|
|
2940
|
-
expected: "__type.
|
|
3159
|
+
expected: "__type.o9",
|
|
2941
3160
|
value: input3.propsByTermId
|
|
2942
3161
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2943
3162
|
path: _path2 + ".memberType",
|
|
@@ -2947,12 +3166,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2947
3166
|
path: _path2 + ".categoryKeys",
|
|
2948
3167
|
expected: "Array<CategoryKey>",
|
|
2949
3168
|
value: input3.categoryKeys
|
|
2950
|
-
})) && input3.categoryKeys.map((elem,
|
|
2951
|
-
path: _path2 + ".categoryKeys[" +
|
|
3169
|
+
})) && input3.categoryKeys.map((elem, _index63) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3170
|
+
path: _path2 + ".categoryKeys[" + _index63 + "]",
|
|
2952
3171
|
expected: "CategoryKey",
|
|
2953
3172
|
value: elem
|
|
2954
|
-
})) && $
|
|
2955
|
-
path: _path2 + ".categoryKeys[" +
|
|
3173
|
+
})) && $vo53(elem, _path2 + ".categoryKeys[" + _index63 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3174
|
+
path: _path2 + ".categoryKeys[" + _index63 + "]",
|
|
2956
3175
|
expected: "CategoryKey",
|
|
2957
3176
|
value: elem
|
|
2958
3177
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2960,7 +3179,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2960
3179
|
expected: "Array<CategoryKey>",
|
|
2961
3180
|
value: input3.categoryKeys
|
|
2962
3181
|
})].every((flag) => flag);
|
|
2963
|
-
const $
|
|
3182
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2964
3183
|
path: _path2 + ".key",
|
|
2965
3184
|
expected: "string",
|
|
2966
3185
|
value: input3.key
|
|
@@ -2996,13 +3215,15 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2996
3215
|
return $vo21(input3, _path2, _exceptionable2);
|
|
2997
3216
|
if (true === input3.stopunbounded)
|
|
2998
3217
|
return $vo23(input3, _path2, _exceptionable2);
|
|
3218
|
+
if (void 0 !== input3.value)
|
|
3219
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
2999
3220
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3000
3221
|
})();
|
|
3001
3222
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3002
3223
|
if ("gene" === input3.kind)
|
|
3003
|
-
return $
|
|
3224
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3004
3225
|
if ("coord" === input3.kind)
|
|
3005
|
-
return $
|
|
3226
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3006
3227
|
return $report(_exceptionable2, {
|
|
3007
3228
|
path: _path2,
|
|
3008
3229
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3010,13 +3231,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3010
3231
|
});
|
|
3011
3232
|
})();
|
|
3012
3233
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3234
|
+
if (true === input3.startunbounded)
|
|
3235
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3236
|
+
if (true === input3.stopunbounded)
|
|
3237
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3238
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3239
|
+
})();
|
|
3240
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3013
3241
|
if (void 0 !== input3.ranges)
|
|
3014
3242
|
return $vo15(input3, _path2, _exceptionable2);
|
|
3015
3243
|
if (void 0 !== input3.ratio)
|
|
3016
|
-
return $
|
|
3017
|
-
return $vo5(input3, _path2, false) || $
|
|
3244
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3245
|
+
return $vo5(input3, _path2, false) || $vo36(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3018
3246
|
})();
|
|
3019
|
-
const $
|
|
3247
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3020
3248
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3021
3249
|
return $vo16(input3, _path2, _exceptionable2);
|
|
3022
3250
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -3031,7 +3259,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3031
3259
|
return $vo31(input3, _path2, _exceptionable2);
|
|
3032
3260
|
return $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $vo33(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
3033
3261
|
})();
|
|
3034
|
-
const $
|
|
3262
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3035
3263
|
if ("regular-bin" === input3.type)
|
|
3036
3264
|
return $vo19(input3, _path2, _exceptionable2);
|
|
3037
3265
|
if ("custom-bin" === input3.type)
|
|
@@ -3042,7 +3270,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3042
3270
|
value: input3
|
|
3043
3271
|
});
|
|
3044
3272
|
})();
|
|
3045
|
-
const $
|
|
3273
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3046
3274
|
if (true === input3.startunbounded)
|
|
3047
3275
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3048
3276
|
if (void 0 !== input3.start)
|
|
@@ -3053,7 +3281,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3053
3281
|
value: input3
|
|
3054
3282
|
});
|
|
3055
3283
|
})();
|
|
3056
|
-
const $
|
|
3284
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3057
3285
|
if (void 0 !== input3.stop)
|
|
3058
3286
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3059
3287
|
if (true === input3.stopunbounded)
|
|
@@ -3064,22 +3292,22 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3064
3292
|
value: input3
|
|
3065
3293
|
});
|
|
3066
3294
|
})();
|
|
3067
|
-
const $
|
|
3295
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3068
3296
|
if ("gene" === input3.kind)
|
|
3069
|
-
return $
|
|
3297
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3070
3298
|
if ("coord" === input3.kind)
|
|
3071
|
-
return $
|
|
3299
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3072
3300
|
return $report(_exceptionable2, {
|
|
3073
3301
|
path: _path2,
|
|
3074
3302
|
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; })',
|
|
3075
3303
|
value: input3
|
|
3076
3304
|
});
|
|
3077
3305
|
})();
|
|
3078
|
-
const $
|
|
3306
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3079
3307
|
if ("numeric" === input3.memberType)
|
|
3080
|
-
return $
|
|
3308
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3081
3309
|
if ("categorical" === input3.memberType)
|
|
3082
|
-
return $
|
|
3310
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
3083
3311
|
return $report(_exceptionable2, {
|
|
3084
3312
|
path: _path2,
|
|
3085
3313
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|