@sjcrh/proteinpaint-types 2.140.1 → 2.142.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-WKT3H4P4.js → chunk-2VDOPTRV.js} +1581 -693
- package/dist/{chunk-AADDTYUL.js → chunk-3BQ57P2P.js} +467 -105
- package/dist/{chunk-XXHHUIEV.js → chunk-3L3ASC3B.js} +2634 -2174
- package/dist/{chunk-ECF6WSOD.js → chunk-4R265LDJ.js} +467 -105
- package/dist/{chunk-FZJ3E7JA.js → chunk-CEDL2QZT.js} +2620 -2160
- package/dist/{chunk-PPFFVFUI.js → chunk-DMJFOII6.js} +467 -105
- package/dist/{chunk-KS74VVON.js → chunk-FVBXC7SY.js} +467 -105
- package/dist/{chunk-2WLN6PMW.js → chunk-GDM7YUXH.js} +2615 -2155
- package/dist/{chunk-BWLSDIHM.js → chunk-IR4QSJI7.js} +2610 -2150
- package/dist/{chunk-IDP5KXE6.js → chunk-MVMUZSLL.js} +1947 -1487
- package/dist/{chunk-EWON4FG5.js → chunk-SMVDKR2O.js} +2441 -2109
- package/dist/{chunk-ZA3FDGAD.js → chunk-SOM5WKDM.js} +1014 -488
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -2
- package/src/dataset.ts +4 -2
- package/src/genome.ts +2 -2
- package/src/index.ts +1 -0
- package/src/terms/categorical.ts +0 -8
- package/src/terms/condition.ts +4 -3
- package/src/terms/date.ts +20 -0
- package/src/terms/geneExpression.ts +20 -16
- package/src/terms/geneVariant.ts +3 -0
- package/src/terms/metaboliteIntensity.ts +14 -17
- package/src/terms/numeric.ts +13 -23
- package/src/terms/snp.ts +7 -7
- package/src/terms/snps.ts +1 -0
- package/src/terms/ssGSEA.ts +9 -13
- package/src/terms/tw.ts +11 -6
- package/src/terms/updated-types.ts +0 -10
|
@@ -43,8 +43,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
43
43
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
44
44
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
45
45
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
46
|
-
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
46
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
47
|
+
const $io13 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
48
48
|
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
49
49
|
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
50
50
|
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
@@ -60,18 +60,22 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
60
60
|
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
61
61
|
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
62
62
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
63
|
-
const $io22 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
64
|
-
const $io23 = (input3) => "string" === typeof input3.
|
|
65
|
-
const $io24 = (input3) => (void 0 === input3.
|
|
66
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
67
|
-
const $io26 = (input3) => "
|
|
68
|
-
const $io27 = (input3) =>
|
|
69
|
-
const $io28 = (input3) =>
|
|
70
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
71
|
-
const $io30 = (input3) => "
|
|
72
|
-
const $io31 = (input3) =>
|
|
73
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
74
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
63
|
+
const $io22 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(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);
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(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;
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(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 && $io15(input3.bins));
|
|
66
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(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 && $io15(input3.bins));
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
71
|
+
const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
72
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
75
79
|
const $iu0 = (input3) => (() => {
|
|
76
80
|
if ("tvslst" === input3.type)
|
|
77
81
|
return $io1(input3);
|
|
@@ -95,9 +99,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
95
99
|
})();
|
|
96
100
|
const $iu3 = (input3) => (() => {
|
|
97
101
|
if ("gene" === input3.kind)
|
|
98
|
-
return $
|
|
102
|
+
return $io34(input3);
|
|
99
103
|
if ("coord" === input3.kind)
|
|
100
|
-
return $
|
|
104
|
+
return $io35(input3);
|
|
101
105
|
return false;
|
|
102
106
|
})();
|
|
103
107
|
const $iu4 = (input3) => (() => {
|
|
@@ -106,19 +110,29 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
106
110
|
return (() => {
|
|
107
111
|
if ($io3(input3))
|
|
108
112
|
return $io3(input3);
|
|
109
|
-
if ($
|
|
110
|
-
return $
|
|
111
|
-
if ($
|
|
112
|
-
return $
|
|
113
|
+
if ($io28(input3))
|
|
114
|
+
return $io28(input3);
|
|
115
|
+
if ($io31(input3))
|
|
116
|
+
return $io31(input3);
|
|
113
117
|
return false;
|
|
114
118
|
})();
|
|
115
119
|
})();
|
|
116
120
|
const $iu5 = (input3) => (() => {
|
|
117
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
121
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
118
122
|
return $io13(input3);
|
|
119
|
-
if ("
|
|
120
|
-
return $
|
|
121
|
-
|
|
123
|
+
if ("metaboliteIntensity" === input3.type)
|
|
124
|
+
return $io24(input3);
|
|
125
|
+
if ("date" === input3.type)
|
|
126
|
+
return $io25(input3);
|
|
127
|
+
if ("ssGSEA" === input3.type)
|
|
128
|
+
return $io26(input3);
|
|
129
|
+
return (() => {
|
|
130
|
+
if ($io23(input3))
|
|
131
|
+
return $io23(input3);
|
|
132
|
+
if ($io22(input3))
|
|
133
|
+
return $io22(input3);
|
|
134
|
+
return false;
|
|
135
|
+
})();
|
|
122
136
|
})();
|
|
123
137
|
const $iu6 = (input3) => (() => {
|
|
124
138
|
if ("regular-bin" === input3.type)
|
|
@@ -143,9 +157,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
143
157
|
})();
|
|
144
158
|
const $iu9 = (input3) => (() => {
|
|
145
159
|
if ("gene" === input3.kind)
|
|
146
|
-
return $
|
|
160
|
+
return $io33(input3);
|
|
147
161
|
if ("coord" === input3.kind)
|
|
148
|
-
return $
|
|
162
|
+
return $io36(input3);
|
|
149
163
|
return false;
|
|
150
164
|
})();
|
|
151
165
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -509,11 +523,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
509
523
|
value: input3.isnot
|
|
510
524
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
511
525
|
path: _path2 + ".term",
|
|
512
|
-
expected:
|
|
526
|
+
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 | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
513
527
|
value: input3.term
|
|
514
528
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
515
529
|
path: _path2 + ".term",
|
|
516
|
-
expected:
|
|
530
|
+
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 | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
517
531
|
value: input3.term
|
|
518
532
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
519
533
|
path: _path2 + ".ranges",
|
|
@@ -539,7 +553,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
539
553
|
path: _path2 + ".values[" + _index9 + "]",
|
|
540
554
|
expected: "__type.o3",
|
|
541
555
|
value: elem
|
|
542
|
-
})) && $
|
|
556
|
+
})) && $vo27(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
543
557
|
path: _path2 + ".values[" + _index9 + "]",
|
|
544
558
|
expected: "__type.o3",
|
|
545
559
|
value: elem
|
|
@@ -556,9 +570,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
556
570
|
path: _path2 + ".name",
|
|
557
571
|
expected: "string",
|
|
558
572
|
value: input3.name
|
|
559
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
573
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
560
574
|
path: _path2 + ".type",
|
|
561
|
-
expected: '("
|
|
575
|
+
expected: '("float" | "integer")',
|
|
562
576
|
value: input3.type
|
|
563
577
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
564
578
|
path: _path2 + ".child_types",
|
|
@@ -950,10 +964,6 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
950
964
|
path: _path2 + ".unit",
|
|
951
965
|
expected: "(string | undefined)",
|
|
952
966
|
value: input3.unit
|
|
953
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
954
|
-
path: _path2 + ".gene",
|
|
955
|
-
expected: "string",
|
|
956
|
-
value: input3.gene
|
|
957
967
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
958
968
|
path: _path2 + ".bins",
|
|
959
969
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -962,6 +972,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
962
972
|
path: _path2 + ".bins",
|
|
963
973
|
expected: "(PresetNumericBins | undefined)",
|
|
964
974
|
value: input3.bins
|
|
975
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
976
|
+
path: _path2 + ".kind",
|
|
977
|
+
expected: '("gene" | undefined)',
|
|
978
|
+
value: input3.kind
|
|
979
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
980
|
+
path: _path2 + ".gene",
|
|
981
|
+
expected: "string",
|
|
982
|
+
value: input3.gene
|
|
965
983
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
966
984
|
path: _path2 + ".chr",
|
|
967
985
|
expected: "(string | undefined)",
|
|
@@ -975,7 +993,351 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
975
993
|
expected: "(number | undefined)",
|
|
976
994
|
value: input3.stop
|
|
977
995
|
})].every((flag) => flag);
|
|
978
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
996
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
997
|
+
path: _path2 + ".id",
|
|
998
|
+
expected: "string",
|
|
999
|
+
value: input3.id
|
|
1000
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1001
|
+
path: _path2 + ".name",
|
|
1002
|
+
expected: "string",
|
|
1003
|
+
value: input3.name
|
|
1004
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1005
|
+
path: _path2 + ".type",
|
|
1006
|
+
expected: '"geneExpression"',
|
|
1007
|
+
value: input3.type
|
|
1008
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1009
|
+
path: _path2 + ".child_types",
|
|
1010
|
+
expected: "(Array<string> | undefined)",
|
|
1011
|
+
value: input3.child_types
|
|
1012
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1013
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1014
|
+
expected: "string",
|
|
1015
|
+
value: elem
|
|
1016
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1017
|
+
path: _path2 + ".child_types",
|
|
1018
|
+
expected: "(Array<string> | undefined)",
|
|
1019
|
+
value: input3.child_types
|
|
1020
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1021
|
+
path: _path2 + ".hashtmldetail",
|
|
1022
|
+
expected: "(boolean | undefined)",
|
|
1023
|
+
value: input3.hashtmldetail
|
|
1024
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1025
|
+
path: _path2 + ".included_types",
|
|
1026
|
+
expected: "(Array<string> | undefined)",
|
|
1027
|
+
value: input3.included_types
|
|
1028
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1029
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1030
|
+
expected: "string",
|
|
1031
|
+
value: elem
|
|
1032
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1033
|
+
path: _path2 + ".included_types",
|
|
1034
|
+
expected: "(Array<string> | undefined)",
|
|
1035
|
+
value: input3.included_types
|
|
1036
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1037
|
+
path: _path2 + ".isleaf",
|
|
1038
|
+
expected: "(boolean | undefined)",
|
|
1039
|
+
value: input3.isleaf
|
|
1040
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1041
|
+
path: _path2 + ".values",
|
|
1042
|
+
expected: "(TermValues | undefined)",
|
|
1043
|
+
value: input3.values
|
|
1044
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1045
|
+
path: _path2 + ".values",
|
|
1046
|
+
expected: "(TermValues | undefined)",
|
|
1047
|
+
value: input3.values
|
|
1048
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1049
|
+
path: _path2 + ".skipValuesBuild",
|
|
1050
|
+
expected: "(boolean | undefined)",
|
|
1051
|
+
value: input3.skipValuesBuild
|
|
1052
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1053
|
+
path: _path2 + ".continuousColorScale",
|
|
1054
|
+
expected: "(__type.o2 | undefined)",
|
|
1055
|
+
value: input3.continuousColorScale
|
|
1056
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1057
|
+
path: _path2 + ".continuousColorScale",
|
|
1058
|
+
expected: "(__type.o2 | undefined)",
|
|
1059
|
+
value: input3.continuousColorScale
|
|
1060
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1061
|
+
path: _path2 + ".unit",
|
|
1062
|
+
expected: "(string | undefined)",
|
|
1063
|
+
value: input3.unit
|
|
1064
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1065
|
+
path: _path2 + ".bins",
|
|
1066
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1067
|
+
value: input3.bins
|
|
1068
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".bins",
|
|
1070
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1071
|
+
value: input3.bins
|
|
1072
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".kind",
|
|
1074
|
+
expected: '("coord" | undefined)',
|
|
1075
|
+
value: input3.kind
|
|
1076
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".gene",
|
|
1078
|
+
expected: "(string | undefined)",
|
|
1079
|
+
value: input3.gene
|
|
1080
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".chr",
|
|
1082
|
+
expected: "string",
|
|
1083
|
+
value: input3.chr
|
|
1084
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".start",
|
|
1086
|
+
expected: "number",
|
|
1087
|
+
value: input3.start
|
|
1088
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1089
|
+
path: _path2 + ".stop",
|
|
1090
|
+
expected: "number",
|
|
1091
|
+
value: input3.stop
|
|
1092
|
+
})].every((flag) => flag);
|
|
1093
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1094
|
+
path: _path2 + ".id",
|
|
1095
|
+
expected: "string",
|
|
1096
|
+
value: input3.id
|
|
1097
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1098
|
+
path: _path2 + ".name",
|
|
1099
|
+
expected: "string",
|
|
1100
|
+
value: input3.name
|
|
1101
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1102
|
+
path: _path2 + ".type",
|
|
1103
|
+
expected: '"metaboliteIntensity"',
|
|
1104
|
+
value: input3.type
|
|
1105
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1106
|
+
path: _path2 + ".child_types",
|
|
1107
|
+
expected: "(Array<string> | undefined)",
|
|
1108
|
+
value: input3.child_types
|
|
1109
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1110
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1111
|
+
expected: "string",
|
|
1112
|
+
value: elem
|
|
1113
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1114
|
+
path: _path2 + ".child_types",
|
|
1115
|
+
expected: "(Array<string> | undefined)",
|
|
1116
|
+
value: input3.child_types
|
|
1117
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1118
|
+
path: _path2 + ".hashtmldetail",
|
|
1119
|
+
expected: "(boolean | undefined)",
|
|
1120
|
+
value: input3.hashtmldetail
|
|
1121
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1122
|
+
path: _path2 + ".included_types",
|
|
1123
|
+
expected: "(Array<string> | undefined)",
|
|
1124
|
+
value: input3.included_types
|
|
1125
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1126
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1127
|
+
expected: "string",
|
|
1128
|
+
value: elem
|
|
1129
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1130
|
+
path: _path2 + ".included_types",
|
|
1131
|
+
expected: "(Array<string> | undefined)",
|
|
1132
|
+
value: input3.included_types
|
|
1133
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".isleaf",
|
|
1135
|
+
expected: "(boolean | undefined)",
|
|
1136
|
+
value: input3.isleaf
|
|
1137
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".values",
|
|
1139
|
+
expected: "(TermValues | undefined)",
|
|
1140
|
+
value: input3.values
|
|
1141
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".values",
|
|
1143
|
+
expected: "(TermValues | undefined)",
|
|
1144
|
+
value: input3.values
|
|
1145
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".skipValuesBuild",
|
|
1147
|
+
expected: "(boolean | undefined)",
|
|
1148
|
+
value: input3.skipValuesBuild
|
|
1149
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".continuousColorScale",
|
|
1151
|
+
expected: "(__type.o2 | undefined)",
|
|
1152
|
+
value: input3.continuousColorScale
|
|
1153
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".continuousColorScale",
|
|
1155
|
+
expected: "(__type.o2 | undefined)",
|
|
1156
|
+
value: input3.continuousColorScale
|
|
1157
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".unit",
|
|
1159
|
+
expected: "(string | undefined)",
|
|
1160
|
+
value: input3.unit
|
|
1161
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".metabolite",
|
|
1163
|
+
expected: "string",
|
|
1164
|
+
value: input3.metabolite
|
|
1165
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".bins",
|
|
1167
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1168
|
+
value: input3.bins
|
|
1169
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".bins",
|
|
1171
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1172
|
+
value: input3.bins
|
|
1173
|
+
})].every((flag) => flag);
|
|
1174
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1175
|
+
path: _path2 + ".id",
|
|
1176
|
+
expected: "string",
|
|
1177
|
+
value: input3.id
|
|
1178
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1179
|
+
path: _path2 + ".name",
|
|
1180
|
+
expected: "string",
|
|
1181
|
+
value: input3.name
|
|
1182
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".type",
|
|
1184
|
+
expected: '"date"',
|
|
1185
|
+
value: input3.type
|
|
1186
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1187
|
+
path: _path2 + ".child_types",
|
|
1188
|
+
expected: "(Array<string> | undefined)",
|
|
1189
|
+
value: input3.child_types
|
|
1190
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1192
|
+
expected: "string",
|
|
1193
|
+
value: elem
|
|
1194
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1195
|
+
path: _path2 + ".child_types",
|
|
1196
|
+
expected: "(Array<string> | undefined)",
|
|
1197
|
+
value: input3.child_types
|
|
1198
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1199
|
+
path: _path2 + ".hashtmldetail",
|
|
1200
|
+
expected: "(boolean | undefined)",
|
|
1201
|
+
value: input3.hashtmldetail
|
|
1202
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".included_types",
|
|
1204
|
+
expected: "(Array<string> | undefined)",
|
|
1205
|
+
value: input3.included_types
|
|
1206
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1207
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1208
|
+
expected: "string",
|
|
1209
|
+
value: elem
|
|
1210
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".included_types",
|
|
1212
|
+
expected: "(Array<string> | undefined)",
|
|
1213
|
+
value: input3.included_types
|
|
1214
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".isleaf",
|
|
1216
|
+
expected: "(boolean | undefined)",
|
|
1217
|
+
value: input3.isleaf
|
|
1218
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".values",
|
|
1220
|
+
expected: "(TermValues | undefined)",
|
|
1221
|
+
value: input3.values
|
|
1222
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".values",
|
|
1224
|
+
expected: "(TermValues | undefined)",
|
|
1225
|
+
value: input3.values
|
|
1226
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".skipValuesBuild",
|
|
1228
|
+
expected: "(boolean | undefined)",
|
|
1229
|
+
value: input3.skipValuesBuild
|
|
1230
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1231
|
+
path: _path2 + ".continuousColorScale",
|
|
1232
|
+
expected: "(__type.o2 | undefined)",
|
|
1233
|
+
value: input3.continuousColorScale
|
|
1234
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".continuousColorScale",
|
|
1236
|
+
expected: "(__type.o2 | undefined)",
|
|
1237
|
+
value: input3.continuousColorScale
|
|
1238
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".unit",
|
|
1240
|
+
expected: "(string | undefined)",
|
|
1241
|
+
value: input3.unit
|
|
1242
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".bins",
|
|
1244
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1245
|
+
value: input3.bins
|
|
1246
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".bins",
|
|
1248
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1249
|
+
value: input3.bins
|
|
1250
|
+
})].every((flag) => flag);
|
|
1251
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1252
|
+
path: _path2 + ".id",
|
|
1253
|
+
expected: "string",
|
|
1254
|
+
value: input3.id
|
|
1255
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".name",
|
|
1257
|
+
expected: "string",
|
|
1258
|
+
value: input3.name
|
|
1259
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1260
|
+
path: _path2 + ".type",
|
|
1261
|
+
expected: '"ssGSEA"',
|
|
1262
|
+
value: input3.type
|
|
1263
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1264
|
+
path: _path2 + ".child_types",
|
|
1265
|
+
expected: "(Array<string> | undefined)",
|
|
1266
|
+
value: input3.child_types
|
|
1267
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1269
|
+
expected: "string",
|
|
1270
|
+
value: elem
|
|
1271
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".child_types",
|
|
1273
|
+
expected: "(Array<string> | undefined)",
|
|
1274
|
+
value: input3.child_types
|
|
1275
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".hashtmldetail",
|
|
1277
|
+
expected: "(boolean | undefined)",
|
|
1278
|
+
value: input3.hashtmldetail
|
|
1279
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".included_types",
|
|
1281
|
+
expected: "(Array<string> | undefined)",
|
|
1282
|
+
value: input3.included_types
|
|
1283
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1285
|
+
expected: "string",
|
|
1286
|
+
value: elem
|
|
1287
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".included_types",
|
|
1289
|
+
expected: "(Array<string> | undefined)",
|
|
1290
|
+
value: input3.included_types
|
|
1291
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".isleaf",
|
|
1293
|
+
expected: "(boolean | undefined)",
|
|
1294
|
+
value: input3.isleaf
|
|
1295
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".values",
|
|
1297
|
+
expected: "(TermValues | undefined)",
|
|
1298
|
+
value: input3.values
|
|
1299
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".values",
|
|
1301
|
+
expected: "(TermValues | undefined)",
|
|
1302
|
+
value: input3.values
|
|
1303
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".skipValuesBuild",
|
|
1305
|
+
expected: "(boolean | undefined)",
|
|
1306
|
+
value: input3.skipValuesBuild
|
|
1307
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".continuousColorScale",
|
|
1309
|
+
expected: "(__type.o2 | undefined)",
|
|
1310
|
+
value: input3.continuousColorScale
|
|
1311
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".continuousColorScale",
|
|
1313
|
+
expected: "(__type.o2 | undefined)",
|
|
1314
|
+
value: input3.continuousColorScale
|
|
1315
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1316
|
+
path: _path2 + ".unit",
|
|
1317
|
+
expected: "(string | undefined)",
|
|
1318
|
+
value: input3.unit
|
|
1319
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1320
|
+
path: _path2 + ".genes",
|
|
1321
|
+
expected: "(Array<string> | undefined)",
|
|
1322
|
+
value: input3.genes
|
|
1323
|
+
})) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".genes[" + _index23 + "]",
|
|
1325
|
+
expected: "string",
|
|
1326
|
+
value: elem
|
|
1327
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".genes",
|
|
1329
|
+
expected: "(Array<string> | undefined)",
|
|
1330
|
+
value: input3.genes
|
|
1331
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".bins",
|
|
1333
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1334
|
+
value: input3.bins
|
|
1335
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1336
|
+
path: _path2 + ".bins",
|
|
1337
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1338
|
+
value: input3.bins
|
|
1339
|
+
})].every((flag) => flag);
|
|
1340
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
979
1341
|
path: _path2 + ".key",
|
|
980
1342
|
expected: "string",
|
|
981
1343
|
value: input3.key
|
|
@@ -992,7 +1354,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
992
1354
|
expected: "(string | undefined)",
|
|
993
1355
|
value: input3.label
|
|
994
1356
|
})].every((flag) => flag);
|
|
995
|
-
const $
|
|
1357
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
996
1358
|
path: _path2 + ".join",
|
|
997
1359
|
expected: "(string | undefined)",
|
|
998
1360
|
value: input3.join
|
|
@@ -1004,7 +1366,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1004
1366
|
path: _path2 + ".term",
|
|
1005
1367
|
expected: "ConditionTerm",
|
|
1006
1368
|
value: input3.term
|
|
1007
|
-
})) && $
|
|
1369
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1008
1370
|
path: _path2 + ".term",
|
|
1009
1371
|
expected: "ConditionTerm",
|
|
1010
1372
|
value: input3.term
|
|
@@ -1024,12 +1386,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1024
1386
|
path: _path2 + ".grade_and_child",
|
|
1025
1387
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1026
1388
|
value: input3.grade_and_child
|
|
1027
|
-
})) && input3.grade_and_child.map((elem,
|
|
1028
|
-
path: _path2 + ".grade_and_child[" +
|
|
1389
|
+
})) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1029
1391
|
expected: "GradeAndChildEntry",
|
|
1030
1392
|
value: elem
|
|
1031
|
-
})) && $
|
|
1032
|
-
path: _path2 + ".grade_and_child[" +
|
|
1393
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1033
1395
|
expected: "GradeAndChildEntry",
|
|
1034
1396
|
value: elem
|
|
1035
1397
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1037,7 +1399,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1037
1399
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1038
1400
|
value: input3.grade_and_child
|
|
1039
1401
|
})].every((flag) => flag);
|
|
1040
|
-
const $
|
|
1402
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1041
1403
|
path: _path2 + ".id",
|
|
1042
1404
|
expected: "string",
|
|
1043
1405
|
value: input3.id
|
|
@@ -1053,8 +1415,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1053
1415
|
path: _path2 + ".child_types",
|
|
1054
1416
|
expected: "(Array<string> | undefined)",
|
|
1055
1417
|
value: input3.child_types
|
|
1056
|
-
})) && input3.child_types.map((elem,
|
|
1057
|
-
path: _path2 + ".child_types[" +
|
|
1418
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1419
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1058
1420
|
expected: "string",
|
|
1059
1421
|
value: elem
|
|
1060
1422
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1069,8 +1431,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1069
1431
|
path: _path2 + ".included_types",
|
|
1070
1432
|
expected: "(Array<string> | undefined)",
|
|
1071
1433
|
value: input3.included_types
|
|
1072
|
-
})) && input3.included_types.map((elem,
|
|
1073
|
-
path: _path2 + ".included_types[" +
|
|
1434
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1435
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1074
1436
|
expected: "string",
|
|
1075
1437
|
value: elem
|
|
1076
1438
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1094,7 +1456,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1094
1456
|
expected: "(boolean | undefined)",
|
|
1095
1457
|
value: input3.skipValuesBuild
|
|
1096
1458
|
})].every((flag) => flag);
|
|
1097
|
-
const $
|
|
1459
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1098
1460
|
path: _path2 + ".grade",
|
|
1099
1461
|
expected: "number",
|
|
1100
1462
|
value: input3.grade
|
|
@@ -1111,7 +1473,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1111
1473
|
expected: "string",
|
|
1112
1474
|
value: input3.child_label
|
|
1113
1475
|
})].every((flag) => flag);
|
|
1114
|
-
const $
|
|
1476
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1115
1477
|
path: _path2 + ".join",
|
|
1116
1478
|
expected: "(string | undefined)",
|
|
1117
1479
|
value: input3.join
|
|
@@ -1123,7 +1485,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1123
1485
|
path: _path2 + ".term",
|
|
1124
1486
|
expected: "DtTerm",
|
|
1125
1487
|
value: input3.term
|
|
1126
|
-
})) && $
|
|
1488
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1127
1489
|
path: _path2 + ".term",
|
|
1128
1490
|
expected: "DtTerm",
|
|
1129
1491
|
value: input3.term
|
|
@@ -1131,12 +1493,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1131
1493
|
path: _path2 + ".values",
|
|
1132
1494
|
expected: "Array<__type>.o2",
|
|
1133
1495
|
value: input3.values
|
|
1134
|
-
})) && input3.values.map((elem,
|
|
1135
|
-
path: _path2 + ".values[" +
|
|
1496
|
+
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1136
1498
|
expected: "__type.o4",
|
|
1137
1499
|
value: elem
|
|
1138
|
-
})) && $
|
|
1139
|
-
path: _path2 + ".values[" +
|
|
1500
|
+
})) && $vo37(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1140
1502
|
expected: "__type.o4",
|
|
1141
1503
|
value: elem
|
|
1142
1504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1152,7 +1514,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1152
1514
|
expected: "(boolean | undefined)",
|
|
1153
1515
|
value: input3.excludeGeneName
|
|
1154
1516
|
})].every((flag) => flag);
|
|
1155
|
-
const $
|
|
1517
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1156
1518
|
path: _path2 + ".id",
|
|
1157
1519
|
expected: "string",
|
|
1158
1520
|
value: input3.id
|
|
@@ -1201,7 +1563,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1201
1563
|
expected: "TermValues",
|
|
1202
1564
|
value: input3.values
|
|
1203
1565
|
})].every((flag) => flag);
|
|
1204
|
-
const $
|
|
1566
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1205
1567
|
path: _path2 + ".id",
|
|
1206
1568
|
expected: "string",
|
|
1207
1569
|
value: input3.id
|
|
@@ -1217,8 +1579,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1217
1579
|
path: _path2 + ".child_types",
|
|
1218
1580
|
expected: "(Array<string> | undefined)",
|
|
1219
1581
|
value: input3.child_types
|
|
1220
|
-
})) && input3.child_types.map((elem,
|
|
1221
|
-
path: _path2 + ".child_types[" +
|
|
1582
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1583
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1222
1584
|
expected: "string",
|
|
1223
1585
|
value: elem
|
|
1224
1586
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1233,8 +1595,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1233
1595
|
path: _path2 + ".included_types",
|
|
1234
1596
|
expected: "(Array<string> | undefined)",
|
|
1235
1597
|
value: input3.included_types
|
|
1236
|
-
})) && input3.included_types.map((elem,
|
|
1237
|
-
path: _path2 + ".included_types[" +
|
|
1598
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1599
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1238
1600
|
expected: "string",
|
|
1239
1601
|
value: elem
|
|
1240
1602
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1281,12 +1643,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1281
1643
|
path: _path2 + ".genes",
|
|
1282
1644
|
expected: "Array<GvGeneTerm>",
|
|
1283
1645
|
value: input3.genes
|
|
1284
|
-
})) && input3.genes.map((elem,
|
|
1285
|
-
path: _path2 + ".genes[" +
|
|
1646
|
+
})) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1286
1648
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1287
1649
|
value: elem
|
|
1288
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1289
|
-
path: _path2 + ".genes[" +
|
|
1650
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1651
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1290
1652
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1291
1653
|
value: elem
|
|
1292
1654
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1305,12 +1667,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1305
1667
|
path: _path2 + ".childTerms",
|
|
1306
1668
|
expected: "(Array<DtTerm> | undefined)",
|
|
1307
1669
|
value: input3.childTerms
|
|
1308
|
-
})) && input3.childTerms.map((elem,
|
|
1309
|
-
path: _path2 + ".childTerms[" +
|
|
1670
|
+
})) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1310
1672
|
expected: "DtTerm",
|
|
1311
1673
|
value: elem
|
|
1312
|
-
})) && $
|
|
1313
|
-
path: _path2 + ".childTerms[" +
|
|
1674
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1675
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1314
1676
|
expected: "DtTerm",
|
|
1315
1677
|
value: elem
|
|
1316
1678
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1318,7 +1680,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1318
1680
|
expected: "(Array<DtTerm> | undefined)",
|
|
1319
1681
|
value: input3.childTerms
|
|
1320
1682
|
})].every((flag) => flag);
|
|
1321
|
-
const $
|
|
1683
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1322
1684
|
path: _path2 + ".id",
|
|
1323
1685
|
expected: "string",
|
|
1324
1686
|
value: input3.id
|
|
@@ -1334,8 +1696,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1334
1696
|
path: _path2 + ".child_types",
|
|
1335
1697
|
expected: "(Array<string> | undefined)",
|
|
1336
1698
|
value: input3.child_types
|
|
1337
|
-
})) && input3.child_types.map((elem,
|
|
1338
|
-
path: _path2 + ".child_types[" +
|
|
1699
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1700
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1339
1701
|
expected: "string",
|
|
1340
1702
|
value: elem
|
|
1341
1703
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1350,8 +1712,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1350
1712
|
path: _path2 + ".included_types",
|
|
1351
1713
|
expected: "(Array<string> | undefined)",
|
|
1352
1714
|
value: input3.included_types
|
|
1353
|
-
})) && input3.included_types.map((elem,
|
|
1354
|
-
path: _path2 + ".included_types[" +
|
|
1715
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1716
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1355
1717
|
expected: "string",
|
|
1356
1718
|
value: elem
|
|
1357
1719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1395,7 +1757,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1395
1757
|
expected: "(number | undefined)",
|
|
1396
1758
|
value: input3.stop
|
|
1397
1759
|
})].every((flag) => flag);
|
|
1398
|
-
const $
|
|
1760
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1399
1761
|
path: _path2 + ".id",
|
|
1400
1762
|
expected: "string",
|
|
1401
1763
|
value: input3.id
|
|
@@ -1411,8 +1773,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1411
1773
|
path: _path2 + ".child_types",
|
|
1412
1774
|
expected: "(Array<string> | undefined)",
|
|
1413
1775
|
value: input3.child_types
|
|
1414
|
-
})) && input3.child_types.map((elem,
|
|
1415
|
-
path: _path2 + ".child_types[" +
|
|
1776
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1777
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1416
1778
|
expected: "string",
|
|
1417
1779
|
value: elem
|
|
1418
1780
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1427,8 +1789,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1427
1789
|
path: _path2 + ".included_types",
|
|
1428
1790
|
expected: "(Array<string> | undefined)",
|
|
1429
1791
|
value: input3.included_types
|
|
1430
|
-
})) && input3.included_types.map((elem,
|
|
1431
|
-
path: _path2 + ".included_types[" +
|
|
1792
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1793
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1432
1794
|
expected: "string",
|
|
1433
1795
|
value: elem
|
|
1434
1796
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1468,7 +1830,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1468
1830
|
expected: "number",
|
|
1469
1831
|
value: input3.stop
|
|
1470
1832
|
})].every((flag) => flag);
|
|
1471
|
-
const $
|
|
1833
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1472
1834
|
path: _path2 + ".id",
|
|
1473
1835
|
expected: "string",
|
|
1474
1836
|
value: input3.id
|
|
@@ -1484,8 +1846,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1484
1846
|
path: _path2 + ".child_types",
|
|
1485
1847
|
expected: "(Array<string> | undefined)",
|
|
1486
1848
|
value: input3.child_types
|
|
1487
|
-
})) && input3.child_types.map((elem,
|
|
1488
|
-
path: _path2 + ".child_types[" +
|
|
1849
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1489
1851
|
expected: "string",
|
|
1490
1852
|
value: elem
|
|
1491
1853
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1500,8 +1862,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1500
1862
|
path: _path2 + ".included_types",
|
|
1501
1863
|
expected: "(Array<string> | undefined)",
|
|
1502
1864
|
value: input3.included_types
|
|
1503
|
-
})) && input3.included_types.map((elem,
|
|
1504
|
-
path: _path2 + ".included_types[" +
|
|
1865
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1866
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1505
1867
|
expected: "string",
|
|
1506
1868
|
value: elem
|
|
1507
1869
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1544,12 +1906,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1544
1906
|
path: _path2 + ".genes",
|
|
1545
1907
|
expected: "Array<GvGeneTerm>",
|
|
1546
1908
|
value: input3.genes
|
|
1547
|
-
})) && input3.genes.map((elem,
|
|
1548
|
-
path: _path2 + ".genes[" +
|
|
1909
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1549
1911
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1550
1912
|
value: elem
|
|
1551
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1552
|
-
path: _path2 + ".genes[" +
|
|
1913
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1914
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1553
1915
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1554
1916
|
value: elem
|
|
1555
1917
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1568,12 +1930,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1568
1930
|
path: _path2 + ".childTerms",
|
|
1569
1931
|
expected: "(Array<DtTerm> | undefined)",
|
|
1570
1932
|
value: input3.childTerms
|
|
1571
|
-
})) && input3.childTerms.map((elem,
|
|
1572
|
-
path: _path2 + ".childTerms[" +
|
|
1933
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1573
1935
|
expected: "DtTerm",
|
|
1574
1936
|
value: elem
|
|
1575
|
-
})) && $
|
|
1576
|
-
path: _path2 + ".childTerms[" +
|
|
1937
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1577
1939
|
expected: "DtTerm",
|
|
1578
1940
|
value: elem
|
|
1579
1941
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1581,7 +1943,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1581
1943
|
expected: "(Array<DtTerm> | undefined)",
|
|
1582
1944
|
value: input3.childTerms
|
|
1583
1945
|
})].every((flag) => flag);
|
|
1584
|
-
const $
|
|
1946
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1585
1947
|
path: _path2 + ".key",
|
|
1586
1948
|
expected: "string",
|
|
1587
1949
|
value: input3.key
|
|
@@ -1625,9 +1987,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1625
1987
|
})();
|
|
1626
1988
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1627
1989
|
if ("gene" === input3.kind)
|
|
1628
|
-
return $
|
|
1990
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1629
1991
|
if ("coord" === input3.kind)
|
|
1630
|
-
return $
|
|
1992
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1631
1993
|
return $report(_exceptionable2, {
|
|
1632
1994
|
path: _path2,
|
|
1633
1995
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1637,18 +1999,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1637
1999
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1638
2000
|
if (void 0 !== input3.ranges)
|
|
1639
2001
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1640
|
-
return $vo3(input3, _path2, false) || $
|
|
2002
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1641
2003
|
})();
|
|
1642
2004
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1643
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
2005
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1644
2006
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1645
|
-
if ("
|
|
1646
|
-
return $
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
2007
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2008
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2009
|
+
if ("date" === input3.type)
|
|
2010
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
2011
|
+
if ("ssGSEA" === input3.type)
|
|
2012
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2013
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
1652
2014
|
})();
|
|
1653
2015
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1654
2016
|
if ("regular-bin" === input3.type)
|
|
@@ -1685,9 +2047,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1685
2047
|
})();
|
|
1686
2048
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1687
2049
|
if ("gene" === input3.kind)
|
|
1688
|
-
return $
|
|
2050
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1689
2051
|
if ("coord" === input3.kind)
|
|
1690
|
-
return $
|
|
2052
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1691
2053
|
return $report(_exceptionable2, {
|
|
1692
2054
|
path: _path2,
|
|
1693
2055
|
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; })',
|