@sjcrh/proteinpaint-types 2.180.1 → 2.182.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-XCSFBW4V.js → chunk-2QTCQFYE.js} +1101 -649
- package/dist/{chunk-DIKDKRFN.js → chunk-3DA4MJ2U.js} +691 -467
- package/dist/{chunk-Y6F7ZVSV.js → chunk-45VA4Y6L.js} +691 -467
- package/dist/chunk-7OA6G77M.js +113 -0
- package/dist/{chunk-XAGXFLSH.js → chunk-C5ECCXOT.js} +1402 -756
- package/dist/{chunk-PZUKZRSI.js → chunk-DDMUMMOL.js} +438 -214
- package/dist/{chunk-4DCPDZW4.js → chunk-G6ZTAMGK.js} +13 -1
- package/dist/{chunk-DPWX7ORN.js → chunk-J55IQXT7.js} +515 -291
- package/dist/{chunk-P75GBHFO.js → chunk-K6W2WEPW.js} +857 -395
- package/dist/{chunk-LLBTODL6.js → chunk-KNDCWQJD.js} +691 -467
- package/dist/{chunk-NOT62STS.js → chunk-UBAJYDGK.js} +453 -229
- package/dist/{chunk-WSKMTIOO.js → chunk-URYAC364.js} +677 -453
- package/dist/{chunk-6PTYP7X4.js → chunk-UYKWZWCU.js} +2180 -1062
- package/dist/{chunk-OT6W3FNI.js → chunk-VUNM6QTX.js} +438 -214
- package/dist/{chunk-ICACMXK2.js → chunk-ZKO7LMCC.js} +438 -214
- package/dist/{chunk-KFNXZOED.js → chunk-ZRTB7SRA.js} +653 -425
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +34 -34
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +438 -214
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.diffMeth.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.isoformAvailability.js +11 -0
- 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.violinBox.js +11 -0
- package/package.json +1 -1
- package/src/dataset.ts +92 -58
- package/src/index.ts +3 -2
- package/src/routes/termdb.cluster.ts +11 -0
- package/src/routes/termdb.diffMeth.ts +6 -0
- package/src/routes/termdb.dmr.ts +73 -14
- package/src/routes/termdb.isoformAvailability.ts +22 -0
- package/src/routes/termdb.violinBox.ts +230 -0
- package/src/terms/isoformExpression.ts +36 -0
- package/src/terms/numeric.ts +2 -0
- package/src/vocab.ts +0 -1
- package/dist/chunk-R7BNDCKV.js +0 -3722
- package/dist/termdb.boxplot.js +0 -11
- package/dist/termdb.violin.js +0 -11
- package/src/routes/termdb.boxplot.ts +0 -164
- package/src/routes/termdb.violin.ts +0 -163
|
@@ -21,9 +21,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (Array.isArray(input3.group1) && input3.group1.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.group2) && input3.group2.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.
|
|
24
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (Array.isArray(input3.group1) && input3.group1.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.group2) && input3.group2.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.lambda || "number" === typeof input3.lambda) && (void 0 === input3.C || "number" === typeof input3.C) && (void 0 === input3.fdr_cutoff || "number" === typeof input3.fdr_cutoff) && (void 0 === input3.group1Name || "string" === typeof input3.group1Name) && (void 0 === input3.group2Name || "string" === typeof input3.group2Name) && (void 0 === input3.blockWidth || "number" === typeof input3.blockWidth) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.maxLoessRegion || "number" === typeof input3.maxLoessRegion) && (void 0 === input3.colors || "object" === typeof input3.colors && null !== input3.colors && $io2(input3.colors)) && (void 0 === input3.backend || "rust" === input3.backend || "r" === input3.backend) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && true;
|
|
25
25
|
const $io1 = (input3) => ("string" === typeof input3.sampleId || "number" === typeof input3.sampleId) && "string" === typeof input3.sample;
|
|
26
|
-
const $io2 = (input3) => "string" === typeof input3.
|
|
26
|
+
const $io2 = (input3) => "string" === typeof input3.group1 && "string" === typeof input3.group2 && "string" === typeof input3.hyper && "string" === typeof input3.hypo;
|
|
27
27
|
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);
|
|
28
28
|
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
29
29
|
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);
|
|
@@ -45,7 +45,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
45
45
|
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);
|
|
46
46
|
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
47
47
|
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "string" === typeof input3.color;
|
|
48
|
-
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 && $
|
|
48
|
+
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 && $io38(elem)));
|
|
49
49
|
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));
|
|
50
50
|
const $io17 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
51
51
|
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);
|
|
@@ -64,19 +64,21 @@ var validTermdbDmrRequest = (input) => {
|
|
|
64
64
|
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);
|
|
65
65
|
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);
|
|
66
66
|
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;
|
|
67
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
68
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
72
|
-
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
73
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
74
|
-
const $io35 = (input3) => "
|
|
75
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
76
|
-
const $io37 = (input3) =>
|
|
77
|
-
const $io38 = (input3) => "string" === typeof input3.
|
|
78
|
-
const $io39 = (input3) => "
|
|
79
|
-
const $io40 = (input3) =>
|
|
67
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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 || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
|
|
68
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
69
|
+
const $io29 = (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));
|
|
70
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
71
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
72
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
73
|
+
const $io34 = (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));
|
|
74
|
+
const $io35 = (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);
|
|
75
|
+
const $io36 = (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;
|
|
76
|
+
const $io37 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
77
|
+
const $io38 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
78
|
+
const $io39 = (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 && $io40(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 && $io41(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io42(elem)));
|
|
79
|
+
const $io40 = (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));
|
|
80
|
+
const $io41 = (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;
|
|
81
|
+
const $io42 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
80
82
|
if (["key", "label"].some((prop) => key === prop))
|
|
81
83
|
return true;
|
|
82
84
|
const value = input3[key];
|
|
@@ -86,25 +88,25 @@ var validTermdbDmrRequest = (input) => {
|
|
|
86
88
|
return true;
|
|
87
89
|
return true;
|
|
88
90
|
});
|
|
89
|
-
const $
|
|
90
|
-
const $
|
|
91
|
-
const $
|
|
92
|
-
const $
|
|
93
|
-
const $
|
|
94
|
-
const $
|
|
95
|
-
const $
|
|
96
|
-
const $
|
|
97
|
-
const $
|
|
98
|
-
const $
|
|
99
|
-
const $
|
|
91
|
+
const $io43 = (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 && $io44(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io49(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);
|
|
92
|
+
const $io44 = (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));
|
|
93
|
+
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)) && "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 && $io44(elem)));
|
|
94
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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);
|
|
95
|
+
const $io47 = (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;
|
|
96
|
+
const $io48 = (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 && $io44(elem)));
|
|
97
|
+
const $io49 = (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);
|
|
98
|
+
const $io50 = (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;
|
|
99
|
+
const $io51 = (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 && $io52(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io53(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io55(input3.valueTransform));
|
|
100
|
+
const $io52 = (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));
|
|
101
|
+
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
100
102
|
const value = input3[key];
|
|
101
103
|
if (void 0 === value)
|
|
102
104
|
return true;
|
|
103
105
|
if (RegExp(/(.*)/).test(key))
|
|
104
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
106
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io54(value);
|
|
105
107
|
return true;
|
|
106
108
|
});
|
|
107
|
-
const $
|
|
109
|
+
const $io54 = (input3) => Object.keys(input3).every((key) => {
|
|
108
110
|
const value = input3[key];
|
|
109
111
|
if (void 0 === value)
|
|
110
112
|
return true;
|
|
@@ -112,9 +114,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
112
114
|
return true;
|
|
113
115
|
return true;
|
|
114
116
|
});
|
|
115
|
-
const $
|
|
116
|
-
const $
|
|
117
|
-
const $
|
|
117
|
+
const $io55 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
118
|
+
const $io56 = (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 && $io52(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io53(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io57(elem)));
|
|
119
|
+
const $io57 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
118
120
|
const $iu0 = (input3) => (() => {
|
|
119
121
|
if ("tvslst" === input3.type)
|
|
120
122
|
return $io3(input3);
|
|
@@ -135,14 +137,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
135
137
|
if (true === input3.stopunbounded)
|
|
136
138
|
return $io23(input3);
|
|
137
139
|
if (void 0 !== input3.value)
|
|
138
|
-
return $
|
|
140
|
+
return $io37(input3);
|
|
139
141
|
return $io22(input3);
|
|
140
142
|
})();
|
|
141
143
|
const $iu3 = (input3) => (() => {
|
|
142
144
|
if ("gene" === input3.kind)
|
|
143
|
-
return $
|
|
145
|
+
return $io46(input3);
|
|
144
146
|
if ("coord" === input3.kind)
|
|
145
|
-
return $
|
|
147
|
+
return $io47(input3);
|
|
146
148
|
return false;
|
|
147
149
|
})();
|
|
148
150
|
const $iu4 = (input3) => (() => {
|
|
@@ -156,14 +158,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
156
158
|
if (void 0 !== input3.ranges)
|
|
157
159
|
return $io15(input3);
|
|
158
160
|
if (void 0 !== input3.ratio)
|
|
159
|
-
return $
|
|
161
|
+
return $io50(input3);
|
|
160
162
|
return (() => {
|
|
161
163
|
if ($io5(input3))
|
|
162
164
|
return $io5(input3);
|
|
163
|
-
if ($
|
|
164
|
-
return $
|
|
165
|
-
if ($
|
|
166
|
-
return $
|
|
165
|
+
if ($io39(input3))
|
|
166
|
+
return $io39(input3);
|
|
167
|
+
if ($io43(input3))
|
|
168
|
+
return $io43(input3);
|
|
167
169
|
return false;
|
|
168
170
|
})();
|
|
169
171
|
})();
|
|
@@ -171,24 +173,28 @@ var validTermdbDmrRequest = (input) => {
|
|
|
171
173
|
if ("integer" === input3.type || "float" === input3.type)
|
|
172
174
|
return $io16(input3);
|
|
173
175
|
if ("metaboliteIntensity" === input3.type)
|
|
174
|
-
return $
|
|
176
|
+
return $io29(input3);
|
|
175
177
|
if ("proteomeAbundance" === input3.type)
|
|
176
|
-
return $io28(input3);
|
|
177
|
-
if ("date" === input3.type)
|
|
178
178
|
return $io30(input3);
|
|
179
|
+
if ("date" === input3.type)
|
|
180
|
+
return $io32(input3);
|
|
179
181
|
if ("ssGSEA" === input3.type)
|
|
180
|
-
return $
|
|
182
|
+
return $io33(input3);
|
|
181
183
|
if ("dnaMethylation" === input3.type)
|
|
182
|
-
return $
|
|
184
|
+
return $io34(input3);
|
|
183
185
|
return (() => {
|
|
184
186
|
if ($io26(input3))
|
|
185
187
|
return $io26(input3);
|
|
186
188
|
if ($io25(input3))
|
|
187
189
|
return $io25(input3);
|
|
188
|
-
if ($
|
|
189
|
-
return $
|
|
190
|
-
if ($
|
|
191
|
-
return $
|
|
190
|
+
if ($io28(input3))
|
|
191
|
+
return $io28(input3);
|
|
192
|
+
if ($io27(input3))
|
|
193
|
+
return $io27(input3);
|
|
194
|
+
if ($io36(input3))
|
|
195
|
+
return $io36(input3);
|
|
196
|
+
if ($io35(input3))
|
|
197
|
+
return $io35(input3);
|
|
192
198
|
return false;
|
|
193
199
|
})();
|
|
194
200
|
})();
|
|
@@ -215,16 +221,16 @@ var validTermdbDmrRequest = (input) => {
|
|
|
215
221
|
})();
|
|
216
222
|
const $iu10 = (input3) => (() => {
|
|
217
223
|
if ("gene" === input3.kind)
|
|
218
|
-
return $
|
|
224
|
+
return $io45(input3);
|
|
219
225
|
if ("coord" === input3.kind)
|
|
220
|
-
return $
|
|
226
|
+
return $io48(input3);
|
|
221
227
|
return false;
|
|
222
228
|
})();
|
|
223
229
|
const $iu11 = (input3) => (() => {
|
|
224
230
|
if ("numeric" === input3.memberType)
|
|
225
|
-
return $
|
|
231
|
+
return $io51(input3);
|
|
226
232
|
if ("categorical" === input3.memberType)
|
|
227
|
-
return $
|
|
233
|
+
return $io56(input3);
|
|
228
234
|
return false;
|
|
229
235
|
})();
|
|
230
236
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -285,26 +291,50 @@ var validTermdbDmrRequest = (input) => {
|
|
|
285
291
|
path: _path2 + ".stop",
|
|
286
292
|
expected: "number",
|
|
287
293
|
value: input3.stop
|
|
288
|
-
}), void 0 === input3.
|
|
289
|
-
path: _path2 + ".
|
|
290
|
-
expected: "(Array<DmrAnnotation> | undefined)",
|
|
291
|
-
value: input3.annotations
|
|
292
|
-
})) && input3.annotations.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
293
|
-
path: _path2 + ".annotations[" + _index3 + "]",
|
|
294
|
-
expected: "DmrAnnotation",
|
|
295
|
-
value: elem
|
|
296
|
-
})) && $vo2(elem, _path2 + ".annotations[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
297
|
-
path: _path2 + ".annotations[" + _index3 + "]",
|
|
298
|
-
expected: "DmrAnnotation",
|
|
299
|
-
value: elem
|
|
300
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
301
|
-
path: _path2 + ".annotations",
|
|
302
|
-
expected: "(Array<DmrAnnotation> | undefined)",
|
|
303
|
-
value: input3.annotations
|
|
304
|
-
}), void 0 === input3.nan_threshold || "number" === typeof input3.nan_threshold || $report(_exceptionable2, {
|
|
305
|
-
path: _path2 + ".nan_threshold",
|
|
294
|
+
}), void 0 === input3.lambda || "number" === typeof input3.lambda || $report(_exceptionable2, {
|
|
295
|
+
path: _path2 + ".lambda",
|
|
306
296
|
expected: "(number | undefined)",
|
|
307
|
-
value: input3.
|
|
297
|
+
value: input3.lambda
|
|
298
|
+
}), void 0 === input3.C || "number" === typeof input3.C || $report(_exceptionable2, {
|
|
299
|
+
path: _path2 + ".C",
|
|
300
|
+
expected: "(number | undefined)",
|
|
301
|
+
value: input3.C
|
|
302
|
+
}), void 0 === input3.fdr_cutoff || "number" === typeof input3.fdr_cutoff || $report(_exceptionable2, {
|
|
303
|
+
path: _path2 + ".fdr_cutoff",
|
|
304
|
+
expected: "(number | undefined)",
|
|
305
|
+
value: input3.fdr_cutoff
|
|
306
|
+
}), void 0 === input3.group1Name || "string" === typeof input3.group1Name || $report(_exceptionable2, {
|
|
307
|
+
path: _path2 + ".group1Name",
|
|
308
|
+
expected: "(string | undefined)",
|
|
309
|
+
value: input3.group1Name
|
|
310
|
+
}), void 0 === input3.group2Name || "string" === typeof input3.group2Name || $report(_exceptionable2, {
|
|
311
|
+
path: _path2 + ".group2Name",
|
|
312
|
+
expected: "(string | undefined)",
|
|
313
|
+
value: input3.group2Name
|
|
314
|
+
}), void 0 === input3.blockWidth || "number" === typeof input3.blockWidth || $report(_exceptionable2, {
|
|
315
|
+
path: _path2 + ".blockWidth",
|
|
316
|
+
expected: "(number | undefined)",
|
|
317
|
+
value: input3.blockWidth
|
|
318
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
319
|
+
path: _path2 + ".devicePixelRatio",
|
|
320
|
+
expected: "(number | undefined)",
|
|
321
|
+
value: input3.devicePixelRatio
|
|
322
|
+
}), void 0 === input3.maxLoessRegion || "number" === typeof input3.maxLoessRegion || $report(_exceptionable2, {
|
|
323
|
+
path: _path2 + ".maxLoessRegion",
|
|
324
|
+
expected: "(number | undefined)",
|
|
325
|
+
value: input3.maxLoessRegion
|
|
326
|
+
}), void 0 === input3.colors || ("object" === typeof input3.colors && null !== input3.colors || $report(_exceptionable2, {
|
|
327
|
+
path: _path2 + ".colors",
|
|
328
|
+
expected: "(__type | undefined)",
|
|
329
|
+
value: input3.colors
|
|
330
|
+
})) && $vo2(input3.colors, _path2 + ".colors", _exceptionable2) || $report(_exceptionable2, {
|
|
331
|
+
path: _path2 + ".colors",
|
|
332
|
+
expected: "(__type | undefined)",
|
|
333
|
+
value: input3.colors
|
|
334
|
+
}), void 0 === input3.backend || "rust" === input3.backend || "r" === input3.backend || $report(_exceptionable2, {
|
|
335
|
+
path: _path2 + ".backend",
|
|
336
|
+
expected: '("r" | "rust" | undefined)',
|
|
337
|
+
value: input3.backend
|
|
308
338
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
309
339
|
path: _path2 + ".filter",
|
|
310
340
|
expected: "(Filter | undefined)",
|
|
@@ -323,26 +353,22 @@ var validTermdbDmrRequest = (input) => {
|
|
|
323
353
|
expected: "string",
|
|
324
354
|
value: input3.sample
|
|
325
355
|
})].every((flag) => flag);
|
|
326
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
327
|
-
path: _path2 + ".
|
|
356
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.group1 || $report(_exceptionable2, {
|
|
357
|
+
path: _path2 + ".group1",
|
|
328
358
|
expected: "string",
|
|
329
|
-
value: input3.
|
|
330
|
-
}), "
|
|
331
|
-
path: _path2 + ".
|
|
332
|
-
expected: "
|
|
333
|
-
value: input3.
|
|
334
|
-
}), "
|
|
335
|
-
path: _path2 + ".
|
|
336
|
-
expected: "
|
|
337
|
-
value: input3.
|
|
338
|
-
}),
|
|
339
|
-
path: _path2 + ".
|
|
340
|
-
expected: "
|
|
341
|
-
value: input3.
|
|
342
|
-
}), void 0 === input3.length_scale_bp || "number" === typeof input3.length_scale_bp || $report(_exceptionable2, {
|
|
343
|
-
path: _path2 + ".length_scale_bp",
|
|
344
|
-
expected: "(number | undefined)",
|
|
345
|
-
value: input3.length_scale_bp
|
|
359
|
+
value: input3.group1
|
|
360
|
+
}), "string" === typeof input3.group2 || $report(_exceptionable2, {
|
|
361
|
+
path: _path2 + ".group2",
|
|
362
|
+
expected: "string",
|
|
363
|
+
value: input3.group2
|
|
364
|
+
}), "string" === typeof input3.hyper || $report(_exceptionable2, {
|
|
365
|
+
path: _path2 + ".hyper",
|
|
366
|
+
expected: "string",
|
|
367
|
+
value: input3.hyper
|
|
368
|
+
}), "string" === typeof input3.hypo || $report(_exceptionable2, {
|
|
369
|
+
path: _path2 + ".hypo",
|
|
370
|
+
expected: "string",
|
|
371
|
+
value: input3.hypo
|
|
346
372
|
})].every((flag) => flag);
|
|
347
373
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
348
374
|
path: _path2 + ".type",
|
|
@@ -364,13 +390,13 @@ var validTermdbDmrRequest = (input) => {
|
|
|
364
390
|
path: _path2 + ".lst",
|
|
365
391
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
366
392
|
value: input3.lst
|
|
367
|
-
})) && input3.lst.map((elem,
|
|
368
|
-
path: _path2 + ".lst[" +
|
|
369
|
-
expected: "(Filter | __type)",
|
|
393
|
+
})) && input3.lst.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
394
|
+
path: _path2 + ".lst[" + _index3 + "]",
|
|
395
|
+
expected: "(Filter | __type.o1)",
|
|
370
396
|
value: elem
|
|
371
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
372
|
-
path: _path2 + ".lst[" +
|
|
373
|
-
expected: "(Filter | __type)",
|
|
397
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
398
|
+
path: _path2 + ".lst[" + _index3 + "]",
|
|
399
|
+
expected: "(Filter | __type.o1)",
|
|
374
400
|
value: elem
|
|
375
401
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
376
402
|
path: _path2 + ".lst",
|
|
@@ -438,12 +464,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
438
464
|
path: _path2 + ".values",
|
|
439
465
|
expected: "Array<BaseValue>",
|
|
440
466
|
value: input3.values
|
|
441
|
-
})) && input3.values.map((elem,
|
|
442
|
-
path: _path2 + ".values[" +
|
|
467
|
+
})) && input3.values.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
468
|
+
path: _path2 + ".values[" + _index4 + "]",
|
|
443
469
|
expected: "BaseValue",
|
|
444
470
|
value: elem
|
|
445
|
-
})) && $vo8(elem, _path2 + ".values[" +
|
|
446
|
-
path: _path2 + ".values[" +
|
|
471
|
+
})) && $vo8(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
472
|
+
path: _path2 + ".values[" + _index4 + "]",
|
|
447
473
|
expected: "BaseValue",
|
|
448
474
|
value: elem
|
|
449
475
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -471,8 +497,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
471
497
|
path: _path2 + ".child_types",
|
|
472
498
|
expected: "(Array<string> | undefined)",
|
|
473
499
|
value: input3.child_types
|
|
474
|
-
})) && input3.child_types.map((elem,
|
|
475
|
-
path: _path2 + ".child_types[" +
|
|
500
|
+
})) && input3.child_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
501
|
+
path: _path2 + ".child_types[" + _index5 + "]",
|
|
476
502
|
expected: "string",
|
|
477
503
|
value: elem
|
|
478
504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -487,8 +513,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
487
513
|
path: _path2 + ".included_types",
|
|
488
514
|
expected: "(Array<string> | undefined)",
|
|
489
515
|
value: input3.included_types
|
|
490
|
-
})) && input3.included_types.map((elem,
|
|
491
|
-
path: _path2 + ".included_types[" +
|
|
516
|
+
})) && input3.included_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
517
|
+
path: _path2 + ".included_types[" + _index6 + "]",
|
|
492
518
|
expected: "string",
|
|
493
519
|
value: elem
|
|
494
520
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -513,11 +539,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
513
539
|
value: input3.skipValuesBuild
|
|
514
540
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
515
541
|
path: _path2 + ".valueConversion",
|
|
516
|
-
expected: "(__type.
|
|
542
|
+
expected: "(__type.o2 | undefined)",
|
|
517
543
|
value: input3.valueConversion
|
|
518
544
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
519
545
|
path: _path2 + ".valueConversion",
|
|
520
|
-
expected: "(__type.
|
|
546
|
+
expected: "(__type.o2 | undefined)",
|
|
521
547
|
value: input3.valueConversion
|
|
522
548
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
523
549
|
path: _path2 + ".groupsetting",
|
|
@@ -608,12 +634,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
608
634
|
path: _path2 + ".lst",
|
|
609
635
|
expected: "(Array<Groupset> | undefined)",
|
|
610
636
|
value: input3.lst
|
|
611
|
-
})) && input3.lst.map((elem,
|
|
612
|
-
path: _path2 + ".lst[" +
|
|
637
|
+
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
613
639
|
expected: "Groupset",
|
|
614
640
|
value: elem
|
|
615
|
-
})) && $vo11(elem, _path2 + ".lst[" +
|
|
616
|
-
path: _path2 + ".lst[" +
|
|
641
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
617
643
|
expected: "Groupset",
|
|
618
644
|
value: elem
|
|
619
645
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -641,12 +667,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
641
667
|
path: _path2 + ".groups",
|
|
642
668
|
expected: "Array<GroupEntry>",
|
|
643
669
|
value: input3.groups
|
|
644
|
-
})) && input3.groups.map((elem,
|
|
645
|
-
path: _path2 + ".groups[" +
|
|
670
|
+
})) && input3.groups.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
671
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
646
672
|
expected: "(FilterGroup | ValuesGroup)",
|
|
647
673
|
value: elem
|
|
648
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
649
|
-
path: _path2 + ".groups[" +
|
|
674
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
675
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
650
676
|
expected: "(FilterGroup | ValuesGroup)",
|
|
651
677
|
value: elem
|
|
652
678
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -666,13 +692,13 @@ var validTermdbDmrRequest = (input) => {
|
|
|
666
692
|
path: _path2 + ".values",
|
|
667
693
|
expected: "Array<__type>",
|
|
668
694
|
value: input3.values
|
|
669
|
-
})) && input3.values.map((elem,
|
|
670
|
-
path: _path2 + ".values[" +
|
|
671
|
-
expected: "__type.
|
|
695
|
+
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
696
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
697
|
+
expected: "__type.o3",
|
|
672
698
|
value: elem
|
|
673
|
-
})) && $vo13(elem, _path2 + ".values[" +
|
|
674
|
-
path: _path2 + ".values[" +
|
|
675
|
-
expected: "__type.
|
|
699
|
+
})) && $vo13(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
700
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
701
|
+
expected: "__type.o3",
|
|
676
702
|
value: elem
|
|
677
703
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
678
704
|
path: _path2 + ".values",
|
|
@@ -743,23 +769,23 @@ var validTermdbDmrRequest = (input) => {
|
|
|
743
769
|
value: input3.value_by_computable_grade
|
|
744
770
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
745
771
|
path: _path2 + ".term",
|
|
746
|
-
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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
772
|
+
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: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Isoform | 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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
747
773
|
value: input3.term
|
|
748
774
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
749
775
|
path: _path2 + ".term",
|
|
750
|
-
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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
776
|
+
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: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Isoform | 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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
751
777
|
value: input3.term
|
|
752
778
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
753
779
|
path: _path2 + ".ranges",
|
|
754
780
|
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
755
781
|
value: input3.ranges
|
|
756
|
-
})) && input3.ranges.map((elem,
|
|
757
|
-
path: _path2 + ".ranges[" +
|
|
758
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.
|
|
782
|
+
})) && input3.ranges.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
783
|
+
path: _path2 + ".ranges[" + _index10 + "]",
|
|
784
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o5)",
|
|
759
785
|
value: elem
|
|
760
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
761
|
-
path: _path2 + ".ranges[" +
|
|
762
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.
|
|
786
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
787
|
+
path: _path2 + ".ranges[" + _index10 + "]",
|
|
788
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o5)",
|
|
763
789
|
value: elem
|
|
764
790
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
765
791
|
path: _path2 + ".ranges",
|
|
@@ -769,13 +795,13 @@ var validTermdbDmrRequest = (input) => {
|
|
|
769
795
|
path: _path2 + ".values",
|
|
770
796
|
expected: "(Array<__type>.o1 | undefined)",
|
|
771
797
|
value: input3.values
|
|
772
|
-
})) && input3.values.map((elem,
|
|
773
|
-
path: _path2 + ".values[" +
|
|
774
|
-
expected: "__type.
|
|
798
|
+
})) && input3.values.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
799
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
800
|
+
expected: "__type.o6",
|
|
775
801
|
value: elem
|
|
776
|
-
})) && $
|
|
777
|
-
path: _path2 + ".values[" +
|
|
778
|
-
expected: "__type.
|
|
802
|
+
})) && $vo38(elem, _path2 + ".values[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
803
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
804
|
+
expected: "__type.o6",
|
|
779
805
|
value: elem
|
|
780
806
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
781
807
|
path: _path2 + ".values",
|
|
@@ -798,8 +824,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
798
824
|
path: _path2 + ".child_types",
|
|
799
825
|
expected: "(Array<string> | undefined)",
|
|
800
826
|
value: input3.child_types
|
|
801
|
-
})) && input3.child_types.map((elem,
|
|
802
|
-
path: _path2 + ".child_types[" +
|
|
827
|
+
})) && input3.child_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
828
|
+
path: _path2 + ".child_types[" + _index12 + "]",
|
|
803
829
|
expected: "string",
|
|
804
830
|
value: elem
|
|
805
831
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -814,8 +840,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
814
840
|
path: _path2 + ".included_types",
|
|
815
841
|
expected: "(Array<string> | undefined)",
|
|
816
842
|
value: input3.included_types
|
|
817
|
-
})) && input3.included_types.map((elem,
|
|
818
|
-
path: _path2 + ".included_types[" +
|
|
843
|
+
})) && input3.included_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
844
|
+
path: _path2 + ".included_types[" + _index13 + "]",
|
|
819
845
|
expected: "string",
|
|
820
846
|
value: elem
|
|
821
847
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -840,19 +866,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
840
866
|
value: input3.skipValuesBuild
|
|
841
867
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
842
868
|
path: _path2 + ".valueConversion",
|
|
843
|
-
expected: "(__type.
|
|
869
|
+
expected: "(__type.o2 | undefined)",
|
|
844
870
|
value: input3.valueConversion
|
|
845
871
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
846
872
|
path: _path2 + ".valueConversion",
|
|
847
|
-
expected: "(__type.
|
|
873
|
+
expected: "(__type.o2 | undefined)",
|
|
848
874
|
value: input3.valueConversion
|
|
849
875
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
850
876
|
path: _path2 + ".continuousColorScale",
|
|
851
|
-
expected: "(__type.
|
|
877
|
+
expected: "(__type.o4 | undefined)",
|
|
852
878
|
value: input3.continuousColorScale
|
|
853
879
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
854
880
|
path: _path2 + ".continuousColorScale",
|
|
855
|
-
expected: "(__type.
|
|
881
|
+
expected: "(__type.o4 | undefined)",
|
|
856
882
|
value: input3.continuousColorScale
|
|
857
883
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
858
884
|
path: _path2 + ".unit",
|
|
@@ -1131,12 +1157,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1131
1157
|
path: _path2 + ".lst",
|
|
1132
1158
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1133
1159
|
value: input3.lst.slice(1)
|
|
1134
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1135
|
-
path: _path2 + ".lst[" + (1 +
|
|
1160
|
+
})) && input3.lst.slice(1).map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1161
|
+
path: _path2 + ".lst[" + (1 + _index14) + "]",
|
|
1136
1162
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1137
1163
|
value: elem
|
|
1138
|
-
})) && $vu4(elem, _path2 + ".lst[" + (1 +
|
|
1139
|
-
path: _path2 + ".lst[" + (1 +
|
|
1164
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index14) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1165
|
+
path: _path2 + ".lst[" + (1 + _index14) + "]",
|
|
1140
1166
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1141
1167
|
value: elem
|
|
1142
1168
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1172,8 +1198,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1172
1198
|
path: _path2 + ".child_types",
|
|
1173
1199
|
expected: "(Array<string> | undefined)",
|
|
1174
1200
|
value: input3.child_types
|
|
1175
|
-
})) && input3.child_types.map((elem,
|
|
1176
|
-
path: _path2 + ".child_types[" +
|
|
1201
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1202
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1177
1203
|
expected: "string",
|
|
1178
1204
|
value: elem
|
|
1179
1205
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1188,8 +1214,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1188
1214
|
path: _path2 + ".included_types",
|
|
1189
1215
|
expected: "(Array<string> | undefined)",
|
|
1190
1216
|
value: input3.included_types
|
|
1191
|
-
})) && input3.included_types.map((elem,
|
|
1192
|
-
path: _path2 + ".included_types[" +
|
|
1217
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1218
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1193
1219
|
expected: "string",
|
|
1194
1220
|
value: elem
|
|
1195
1221
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1214,19 +1240,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1214
1240
|
value: input3.skipValuesBuild
|
|
1215
1241
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1216
1242
|
path: _path2 + ".valueConversion",
|
|
1217
|
-
expected: "(__type.
|
|
1243
|
+
expected: "(__type.o2 | undefined)",
|
|
1218
1244
|
value: input3.valueConversion
|
|
1219
1245
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1220
1246
|
path: _path2 + ".valueConversion",
|
|
1221
|
-
expected: "(__type.
|
|
1247
|
+
expected: "(__type.o2 | undefined)",
|
|
1222
1248
|
value: input3.valueConversion
|
|
1223
1249
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1224
1250
|
path: _path2 + ".continuousColorScale",
|
|
1225
|
-
expected: "(__type.
|
|
1251
|
+
expected: "(__type.o4 | undefined)",
|
|
1226
1252
|
value: input3.continuousColorScale
|
|
1227
1253
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1228
1254
|
path: _path2 + ".continuousColorScale",
|
|
1229
|
-
expected: "(__type.
|
|
1255
|
+
expected: "(__type.o4 | undefined)",
|
|
1230
1256
|
value: input3.continuousColorScale
|
|
1231
1257
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1232
1258
|
path: _path2 + ".unit",
|
|
@@ -1277,8 +1303,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1277
1303
|
path: _path2 + ".child_types",
|
|
1278
1304
|
expected: "(Array<string> | undefined)",
|
|
1279
1305
|
value: input3.child_types
|
|
1280
|
-
})) && input3.child_types.map((elem,
|
|
1281
|
-
path: _path2 + ".child_types[" +
|
|
1306
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1307
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1282
1308
|
expected: "string",
|
|
1283
1309
|
value: elem
|
|
1284
1310
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1293,8 +1319,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1293
1319
|
path: _path2 + ".included_types",
|
|
1294
1320
|
expected: "(Array<string> | undefined)",
|
|
1295
1321
|
value: input3.included_types
|
|
1296
|
-
})) && input3.included_types.map((elem,
|
|
1297
|
-
path: _path2 + ".included_types[" +
|
|
1322
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1323
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1298
1324
|
expected: "string",
|
|
1299
1325
|
value: elem
|
|
1300
1326
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1319,19 +1345,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1319
1345
|
value: input3.skipValuesBuild
|
|
1320
1346
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1321
1347
|
path: _path2 + ".valueConversion",
|
|
1322
|
-
expected: "(__type.
|
|
1348
|
+
expected: "(__type.o2 | undefined)",
|
|
1323
1349
|
value: input3.valueConversion
|
|
1324
1350
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1325
1351
|
path: _path2 + ".valueConversion",
|
|
1326
|
-
expected: "(__type.
|
|
1352
|
+
expected: "(__type.o2 | undefined)",
|
|
1327
1353
|
value: input3.valueConversion
|
|
1328
1354
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1329
1355
|
path: _path2 + ".continuousColorScale",
|
|
1330
|
-
expected: "(__type.
|
|
1356
|
+
expected: "(__type.o4 | undefined)",
|
|
1331
1357
|
value: input3.continuousColorScale
|
|
1332
1358
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1333
1359
|
path: _path2 + ".continuousColorScale",
|
|
1334
|
-
expected: "(__type.
|
|
1360
|
+
expected: "(__type.o4 | undefined)",
|
|
1335
1361
|
value: input3.continuousColorScale
|
|
1336
1362
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1337
1363
|
path: _path2 + ".unit",
|
|
@@ -1374,6 +1400,224 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1374
1400
|
path: _path2 + ".name",
|
|
1375
1401
|
expected: "string",
|
|
1376
1402
|
value: input3.name
|
|
1403
|
+
}), "isoformExpression" === input3.type || $report(_exceptionable2, {
|
|
1404
|
+
path: _path2 + ".type",
|
|
1405
|
+
expected: '"isoformExpression"',
|
|
1406
|
+
value: input3.type
|
|
1407
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1408
|
+
path: _path2 + ".child_types",
|
|
1409
|
+
expected: "(Array<string> | undefined)",
|
|
1410
|
+
value: input3.child_types
|
|
1411
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1412
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1413
|
+
expected: "string",
|
|
1414
|
+
value: elem
|
|
1415
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1416
|
+
path: _path2 + ".child_types",
|
|
1417
|
+
expected: "(Array<string> | undefined)",
|
|
1418
|
+
value: input3.child_types
|
|
1419
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1420
|
+
path: _path2 + ".hashtmldetail",
|
|
1421
|
+
expected: "(boolean | undefined)",
|
|
1422
|
+
value: input3.hashtmldetail
|
|
1423
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1424
|
+
path: _path2 + ".included_types",
|
|
1425
|
+
expected: "(Array<string> | undefined)",
|
|
1426
|
+
value: input3.included_types
|
|
1427
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1428
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1429
|
+
expected: "string",
|
|
1430
|
+
value: elem
|
|
1431
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1432
|
+
path: _path2 + ".included_types",
|
|
1433
|
+
expected: "(Array<string> | undefined)",
|
|
1434
|
+
value: input3.included_types
|
|
1435
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1436
|
+
path: _path2 + ".isleaf",
|
|
1437
|
+
expected: "(boolean | undefined)",
|
|
1438
|
+
value: input3.isleaf
|
|
1439
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".values",
|
|
1441
|
+
expected: "(TermValues | undefined)",
|
|
1442
|
+
value: input3.values
|
|
1443
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1444
|
+
path: _path2 + ".values",
|
|
1445
|
+
expected: "(TermValues | undefined)",
|
|
1446
|
+
value: input3.values
|
|
1447
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".skipValuesBuild",
|
|
1449
|
+
expected: "(boolean | undefined)",
|
|
1450
|
+
value: input3.skipValuesBuild
|
|
1451
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1452
|
+
path: _path2 + ".valueConversion",
|
|
1453
|
+
expected: "(__type.o2 | undefined)",
|
|
1454
|
+
value: input3.valueConversion
|
|
1455
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".valueConversion",
|
|
1457
|
+
expected: "(__type.o2 | undefined)",
|
|
1458
|
+
value: input3.valueConversion
|
|
1459
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".continuousColorScale",
|
|
1461
|
+
expected: "(__type.o4 | undefined)",
|
|
1462
|
+
value: input3.continuousColorScale
|
|
1463
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".continuousColorScale",
|
|
1465
|
+
expected: "(__type.o4 | undefined)",
|
|
1466
|
+
value: input3.continuousColorScale
|
|
1467
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".unit",
|
|
1469
|
+
expected: "(string | undefined)",
|
|
1470
|
+
value: input3.unit
|
|
1471
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1472
|
+
path: _path2 + ".bins",
|
|
1473
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1474
|
+
value: input3.bins
|
|
1475
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1476
|
+
path: _path2 + ".bins",
|
|
1477
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1478
|
+
value: input3.bins
|
|
1479
|
+
}), void 0 === input3.kind || "isoform" === input3.kind || $report(_exceptionable2, {
|
|
1480
|
+
path: _path2 + ".kind",
|
|
1481
|
+
expected: '("isoform" | undefined)',
|
|
1482
|
+
value: input3.kind
|
|
1483
|
+
}), "string" === typeof input3.isoform || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".isoform",
|
|
1485
|
+
expected: "string",
|
|
1486
|
+
value: input3.isoform
|
|
1487
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1488
|
+
path: _path2 + ".gene",
|
|
1489
|
+
expected: "(string | undefined)",
|
|
1490
|
+
value: input3.gene
|
|
1491
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1492
|
+
path: _path2 + ".chr",
|
|
1493
|
+
expected: "(string | undefined)",
|
|
1494
|
+
value: input3.chr
|
|
1495
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1496
|
+
path: _path2 + ".start",
|
|
1497
|
+
expected: "(number | undefined)",
|
|
1498
|
+
value: input3.start
|
|
1499
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1500
|
+
path: _path2 + ".stop",
|
|
1501
|
+
expected: "(number | undefined)",
|
|
1502
|
+
value: input3.stop
|
|
1503
|
+
})].every((flag) => flag);
|
|
1504
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".id",
|
|
1506
|
+
expected: "string",
|
|
1507
|
+
value: input3.id
|
|
1508
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".name",
|
|
1510
|
+
expected: "string",
|
|
1511
|
+
value: input3.name
|
|
1512
|
+
}), "isoformExpression" === input3.type || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".type",
|
|
1514
|
+
expected: '"isoformExpression"',
|
|
1515
|
+
value: input3.type
|
|
1516
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".child_types",
|
|
1518
|
+
expected: "(Array<string> | undefined)",
|
|
1519
|
+
value: input3.child_types
|
|
1520
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1522
|
+
expected: "string",
|
|
1523
|
+
value: elem
|
|
1524
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".child_types",
|
|
1526
|
+
expected: "(Array<string> | undefined)",
|
|
1527
|
+
value: input3.child_types
|
|
1528
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".hashtmldetail",
|
|
1530
|
+
expected: "(boolean | undefined)",
|
|
1531
|
+
value: input3.hashtmldetail
|
|
1532
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1533
|
+
path: _path2 + ".included_types",
|
|
1534
|
+
expected: "(Array<string> | undefined)",
|
|
1535
|
+
value: input3.included_types
|
|
1536
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1538
|
+
expected: "string",
|
|
1539
|
+
value: elem
|
|
1540
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".included_types",
|
|
1542
|
+
expected: "(Array<string> | undefined)",
|
|
1543
|
+
value: input3.included_types
|
|
1544
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".isleaf",
|
|
1546
|
+
expected: "(boolean | undefined)",
|
|
1547
|
+
value: input3.isleaf
|
|
1548
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".values",
|
|
1550
|
+
expected: "(TermValues | undefined)",
|
|
1551
|
+
value: input3.values
|
|
1552
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".values",
|
|
1554
|
+
expected: "(TermValues | undefined)",
|
|
1555
|
+
value: input3.values
|
|
1556
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".skipValuesBuild",
|
|
1558
|
+
expected: "(boolean | undefined)",
|
|
1559
|
+
value: input3.skipValuesBuild
|
|
1560
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".valueConversion",
|
|
1562
|
+
expected: "(__type.o2 | undefined)",
|
|
1563
|
+
value: input3.valueConversion
|
|
1564
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".valueConversion",
|
|
1566
|
+
expected: "(__type.o2 | undefined)",
|
|
1567
|
+
value: input3.valueConversion
|
|
1568
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".continuousColorScale",
|
|
1570
|
+
expected: "(__type.o4 | undefined)",
|
|
1571
|
+
value: input3.continuousColorScale
|
|
1572
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1573
|
+
path: _path2 + ".continuousColorScale",
|
|
1574
|
+
expected: "(__type.o4 | undefined)",
|
|
1575
|
+
value: input3.continuousColorScale
|
|
1576
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1577
|
+
path: _path2 + ".unit",
|
|
1578
|
+
expected: "(string | undefined)",
|
|
1579
|
+
value: input3.unit
|
|
1580
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1581
|
+
path: _path2 + ".bins",
|
|
1582
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1583
|
+
value: input3.bins
|
|
1584
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1585
|
+
path: _path2 + ".bins",
|
|
1586
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1587
|
+
value: input3.bins
|
|
1588
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1589
|
+
path: _path2 + ".kind",
|
|
1590
|
+
expected: '("coord" | undefined)',
|
|
1591
|
+
value: input3.kind
|
|
1592
|
+
}), void 0 === input3.isoform || "string" === typeof input3.isoform || $report(_exceptionable2, {
|
|
1593
|
+
path: _path2 + ".isoform",
|
|
1594
|
+
expected: "(string | undefined)",
|
|
1595
|
+
value: input3.isoform
|
|
1596
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1597
|
+
path: _path2 + ".gene",
|
|
1598
|
+
expected: "(string | undefined)",
|
|
1599
|
+
value: input3.gene
|
|
1600
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1601
|
+
path: _path2 + ".chr",
|
|
1602
|
+
expected: "string",
|
|
1603
|
+
value: input3.chr
|
|
1604
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1605
|
+
path: _path2 + ".start",
|
|
1606
|
+
expected: "number",
|
|
1607
|
+
value: input3.start
|
|
1608
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1609
|
+
path: _path2 + ".stop",
|
|
1610
|
+
expected: "number",
|
|
1611
|
+
value: input3.stop
|
|
1612
|
+
})].every((flag) => flag);
|
|
1613
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".id",
|
|
1615
|
+
expected: "string",
|
|
1616
|
+
value: input3.id
|
|
1617
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".name",
|
|
1619
|
+
expected: "string",
|
|
1620
|
+
value: input3.name
|
|
1377
1621
|
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1378
1622
|
path: _path2 + ".type",
|
|
1379
1623
|
expected: '"metaboliteIntensity"',
|
|
@@ -1382,8 +1626,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1382
1626
|
path: _path2 + ".child_types",
|
|
1383
1627
|
expected: "(Array<string> | undefined)",
|
|
1384
1628
|
value: input3.child_types
|
|
1385
|
-
})) && input3.child_types.map((elem,
|
|
1386
|
-
path: _path2 + ".child_types[" +
|
|
1629
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1387
1631
|
expected: "string",
|
|
1388
1632
|
value: elem
|
|
1389
1633
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1398,8 +1642,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1398
1642
|
path: _path2 + ".included_types",
|
|
1399
1643
|
expected: "(Array<string> | undefined)",
|
|
1400
1644
|
value: input3.included_types
|
|
1401
|
-
})) && input3.included_types.map((elem,
|
|
1402
|
-
path: _path2 + ".included_types[" +
|
|
1645
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1646
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1403
1647
|
expected: "string",
|
|
1404
1648
|
value: elem
|
|
1405
1649
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1424,19 +1668,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1424
1668
|
value: input3.skipValuesBuild
|
|
1425
1669
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1426
1670
|
path: _path2 + ".valueConversion",
|
|
1427
|
-
expected: "(__type.
|
|
1671
|
+
expected: "(__type.o2 | undefined)",
|
|
1428
1672
|
value: input3.valueConversion
|
|
1429
1673
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1430
1674
|
path: _path2 + ".valueConversion",
|
|
1431
|
-
expected: "(__type.
|
|
1675
|
+
expected: "(__type.o2 | undefined)",
|
|
1432
1676
|
value: input3.valueConversion
|
|
1433
1677
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1434
1678
|
path: _path2 + ".continuousColorScale",
|
|
1435
|
-
expected: "(__type.
|
|
1679
|
+
expected: "(__type.o4 | undefined)",
|
|
1436
1680
|
value: input3.continuousColorScale
|
|
1437
1681
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1438
1682
|
path: _path2 + ".continuousColorScale",
|
|
1439
|
-
expected: "(__type.
|
|
1683
|
+
expected: "(__type.o4 | undefined)",
|
|
1440
1684
|
value: input3.continuousColorScale
|
|
1441
1685
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1442
1686
|
path: _path2 + ".unit",
|
|
@@ -1455,7 +1699,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1455
1699
|
expected: "(PresetNumericBins | undefined)",
|
|
1456
1700
|
value: input3.bins
|
|
1457
1701
|
})].every((flag) => flag);
|
|
1458
|
-
const $
|
|
1702
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1459
1703
|
path: _path2 + ".id",
|
|
1460
1704
|
expected: "string",
|
|
1461
1705
|
value: input3.id
|
|
@@ -1471,8 +1715,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1471
1715
|
path: _path2 + ".child_types",
|
|
1472
1716
|
expected: "(Array<string> | undefined)",
|
|
1473
1717
|
value: input3.child_types
|
|
1474
|
-
})) && input3.child_types.map((elem,
|
|
1475
|
-
path: _path2 + ".child_types[" +
|
|
1718
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1719
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1476
1720
|
expected: "string",
|
|
1477
1721
|
value: elem
|
|
1478
1722
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1487,8 +1731,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1487
1731
|
path: _path2 + ".included_types",
|
|
1488
1732
|
expected: "(Array<string> | undefined)",
|
|
1489
1733
|
value: input3.included_types
|
|
1490
|
-
})) && input3.included_types.map((elem,
|
|
1491
|
-
path: _path2 + ".included_types[" +
|
|
1734
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1735
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1492
1736
|
expected: "string",
|
|
1493
1737
|
value: elem
|
|
1494
1738
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1513,19 +1757,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1513
1757
|
value: input3.skipValuesBuild
|
|
1514
1758
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1515
1759
|
path: _path2 + ".valueConversion",
|
|
1516
|
-
expected: "(__type.
|
|
1760
|
+
expected: "(__type.o2 | undefined)",
|
|
1517
1761
|
value: input3.valueConversion
|
|
1518
1762
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1519
1763
|
path: _path2 + ".valueConversion",
|
|
1520
|
-
expected: "(__type.
|
|
1764
|
+
expected: "(__type.o2 | undefined)",
|
|
1521
1765
|
value: input3.valueConversion
|
|
1522
1766
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1523
1767
|
path: _path2 + ".continuousColorScale",
|
|
1524
|
-
expected: "(__type.
|
|
1768
|
+
expected: "(__type.o4 | undefined)",
|
|
1525
1769
|
value: input3.continuousColorScale
|
|
1526
1770
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1527
1771
|
path: _path2 + ".continuousColorScale",
|
|
1528
|
-
expected: "(__type.
|
|
1772
|
+
expected: "(__type.o4 | undefined)",
|
|
1529
1773
|
value: input3.continuousColorScale
|
|
1530
1774
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1531
1775
|
path: _path2 + ".unit",
|
|
@@ -1547,12 +1791,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1547
1791
|
path: _path2 + ".proteomeDetails",
|
|
1548
1792
|
expected: "ProteomeDetails",
|
|
1549
1793
|
value: input3.proteomeDetails
|
|
1550
|
-
})) && $
|
|
1794
|
+
})) && $vo31(input3.proteomeDetails, _path2 + ".proteomeDetails", _exceptionable2) || $report(_exceptionable2, {
|
|
1551
1795
|
path: _path2 + ".proteomeDetails",
|
|
1552
1796
|
expected: "ProteomeDetails",
|
|
1553
1797
|
value: input3.proteomeDetails
|
|
1554
1798
|
})].every((flag) => flag);
|
|
1555
|
-
const $
|
|
1799
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.assay || $report(_exceptionable2, {
|
|
1556
1800
|
path: _path2 + ".assay",
|
|
1557
1801
|
expected: "string",
|
|
1558
1802
|
value: input3.assay
|
|
@@ -1561,7 +1805,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1561
1805
|
expected: "string",
|
|
1562
1806
|
value: input3.cohort
|
|
1563
1807
|
})].every((flag) => flag);
|
|
1564
|
-
const $
|
|
1808
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1565
1809
|
path: _path2 + ".id",
|
|
1566
1810
|
expected: "string",
|
|
1567
1811
|
value: input3.id
|
|
@@ -1577,8 +1821,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1577
1821
|
path: _path2 + ".child_types",
|
|
1578
1822
|
expected: "(Array<string> | undefined)",
|
|
1579
1823
|
value: input3.child_types
|
|
1580
|
-
})) && input3.child_types.map((elem,
|
|
1581
|
-
path: _path2 + ".child_types[" +
|
|
1824
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1825
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1582
1826
|
expected: "string",
|
|
1583
1827
|
value: elem
|
|
1584
1828
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1593,8 +1837,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1593
1837
|
path: _path2 + ".included_types",
|
|
1594
1838
|
expected: "(Array<string> | undefined)",
|
|
1595
1839
|
value: input3.included_types
|
|
1596
|
-
})) && input3.included_types.map((elem,
|
|
1597
|
-
path: _path2 + ".included_types[" +
|
|
1840
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1841
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1598
1842
|
expected: "string",
|
|
1599
1843
|
value: elem
|
|
1600
1844
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1619,19 +1863,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1619
1863
|
value: input3.skipValuesBuild
|
|
1620
1864
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1621
1865
|
path: _path2 + ".valueConversion",
|
|
1622
|
-
expected: "(__type.
|
|
1866
|
+
expected: "(__type.o2 | undefined)",
|
|
1623
1867
|
value: input3.valueConversion
|
|
1624
1868
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1625
1869
|
path: _path2 + ".valueConversion",
|
|
1626
|
-
expected: "(__type.
|
|
1870
|
+
expected: "(__type.o2 | undefined)",
|
|
1627
1871
|
value: input3.valueConversion
|
|
1628
1872
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1629
1873
|
path: _path2 + ".continuousColorScale",
|
|
1630
|
-
expected: "(__type.
|
|
1874
|
+
expected: "(__type.o4 | undefined)",
|
|
1631
1875
|
value: input3.continuousColorScale
|
|
1632
1876
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1633
1877
|
path: _path2 + ".continuousColorScale",
|
|
1634
|
-
expected: "(__type.
|
|
1878
|
+
expected: "(__type.o4 | undefined)",
|
|
1635
1879
|
value: input3.continuousColorScale
|
|
1636
1880
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1637
1881
|
path: _path2 + ".unit",
|
|
@@ -1646,7 +1890,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1646
1890
|
expected: "(PresetNumericBins | undefined)",
|
|
1647
1891
|
value: input3.bins
|
|
1648
1892
|
})].every((flag) => flag);
|
|
1649
|
-
const $
|
|
1893
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1650
1894
|
path: _path2 + ".id",
|
|
1651
1895
|
expected: "string",
|
|
1652
1896
|
value: input3.id
|
|
@@ -1662,8 +1906,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1662
1906
|
path: _path2 + ".child_types",
|
|
1663
1907
|
expected: "(Array<string> | undefined)",
|
|
1664
1908
|
value: input3.child_types
|
|
1665
|
-
})) && input3.child_types.map((elem,
|
|
1666
|
-
path: _path2 + ".child_types[" +
|
|
1909
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1667
1911
|
expected: "string",
|
|
1668
1912
|
value: elem
|
|
1669
1913
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1678,8 +1922,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1678
1922
|
path: _path2 + ".included_types",
|
|
1679
1923
|
expected: "(Array<string> | undefined)",
|
|
1680
1924
|
value: input3.included_types
|
|
1681
|
-
})) && input3.included_types.map((elem,
|
|
1682
|
-
path: _path2 + ".included_types[" +
|
|
1925
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1683
1927
|
expected: "string",
|
|
1684
1928
|
value: elem
|
|
1685
1929
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1704,19 +1948,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1704
1948
|
value: input3.skipValuesBuild
|
|
1705
1949
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1706
1950
|
path: _path2 + ".valueConversion",
|
|
1707
|
-
expected: "(__type.
|
|
1951
|
+
expected: "(__type.o2 | undefined)",
|
|
1708
1952
|
value: input3.valueConversion
|
|
1709
1953
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1710
1954
|
path: _path2 + ".valueConversion",
|
|
1711
|
-
expected: "(__type.
|
|
1955
|
+
expected: "(__type.o2 | undefined)",
|
|
1712
1956
|
value: input3.valueConversion
|
|
1713
1957
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1714
1958
|
path: _path2 + ".continuousColorScale",
|
|
1715
|
-
expected: "(__type.
|
|
1959
|
+
expected: "(__type.o4 | undefined)",
|
|
1716
1960
|
value: input3.continuousColorScale
|
|
1717
1961
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1718
1962
|
path: _path2 + ".continuousColorScale",
|
|
1719
|
-
expected: "(__type.
|
|
1963
|
+
expected: "(__type.o4 | undefined)",
|
|
1720
1964
|
value: input3.continuousColorScale
|
|
1721
1965
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1722
1966
|
path: _path2 + ".unit",
|
|
@@ -1726,8 +1970,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1726
1970
|
path: _path2 + ".genes",
|
|
1727
1971
|
expected: "(Array<string> | undefined)",
|
|
1728
1972
|
value: input3.genes
|
|
1729
|
-
})) && input3.genes.map((elem,
|
|
1730
|
-
path: _path2 + ".genes[" +
|
|
1973
|
+
})) && input3.genes.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1974
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1731
1975
|
expected: "string",
|
|
1732
1976
|
value: elem
|
|
1733
1977
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1743,7 +1987,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1743
1987
|
expected: "(PresetNumericBins | undefined)",
|
|
1744
1988
|
value: input3.bins
|
|
1745
1989
|
})].every((flag) => flag);
|
|
1746
|
-
const $
|
|
1990
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1747
1991
|
path: _path2 + ".id",
|
|
1748
1992
|
expected: "string",
|
|
1749
1993
|
value: input3.id
|
|
@@ -1759,8 +2003,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1759
2003
|
path: _path2 + ".child_types",
|
|
1760
2004
|
expected: "(Array<string> | undefined)",
|
|
1761
2005
|
value: input3.child_types
|
|
1762
|
-
})) && input3.child_types.map((elem,
|
|
1763
|
-
path: _path2 + ".child_types[" +
|
|
2006
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1764
2008
|
expected: "string",
|
|
1765
2009
|
value: elem
|
|
1766
2010
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1775,8 +2019,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1775
2019
|
path: _path2 + ".included_types",
|
|
1776
2020
|
expected: "(Array<string> | undefined)",
|
|
1777
2021
|
value: input3.included_types
|
|
1778
|
-
})) && input3.included_types.map((elem,
|
|
1779
|
-
path: _path2 + ".included_types[" +
|
|
2022
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1780
2024
|
expected: "string",
|
|
1781
2025
|
value: elem
|
|
1782
2026
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1801,19 +2045,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1801
2045
|
value: input3.skipValuesBuild
|
|
1802
2046
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1803
2047
|
path: _path2 + ".valueConversion",
|
|
1804
|
-
expected: "(__type.
|
|
2048
|
+
expected: "(__type.o2 | undefined)",
|
|
1805
2049
|
value: input3.valueConversion
|
|
1806
2050
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1807
2051
|
path: _path2 + ".valueConversion",
|
|
1808
|
-
expected: "(__type.
|
|
2052
|
+
expected: "(__type.o2 | undefined)",
|
|
1809
2053
|
value: input3.valueConversion
|
|
1810
2054
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1811
2055
|
path: _path2 + ".continuousColorScale",
|
|
1812
|
-
expected: "(__type.
|
|
2056
|
+
expected: "(__type.o4 | undefined)",
|
|
1813
2057
|
value: input3.continuousColorScale
|
|
1814
2058
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1815
2059
|
path: _path2 + ".continuousColorScale",
|
|
1816
|
-
expected: "(__type.
|
|
2060
|
+
expected: "(__type.o4 | undefined)",
|
|
1817
2061
|
value: input3.continuousColorScale
|
|
1818
2062
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1819
2063
|
path: _path2 + ".unit",
|
|
@@ -1840,7 +2084,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1840
2084
|
expected: "(PresetNumericBins | undefined)",
|
|
1841
2085
|
value: input3.bins
|
|
1842
2086
|
})].every((flag) => flag);
|
|
1843
|
-
const $
|
|
2087
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1844
2088
|
path: _path2 + ".id",
|
|
1845
2089
|
expected: "string",
|
|
1846
2090
|
value: input3.id
|
|
@@ -1856,8 +2100,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1856
2100
|
path: _path2 + ".child_types",
|
|
1857
2101
|
expected: "(Array<string> | undefined)",
|
|
1858
2102
|
value: input3.child_types
|
|
1859
|
-
})) && input3.child_types.map((elem,
|
|
1860
|
-
path: _path2 + ".child_types[" +
|
|
2103
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2104
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1861
2105
|
expected: "string",
|
|
1862
2106
|
value: elem
|
|
1863
2107
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1872,8 +2116,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1872
2116
|
path: _path2 + ".included_types",
|
|
1873
2117
|
expected: "(Array<string> | undefined)",
|
|
1874
2118
|
value: input3.included_types
|
|
1875
|
-
})) && input3.included_types.map((elem,
|
|
1876
|
-
path: _path2 + ".included_types[" +
|
|
2119
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2120
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1877
2121
|
expected: "string",
|
|
1878
2122
|
value: elem
|
|
1879
2123
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1898,19 +2142,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1898
2142
|
value: input3.skipValuesBuild
|
|
1899
2143
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1900
2144
|
path: _path2 + ".valueConversion",
|
|
1901
|
-
expected: "(__type.
|
|
2145
|
+
expected: "(__type.o2 | undefined)",
|
|
1902
2146
|
value: input3.valueConversion
|
|
1903
2147
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1904
2148
|
path: _path2 + ".valueConversion",
|
|
1905
|
-
expected: "(__type.
|
|
2149
|
+
expected: "(__type.o2 | undefined)",
|
|
1906
2150
|
value: input3.valueConversion
|
|
1907
2151
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1908
2152
|
path: _path2 + ".continuousColorScale",
|
|
1909
|
-
expected: "(__type.
|
|
2153
|
+
expected: "(__type.o4 | undefined)",
|
|
1910
2154
|
value: input3.continuousColorScale
|
|
1911
2155
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1912
2156
|
path: _path2 + ".continuousColorScale",
|
|
1913
|
-
expected: "(__type.
|
|
2157
|
+
expected: "(__type.o4 | undefined)",
|
|
1914
2158
|
value: input3.continuousColorScale
|
|
1915
2159
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1916
2160
|
path: _path2 + ".unit",
|
|
@@ -1949,7 +2193,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1949
2193
|
expected: "(number | undefined)",
|
|
1950
2194
|
value: input3.stop
|
|
1951
2195
|
})].every((flag) => flag);
|
|
1952
|
-
const $
|
|
2196
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1953
2197
|
path: _path2 + ".id",
|
|
1954
2198
|
expected: "string",
|
|
1955
2199
|
value: input3.id
|
|
@@ -1965,8 +2209,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1965
2209
|
path: _path2 + ".child_types",
|
|
1966
2210
|
expected: "(Array<string> | undefined)",
|
|
1967
2211
|
value: input3.child_types
|
|
1968
|
-
})) && input3.child_types.map((elem,
|
|
1969
|
-
path: _path2 + ".child_types[" +
|
|
2212
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2213
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1970
2214
|
expected: "string",
|
|
1971
2215
|
value: elem
|
|
1972
2216
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1981,8 +2225,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1981
2225
|
path: _path2 + ".included_types",
|
|
1982
2226
|
expected: "(Array<string> | undefined)",
|
|
1983
2227
|
value: input3.included_types
|
|
1984
|
-
})) && input3.included_types.map((elem,
|
|
1985
|
-
path: _path2 + ".included_types[" +
|
|
2228
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2229
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1986
2230
|
expected: "string",
|
|
1987
2231
|
value: elem
|
|
1988
2232
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2007,19 +2251,19 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2007
2251
|
value: input3.skipValuesBuild
|
|
2008
2252
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2009
2253
|
path: _path2 + ".valueConversion",
|
|
2010
|
-
expected: "(__type.
|
|
2254
|
+
expected: "(__type.o2 | undefined)",
|
|
2011
2255
|
value: input3.valueConversion
|
|
2012
2256
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2013
2257
|
path: _path2 + ".valueConversion",
|
|
2014
|
-
expected: "(__type.
|
|
2258
|
+
expected: "(__type.o2 | undefined)",
|
|
2015
2259
|
value: input3.valueConversion
|
|
2016
2260
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2017
2261
|
path: _path2 + ".continuousColorScale",
|
|
2018
|
-
expected: "(__type.
|
|
2262
|
+
expected: "(__type.o4 | undefined)",
|
|
2019
2263
|
value: input3.continuousColorScale
|
|
2020
2264
|
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2021
2265
|
path: _path2 + ".continuousColorScale",
|
|
2022
|
-
expected: "(__type.
|
|
2266
|
+
expected: "(__type.o4 | undefined)",
|
|
2023
2267
|
value: input3.continuousColorScale
|
|
2024
2268
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2025
2269
|
path: _path2 + ".unit",
|
|
@@ -2058,7 +2302,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2058
2302
|
expected: "number",
|
|
2059
2303
|
value: input3.stop
|
|
2060
2304
|
})].every((flag) => flag);
|
|
2061
|
-
const $
|
|
2305
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
2062
2306
|
path: _path2 + ".value",
|
|
2063
2307
|
expected: "number",
|
|
2064
2308
|
value: input3.value
|
|
@@ -2071,7 +2315,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2071
2315
|
expected: "(string | undefined)",
|
|
2072
2316
|
value: input3.name
|
|
2073
2317
|
})].every((flag) => flag);
|
|
2074
|
-
const $
|
|
2318
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2075
2319
|
path: _path2 + ".key",
|
|
2076
2320
|
expected: "string",
|
|
2077
2321
|
value: input3.key
|
|
@@ -2088,7 +2332,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2088
2332
|
expected: "(string | undefined)",
|
|
2089
2333
|
value: input3.label
|
|
2090
2334
|
})].every((flag) => flag);
|
|
2091
|
-
const $
|
|
2335
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2092
2336
|
path: _path2 + ".join",
|
|
2093
2337
|
expected: "(string | undefined)",
|
|
2094
2338
|
value: input3.join
|
|
@@ -2120,7 +2364,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2120
2364
|
path: _path2 + ".term",
|
|
2121
2365
|
expected: "ConditionTerm",
|
|
2122
2366
|
value: input3.term
|
|
2123
|
-
})) && $
|
|
2367
|
+
})) && $vo40(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2124
2368
|
path: _path2 + ".term",
|
|
2125
2369
|
expected: "ConditionTerm",
|
|
2126
2370
|
value: input3.term
|
|
@@ -2128,12 +2372,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2128
2372
|
path: _path2 + ".grade_and_child",
|
|
2129
2373
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2130
2374
|
value: input3.grade_and_child
|
|
2131
|
-
})) && input3.grade_and_child.map((elem,
|
|
2132
|
-
path: _path2 + ".grade_and_child[" +
|
|
2375
|
+
})) && input3.grade_and_child.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2376
|
+
path: _path2 + ".grade_and_child[" + _index38 + "]",
|
|
2133
2377
|
expected: "GradeAndChildEntry",
|
|
2134
2378
|
value: elem
|
|
2135
|
-
})) && $
|
|
2136
|
-
path: _path2 + ".grade_and_child[" +
|
|
2379
|
+
})) && $vo41(elem, _path2 + ".grade_and_child[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2380
|
+
path: _path2 + ".grade_and_child[" + _index38 + "]",
|
|
2137
2381
|
expected: "GradeAndChildEntry",
|
|
2138
2382
|
value: elem
|
|
2139
2383
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2144,20 +2388,20 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2144
2388
|
path: _path2 + ".values",
|
|
2145
2389
|
expected: "Array<__type>.o2",
|
|
2146
2390
|
value: input3.values
|
|
2147
|
-
})) && input3.values.map((elem,
|
|
2148
|
-
path: _path2 + ".values[" +
|
|
2149
|
-
expected: "__type.
|
|
2391
|
+
})) && input3.values.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2392
|
+
path: _path2 + ".values[" + _index39 + "]",
|
|
2393
|
+
expected: "__type.o7",
|
|
2150
2394
|
value: elem
|
|
2151
|
-
})) && $
|
|
2152
|
-
path: _path2 + ".values[" +
|
|
2153
|
-
expected: "__type.
|
|
2395
|
+
})) && $vo42(elem, _path2 + ".values[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2396
|
+
path: _path2 + ".values[" + _index39 + "]",
|
|
2397
|
+
expected: "__type.o7",
|
|
2154
2398
|
value: elem
|
|
2155
2399
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2156
2400
|
path: _path2 + ".values",
|
|
2157
2401
|
expected: "Array<__type>.o2",
|
|
2158
2402
|
value: input3.values
|
|
2159
2403
|
})].every((flag) => flag);
|
|
2160
|
-
const $
|
|
2404
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2161
2405
|
path: _path2 + ".id",
|
|
2162
2406
|
expected: "string",
|
|
2163
2407
|
value: input3.id
|
|
@@ -2173,8 +2417,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2173
2417
|
path: _path2 + ".child_types",
|
|
2174
2418
|
expected: "(Array<string> | undefined)",
|
|
2175
2419
|
value: input3.child_types
|
|
2176
|
-
})) && input3.child_types.map((elem,
|
|
2177
|
-
path: _path2 + ".child_types[" +
|
|
2420
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2421
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2178
2422
|
expected: "string",
|
|
2179
2423
|
value: elem
|
|
2180
2424
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2189,8 +2433,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2189
2433
|
path: _path2 + ".included_types",
|
|
2190
2434
|
expected: "(Array<string> | undefined)",
|
|
2191
2435
|
value: input3.included_types
|
|
2192
|
-
})) && input3.included_types.map((elem,
|
|
2193
|
-
path: _path2 + ".included_types[" +
|
|
2436
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2437
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2194
2438
|
expected: "string",
|
|
2195
2439
|
value: elem
|
|
2196
2440
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2215,14 +2459,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2215
2459
|
value: input3.skipValuesBuild
|
|
2216
2460
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2217
2461
|
path: _path2 + ".valueConversion",
|
|
2218
|
-
expected: "(__type.
|
|
2462
|
+
expected: "(__type.o2 | undefined)",
|
|
2219
2463
|
value: input3.valueConversion
|
|
2220
2464
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2221
2465
|
path: _path2 + ".valueConversion",
|
|
2222
|
-
expected: "(__type.
|
|
2466
|
+
expected: "(__type.o2 | undefined)",
|
|
2223
2467
|
value: input3.valueConversion
|
|
2224
2468
|
})].every((flag) => flag);
|
|
2225
|
-
const $
|
|
2469
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2226
2470
|
path: _path2 + ".grade",
|
|
2227
2471
|
expected: "number",
|
|
2228
2472
|
value: input3.grade
|
|
@@ -2239,7 +2483,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2239
2483
|
expected: "string",
|
|
2240
2484
|
value: input3.child_label
|
|
2241
2485
|
})].every((flag) => flag);
|
|
2242
|
-
const $
|
|
2486
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2243
2487
|
path: _path2 + ".key",
|
|
2244
2488
|
expected: "(number | string)",
|
|
2245
2489
|
value: input3.key
|
|
@@ -2257,7 +2501,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2257
2501
|
return true;
|
|
2258
2502
|
return true;
|
|
2259
2503
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2260
|
-
const $
|
|
2504
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2261
2505
|
path: _path2 + ".join",
|
|
2262
2506
|
expected: "(string | undefined)",
|
|
2263
2507
|
value: input3.join
|
|
@@ -2289,7 +2533,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2289
2533
|
path: _path2 + ".term",
|
|
2290
2534
|
expected: "DtTerm",
|
|
2291
2535
|
value: input3.term
|
|
2292
|
-
})) && $
|
|
2536
|
+
})) && $vo44(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2293
2537
|
path: _path2 + ".term",
|
|
2294
2538
|
expected: "DtTerm",
|
|
2295
2539
|
value: input3.term
|
|
@@ -2297,12 +2541,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2297
2541
|
path: _path2 + ".values",
|
|
2298
2542
|
expected: "Array<GeneVariantValue>",
|
|
2299
2543
|
value: input3.values
|
|
2300
|
-
})) && input3.values.map((elem,
|
|
2301
|
-
path: _path2 + ".values[" +
|
|
2544
|
+
})) && input3.values.map((elem, _index42) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2545
|
+
path: _path2 + ".values[" + _index42 + "]",
|
|
2302
2546
|
expected: "GeneVariantValue",
|
|
2303
2547
|
value: elem
|
|
2304
|
-
})) && $
|
|
2305
|
-
path: _path2 + ".values[" +
|
|
2548
|
+
})) && $vo49(elem, _path2 + ".values[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2549
|
+
path: _path2 + ".values[" + _index42 + "]",
|
|
2306
2550
|
expected: "GeneVariantValue",
|
|
2307
2551
|
value: elem
|
|
2308
2552
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2350,7 +2594,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2350
2594
|
expected: "(number | undefined)",
|
|
2351
2595
|
value: input3.fractionOverlap
|
|
2352
2596
|
})].every((flag) => flag);
|
|
2353
|
-
const $
|
|
2597
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2354
2598
|
path: _path2 + ".id",
|
|
2355
2599
|
expected: "string",
|
|
2356
2600
|
value: input3.id
|
|
@@ -2399,7 +2643,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2399
2643
|
expected: "TermValues",
|
|
2400
2644
|
value: input3.values
|
|
2401
2645
|
})].every((flag) => flag);
|
|
2402
|
-
const $
|
|
2646
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2403
2647
|
path: _path2 + ".id",
|
|
2404
2648
|
expected: "string",
|
|
2405
2649
|
value: input3.id
|
|
@@ -2415,8 +2659,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2415
2659
|
path: _path2 + ".child_types",
|
|
2416
2660
|
expected: "(Array<string> | undefined)",
|
|
2417
2661
|
value: input3.child_types
|
|
2418
|
-
})) && input3.child_types.map((elem,
|
|
2419
|
-
path: _path2 + ".child_types[" +
|
|
2662
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2663
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2420
2664
|
expected: "string",
|
|
2421
2665
|
value: elem
|
|
2422
2666
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2431,8 +2675,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2431
2675
|
path: _path2 + ".included_types",
|
|
2432
2676
|
expected: "(Array<string> | undefined)",
|
|
2433
2677
|
value: input3.included_types
|
|
2434
|
-
})) && input3.included_types.map((elem,
|
|
2435
|
-
path: _path2 + ".included_types[" +
|
|
2678
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2679
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2436
2680
|
expected: "string",
|
|
2437
2681
|
value: elem
|
|
2438
2682
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2457,11 +2701,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2457
2701
|
value: input3.skipValuesBuild
|
|
2458
2702
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2459
2703
|
path: _path2 + ".valueConversion",
|
|
2460
|
-
expected: "(__type.
|
|
2704
|
+
expected: "(__type.o2 | undefined)",
|
|
2461
2705
|
value: input3.valueConversion
|
|
2462
2706
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2463
2707
|
path: _path2 + ".valueConversion",
|
|
2464
|
-
expected: "(__type.
|
|
2708
|
+
expected: "(__type.o2 | undefined)",
|
|
2465
2709
|
value: input3.valueConversion
|
|
2466
2710
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2467
2711
|
path: _path2 + ".kind",
|
|
@@ -2487,12 +2731,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2487
2731
|
path: _path2 + ".genes",
|
|
2488
2732
|
expected: "Array<GvGeneTerm>",
|
|
2489
2733
|
value: input3.genes
|
|
2490
|
-
})) && input3.genes.map((elem,
|
|
2491
|
-
path: _path2 + ".genes[" +
|
|
2734
|
+
})) && input3.genes.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2735
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
2492
2736
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2493
2737
|
value: elem
|
|
2494
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2495
|
-
path: _path2 + ".genes[" +
|
|
2738
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2739
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
2496
2740
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2497
2741
|
value: elem
|
|
2498
2742
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2511,12 +2755,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2511
2755
|
path: _path2 + ".childTerms",
|
|
2512
2756
|
expected: "(Array<DtTerm> | undefined)",
|
|
2513
2757
|
value: input3.childTerms
|
|
2514
|
-
})) && input3.childTerms.map((elem,
|
|
2515
|
-
path: _path2 + ".childTerms[" +
|
|
2758
|
+
})) && input3.childTerms.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2759
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
2516
2760
|
expected: "DtTerm",
|
|
2517
2761
|
value: elem
|
|
2518
|
-
})) && $
|
|
2519
|
-
path: _path2 + ".childTerms[" +
|
|
2762
|
+
})) && $vo44(elem, _path2 + ".childTerms[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2763
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
2520
2764
|
expected: "DtTerm",
|
|
2521
2765
|
value: elem
|
|
2522
2766
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2524,7 +2768,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2524
2768
|
expected: "(Array<DtTerm> | undefined)",
|
|
2525
2769
|
value: input3.childTerms
|
|
2526
2770
|
})].every((flag) => flag);
|
|
2527
|
-
const $
|
|
2771
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2528
2772
|
path: _path2 + ".id",
|
|
2529
2773
|
expected: "string",
|
|
2530
2774
|
value: input3.id
|
|
@@ -2540,8 +2784,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2540
2784
|
path: _path2 + ".child_types",
|
|
2541
2785
|
expected: "(Array<string> | undefined)",
|
|
2542
2786
|
value: input3.child_types
|
|
2543
|
-
})) && input3.child_types.map((elem,
|
|
2544
|
-
path: _path2 + ".child_types[" +
|
|
2787
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2788
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2545
2789
|
expected: "string",
|
|
2546
2790
|
value: elem
|
|
2547
2791
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2556,8 +2800,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2556
2800
|
path: _path2 + ".included_types",
|
|
2557
2801
|
expected: "(Array<string> | undefined)",
|
|
2558
2802
|
value: input3.included_types
|
|
2559
|
-
})) && input3.included_types.map((elem,
|
|
2560
|
-
path: _path2 + ".included_types[" +
|
|
2803
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2804
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2561
2805
|
expected: "string",
|
|
2562
2806
|
value: elem
|
|
2563
2807
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2582,11 +2826,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2582
2826
|
value: input3.skipValuesBuild
|
|
2583
2827
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2584
2828
|
path: _path2 + ".valueConversion",
|
|
2585
|
-
expected: "(__type.
|
|
2829
|
+
expected: "(__type.o2 | undefined)",
|
|
2586
2830
|
value: input3.valueConversion
|
|
2587
2831
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2588
2832
|
path: _path2 + ".valueConversion",
|
|
2589
|
-
expected: "(__type.
|
|
2833
|
+
expected: "(__type.o2 | undefined)",
|
|
2590
2834
|
value: input3.valueConversion
|
|
2591
2835
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2592
2836
|
path: _path2 + ".kind",
|
|
@@ -2609,7 +2853,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2609
2853
|
expected: "(number | undefined)",
|
|
2610
2854
|
value: input3.stop
|
|
2611
2855
|
})].every((flag) => flag);
|
|
2612
|
-
const $
|
|
2856
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2613
2857
|
path: _path2 + ".id",
|
|
2614
2858
|
expected: "string",
|
|
2615
2859
|
value: input3.id
|
|
@@ -2625,8 +2869,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2625
2869
|
path: _path2 + ".child_types",
|
|
2626
2870
|
expected: "(Array<string> | undefined)",
|
|
2627
2871
|
value: input3.child_types
|
|
2628
|
-
})) && input3.child_types.map((elem,
|
|
2629
|
-
path: _path2 + ".child_types[" +
|
|
2872
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2873
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2630
2874
|
expected: "string",
|
|
2631
2875
|
value: elem
|
|
2632
2876
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2641,8 +2885,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2641
2885
|
path: _path2 + ".included_types",
|
|
2642
2886
|
expected: "(Array<string> | undefined)",
|
|
2643
2887
|
value: input3.included_types
|
|
2644
|
-
})) && input3.included_types.map((elem,
|
|
2645
|
-
path: _path2 + ".included_types[" +
|
|
2888
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2889
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2646
2890
|
expected: "string",
|
|
2647
2891
|
value: elem
|
|
2648
2892
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2667,11 +2911,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2667
2911
|
value: input3.skipValuesBuild
|
|
2668
2912
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2669
2913
|
path: _path2 + ".valueConversion",
|
|
2670
|
-
expected: "(__type.
|
|
2914
|
+
expected: "(__type.o2 | undefined)",
|
|
2671
2915
|
value: input3.valueConversion
|
|
2672
2916
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2673
2917
|
path: _path2 + ".valueConversion",
|
|
2674
|
-
expected: "(__type.
|
|
2918
|
+
expected: "(__type.o2 | undefined)",
|
|
2675
2919
|
value: input3.valueConversion
|
|
2676
2920
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2677
2921
|
path: _path2 + ".kind",
|
|
@@ -2690,7 +2934,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2690
2934
|
expected: "number",
|
|
2691
2935
|
value: input3.stop
|
|
2692
2936
|
})].every((flag) => flag);
|
|
2693
|
-
const $
|
|
2937
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2694
2938
|
path: _path2 + ".id",
|
|
2695
2939
|
expected: "string",
|
|
2696
2940
|
value: input3.id
|
|
@@ -2706,8 +2950,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2706
2950
|
path: _path2 + ".child_types",
|
|
2707
2951
|
expected: "(Array<string> | undefined)",
|
|
2708
2952
|
value: input3.child_types
|
|
2709
|
-
})) && input3.child_types.map((elem,
|
|
2710
|
-
path: _path2 + ".child_types[" +
|
|
2953
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2954
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
2711
2955
|
expected: "string",
|
|
2712
2956
|
value: elem
|
|
2713
2957
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2722,8 +2966,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2722
2966
|
path: _path2 + ".included_types",
|
|
2723
2967
|
expected: "(Array<string> | undefined)",
|
|
2724
2968
|
value: input3.included_types
|
|
2725
|
-
})) && input3.included_types.map((elem,
|
|
2726
|
-
path: _path2 + ".included_types[" +
|
|
2969
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2970
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
2727
2971
|
expected: "string",
|
|
2728
2972
|
value: elem
|
|
2729
2973
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2748,11 +2992,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2748
2992
|
value: input3.skipValuesBuild
|
|
2749
2993
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2750
2994
|
path: _path2 + ".valueConversion",
|
|
2751
|
-
expected: "(__type.
|
|
2995
|
+
expected: "(__type.o2 | undefined)",
|
|
2752
2996
|
value: input3.valueConversion
|
|
2753
2997
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2754
2998
|
path: _path2 + ".valueConversion",
|
|
2755
|
-
expected: "(__type.
|
|
2999
|
+
expected: "(__type.o2 | undefined)",
|
|
2756
3000
|
value: input3.valueConversion
|
|
2757
3001
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2758
3002
|
path: _path2 + ".kind",
|
|
@@ -2774,12 +3018,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2774
3018
|
path: _path2 + ".genes",
|
|
2775
3019
|
expected: "Array<GvGeneTerm>",
|
|
2776
3020
|
value: input3.genes
|
|
2777
|
-
})) && input3.genes.map((elem,
|
|
2778
|
-
path: _path2 + ".genes[" +
|
|
3021
|
+
})) && input3.genes.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3022
|
+
path: _path2 + ".genes[" + _index53 + "]",
|
|
2779
3023
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2780
3024
|
value: elem
|
|
2781
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2782
|
-
path: _path2 + ".genes[" +
|
|
3025
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3026
|
+
path: _path2 + ".genes[" + _index53 + "]",
|
|
2783
3027
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2784
3028
|
value: elem
|
|
2785
3029
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2798,12 +3042,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2798
3042
|
path: _path2 + ".childTerms",
|
|
2799
3043
|
expected: "(Array<DtTerm> | undefined)",
|
|
2800
3044
|
value: input3.childTerms
|
|
2801
|
-
})) && input3.childTerms.map((elem,
|
|
2802
|
-
path: _path2 + ".childTerms[" +
|
|
3045
|
+
})) && input3.childTerms.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3046
|
+
path: _path2 + ".childTerms[" + _index54 + "]",
|
|
2803
3047
|
expected: "DtTerm",
|
|
2804
3048
|
value: elem
|
|
2805
|
-
})) && $
|
|
2806
|
-
path: _path2 + ".childTerms[" +
|
|
3049
|
+
})) && $vo44(elem, _path2 + ".childTerms[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3050
|
+
path: _path2 + ".childTerms[" + _index54 + "]",
|
|
2807
3051
|
expected: "DtTerm",
|
|
2808
3052
|
value: elem
|
|
2809
3053
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2811,7 +3055,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2811
3055
|
expected: "(Array<DtTerm> | undefined)",
|
|
2812
3056
|
value: input3.childTerms
|
|
2813
3057
|
})].every((flag) => flag);
|
|
2814
|
-
const $
|
|
3058
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2815
3059
|
path: _path2 + ".key",
|
|
2816
3060
|
expected: "(string | undefined)",
|
|
2817
3061
|
value: input3.key
|
|
@@ -2831,8 +3075,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2831
3075
|
path: _path2 + ".mclasslst",
|
|
2832
3076
|
expected: "(Array<string> | undefined)",
|
|
2833
3077
|
value: input3.mclasslst
|
|
2834
|
-
})) && input3.mclasslst.map((elem,
|
|
2835
|
-
path: _path2 + ".mclasslst[" +
|
|
3078
|
+
})) && input3.mclasslst.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3079
|
+
path: _path2 + ".mclasslst[" + _index55 + "]",
|
|
2836
3080
|
expected: "string",
|
|
2837
3081
|
value: elem
|
|
2838
3082
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2843,8 +3087,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2843
3087
|
path: _path2 + ".mclassExcludeLst",
|
|
2844
3088
|
expected: "(Array<string> | undefined)",
|
|
2845
3089
|
value: input3.mclassExcludeLst
|
|
2846
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
2847
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
3090
|
+
})) && input3.mclassExcludeLst.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3091
|
+
path: _path2 + ".mclassExcludeLst[" + _index56 + "]",
|
|
2848
3092
|
expected: "string",
|
|
2849
3093
|
value: elem
|
|
2850
3094
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2856,7 +3100,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2856
3100
|
expected: "(string | undefined)",
|
|
2857
3101
|
value: input3.origin
|
|
2858
3102
|
})].every((flag) => flag);
|
|
2859
|
-
const $
|
|
3103
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2860
3104
|
path: _path2 + ".join",
|
|
2861
3105
|
expected: "(string | undefined)",
|
|
2862
3106
|
value: input3.join
|
|
@@ -2897,7 +3141,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2897
3141
|
expected: "number",
|
|
2898
3142
|
value: input3.ratio
|
|
2899
3143
|
})].every((flag) => flag);
|
|
2900
|
-
const $
|
|
3144
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2901
3145
|
path: _path2 + ".id",
|
|
2902
3146
|
expected: "string",
|
|
2903
3147
|
value: input3.id
|
|
@@ -2913,8 +3157,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2913
3157
|
path: _path2 + ".child_types",
|
|
2914
3158
|
expected: "(Array<string> | undefined)",
|
|
2915
3159
|
value: input3.child_types
|
|
2916
|
-
})) && input3.child_types.map((elem,
|
|
2917
|
-
path: _path2 + ".child_types[" +
|
|
3160
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3161
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
2918
3162
|
expected: "string",
|
|
2919
3163
|
value: elem
|
|
2920
3164
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2929,8 +3173,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2929
3173
|
path: _path2 + ".included_types",
|
|
2930
3174
|
expected: "(Array<string> | undefined)",
|
|
2931
3175
|
value: input3.included_types
|
|
2932
|
-
})) && input3.included_types.map((elem,
|
|
2933
|
-
path: _path2 + ".included_types[" +
|
|
3176
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3177
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
2934
3178
|
expected: "string",
|
|
2935
3179
|
value: elem
|
|
2936
3180
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2955,18 +3199,18 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2955
3199
|
value: input3.skipValuesBuild
|
|
2956
3200
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2957
3201
|
path: _path2 + ".valueConversion",
|
|
2958
|
-
expected: "(__type.
|
|
3202
|
+
expected: "(__type.o2 | undefined)",
|
|
2959
3203
|
value: input3.valueConversion
|
|
2960
3204
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2961
3205
|
path: _path2 + ".valueConversion",
|
|
2962
|
-
expected: "(__type.
|
|
3206
|
+
expected: "(__type.o2 | undefined)",
|
|
2963
3207
|
value: input3.valueConversion
|
|
2964
3208
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2965
3209
|
path: _path2 + ".termIds",
|
|
2966
3210
|
expected: "(Array<string> | undefined)",
|
|
2967
3211
|
value: input3.termIds
|
|
2968
|
-
})) && input3.termIds.map((elem,
|
|
2969
|
-
path: _path2 + ".termIds[" +
|
|
3212
|
+
})) && input3.termIds.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3213
|
+
path: _path2 + ".termIds[" + _index59 + "]",
|
|
2970
3214
|
expected: "string",
|
|
2971
3215
|
value: elem
|
|
2972
3216
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2977,12 +3221,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2977
3221
|
path: _path2 + ".termlst",
|
|
2978
3222
|
expected: "Array<BaseTerm>",
|
|
2979
3223
|
value: input3.termlst
|
|
2980
|
-
})) && input3.termlst.map((elem,
|
|
2981
|
-
path: _path2 + ".termlst[" +
|
|
3224
|
+
})) && input3.termlst.map((elem, _index60) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3225
|
+
path: _path2 + ".termlst[" + _index60 + "]",
|
|
2982
3226
|
expected: "BaseTerm",
|
|
2983
3227
|
value: elem
|
|
2984
|
-
})) && $
|
|
2985
|
-
path: _path2 + ".termlst[" +
|
|
3228
|
+
})) && $vo52(elem, _path2 + ".termlst[" + _index60 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3229
|
+
path: _path2 + ".termlst[" + _index60 + "]",
|
|
2986
3230
|
expected: "BaseTerm",
|
|
2987
3231
|
value: elem
|
|
2988
3232
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2995,11 +3239,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2995
3239
|
value: input3.newTvs
|
|
2996
3240
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2997
3241
|
path: _path2 + ".propsByTermId",
|
|
2998
|
-
expected: "__type.
|
|
3242
|
+
expected: "__type.o8",
|
|
2999
3243
|
value: input3.propsByTermId
|
|
3000
|
-
})) && $
|
|
3244
|
+
})) && $vo53(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3001
3245
|
path: _path2 + ".propsByTermId",
|
|
3002
|
-
expected: "__type.
|
|
3246
|
+
expected: "__type.o8",
|
|
3003
3247
|
value: input3.propsByTermId
|
|
3004
3248
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3005
3249
|
path: _path2 + ".memberType",
|
|
@@ -3009,8 +3253,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3009
3253
|
path: _path2 + ".numerators",
|
|
3010
3254
|
expected: "(Array<string> | undefined)",
|
|
3011
3255
|
value: input3.numerators
|
|
3012
|
-
})) && input3.numerators.map((elem,
|
|
3013
|
-
path: _path2 + ".numerators[" +
|
|
3256
|
+
})) && input3.numerators.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3257
|
+
path: _path2 + ".numerators[" + _index61 + "]",
|
|
3014
3258
|
expected: "string",
|
|
3015
3259
|
value: elem
|
|
3016
3260
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3019,14 +3263,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3019
3263
|
value: input3.numerators
|
|
3020
3264
|
}), void 0 === input3.valueTransform || ("object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) || $report(_exceptionable2, {
|
|
3021
3265
|
path: _path2 + ".valueTransform",
|
|
3022
|
-
expected: "(__type.
|
|
3266
|
+
expected: "(__type.o10 | undefined)",
|
|
3023
3267
|
value: input3.valueTransform
|
|
3024
|
-
})) && $
|
|
3268
|
+
})) && $vo55(input3.valueTransform, _path2 + ".valueTransform", _exceptionable2) || $report(_exceptionable2, {
|
|
3025
3269
|
path: _path2 + ".valueTransform",
|
|
3026
|
-
expected: "(__type.
|
|
3270
|
+
expected: "(__type.o10 | undefined)",
|
|
3027
3271
|
value: input3.valueTransform
|
|
3028
3272
|
})].every((flag) => flag);
|
|
3029
|
-
const $
|
|
3273
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3030
3274
|
path: _path2 + ".id",
|
|
3031
3275
|
expected: "string",
|
|
3032
3276
|
value: input3.id
|
|
@@ -3042,8 +3286,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3042
3286
|
path: _path2 + ".child_types",
|
|
3043
3287
|
expected: "(Array<string> | undefined)",
|
|
3044
3288
|
value: input3.child_types
|
|
3045
|
-
})) && input3.child_types.map((elem,
|
|
3046
|
-
path: _path2 + ".child_types[" +
|
|
3289
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3290
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
3047
3291
|
expected: "string",
|
|
3048
3292
|
value: elem
|
|
3049
3293
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3058,8 +3302,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3058
3302
|
path: _path2 + ".included_types",
|
|
3059
3303
|
expected: "(Array<string> | undefined)",
|
|
3060
3304
|
value: input3.included_types
|
|
3061
|
-
})) && input3.included_types.map((elem,
|
|
3062
|
-
path: _path2 + ".included_types[" +
|
|
3305
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3306
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
3063
3307
|
expected: "string",
|
|
3064
3308
|
value: elem
|
|
3065
3309
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3084,30 +3328,30 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3084
3328
|
value: input3.skipValuesBuild
|
|
3085
3329
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
3086
3330
|
path: _path2 + ".valueConversion",
|
|
3087
|
-
expected: "(__type.
|
|
3331
|
+
expected: "(__type.o2 | undefined)",
|
|
3088
3332
|
value: input3.valueConversion
|
|
3089
3333
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
3090
3334
|
path: _path2 + ".valueConversion",
|
|
3091
|
-
expected: "(__type.
|
|
3335
|
+
expected: "(__type.o2 | undefined)",
|
|
3092
3336
|
value: input3.valueConversion
|
|
3093
3337
|
})].every((flag) => flag);
|
|
3094
|
-
const $
|
|
3338
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3095
3339
|
const value = input3[key];
|
|
3096
3340
|
if (void 0 === value)
|
|
3097
3341
|
return true;
|
|
3098
3342
|
if (RegExp(/(.*)/).test(key))
|
|
3099
3343
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
3100
3344
|
path: _path2 + $join(key),
|
|
3101
|
-
expected: "__type.
|
|
3345
|
+
expected: "__type.o9",
|
|
3102
3346
|
value
|
|
3103
|
-
})) && $
|
|
3347
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3104
3348
|
path: _path2 + $join(key),
|
|
3105
|
-
expected: "__type.
|
|
3349
|
+
expected: "__type.o9",
|
|
3106
3350
|
value
|
|
3107
3351
|
});
|
|
3108
3352
|
return true;
|
|
3109
3353
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3110
|
-
const $
|
|
3354
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3111
3355
|
const value = input3[key];
|
|
3112
3356
|
if (void 0 === value)
|
|
3113
3357
|
return true;
|
|
@@ -3115,12 +3359,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3115
3359
|
return true;
|
|
3116
3360
|
return true;
|
|
3117
3361
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3118
|
-
const $
|
|
3362
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.offset || "number" === typeof input3.offset || $report(_exceptionable2, {
|
|
3119
3363
|
path: _path2 + ".offset",
|
|
3120
3364
|
expected: "(number | undefined)",
|
|
3121
3365
|
value: input3.offset
|
|
3122
3366
|
})].every((flag) => flag);
|
|
3123
|
-
const $
|
|
3367
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3124
3368
|
path: _path2 + ".id",
|
|
3125
3369
|
expected: "string",
|
|
3126
3370
|
value: input3.id
|
|
@@ -3136,8 +3380,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3136
3380
|
path: _path2 + ".child_types",
|
|
3137
3381
|
expected: "(Array<string> | undefined)",
|
|
3138
3382
|
value: input3.child_types
|
|
3139
|
-
})) && input3.child_types.map((elem,
|
|
3140
|
-
path: _path2 + ".child_types[" +
|
|
3383
|
+
})) && input3.child_types.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3384
|
+
path: _path2 + ".child_types[" + _index64 + "]",
|
|
3141
3385
|
expected: "string",
|
|
3142
3386
|
value: elem
|
|
3143
3387
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3152,8 +3396,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3152
3396
|
path: _path2 + ".included_types",
|
|
3153
3397
|
expected: "(Array<string> | undefined)",
|
|
3154
3398
|
value: input3.included_types
|
|
3155
|
-
})) && input3.included_types.map((elem,
|
|
3156
|
-
path: _path2 + ".included_types[" +
|
|
3399
|
+
})) && input3.included_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3400
|
+
path: _path2 + ".included_types[" + _index65 + "]",
|
|
3157
3401
|
expected: "string",
|
|
3158
3402
|
value: elem
|
|
3159
3403
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3178,18 +3422,18 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3178
3422
|
value: input3.skipValuesBuild
|
|
3179
3423
|
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
3180
3424
|
path: _path2 + ".valueConversion",
|
|
3181
|
-
expected: "(__type.
|
|
3425
|
+
expected: "(__type.o2 | undefined)",
|
|
3182
3426
|
value: input3.valueConversion
|
|
3183
3427
|
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
3184
3428
|
path: _path2 + ".valueConversion",
|
|
3185
|
-
expected: "(__type.
|
|
3429
|
+
expected: "(__type.o2 | undefined)",
|
|
3186
3430
|
value: input3.valueConversion
|
|
3187
3431
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
3188
3432
|
path: _path2 + ".termIds",
|
|
3189
3433
|
expected: "(Array<string> | undefined)",
|
|
3190
3434
|
value: input3.termIds
|
|
3191
|
-
})) && input3.termIds.map((elem,
|
|
3192
|
-
path: _path2 + ".termIds[" +
|
|
3435
|
+
})) && input3.termIds.map((elem, _index66) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3436
|
+
path: _path2 + ".termIds[" + _index66 + "]",
|
|
3193
3437
|
expected: "string",
|
|
3194
3438
|
value: elem
|
|
3195
3439
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3200,12 +3444,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3200
3444
|
path: _path2 + ".termlst",
|
|
3201
3445
|
expected: "Array<BaseTerm>",
|
|
3202
3446
|
value: input3.termlst
|
|
3203
|
-
})) && input3.termlst.map((elem,
|
|
3204
|
-
path: _path2 + ".termlst[" +
|
|
3447
|
+
})) && input3.termlst.map((elem, _index67) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3448
|
+
path: _path2 + ".termlst[" + _index67 + "]",
|
|
3205
3449
|
expected: "BaseTerm",
|
|
3206
3450
|
value: elem
|
|
3207
|
-
})) && $
|
|
3208
|
-
path: _path2 + ".termlst[" +
|
|
3451
|
+
})) && $vo52(elem, _path2 + ".termlst[" + _index67 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3452
|
+
path: _path2 + ".termlst[" + _index67 + "]",
|
|
3209
3453
|
expected: "BaseTerm",
|
|
3210
3454
|
value: elem
|
|
3211
3455
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3218,11 +3462,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3218
3462
|
value: input3.newTvs
|
|
3219
3463
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
3220
3464
|
path: _path2 + ".propsByTermId",
|
|
3221
|
-
expected: "__type.
|
|
3465
|
+
expected: "__type.o8",
|
|
3222
3466
|
value: input3.propsByTermId
|
|
3223
|
-
})) && $
|
|
3467
|
+
})) && $vo53(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3224
3468
|
path: _path2 + ".propsByTermId",
|
|
3225
|
-
expected: "__type.
|
|
3469
|
+
expected: "__type.o8",
|
|
3226
3470
|
value: input3.propsByTermId
|
|
3227
3471
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3228
3472
|
path: _path2 + ".memberType",
|
|
@@ -3232,12 +3476,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3232
3476
|
path: _path2 + ".categoryKeys",
|
|
3233
3477
|
expected: "Array<CategoryKey>",
|
|
3234
3478
|
value: input3.categoryKeys
|
|
3235
|
-
})) && input3.categoryKeys.map((elem,
|
|
3236
|
-
path: _path2 + ".categoryKeys[" +
|
|
3479
|
+
})) && input3.categoryKeys.map((elem, _index68) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3480
|
+
path: _path2 + ".categoryKeys[" + _index68 + "]",
|
|
3237
3481
|
expected: "CategoryKey",
|
|
3238
3482
|
value: elem
|
|
3239
|
-
})) && $
|
|
3240
|
-
path: _path2 + ".categoryKeys[" +
|
|
3483
|
+
})) && $vo57(elem, _path2 + ".categoryKeys[" + _index68 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3484
|
+
path: _path2 + ".categoryKeys[" + _index68 + "]",
|
|
3241
3485
|
expected: "CategoryKey",
|
|
3242
3486
|
value: elem
|
|
3243
3487
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3245,7 +3489,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3245
3489
|
expected: "Array<CategoryKey>",
|
|
3246
3490
|
value: input3.categoryKeys
|
|
3247
3491
|
})].every((flag) => flag);
|
|
3248
|
-
const $
|
|
3492
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3249
3493
|
path: _path2 + ".key",
|
|
3250
3494
|
expected: "string",
|
|
3251
3495
|
value: input3.key
|
|
@@ -3261,7 +3505,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3261
3505
|
return $vo4(input3, _path2, _exceptionable2);
|
|
3262
3506
|
return $report(_exceptionable2, {
|
|
3263
3507
|
path: _path2,
|
|
3264
|
-
expected: "(Filter | __type)",
|
|
3508
|
+
expected: "(Filter | __type.o1)",
|
|
3265
3509
|
value: input3
|
|
3266
3510
|
});
|
|
3267
3511
|
})();
|
|
@@ -3282,14 +3526,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3282
3526
|
if (true === input3.stopunbounded)
|
|
3283
3527
|
return $vo23(input3, _path2, _exceptionable2);
|
|
3284
3528
|
if (void 0 !== input3.value)
|
|
3285
|
-
return $
|
|
3529
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3286
3530
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3287
3531
|
})();
|
|
3288
3532
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3289
3533
|
if ("gene" === input3.kind)
|
|
3290
|
-
return $
|
|
3534
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3291
3535
|
if ("coord" === input3.kind)
|
|
3292
|
-
return $
|
|
3536
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3293
3537
|
return $report(_exceptionable2, {
|
|
3294
3538
|
path: _path2,
|
|
3295
3539
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3307,23 +3551,23 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3307
3551
|
if (void 0 !== input3.ranges)
|
|
3308
3552
|
return $vo15(input3, _path2, _exceptionable2);
|
|
3309
3553
|
if (void 0 !== input3.ratio)
|
|
3310
|
-
return $
|
|
3311
|
-
return $vo5(input3, _path2, false) || $
|
|
3554
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3555
|
+
return $vo5(input3, _path2, false) || $vo39(input3, _path2, false) || $vo43(input3, _path2, false);
|
|
3312
3556
|
})();
|
|
3313
3557
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3314
3558
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3315
3559
|
return $vo16(input3, _path2, _exceptionable2);
|
|
3316
3560
|
if ("metaboliteIntensity" === input3.type)
|
|
3317
|
-
return $
|
|
3561
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3318
3562
|
if ("proteomeAbundance" === input3.type)
|
|
3319
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
3320
|
-
if ("date" === input3.type)
|
|
3321
3563
|
return $vo30(input3, _path2, _exceptionable2);
|
|
3564
|
+
if ("date" === input3.type)
|
|
3565
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3322
3566
|
if ("ssGSEA" === input3.type)
|
|
3323
|
-
return $
|
|
3567
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3324
3568
|
if ("dnaMethylation" === input3.type)
|
|
3325
|
-
return $
|
|
3326
|
-
return $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $
|
|
3569
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3570
|
+
return $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false) || $vo27(input3, _path2, false) || $vo36(input3, _path2, false) || $vo35(input3, _path2, false);
|
|
3327
3571
|
})();
|
|
3328
3572
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3329
3573
|
if ("regular-bin" === input3.type)
|
|
@@ -3360,9 +3604,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3360
3604
|
})();
|
|
3361
3605
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3362
3606
|
if ("gene" === input3.kind)
|
|
3363
|
-
return $
|
|
3607
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3364
3608
|
if ("coord" === input3.kind)
|
|
3365
|
-
return $
|
|
3609
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3366
3610
|
return $report(_exceptionable2, {
|
|
3367
3611
|
path: _path2,
|
|
3368
3612
|
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; })',
|
|
@@ -3371,9 +3615,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3371
3615
|
})();
|
|
3372
3616
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3373
3617
|
if ("numeric" === input3.memberType)
|
|
3374
|
-
return $
|
|
3618
|
+
return $vo51(input3, _path2, _exceptionable2);
|
|
3375
3619
|
if ("categorical" === input3.memberType)
|
|
3376
|
-
return $
|
|
3620
|
+
return $vo56(input3, _path2, _exceptionable2);
|
|
3377
3621
|
return $report(_exceptionable2, {
|
|
3378
3622
|
path: _path2,
|
|
3379
3623
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
@@ -3401,14 +3645,17 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3401
3645
|
var validTermdbDmrResponse = (input) => {
|
|
3402
3646
|
const errors = [];
|
|
3403
3647
|
const __is = (input2) => {
|
|
3404
|
-
const $io0 = (input3) => "ok" === input3.status && (Array.isArray(input3.dmrs) && input3.dmrs.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3405
|
-
const $io1 = (input3) => "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "number" === typeof input3.
|
|
3406
|
-
const $io2 = (input3) => "string" === typeof input3.
|
|
3648
|
+
const $io0 = (input3) => "ok" === input3.status && (Array.isArray(input3.dmrs) && input3.dmrs.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (void 0 === input3.diagnostic || "object" === typeof input3.diagnostic && null !== input3.diagnostic && $io2(input3.diagnostic));
|
|
3649
|
+
const $io1 = (input3) => "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "number" === typeof input3.no_cpgs && "number" === typeof input3.min_smoothed_fdr && "number" === typeof input3.HMFDR && "number" === typeof input3.maxdiff && "number" === typeof input3.meandiff && ("hyper" === input3.direction || "hypo" === input3.direction) && (null === input3.overlapping_genes || void 0 === input3.overlapping_genes || "string" === typeof input3.overlapping_genes);
|
|
3650
|
+
const $io2 = (input3) => "object" === typeof input3.probes && null !== input3.probes && $io3(input3.probes) && (Array.isArray(input3.probe_spacings) && input3.probe_spacings.every((elem) => "number" === typeof elem)) && (void 0 === input3.loess || "object" === typeof input3.loess && null !== input3.loess && $io4(input3.loess)) && (void 0 === input3.total_probes_analyzed || "number" === typeof input3.total_probes_analyzed) && (void 0 === input3.peak_memory_mb || "number" === typeof input3.peak_memory_mb) && (void 0 === input3.start_memory_mb || "number" === typeof input3.start_memory_mb) && (void 0 === input3.elapsed_ms || "number" === typeof input3.elapsed_ms) && (null === input3.track_png || void 0 === input3.track_png || "string" === typeof input3.track_png);
|
|
3651
|
+
const $io3 = (input3) => Array.isArray(input3.positions) && input3.positions.every((elem) => "number" === typeof elem) && (Array.isArray(input3.mean_group1) && input3.mean_group1.every((elem) => null === elem || "number" === typeof elem)) && (Array.isArray(input3.mean_group2) && input3.mean_group2.every((elem) => null === elem || "number" === typeof elem)) && (Array.isArray(input3.fdr) && input3.fdr.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.logFC) && input3.logFC.every((elem) => null === elem || "number" === typeof elem));
|
|
3652
|
+
const $io4 = (input3) => Array.isArray(input3.positions) && input3.positions.every((elem) => "number" === typeof elem) && (Array.isArray(input3.group1_fitted) && input3.group1_fitted.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.group1_ci_lower) && input3.group1_ci_lower.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.group1_ci_upper) && input3.group1_ci_upper.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.group2_fitted) && input3.group2_fitted.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.group2_ci_lower) && input3.group2_ci_lower.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.group2_ci_upper) && input3.group2_ci_upper.every((elem) => "number" === typeof elem));
|
|
3653
|
+
const $io5 = (input3) => "string" === typeof input3.error;
|
|
3407
3654
|
const $iu0 = (input3) => (() => {
|
|
3408
3655
|
if (void 0 !== input3.status)
|
|
3409
3656
|
return $io0(input3);
|
|
3410
3657
|
if (void 0 !== input3.error)
|
|
3411
|
-
return $
|
|
3658
|
+
return $io5(input3);
|
|
3412
3659
|
return false;
|
|
3413
3660
|
})();
|
|
3414
3661
|
return "object" === typeof input2 && null !== input2 && $iu0(input2);
|
|
@@ -3436,6 +3683,14 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3436
3683
|
path: _path2 + ".dmrs",
|
|
3437
3684
|
expected: "Array<__type>",
|
|
3438
3685
|
value: input3.dmrs
|
|
3686
|
+
}), void 0 === input3.diagnostic || ("object" === typeof input3.diagnostic && null !== input3.diagnostic || $report(_exceptionable2, {
|
|
3687
|
+
path: _path2 + ".diagnostic",
|
|
3688
|
+
expected: "(DmrDiagnostic | undefined)",
|
|
3689
|
+
value: input3.diagnostic
|
|
3690
|
+
})) && $vo2(input3.diagnostic, _path2 + ".diagnostic", _exceptionable2) || $report(_exceptionable2, {
|
|
3691
|
+
path: _path2 + ".diagnostic",
|
|
3692
|
+
expected: "(DmrDiagnostic | undefined)",
|
|
3693
|
+
value: input3.diagnostic
|
|
3439
3694
|
})].every((flag) => flag);
|
|
3440
3695
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3441
3696
|
path: _path2 + ".chr",
|
|
@@ -3449,24 +3704,231 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3449
3704
|
path: _path2 + ".stop",
|
|
3450
3705
|
expected: "number",
|
|
3451
3706
|
value: input3.stop
|
|
3452
|
-
}), "number" === typeof input3.
|
|
3453
|
-
path: _path2 + ".
|
|
3707
|
+
}), "number" === typeof input3.no_cpgs || $report(_exceptionable2, {
|
|
3708
|
+
path: _path2 + ".no_cpgs",
|
|
3709
|
+
expected: "number",
|
|
3710
|
+
value: input3.no_cpgs
|
|
3711
|
+
}), "number" === typeof input3.min_smoothed_fdr || $report(_exceptionable2, {
|
|
3712
|
+
path: _path2 + ".min_smoothed_fdr",
|
|
3713
|
+
expected: "number",
|
|
3714
|
+
value: input3.min_smoothed_fdr
|
|
3715
|
+
}), "number" === typeof input3.HMFDR || $report(_exceptionable2, {
|
|
3716
|
+
path: _path2 + ".HMFDR",
|
|
3454
3717
|
expected: "number",
|
|
3455
|
-
value: input3.
|
|
3456
|
-
}), "number" === typeof input3.
|
|
3457
|
-
path: _path2 + ".
|
|
3718
|
+
value: input3.HMFDR
|
|
3719
|
+
}), "number" === typeof input3.maxdiff || $report(_exceptionable2, {
|
|
3720
|
+
path: _path2 + ".maxdiff",
|
|
3458
3721
|
expected: "number",
|
|
3459
|
-
value: input3.
|
|
3722
|
+
value: input3.maxdiff
|
|
3723
|
+
}), "number" === typeof input3.meandiff || $report(_exceptionable2, {
|
|
3724
|
+
path: _path2 + ".meandiff",
|
|
3725
|
+
expected: "number",
|
|
3726
|
+
value: input3.meandiff
|
|
3460
3727
|
}), "hyper" === input3.direction || "hypo" === input3.direction || $report(_exceptionable2, {
|
|
3461
3728
|
path: _path2 + ".direction",
|
|
3462
3729
|
expected: '("hyper" | "hypo")',
|
|
3463
3730
|
value: input3.direction
|
|
3464
|
-
}), "
|
|
3465
|
-
path: _path2 + ".
|
|
3731
|
+
}), null === input3.overlapping_genes || void 0 === input3.overlapping_genes || "string" === typeof input3.overlapping_genes || $report(_exceptionable2, {
|
|
3732
|
+
path: _path2 + ".overlapping_genes",
|
|
3733
|
+
expected: "(null | string | undefined)",
|
|
3734
|
+
value: input3.overlapping_genes
|
|
3735
|
+
})].every((flag) => flag);
|
|
3736
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.probes && null !== input3.probes || $report(_exceptionable2, {
|
|
3737
|
+
path: _path2 + ".probes",
|
|
3738
|
+
expected: "__type.o1",
|
|
3739
|
+
value: input3.probes
|
|
3740
|
+
})) && $vo3(input3.probes, _path2 + ".probes", _exceptionable2) || $report(_exceptionable2, {
|
|
3741
|
+
path: _path2 + ".probes",
|
|
3742
|
+
expected: "__type.o1",
|
|
3743
|
+
value: input3.probes
|
|
3744
|
+
}), (Array.isArray(input3.probe_spacings) || $report(_exceptionable2, {
|
|
3745
|
+
path: _path2 + ".probe_spacings",
|
|
3746
|
+
expected: "Array<number>",
|
|
3747
|
+
value: input3.probe_spacings
|
|
3748
|
+
})) && input3.probe_spacings.map((elem, _index2) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3749
|
+
path: _path2 + ".probe_spacings[" + _index2 + "]",
|
|
3750
|
+
expected: "number",
|
|
3751
|
+
value: elem
|
|
3752
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3753
|
+
path: _path2 + ".probe_spacings",
|
|
3754
|
+
expected: "Array<number>",
|
|
3755
|
+
value: input3.probe_spacings
|
|
3756
|
+
}), void 0 === input3.loess || ("object" === typeof input3.loess && null !== input3.loess || $report(_exceptionable2, {
|
|
3757
|
+
path: _path2 + ".loess",
|
|
3758
|
+
expected: "(DmrLoessCurves | undefined)",
|
|
3759
|
+
value: input3.loess
|
|
3760
|
+
})) && $vo4(input3.loess, _path2 + ".loess", _exceptionable2) || $report(_exceptionable2, {
|
|
3761
|
+
path: _path2 + ".loess",
|
|
3762
|
+
expected: "(DmrLoessCurves | undefined)",
|
|
3763
|
+
value: input3.loess
|
|
3764
|
+
}), void 0 === input3.total_probes_analyzed || "number" === typeof input3.total_probes_analyzed || $report(_exceptionable2, {
|
|
3765
|
+
path: _path2 + ".total_probes_analyzed",
|
|
3766
|
+
expected: "(number | undefined)",
|
|
3767
|
+
value: input3.total_probes_analyzed
|
|
3768
|
+
}), void 0 === input3.peak_memory_mb || "number" === typeof input3.peak_memory_mb || $report(_exceptionable2, {
|
|
3769
|
+
path: _path2 + ".peak_memory_mb",
|
|
3770
|
+
expected: "(number | undefined)",
|
|
3771
|
+
value: input3.peak_memory_mb
|
|
3772
|
+
}), void 0 === input3.start_memory_mb || "number" === typeof input3.start_memory_mb || $report(_exceptionable2, {
|
|
3773
|
+
path: _path2 + ".start_memory_mb",
|
|
3774
|
+
expected: "(number | undefined)",
|
|
3775
|
+
value: input3.start_memory_mb
|
|
3776
|
+
}), void 0 === input3.elapsed_ms || "number" === typeof input3.elapsed_ms || $report(_exceptionable2, {
|
|
3777
|
+
path: _path2 + ".elapsed_ms",
|
|
3778
|
+
expected: "(number | undefined)",
|
|
3779
|
+
value: input3.elapsed_ms
|
|
3780
|
+
}), null === input3.track_png || void 0 === input3.track_png || "string" === typeof input3.track_png || $report(_exceptionable2, {
|
|
3781
|
+
path: _path2 + ".track_png",
|
|
3782
|
+
expected: "(null | string | undefined)",
|
|
3783
|
+
value: input3.track_png
|
|
3784
|
+
})].every((flag) => flag);
|
|
3785
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.positions) || $report(_exceptionable2, {
|
|
3786
|
+
path: _path2 + ".positions",
|
|
3787
|
+
expected: "Array<number>",
|
|
3788
|
+
value: input3.positions
|
|
3789
|
+
})) && input3.positions.map((elem, _index3) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3790
|
+
path: _path2 + ".positions[" + _index3 + "]",
|
|
3466
3791
|
expected: "number",
|
|
3467
|
-
value:
|
|
3792
|
+
value: elem
|
|
3793
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3794
|
+
path: _path2 + ".positions",
|
|
3795
|
+
expected: "Array<number>",
|
|
3796
|
+
value: input3.positions
|
|
3797
|
+
}), (Array.isArray(input3.mean_group1) || $report(_exceptionable2, {
|
|
3798
|
+
path: _path2 + ".mean_group1",
|
|
3799
|
+
expected: "Array<number | null>",
|
|
3800
|
+
value: input3.mean_group1
|
|
3801
|
+
})) && input3.mean_group1.map((elem, _index4) => null === elem || "number" === typeof elem || $report(_exceptionable2, {
|
|
3802
|
+
path: _path2 + ".mean_group1[" + _index4 + "]",
|
|
3803
|
+
expected: "(null | number)",
|
|
3804
|
+
value: elem
|
|
3805
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3806
|
+
path: _path2 + ".mean_group1",
|
|
3807
|
+
expected: "Array<number | null>",
|
|
3808
|
+
value: input3.mean_group1
|
|
3809
|
+
}), (Array.isArray(input3.mean_group2) || $report(_exceptionable2, {
|
|
3810
|
+
path: _path2 + ".mean_group2",
|
|
3811
|
+
expected: "Array<number | null>",
|
|
3812
|
+
value: input3.mean_group2
|
|
3813
|
+
})) && input3.mean_group2.map((elem, _index5) => null === elem || "number" === typeof elem || $report(_exceptionable2, {
|
|
3814
|
+
path: _path2 + ".mean_group2[" + _index5 + "]",
|
|
3815
|
+
expected: "(null | number)",
|
|
3816
|
+
value: elem
|
|
3817
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3818
|
+
path: _path2 + ".mean_group2",
|
|
3819
|
+
expected: "Array<number | null>",
|
|
3820
|
+
value: input3.mean_group2
|
|
3821
|
+
}), (Array.isArray(input3.fdr) || $report(_exceptionable2, {
|
|
3822
|
+
path: _path2 + ".fdr",
|
|
3823
|
+
expected: "Array<number>",
|
|
3824
|
+
value: input3.fdr
|
|
3825
|
+
})) && input3.fdr.map((elem, _index6) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3826
|
+
path: _path2 + ".fdr[" + _index6 + "]",
|
|
3827
|
+
expected: "number",
|
|
3828
|
+
value: elem
|
|
3829
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3830
|
+
path: _path2 + ".fdr",
|
|
3831
|
+
expected: "Array<number>",
|
|
3832
|
+
value: input3.fdr
|
|
3833
|
+
}), (Array.isArray(input3.logFC) || $report(_exceptionable2, {
|
|
3834
|
+
path: _path2 + ".logFC",
|
|
3835
|
+
expected: "Array<number | null>",
|
|
3836
|
+
value: input3.logFC
|
|
3837
|
+
})) && input3.logFC.map((elem, _index7) => null === elem || "number" === typeof elem || $report(_exceptionable2, {
|
|
3838
|
+
path: _path2 + ".logFC[" + _index7 + "]",
|
|
3839
|
+
expected: "(null | number)",
|
|
3840
|
+
value: elem
|
|
3841
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3842
|
+
path: _path2 + ".logFC",
|
|
3843
|
+
expected: "Array<number | null>",
|
|
3844
|
+
value: input3.logFC
|
|
3845
|
+
})].every((flag) => flag);
|
|
3846
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.positions) || $report(_exceptionable2, {
|
|
3847
|
+
path: _path2 + ".positions",
|
|
3848
|
+
expected: "Array<number>",
|
|
3849
|
+
value: input3.positions
|
|
3850
|
+
})) && input3.positions.map((elem, _index8) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3851
|
+
path: _path2 + ".positions[" + _index8 + "]",
|
|
3852
|
+
expected: "number",
|
|
3853
|
+
value: elem
|
|
3854
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3855
|
+
path: _path2 + ".positions",
|
|
3856
|
+
expected: "Array<number>",
|
|
3857
|
+
value: input3.positions
|
|
3858
|
+
}), (Array.isArray(input3.group1_fitted) || $report(_exceptionable2, {
|
|
3859
|
+
path: _path2 + ".group1_fitted",
|
|
3860
|
+
expected: "Array<number>",
|
|
3861
|
+
value: input3.group1_fitted
|
|
3862
|
+
})) && input3.group1_fitted.map((elem, _index9) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3863
|
+
path: _path2 + ".group1_fitted[" + _index9 + "]",
|
|
3864
|
+
expected: "number",
|
|
3865
|
+
value: elem
|
|
3866
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3867
|
+
path: _path2 + ".group1_fitted",
|
|
3868
|
+
expected: "Array<number>",
|
|
3869
|
+
value: input3.group1_fitted
|
|
3870
|
+
}), (Array.isArray(input3.group1_ci_lower) || $report(_exceptionable2, {
|
|
3871
|
+
path: _path2 + ".group1_ci_lower",
|
|
3872
|
+
expected: "Array<number>",
|
|
3873
|
+
value: input3.group1_ci_lower
|
|
3874
|
+
})) && input3.group1_ci_lower.map((elem, _index10) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3875
|
+
path: _path2 + ".group1_ci_lower[" + _index10 + "]",
|
|
3876
|
+
expected: "number",
|
|
3877
|
+
value: elem
|
|
3878
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3879
|
+
path: _path2 + ".group1_ci_lower",
|
|
3880
|
+
expected: "Array<number>",
|
|
3881
|
+
value: input3.group1_ci_lower
|
|
3882
|
+
}), (Array.isArray(input3.group1_ci_upper) || $report(_exceptionable2, {
|
|
3883
|
+
path: _path2 + ".group1_ci_upper",
|
|
3884
|
+
expected: "Array<number>",
|
|
3885
|
+
value: input3.group1_ci_upper
|
|
3886
|
+
})) && input3.group1_ci_upper.map((elem, _index11) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3887
|
+
path: _path2 + ".group1_ci_upper[" + _index11 + "]",
|
|
3888
|
+
expected: "number",
|
|
3889
|
+
value: elem
|
|
3890
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3891
|
+
path: _path2 + ".group1_ci_upper",
|
|
3892
|
+
expected: "Array<number>",
|
|
3893
|
+
value: input3.group1_ci_upper
|
|
3894
|
+
}), (Array.isArray(input3.group2_fitted) || $report(_exceptionable2, {
|
|
3895
|
+
path: _path2 + ".group2_fitted",
|
|
3896
|
+
expected: "Array<number>",
|
|
3897
|
+
value: input3.group2_fitted
|
|
3898
|
+
})) && input3.group2_fitted.map((elem, _index12) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3899
|
+
path: _path2 + ".group2_fitted[" + _index12 + "]",
|
|
3900
|
+
expected: "number",
|
|
3901
|
+
value: elem
|
|
3902
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3903
|
+
path: _path2 + ".group2_fitted",
|
|
3904
|
+
expected: "Array<number>",
|
|
3905
|
+
value: input3.group2_fitted
|
|
3906
|
+
}), (Array.isArray(input3.group2_ci_lower) || $report(_exceptionable2, {
|
|
3907
|
+
path: _path2 + ".group2_ci_lower",
|
|
3908
|
+
expected: "Array<number>",
|
|
3909
|
+
value: input3.group2_ci_lower
|
|
3910
|
+
})) && input3.group2_ci_lower.map((elem, _index13) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3911
|
+
path: _path2 + ".group2_ci_lower[" + _index13 + "]",
|
|
3912
|
+
expected: "number",
|
|
3913
|
+
value: elem
|
|
3914
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3915
|
+
path: _path2 + ".group2_ci_lower",
|
|
3916
|
+
expected: "Array<number>",
|
|
3917
|
+
value: input3.group2_ci_lower
|
|
3918
|
+
}), (Array.isArray(input3.group2_ci_upper) || $report(_exceptionable2, {
|
|
3919
|
+
path: _path2 + ".group2_ci_upper",
|
|
3920
|
+
expected: "Array<number>",
|
|
3921
|
+
value: input3.group2_ci_upper
|
|
3922
|
+
})) && input3.group2_ci_upper.map((elem, _index14) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3923
|
+
path: _path2 + ".group2_ci_upper[" + _index14 + "]",
|
|
3924
|
+
expected: "number",
|
|
3925
|
+
value: elem
|
|
3926
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3927
|
+
path: _path2 + ".group2_ci_upper",
|
|
3928
|
+
expected: "Array<number>",
|
|
3929
|
+
value: input3.group2_ci_upper
|
|
3468
3930
|
})].every((flag) => flag);
|
|
3469
|
-
const $
|
|
3931
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.error || $report(_exceptionable2, {
|
|
3470
3932
|
path: _path2 + ".error",
|
|
3471
3933
|
expected: "string",
|
|
3472
3934
|
value: input3.error
|
|
@@ -3475,7 +3937,7 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3475
3937
|
if (void 0 !== input3.status)
|
|
3476
3938
|
return $vo0(input3, _path2, _exceptionable2);
|
|
3477
3939
|
if (void 0 !== input3.error)
|
|
3478
|
-
return $
|
|
3940
|
+
return $vo5(input3, _path2, _exceptionable2);
|
|
3479
3941
|
return $report(_exceptionable2, {
|
|
3480
3942
|
path: _path2,
|
|
3481
3943
|
expected: "(TermdbDmrSuccessResponse | TermdbDmrErrorResponse)",
|