@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
|
@@ -80,8 +80,8 @@ var validViolinRequest = (input) => {
|
|
|
80
80
|
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);
|
|
81
81
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
82
82
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
83
|
-
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 && $
|
|
84
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
83
|
+
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)));
|
|
84
|
+
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));
|
|
85
85
|
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
86
86
|
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);
|
|
87
87
|
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);
|
|
@@ -97,18 +97,22 @@ var validViolinRequest = (input) => {
|
|
|
97
97
|
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);
|
|
98
98
|
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);
|
|
99
99
|
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);
|
|
100
|
-
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) &&
|
|
101
|
-
const $io23 = (input3) => "string" === typeof input3.
|
|
102
|
-
const $io24 = (input3) => (void 0 === input3.
|
|
103
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
104
|
-
const $io26 = (input3) => "
|
|
105
|
-
const $io27 = (input3) =>
|
|
106
|
-
const $io28 = (input3) =>
|
|
107
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
108
|
-
const $io30 = (input3) => "
|
|
109
|
-
const $io31 = (input3) =>
|
|
110
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
111
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
100
|
+
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);
|
|
101
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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;
|
|
102
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
103
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
106
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
108
|
+
const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
109
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
110
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $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));
|
|
111
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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)));
|
|
112
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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);
|
|
113
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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;
|
|
114
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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)));
|
|
115
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
112
116
|
const $iu0 = (input3) => (() => {
|
|
113
117
|
if ("tvslst" === input3.type)
|
|
114
118
|
return $io1(input3);
|
|
@@ -132,9 +136,9 @@ var validViolinRequest = (input) => {
|
|
|
132
136
|
})();
|
|
133
137
|
const $iu3 = (input3) => (() => {
|
|
134
138
|
if ("gene" === input3.kind)
|
|
135
|
-
return $
|
|
139
|
+
return $io34(input3);
|
|
136
140
|
if ("coord" === input3.kind)
|
|
137
|
-
return $
|
|
141
|
+
return $io35(input3);
|
|
138
142
|
return false;
|
|
139
143
|
})();
|
|
140
144
|
const $iu4 = (input3) => (() => {
|
|
@@ -143,19 +147,29 @@ var validViolinRequest = (input) => {
|
|
|
143
147
|
return (() => {
|
|
144
148
|
if ($io3(input3))
|
|
145
149
|
return $io3(input3);
|
|
146
|
-
if ($
|
|
147
|
-
return $
|
|
148
|
-
if ($
|
|
149
|
-
return $
|
|
150
|
+
if ($io28(input3))
|
|
151
|
+
return $io28(input3);
|
|
152
|
+
if ($io31(input3))
|
|
153
|
+
return $io31(input3);
|
|
150
154
|
return false;
|
|
151
155
|
})();
|
|
152
156
|
})();
|
|
153
157
|
const $iu5 = (input3) => (() => {
|
|
154
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
158
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
155
159
|
return $io13(input3);
|
|
156
|
-
if ("
|
|
157
|
-
return $
|
|
158
|
-
|
|
160
|
+
if ("metaboliteIntensity" === input3.type)
|
|
161
|
+
return $io24(input3);
|
|
162
|
+
if ("date" === input3.type)
|
|
163
|
+
return $io25(input3);
|
|
164
|
+
if ("ssGSEA" === input3.type)
|
|
165
|
+
return $io26(input3);
|
|
166
|
+
return (() => {
|
|
167
|
+
if ($io23(input3))
|
|
168
|
+
return $io23(input3);
|
|
169
|
+
if ($io22(input3))
|
|
170
|
+
return $io22(input3);
|
|
171
|
+
return false;
|
|
172
|
+
})();
|
|
159
173
|
})();
|
|
160
174
|
const $iu6 = (input3) => (() => {
|
|
161
175
|
if ("regular-bin" === input3.type)
|
|
@@ -180,9 +194,9 @@ var validViolinRequest = (input) => {
|
|
|
180
194
|
})();
|
|
181
195
|
const $iu9 = (input3) => (() => {
|
|
182
196
|
if ("gene" === input3.kind)
|
|
183
|
-
return $
|
|
197
|
+
return $io33(input3);
|
|
184
198
|
if ("coord" === input3.kind)
|
|
185
|
-
return $
|
|
199
|
+
return $io36(input3);
|
|
186
200
|
return false;
|
|
187
201
|
})();
|
|
188
202
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -594,11 +608,11 @@ var validViolinRequest = (input) => {
|
|
|
594
608
|
value: input3.isnot
|
|
595
609
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
596
610
|
path: _path2 + ".term",
|
|
597
|
-
expected:
|
|
611
|
+
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)',
|
|
598
612
|
value: input3.term
|
|
599
613
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
600
614
|
path: _path2 + ".term",
|
|
601
|
-
expected:
|
|
615
|
+
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)',
|
|
602
616
|
value: input3.term
|
|
603
617
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
604
618
|
path: _path2 + ".ranges",
|
|
@@ -624,7 +638,7 @@ var validViolinRequest = (input) => {
|
|
|
624
638
|
path: _path2 + ".values[" + _index10 + "]",
|
|
625
639
|
expected: "__type.o3",
|
|
626
640
|
value: elem
|
|
627
|
-
})) && $
|
|
641
|
+
})) && $vo27(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
628
642
|
path: _path2 + ".values[" + _index10 + "]",
|
|
629
643
|
expected: "__type.o3",
|
|
630
644
|
value: elem
|
|
@@ -641,9 +655,9 @@ var validViolinRequest = (input) => {
|
|
|
641
655
|
path: _path2 + ".name",
|
|
642
656
|
expected: "string",
|
|
643
657
|
value: input3.name
|
|
644
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
658
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
645
659
|
path: _path2 + ".type",
|
|
646
|
-
expected: '("
|
|
660
|
+
expected: '("float" | "integer")',
|
|
647
661
|
value: input3.type
|
|
648
662
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
649
663
|
path: _path2 + ".child_types",
|
|
@@ -1035,10 +1049,6 @@ var validViolinRequest = (input) => {
|
|
|
1035
1049
|
path: _path2 + ".unit",
|
|
1036
1050
|
expected: "(string | undefined)",
|
|
1037
1051
|
value: input3.unit
|
|
1038
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1039
|
-
path: _path2 + ".gene",
|
|
1040
|
-
expected: "string",
|
|
1041
|
-
value: input3.gene
|
|
1042
1052
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1043
1053
|
path: _path2 + ".bins",
|
|
1044
1054
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1047,6 +1057,14 @@ var validViolinRequest = (input) => {
|
|
|
1047
1057
|
path: _path2 + ".bins",
|
|
1048
1058
|
expected: "(PresetNumericBins | undefined)",
|
|
1049
1059
|
value: input3.bins
|
|
1060
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1061
|
+
path: _path2 + ".kind",
|
|
1062
|
+
expected: '("gene" | undefined)',
|
|
1063
|
+
value: input3.kind
|
|
1064
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1065
|
+
path: _path2 + ".gene",
|
|
1066
|
+
expected: "string",
|
|
1067
|
+
value: input3.gene
|
|
1050
1068
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1051
1069
|
path: _path2 + ".chr",
|
|
1052
1070
|
expected: "(string | undefined)",
|
|
@@ -1060,7 +1078,351 @@ var validViolinRequest = (input) => {
|
|
|
1060
1078
|
expected: "(number | undefined)",
|
|
1061
1079
|
value: input3.stop
|
|
1062
1080
|
})].every((flag) => flag);
|
|
1063
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1081
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1082
|
+
path: _path2 + ".id",
|
|
1083
|
+
expected: "string",
|
|
1084
|
+
value: input3.id
|
|
1085
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1086
|
+
path: _path2 + ".name",
|
|
1087
|
+
expected: "string",
|
|
1088
|
+
value: input3.name
|
|
1089
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1090
|
+
path: _path2 + ".type",
|
|
1091
|
+
expected: '"geneExpression"',
|
|
1092
|
+
value: input3.type
|
|
1093
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1094
|
+
path: _path2 + ".child_types",
|
|
1095
|
+
expected: "(Array<string> | undefined)",
|
|
1096
|
+
value: input3.child_types
|
|
1097
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1098
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1099
|
+
expected: "string",
|
|
1100
|
+
value: elem
|
|
1101
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1102
|
+
path: _path2 + ".child_types",
|
|
1103
|
+
expected: "(Array<string> | undefined)",
|
|
1104
|
+
value: input3.child_types
|
|
1105
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1106
|
+
path: _path2 + ".hashtmldetail",
|
|
1107
|
+
expected: "(boolean | undefined)",
|
|
1108
|
+
value: input3.hashtmldetail
|
|
1109
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1110
|
+
path: _path2 + ".included_types",
|
|
1111
|
+
expected: "(Array<string> | undefined)",
|
|
1112
|
+
value: input3.included_types
|
|
1113
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1114
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1115
|
+
expected: "string",
|
|
1116
|
+
value: elem
|
|
1117
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1118
|
+
path: _path2 + ".included_types",
|
|
1119
|
+
expected: "(Array<string> | undefined)",
|
|
1120
|
+
value: input3.included_types
|
|
1121
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1122
|
+
path: _path2 + ".isleaf",
|
|
1123
|
+
expected: "(boolean | undefined)",
|
|
1124
|
+
value: input3.isleaf
|
|
1125
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1126
|
+
path: _path2 + ".values",
|
|
1127
|
+
expected: "(TermValues | undefined)",
|
|
1128
|
+
value: input3.values
|
|
1129
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1130
|
+
path: _path2 + ".values",
|
|
1131
|
+
expected: "(TermValues | undefined)",
|
|
1132
|
+
value: input3.values
|
|
1133
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".skipValuesBuild",
|
|
1135
|
+
expected: "(boolean | undefined)",
|
|
1136
|
+
value: input3.skipValuesBuild
|
|
1137
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".continuousColorScale",
|
|
1139
|
+
expected: "(__type.o2 | undefined)",
|
|
1140
|
+
value: input3.continuousColorScale
|
|
1141
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".continuousColorScale",
|
|
1143
|
+
expected: "(__type.o2 | undefined)",
|
|
1144
|
+
value: input3.continuousColorScale
|
|
1145
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".unit",
|
|
1147
|
+
expected: "(string | undefined)",
|
|
1148
|
+
value: input3.unit
|
|
1149
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".bins",
|
|
1151
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1152
|
+
value: input3.bins
|
|
1153
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".bins",
|
|
1155
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1156
|
+
value: input3.bins
|
|
1157
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".kind",
|
|
1159
|
+
expected: '("coord" | undefined)',
|
|
1160
|
+
value: input3.kind
|
|
1161
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".gene",
|
|
1163
|
+
expected: "(string | undefined)",
|
|
1164
|
+
value: input3.gene
|
|
1165
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".chr",
|
|
1167
|
+
expected: "string",
|
|
1168
|
+
value: input3.chr
|
|
1169
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".start",
|
|
1171
|
+
expected: "number",
|
|
1172
|
+
value: input3.start
|
|
1173
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".stop",
|
|
1175
|
+
expected: "number",
|
|
1176
|
+
value: input3.stop
|
|
1177
|
+
})].every((flag) => flag);
|
|
1178
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1179
|
+
path: _path2 + ".id",
|
|
1180
|
+
expected: "string",
|
|
1181
|
+
value: input3.id
|
|
1182
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".name",
|
|
1184
|
+
expected: "string",
|
|
1185
|
+
value: input3.name
|
|
1186
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1187
|
+
path: _path2 + ".type",
|
|
1188
|
+
expected: '"metaboliteIntensity"',
|
|
1189
|
+
value: input3.type
|
|
1190
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".child_types",
|
|
1192
|
+
expected: "(Array<string> | undefined)",
|
|
1193
|
+
value: input3.child_types
|
|
1194
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1195
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1196
|
+
expected: "string",
|
|
1197
|
+
value: elem
|
|
1198
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1199
|
+
path: _path2 + ".child_types",
|
|
1200
|
+
expected: "(Array<string> | undefined)",
|
|
1201
|
+
value: input3.child_types
|
|
1202
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".hashtmldetail",
|
|
1204
|
+
expected: "(boolean | undefined)",
|
|
1205
|
+
value: input3.hashtmldetail
|
|
1206
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1207
|
+
path: _path2 + ".included_types",
|
|
1208
|
+
expected: "(Array<string> | undefined)",
|
|
1209
|
+
value: input3.included_types
|
|
1210
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1212
|
+
expected: "string",
|
|
1213
|
+
value: elem
|
|
1214
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".included_types",
|
|
1216
|
+
expected: "(Array<string> | undefined)",
|
|
1217
|
+
value: input3.included_types
|
|
1218
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".isleaf",
|
|
1220
|
+
expected: "(boolean | undefined)",
|
|
1221
|
+
value: input3.isleaf
|
|
1222
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".values",
|
|
1224
|
+
expected: "(TermValues | undefined)",
|
|
1225
|
+
value: input3.values
|
|
1226
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".values",
|
|
1228
|
+
expected: "(TermValues | undefined)",
|
|
1229
|
+
value: input3.values
|
|
1230
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1231
|
+
path: _path2 + ".skipValuesBuild",
|
|
1232
|
+
expected: "(boolean | undefined)",
|
|
1233
|
+
value: input3.skipValuesBuild
|
|
1234
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".continuousColorScale",
|
|
1236
|
+
expected: "(__type.o2 | undefined)",
|
|
1237
|
+
value: input3.continuousColorScale
|
|
1238
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".continuousColorScale",
|
|
1240
|
+
expected: "(__type.o2 | undefined)",
|
|
1241
|
+
value: input3.continuousColorScale
|
|
1242
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".unit",
|
|
1244
|
+
expected: "(string | undefined)",
|
|
1245
|
+
value: input3.unit
|
|
1246
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".metabolite",
|
|
1248
|
+
expected: "string",
|
|
1249
|
+
value: input3.metabolite
|
|
1250
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1251
|
+
path: _path2 + ".bins",
|
|
1252
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1253
|
+
value: input3.bins
|
|
1254
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".bins",
|
|
1256
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1257
|
+
value: input3.bins
|
|
1258
|
+
})].every((flag) => flag);
|
|
1259
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1260
|
+
path: _path2 + ".id",
|
|
1261
|
+
expected: "string",
|
|
1262
|
+
value: input3.id
|
|
1263
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1264
|
+
path: _path2 + ".name",
|
|
1265
|
+
expected: "string",
|
|
1266
|
+
value: input3.name
|
|
1267
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".type",
|
|
1269
|
+
expected: '"date"',
|
|
1270
|
+
value: input3.type
|
|
1271
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".child_types",
|
|
1273
|
+
expected: "(Array<string> | undefined)",
|
|
1274
|
+
value: input3.child_types
|
|
1275
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1277
|
+
expected: "string",
|
|
1278
|
+
value: elem
|
|
1279
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".child_types",
|
|
1281
|
+
expected: "(Array<string> | undefined)",
|
|
1282
|
+
value: input3.child_types
|
|
1283
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".hashtmldetail",
|
|
1285
|
+
expected: "(boolean | undefined)",
|
|
1286
|
+
value: input3.hashtmldetail
|
|
1287
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".included_types",
|
|
1289
|
+
expected: "(Array<string> | undefined)",
|
|
1290
|
+
value: input3.included_types
|
|
1291
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1293
|
+
expected: "string",
|
|
1294
|
+
value: elem
|
|
1295
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".included_types",
|
|
1297
|
+
expected: "(Array<string> | undefined)",
|
|
1298
|
+
value: input3.included_types
|
|
1299
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".isleaf",
|
|
1301
|
+
expected: "(boolean | undefined)",
|
|
1302
|
+
value: input3.isleaf
|
|
1303
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".values",
|
|
1305
|
+
expected: "(TermValues | undefined)",
|
|
1306
|
+
value: input3.values
|
|
1307
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".values",
|
|
1309
|
+
expected: "(TermValues | undefined)",
|
|
1310
|
+
value: input3.values
|
|
1311
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".skipValuesBuild",
|
|
1313
|
+
expected: "(boolean | undefined)",
|
|
1314
|
+
value: input3.skipValuesBuild
|
|
1315
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1316
|
+
path: _path2 + ".continuousColorScale",
|
|
1317
|
+
expected: "(__type.o2 | undefined)",
|
|
1318
|
+
value: input3.continuousColorScale
|
|
1319
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1320
|
+
path: _path2 + ".continuousColorScale",
|
|
1321
|
+
expected: "(__type.o2 | undefined)",
|
|
1322
|
+
value: input3.continuousColorScale
|
|
1323
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".unit",
|
|
1325
|
+
expected: "(string | undefined)",
|
|
1326
|
+
value: input3.unit
|
|
1327
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".bins",
|
|
1329
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1330
|
+
value: input3.bins
|
|
1331
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".bins",
|
|
1333
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1334
|
+
value: input3.bins
|
|
1335
|
+
})].every((flag) => flag);
|
|
1336
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1337
|
+
path: _path2 + ".id",
|
|
1338
|
+
expected: "string",
|
|
1339
|
+
value: input3.id
|
|
1340
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1341
|
+
path: _path2 + ".name",
|
|
1342
|
+
expected: "string",
|
|
1343
|
+
value: input3.name
|
|
1344
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1345
|
+
path: _path2 + ".type",
|
|
1346
|
+
expected: '"ssGSEA"',
|
|
1347
|
+
value: input3.type
|
|
1348
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".child_types",
|
|
1350
|
+
expected: "(Array<string> | undefined)",
|
|
1351
|
+
value: input3.child_types
|
|
1352
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1353
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1354
|
+
expected: "string",
|
|
1355
|
+
value: elem
|
|
1356
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1357
|
+
path: _path2 + ".child_types",
|
|
1358
|
+
expected: "(Array<string> | undefined)",
|
|
1359
|
+
value: input3.child_types
|
|
1360
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1361
|
+
path: _path2 + ".hashtmldetail",
|
|
1362
|
+
expected: "(boolean | undefined)",
|
|
1363
|
+
value: input3.hashtmldetail
|
|
1364
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1365
|
+
path: _path2 + ".included_types",
|
|
1366
|
+
expected: "(Array<string> | undefined)",
|
|
1367
|
+
value: input3.included_types
|
|
1368
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1369
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1370
|
+
expected: "string",
|
|
1371
|
+
value: elem
|
|
1372
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1373
|
+
path: _path2 + ".included_types",
|
|
1374
|
+
expected: "(Array<string> | undefined)",
|
|
1375
|
+
value: input3.included_types
|
|
1376
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1377
|
+
path: _path2 + ".isleaf",
|
|
1378
|
+
expected: "(boolean | undefined)",
|
|
1379
|
+
value: input3.isleaf
|
|
1380
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1381
|
+
path: _path2 + ".values",
|
|
1382
|
+
expected: "(TermValues | undefined)",
|
|
1383
|
+
value: input3.values
|
|
1384
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".values",
|
|
1386
|
+
expected: "(TermValues | undefined)",
|
|
1387
|
+
value: input3.values
|
|
1388
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1389
|
+
path: _path2 + ".skipValuesBuild",
|
|
1390
|
+
expected: "(boolean | undefined)",
|
|
1391
|
+
value: input3.skipValuesBuild
|
|
1392
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1393
|
+
path: _path2 + ".continuousColorScale",
|
|
1394
|
+
expected: "(__type.o2 | undefined)",
|
|
1395
|
+
value: input3.continuousColorScale
|
|
1396
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1397
|
+
path: _path2 + ".continuousColorScale",
|
|
1398
|
+
expected: "(__type.o2 | undefined)",
|
|
1399
|
+
value: input3.continuousColorScale
|
|
1400
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".unit",
|
|
1402
|
+
expected: "(string | undefined)",
|
|
1403
|
+
value: input3.unit
|
|
1404
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1405
|
+
path: _path2 + ".genes",
|
|
1406
|
+
expected: "(Array<string> | undefined)",
|
|
1407
|
+
value: input3.genes
|
|
1408
|
+
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1409
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
1410
|
+
expected: "string",
|
|
1411
|
+
value: elem
|
|
1412
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1413
|
+
path: _path2 + ".genes",
|
|
1414
|
+
expected: "(Array<string> | undefined)",
|
|
1415
|
+
value: input3.genes
|
|
1416
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1417
|
+
path: _path2 + ".bins",
|
|
1418
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1419
|
+
value: input3.bins
|
|
1420
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1421
|
+
path: _path2 + ".bins",
|
|
1422
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1423
|
+
value: input3.bins
|
|
1424
|
+
})].every((flag) => flag);
|
|
1425
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1064
1426
|
path: _path2 + ".key",
|
|
1065
1427
|
expected: "string",
|
|
1066
1428
|
value: input3.key
|
|
@@ -1077,7 +1439,7 @@ var validViolinRequest = (input) => {
|
|
|
1077
1439
|
expected: "(string | undefined)",
|
|
1078
1440
|
value: input3.label
|
|
1079
1441
|
})].every((flag) => flag);
|
|
1080
|
-
const $
|
|
1442
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1081
1443
|
path: _path2 + ".join",
|
|
1082
1444
|
expected: "(string | undefined)",
|
|
1083
1445
|
value: input3.join
|
|
@@ -1089,7 +1451,7 @@ var validViolinRequest = (input) => {
|
|
|
1089
1451
|
path: _path2 + ".term",
|
|
1090
1452
|
expected: "ConditionTerm",
|
|
1091
1453
|
value: input3.term
|
|
1092
|
-
})) && $
|
|
1454
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1093
1455
|
path: _path2 + ".term",
|
|
1094
1456
|
expected: "ConditionTerm",
|
|
1095
1457
|
value: input3.term
|
|
@@ -1109,12 +1471,12 @@ var validViolinRequest = (input) => {
|
|
|
1109
1471
|
path: _path2 + ".grade_and_child",
|
|
1110
1472
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1111
1473
|
value: input3.grade_and_child
|
|
1112
|
-
})) && input3.grade_and_child.map((elem,
|
|
1113
|
-
path: _path2 + ".grade_and_child[" +
|
|
1474
|
+
})) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1475
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1114
1476
|
expected: "GradeAndChildEntry",
|
|
1115
1477
|
value: elem
|
|
1116
|
-
})) && $
|
|
1117
|
-
path: _path2 + ".grade_and_child[" +
|
|
1478
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1479
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1118
1480
|
expected: "GradeAndChildEntry",
|
|
1119
1481
|
value: elem
|
|
1120
1482
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1122,7 +1484,7 @@ var validViolinRequest = (input) => {
|
|
|
1122
1484
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1123
1485
|
value: input3.grade_and_child
|
|
1124
1486
|
})].every((flag) => flag);
|
|
1125
|
-
const $
|
|
1487
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1126
1488
|
path: _path2 + ".id",
|
|
1127
1489
|
expected: "string",
|
|
1128
1490
|
value: input3.id
|
|
@@ -1138,8 +1500,8 @@ var validViolinRequest = (input) => {
|
|
|
1138
1500
|
path: _path2 + ".child_types",
|
|
1139
1501
|
expected: "(Array<string> | undefined)",
|
|
1140
1502
|
value: input3.child_types
|
|
1141
|
-
})) && input3.child_types.map((elem,
|
|
1142
|
-
path: _path2 + ".child_types[" +
|
|
1503
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1504
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1143
1505
|
expected: "string",
|
|
1144
1506
|
value: elem
|
|
1145
1507
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1154,8 +1516,8 @@ var validViolinRequest = (input) => {
|
|
|
1154
1516
|
path: _path2 + ".included_types",
|
|
1155
1517
|
expected: "(Array<string> | undefined)",
|
|
1156
1518
|
value: input3.included_types
|
|
1157
|
-
})) && input3.included_types.map((elem,
|
|
1158
|
-
path: _path2 + ".included_types[" +
|
|
1519
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1520
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1159
1521
|
expected: "string",
|
|
1160
1522
|
value: elem
|
|
1161
1523
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1179,7 +1541,7 @@ var validViolinRequest = (input) => {
|
|
|
1179
1541
|
expected: "(boolean | undefined)",
|
|
1180
1542
|
value: input3.skipValuesBuild
|
|
1181
1543
|
})].every((flag) => flag);
|
|
1182
|
-
const $
|
|
1544
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1183
1545
|
path: _path2 + ".grade",
|
|
1184
1546
|
expected: "number",
|
|
1185
1547
|
value: input3.grade
|
|
@@ -1196,7 +1558,7 @@ var validViolinRequest = (input) => {
|
|
|
1196
1558
|
expected: "string",
|
|
1197
1559
|
value: input3.child_label
|
|
1198
1560
|
})].every((flag) => flag);
|
|
1199
|
-
const $
|
|
1561
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1200
1562
|
path: _path2 + ".join",
|
|
1201
1563
|
expected: "(string | undefined)",
|
|
1202
1564
|
value: input3.join
|
|
@@ -1208,7 +1570,7 @@ var validViolinRequest = (input) => {
|
|
|
1208
1570
|
path: _path2 + ".term",
|
|
1209
1571
|
expected: "DtTerm",
|
|
1210
1572
|
value: input3.term
|
|
1211
|
-
})) && $
|
|
1573
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1212
1574
|
path: _path2 + ".term",
|
|
1213
1575
|
expected: "DtTerm",
|
|
1214
1576
|
value: input3.term
|
|
@@ -1216,12 +1578,12 @@ var validViolinRequest = (input) => {
|
|
|
1216
1578
|
path: _path2 + ".values",
|
|
1217
1579
|
expected: "Array<__type>.o2",
|
|
1218
1580
|
value: input3.values
|
|
1219
|
-
})) && input3.values.map((elem,
|
|
1220
|
-
path: _path2 + ".values[" +
|
|
1581
|
+
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
1221
1583
|
expected: "__type.o4",
|
|
1222
1584
|
value: elem
|
|
1223
|
-
})) && $
|
|
1224
|
-
path: _path2 + ".values[" +
|
|
1585
|
+
})) && $vo37(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
1225
1587
|
expected: "__type.o4",
|
|
1226
1588
|
value: elem
|
|
1227
1589
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1237,7 +1599,7 @@ var validViolinRequest = (input) => {
|
|
|
1237
1599
|
expected: "(boolean | undefined)",
|
|
1238
1600
|
value: input3.excludeGeneName
|
|
1239
1601
|
})].every((flag) => flag);
|
|
1240
|
-
const $
|
|
1602
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1241
1603
|
path: _path2 + ".id",
|
|
1242
1604
|
expected: "string",
|
|
1243
1605
|
value: input3.id
|
|
@@ -1286,7 +1648,7 @@ var validViolinRequest = (input) => {
|
|
|
1286
1648
|
expected: "TermValues",
|
|
1287
1649
|
value: input3.values
|
|
1288
1650
|
})].every((flag) => flag);
|
|
1289
|
-
const $
|
|
1651
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1290
1652
|
path: _path2 + ".id",
|
|
1291
1653
|
expected: "string",
|
|
1292
1654
|
value: input3.id
|
|
@@ -1302,8 +1664,8 @@ var validViolinRequest = (input) => {
|
|
|
1302
1664
|
path: _path2 + ".child_types",
|
|
1303
1665
|
expected: "(Array<string> | undefined)",
|
|
1304
1666
|
value: input3.child_types
|
|
1305
|
-
})) && input3.child_types.map((elem,
|
|
1306
|
-
path: _path2 + ".child_types[" +
|
|
1667
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1668
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1307
1669
|
expected: "string",
|
|
1308
1670
|
value: elem
|
|
1309
1671
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1318,8 +1680,8 @@ var validViolinRequest = (input) => {
|
|
|
1318
1680
|
path: _path2 + ".included_types",
|
|
1319
1681
|
expected: "(Array<string> | undefined)",
|
|
1320
1682
|
value: input3.included_types
|
|
1321
|
-
})) && input3.included_types.map((elem,
|
|
1322
|
-
path: _path2 + ".included_types[" +
|
|
1683
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1684
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1323
1685
|
expected: "string",
|
|
1324
1686
|
value: elem
|
|
1325
1687
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1366,12 +1728,12 @@ var validViolinRequest = (input) => {
|
|
|
1366
1728
|
path: _path2 + ".genes",
|
|
1367
1729
|
expected: "Array<GvGeneTerm>",
|
|
1368
1730
|
value: input3.genes
|
|
1369
|
-
})) && input3.genes.map((elem,
|
|
1370
|
-
path: _path2 + ".genes[" +
|
|
1731
|
+
})) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1371
1733
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1372
1734
|
value: elem
|
|
1373
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1374
|
-
path: _path2 + ".genes[" +
|
|
1735
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1375
1737
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1376
1738
|
value: elem
|
|
1377
1739
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1390,12 +1752,12 @@ var validViolinRequest = (input) => {
|
|
|
1390
1752
|
path: _path2 + ".childTerms",
|
|
1391
1753
|
expected: "(Array<DtTerm> | undefined)",
|
|
1392
1754
|
value: input3.childTerms
|
|
1393
|
-
})) && input3.childTerms.map((elem,
|
|
1394
|
-
path: _path2 + ".childTerms[" +
|
|
1755
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1395
1757
|
expected: "DtTerm",
|
|
1396
1758
|
value: elem
|
|
1397
|
-
})) && $
|
|
1398
|
-
path: _path2 + ".childTerms[" +
|
|
1759
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1399
1761
|
expected: "DtTerm",
|
|
1400
1762
|
value: elem
|
|
1401
1763
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1403,7 +1765,7 @@ var validViolinRequest = (input) => {
|
|
|
1403
1765
|
expected: "(Array<DtTerm> | undefined)",
|
|
1404
1766
|
value: input3.childTerms
|
|
1405
1767
|
})].every((flag) => flag);
|
|
1406
|
-
const $
|
|
1768
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1407
1769
|
path: _path2 + ".id",
|
|
1408
1770
|
expected: "string",
|
|
1409
1771
|
value: input3.id
|
|
@@ -1419,8 +1781,8 @@ var validViolinRequest = (input) => {
|
|
|
1419
1781
|
path: _path2 + ".child_types",
|
|
1420
1782
|
expected: "(Array<string> | undefined)",
|
|
1421
1783
|
value: input3.child_types
|
|
1422
|
-
})) && input3.child_types.map((elem,
|
|
1423
|
-
path: _path2 + ".child_types[" +
|
|
1784
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1785
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1424
1786
|
expected: "string",
|
|
1425
1787
|
value: elem
|
|
1426
1788
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1435,8 +1797,8 @@ var validViolinRequest = (input) => {
|
|
|
1435
1797
|
path: _path2 + ".included_types",
|
|
1436
1798
|
expected: "(Array<string> | undefined)",
|
|
1437
1799
|
value: input3.included_types
|
|
1438
|
-
})) && input3.included_types.map((elem,
|
|
1439
|
-
path: _path2 + ".included_types[" +
|
|
1800
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1801
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1440
1802
|
expected: "string",
|
|
1441
1803
|
value: elem
|
|
1442
1804
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1480,7 +1842,7 @@ var validViolinRequest = (input) => {
|
|
|
1480
1842
|
expected: "(number | undefined)",
|
|
1481
1843
|
value: input3.stop
|
|
1482
1844
|
})].every((flag) => flag);
|
|
1483
|
-
const $
|
|
1845
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1484
1846
|
path: _path2 + ".id",
|
|
1485
1847
|
expected: "string",
|
|
1486
1848
|
value: input3.id
|
|
@@ -1496,8 +1858,8 @@ var validViolinRequest = (input) => {
|
|
|
1496
1858
|
path: _path2 + ".child_types",
|
|
1497
1859
|
expected: "(Array<string> | undefined)",
|
|
1498
1860
|
value: input3.child_types
|
|
1499
|
-
})) && input3.child_types.map((elem,
|
|
1500
|
-
path: _path2 + ".child_types[" +
|
|
1861
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1862
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1501
1863
|
expected: "string",
|
|
1502
1864
|
value: elem
|
|
1503
1865
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1512,8 +1874,8 @@ var validViolinRequest = (input) => {
|
|
|
1512
1874
|
path: _path2 + ".included_types",
|
|
1513
1875
|
expected: "(Array<string> | undefined)",
|
|
1514
1876
|
value: input3.included_types
|
|
1515
|
-
})) && input3.included_types.map((elem,
|
|
1516
|
-
path: _path2 + ".included_types[" +
|
|
1877
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1878
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1517
1879
|
expected: "string",
|
|
1518
1880
|
value: elem
|
|
1519
1881
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1553,7 +1915,7 @@ var validViolinRequest = (input) => {
|
|
|
1553
1915
|
expected: "number",
|
|
1554
1916
|
value: input3.stop
|
|
1555
1917
|
})].every((flag) => flag);
|
|
1556
|
-
const $
|
|
1918
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1557
1919
|
path: _path2 + ".id",
|
|
1558
1920
|
expected: "string",
|
|
1559
1921
|
value: input3.id
|
|
@@ -1569,8 +1931,8 @@ var validViolinRequest = (input) => {
|
|
|
1569
1931
|
path: _path2 + ".child_types",
|
|
1570
1932
|
expected: "(Array<string> | undefined)",
|
|
1571
1933
|
value: input3.child_types
|
|
1572
|
-
})) && input3.child_types.map((elem,
|
|
1573
|
-
path: _path2 + ".child_types[" +
|
|
1934
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1935
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
1574
1936
|
expected: "string",
|
|
1575
1937
|
value: elem
|
|
1576
1938
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1585,8 +1947,8 @@ var validViolinRequest = (input) => {
|
|
|
1585
1947
|
path: _path2 + ".included_types",
|
|
1586
1948
|
expected: "(Array<string> | undefined)",
|
|
1587
1949
|
value: input3.included_types
|
|
1588
|
-
})) && input3.included_types.map((elem,
|
|
1589
|
-
path: _path2 + ".included_types[" +
|
|
1950
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
1590
1952
|
expected: "string",
|
|
1591
1953
|
value: elem
|
|
1592
1954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1629,12 +1991,12 @@ var validViolinRequest = (input) => {
|
|
|
1629
1991
|
path: _path2 + ".genes",
|
|
1630
1992
|
expected: "Array<GvGeneTerm>",
|
|
1631
1993
|
value: input3.genes
|
|
1632
|
-
})) && input3.genes.map((elem,
|
|
1633
|
-
path: _path2 + ".genes[" +
|
|
1994
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
1634
1996
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1635
1997
|
value: elem
|
|
1636
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1637
|
-
path: _path2 + ".genes[" +
|
|
1998
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
1638
2000
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1639
2001
|
value: elem
|
|
1640
2002
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1653,12 +2015,12 @@ var validViolinRequest = (input) => {
|
|
|
1653
2015
|
path: _path2 + ".childTerms",
|
|
1654
2016
|
expected: "(Array<DtTerm> | undefined)",
|
|
1655
2017
|
value: input3.childTerms
|
|
1656
|
-
})) && input3.childTerms.map((elem,
|
|
1657
|
-
path: _path2 + ".childTerms[" +
|
|
2018
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1658
2020
|
expected: "DtTerm",
|
|
1659
2021
|
value: elem
|
|
1660
|
-
})) && $
|
|
1661
|
-
path: _path2 + ".childTerms[" +
|
|
2022
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1662
2024
|
expected: "DtTerm",
|
|
1663
2025
|
value: elem
|
|
1664
2026
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1666,7 +2028,7 @@ var validViolinRequest = (input) => {
|
|
|
1666
2028
|
expected: "(Array<DtTerm> | undefined)",
|
|
1667
2029
|
value: input3.childTerms
|
|
1668
2030
|
})].every((flag) => flag);
|
|
1669
|
-
const $
|
|
2031
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1670
2032
|
path: _path2 + ".key",
|
|
1671
2033
|
expected: "string",
|
|
1672
2034
|
value: input3.key
|
|
@@ -1710,9 +2072,9 @@ var validViolinRequest = (input) => {
|
|
|
1710
2072
|
})();
|
|
1711
2073
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1712
2074
|
if ("gene" === input3.kind)
|
|
1713
|
-
return $
|
|
2075
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1714
2076
|
if ("coord" === input3.kind)
|
|
1715
|
-
return $
|
|
2077
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1716
2078
|
return $report(_exceptionable2, {
|
|
1717
2079
|
path: _path2,
|
|
1718
2080
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1722,18 +2084,18 @@ var validViolinRequest = (input) => {
|
|
|
1722
2084
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1723
2085
|
if (void 0 !== input3.ranges)
|
|
1724
2086
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1725
|
-
return $vo3(input3, _path2, false) || $
|
|
2087
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1726
2088
|
})();
|
|
1727
2089
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1728
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
2090
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1729
2091
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1730
|
-
if ("
|
|
1731
|
-
return $
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
2092
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2093
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2094
|
+
if ("date" === input3.type)
|
|
2095
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
2096
|
+
if ("ssGSEA" === input3.type)
|
|
2097
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2098
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
1737
2099
|
})();
|
|
1738
2100
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1739
2101
|
if ("regular-bin" === input3.type)
|
|
@@ -1770,9 +2132,9 @@ var validViolinRequest = (input) => {
|
|
|
1770
2132
|
})();
|
|
1771
2133
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1772
2134
|
if ("gene" === input3.kind)
|
|
1773
|
-
return $
|
|
2135
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1774
2136
|
if ("coord" === input3.kind)
|
|
1775
|
-
return $
|
|
2137
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1776
2138
|
return $report(_exceptionable2, {
|
|
1777
2139
|
path: _path2,
|
|
1778
2140
|
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; })',
|