@sjcrh/proteinpaint-types 2.141.0 → 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-77RH7U6G.js → chunk-2VDOPTRV.js} +474 -384
- package/dist/{chunk-WCWYMCZD.js → chunk-3BQ57P2P.js} +219 -123
- package/dist/{chunk-EOBFYFLQ.js → chunk-3L3ASC3B.js} +449 -353
- package/dist/{chunk-T3GTEGQN.js → chunk-4R265LDJ.js} +219 -123
- package/dist/{chunk-QWAPDNYB.js → chunk-CEDL2QZT.js} +453 -357
- package/dist/{chunk-424IUJWR.js → chunk-DMJFOII6.js} +219 -123
- package/dist/{chunk-S6OBK4RE.js → chunk-FVBXC7SY.js} +219 -123
- package/dist/{chunk-VMQUAU5V.js → chunk-GDM7YUXH.js} +449 -353
- package/dist/{chunk-UYBVE3DL.js → chunk-IR4QSJI7.js} +449 -353
- package/dist/{chunk-I7FTK55B.js → chunk-MVMUZSLL.js} +435 -339
- package/dist/{chunk-56JQGGZJ.js → chunk-SMVDKR2O.js} +781 -561
- package/dist/{chunk-KEJROUTM.js → chunk-SOM5WKDM.js} +255 -261
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/terms/date.ts +7 -5
- package/src/terms/geneExpression.ts +22 -8
- package/src/terms/metaboliteIntensity.ts +13 -3
- package/src/terms/numeric.ts +1 -1
- package/src/terms/ssGSEA.ts +4 -2
- package/src/terms/tw.ts +2 -2
|
@@ -80,7 +80,7 @@ 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 && $
|
|
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
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);
|
|
@@ -97,21 +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.id && "string" === typeof input3.name && "
|
|
102
|
-
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
103
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
104
|
-
const $io26 = (input3) => "string" === typeof input3.
|
|
105
|
-
const $io27 = (input3) =>
|
|
106
|
-
const $io28 = (input3) =>
|
|
107
|
-
const $io29 = (input3) => "
|
|
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.id && "string" === typeof input3.name && "
|
|
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) && "
|
|
113
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
114
|
-
const $io36 = (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;
|
|
115
116
|
const $iu0 = (input3) => (() => {
|
|
116
117
|
if ("tvslst" === input3.type)
|
|
117
118
|
return $io1(input3);
|
|
@@ -135,9 +136,9 @@ var validViolinRequest = (input) => {
|
|
|
135
136
|
})();
|
|
136
137
|
const $iu3 = (input3) => (() => {
|
|
137
138
|
if ("gene" === input3.kind)
|
|
138
|
-
return $io33(input3);
|
|
139
|
-
if ("coord" === input3.kind)
|
|
140
139
|
return $io34(input3);
|
|
140
|
+
if ("coord" === input3.kind)
|
|
141
|
+
return $io35(input3);
|
|
141
142
|
return false;
|
|
142
143
|
})();
|
|
143
144
|
const $iu4 = (input3) => (() => {
|
|
@@ -146,25 +147,29 @@ var validViolinRequest = (input) => {
|
|
|
146
147
|
return (() => {
|
|
147
148
|
if ($io3(input3))
|
|
148
149
|
return $io3(input3);
|
|
149
|
-
if ($
|
|
150
|
-
return $
|
|
151
|
-
if ($
|
|
152
|
-
return $
|
|
150
|
+
if ($io28(input3))
|
|
151
|
+
return $io28(input3);
|
|
152
|
+
if ($io31(input3))
|
|
153
|
+
return $io31(input3);
|
|
153
154
|
return false;
|
|
154
155
|
})();
|
|
155
156
|
})();
|
|
156
157
|
const $iu5 = (input3) => (() => {
|
|
157
158
|
if ("integer" === input3.type || "float" === input3.type)
|
|
158
159
|
return $io13(input3);
|
|
159
|
-
if ("geneExpression" === input3.type)
|
|
160
|
-
return $io22(input3);
|
|
161
|
-
if ("date" === input3.type)
|
|
162
|
-
return $io24(input3);
|
|
163
160
|
if ("metaboliteIntensity" === input3.type)
|
|
164
|
-
return $
|
|
165
|
-
if ("
|
|
161
|
+
return $io24(input3);
|
|
162
|
+
if ("date" === input3.type)
|
|
166
163
|
return $io25(input3);
|
|
167
|
-
|
|
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
|
+
})();
|
|
168
173
|
})();
|
|
169
174
|
const $iu6 = (input3) => (() => {
|
|
170
175
|
if ("regular-bin" === input3.type)
|
|
@@ -189,9 +194,9 @@ var validViolinRequest = (input) => {
|
|
|
189
194
|
})();
|
|
190
195
|
const $iu9 = (input3) => (() => {
|
|
191
196
|
if ("gene" === input3.kind)
|
|
192
|
-
return $
|
|
197
|
+
return $io33(input3);
|
|
193
198
|
if ("coord" === input3.kind)
|
|
194
|
-
return $
|
|
199
|
+
return $io36(input3);
|
|
195
200
|
return false;
|
|
196
201
|
})();
|
|
197
202
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -603,11 +608,11 @@ var validViolinRequest = (input) => {
|
|
|
603
608
|
value: input3.isnot
|
|
604
609
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
605
610
|
path: _path2 + ".term",
|
|
606
|
-
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)',
|
|
607
612
|
value: input3.term
|
|
608
613
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
609
614
|
path: _path2 + ".term",
|
|
610
|
-
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)',
|
|
611
616
|
value: input3.term
|
|
612
617
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
613
618
|
path: _path2 + ".ranges",
|
|
@@ -633,7 +638,7 @@ var validViolinRequest = (input) => {
|
|
|
633
638
|
path: _path2 + ".values[" + _index10 + "]",
|
|
634
639
|
expected: "__type.o3",
|
|
635
640
|
value: elem
|
|
636
|
-
})) && $
|
|
641
|
+
})) && $vo27(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
637
642
|
path: _path2 + ".values[" + _index10 + "]",
|
|
638
643
|
expected: "__type.o3",
|
|
639
644
|
value: elem
|
|
@@ -1044,10 +1049,6 @@ var validViolinRequest = (input) => {
|
|
|
1044
1049
|
path: _path2 + ".unit",
|
|
1045
1050
|
expected: "(string | undefined)",
|
|
1046
1051
|
value: input3.unit
|
|
1047
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1048
|
-
path: _path2 + ".gene",
|
|
1049
|
-
expected: "string",
|
|
1050
|
-
value: input3.gene
|
|
1051
1052
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1052
1053
|
path: _path2 + ".bins",
|
|
1053
1054
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1056,6 +1057,14 @@ var validViolinRequest = (input) => {
|
|
|
1056
1057
|
path: _path2 + ".bins",
|
|
1057
1058
|
expected: "(PresetNumericBins | undefined)",
|
|
1058
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
|
|
1059
1068
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1060
1069
|
path: _path2 + ".chr",
|
|
1061
1070
|
expected: "(string | undefined)",
|
|
@@ -1077,9 +1086,9 @@ var validViolinRequest = (input) => {
|
|
|
1077
1086
|
path: _path2 + ".name",
|
|
1078
1087
|
expected: "string",
|
|
1079
1088
|
value: input3.name
|
|
1080
|
-
}), "
|
|
1089
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1081
1090
|
path: _path2 + ".type",
|
|
1082
|
-
expected: '"
|
|
1091
|
+
expected: '"geneExpression"',
|
|
1083
1092
|
value: input3.type
|
|
1084
1093
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1085
1094
|
path: _path2 + ".child_types",
|
|
@@ -1137,10 +1146,6 @@ var validViolinRequest = (input) => {
|
|
|
1137
1146
|
path: _path2 + ".unit",
|
|
1138
1147
|
expected: "(string | undefined)",
|
|
1139
1148
|
value: input3.unit
|
|
1140
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1141
|
-
path: _path2 + ".metabolite",
|
|
1142
|
-
expected: "string",
|
|
1143
|
-
value: input3.metabolite
|
|
1144
1149
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1145
1150
|
path: _path2 + ".bins",
|
|
1146
1151
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1149,6 +1154,26 @@ var validViolinRequest = (input) => {
|
|
|
1149
1154
|
path: _path2 + ".bins",
|
|
1150
1155
|
expected: "(PresetNumericBins | undefined)",
|
|
1151
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
|
|
1152
1177
|
})].every((flag) => flag);
|
|
1153
1178
|
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1154
1179
|
path: _path2 + ".id",
|
|
@@ -1158,9 +1183,9 @@ var validViolinRequest = (input) => {
|
|
|
1158
1183
|
path: _path2 + ".name",
|
|
1159
1184
|
expected: "string",
|
|
1160
1185
|
value: input3.name
|
|
1161
|
-
}), "
|
|
1186
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1162
1187
|
path: _path2 + ".type",
|
|
1163
|
-
expected: '"
|
|
1188
|
+
expected: '"metaboliteIntensity"',
|
|
1164
1189
|
value: input3.type
|
|
1165
1190
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1166
1191
|
path: _path2 + ".child_types",
|
|
@@ -1239,9 +1264,9 @@ var validViolinRequest = (input) => {
|
|
|
1239
1264
|
path: _path2 + ".name",
|
|
1240
1265
|
expected: "string",
|
|
1241
1266
|
value: input3.name
|
|
1242
|
-
}), "
|
|
1267
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1243
1268
|
path: _path2 + ".type",
|
|
1244
|
-
expected: '"
|
|
1269
|
+
expected: '"date"',
|
|
1245
1270
|
value: input3.type
|
|
1246
1271
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1247
1272
|
path: _path2 + ".child_types",
|
|
@@ -1299,12 +1324,89 @@ var validViolinRequest = (input) => {
|
|
|
1299
1324
|
path: _path2 + ".unit",
|
|
1300
1325
|
expected: "(string | undefined)",
|
|
1301
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
|
|
1302
1404
|
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1303
1405
|
path: _path2 + ".genes",
|
|
1304
1406
|
expected: "(Array<string> | undefined)",
|
|
1305
1407
|
value: input3.genes
|
|
1306
|
-
})) && input3.genes.map((elem,
|
|
1307
|
-
path: _path2 + ".genes[" +
|
|
1408
|
+
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1409
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
1308
1410
|
expected: "string",
|
|
1309
1411
|
value: elem
|
|
1310
1412
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1320,7 +1422,7 @@ var validViolinRequest = (input) => {
|
|
|
1320
1422
|
expected: "(PresetNumericBins | undefined)",
|
|
1321
1423
|
value: input3.bins
|
|
1322
1424
|
})].every((flag) => flag);
|
|
1323
|
-
const $
|
|
1425
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1324
1426
|
path: _path2 + ".key",
|
|
1325
1427
|
expected: "string",
|
|
1326
1428
|
value: input3.key
|
|
@@ -1337,7 +1439,7 @@ var validViolinRequest = (input) => {
|
|
|
1337
1439
|
expected: "(string | undefined)",
|
|
1338
1440
|
value: input3.label
|
|
1339
1441
|
})].every((flag) => flag);
|
|
1340
|
-
const $
|
|
1442
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1341
1443
|
path: _path2 + ".join",
|
|
1342
1444
|
expected: "(string | undefined)",
|
|
1343
1445
|
value: input3.join
|
|
@@ -1349,7 +1451,7 @@ var validViolinRequest = (input) => {
|
|
|
1349
1451
|
path: _path2 + ".term",
|
|
1350
1452
|
expected: "ConditionTerm",
|
|
1351
1453
|
value: input3.term
|
|
1352
|
-
})) && $
|
|
1454
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1353
1455
|
path: _path2 + ".term",
|
|
1354
1456
|
expected: "ConditionTerm",
|
|
1355
1457
|
value: input3.term
|
|
@@ -1369,12 +1471,12 @@ var validViolinRequest = (input) => {
|
|
|
1369
1471
|
path: _path2 + ".grade_and_child",
|
|
1370
1472
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1371
1473
|
value: input3.grade_and_child
|
|
1372
|
-
})) && input3.grade_and_child.map((elem,
|
|
1373
|
-
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 + "]",
|
|
1374
1476
|
expected: "GradeAndChildEntry",
|
|
1375
1477
|
value: elem
|
|
1376
|
-
})) && $
|
|
1377
|
-
path: _path2 + ".grade_and_child[" +
|
|
1478
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1479
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1378
1480
|
expected: "GradeAndChildEntry",
|
|
1379
1481
|
value: elem
|
|
1380
1482
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1382,7 +1484,7 @@ var validViolinRequest = (input) => {
|
|
|
1382
1484
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1383
1485
|
value: input3.grade_and_child
|
|
1384
1486
|
})].every((flag) => flag);
|
|
1385
|
-
const $
|
|
1487
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1386
1488
|
path: _path2 + ".id",
|
|
1387
1489
|
expected: "string",
|
|
1388
1490
|
value: input3.id
|
|
@@ -1398,8 +1500,8 @@ var validViolinRequest = (input) => {
|
|
|
1398
1500
|
path: _path2 + ".child_types",
|
|
1399
1501
|
expected: "(Array<string> | undefined)",
|
|
1400
1502
|
value: input3.child_types
|
|
1401
|
-
})) && input3.child_types.map((elem,
|
|
1402
|
-
path: _path2 + ".child_types[" +
|
|
1503
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1504
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1403
1505
|
expected: "string",
|
|
1404
1506
|
value: elem
|
|
1405
1507
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1414,8 +1516,8 @@ var validViolinRequest = (input) => {
|
|
|
1414
1516
|
path: _path2 + ".included_types",
|
|
1415
1517
|
expected: "(Array<string> | undefined)",
|
|
1416
1518
|
value: input3.included_types
|
|
1417
|
-
})) && input3.included_types.map((elem,
|
|
1418
|
-
path: _path2 + ".included_types[" +
|
|
1519
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1520
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1419
1521
|
expected: "string",
|
|
1420
1522
|
value: elem
|
|
1421
1523
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1439,7 +1541,7 @@ var validViolinRequest = (input) => {
|
|
|
1439
1541
|
expected: "(boolean | undefined)",
|
|
1440
1542
|
value: input3.skipValuesBuild
|
|
1441
1543
|
})].every((flag) => flag);
|
|
1442
|
-
const $
|
|
1544
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1443
1545
|
path: _path2 + ".grade",
|
|
1444
1546
|
expected: "number",
|
|
1445
1547
|
value: input3.grade
|
|
@@ -1456,7 +1558,7 @@ var validViolinRequest = (input) => {
|
|
|
1456
1558
|
expected: "string",
|
|
1457
1559
|
value: input3.child_label
|
|
1458
1560
|
})].every((flag) => flag);
|
|
1459
|
-
const $
|
|
1561
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1460
1562
|
path: _path2 + ".join",
|
|
1461
1563
|
expected: "(string | undefined)",
|
|
1462
1564
|
value: input3.join
|
|
@@ -1468,7 +1570,7 @@ var validViolinRequest = (input) => {
|
|
|
1468
1570
|
path: _path2 + ".term",
|
|
1469
1571
|
expected: "DtTerm",
|
|
1470
1572
|
value: input3.term
|
|
1471
|
-
})) && $
|
|
1573
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1472
1574
|
path: _path2 + ".term",
|
|
1473
1575
|
expected: "DtTerm",
|
|
1474
1576
|
value: input3.term
|
|
@@ -1476,12 +1578,12 @@ var validViolinRequest = (input) => {
|
|
|
1476
1578
|
path: _path2 + ".values",
|
|
1477
1579
|
expected: "Array<__type>.o2",
|
|
1478
1580
|
value: input3.values
|
|
1479
|
-
})) && input3.values.map((elem,
|
|
1480
|
-
path: _path2 + ".values[" +
|
|
1581
|
+
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
1481
1583
|
expected: "__type.o4",
|
|
1482
1584
|
value: elem
|
|
1483
|
-
})) && $
|
|
1484
|
-
path: _path2 + ".values[" +
|
|
1585
|
+
})) && $vo37(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
1485
1587
|
expected: "__type.o4",
|
|
1486
1588
|
value: elem
|
|
1487
1589
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1497,7 +1599,7 @@ var validViolinRequest = (input) => {
|
|
|
1497
1599
|
expected: "(boolean | undefined)",
|
|
1498
1600
|
value: input3.excludeGeneName
|
|
1499
1601
|
})].every((flag) => flag);
|
|
1500
|
-
const $
|
|
1602
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1501
1603
|
path: _path2 + ".id",
|
|
1502
1604
|
expected: "string",
|
|
1503
1605
|
value: input3.id
|
|
@@ -1546,7 +1648,7 @@ var validViolinRequest = (input) => {
|
|
|
1546
1648
|
expected: "TermValues",
|
|
1547
1649
|
value: input3.values
|
|
1548
1650
|
})].every((flag) => flag);
|
|
1549
|
-
const $
|
|
1651
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1550
1652
|
path: _path2 + ".id",
|
|
1551
1653
|
expected: "string",
|
|
1552
1654
|
value: input3.id
|
|
@@ -1562,8 +1664,8 @@ var validViolinRequest = (input) => {
|
|
|
1562
1664
|
path: _path2 + ".child_types",
|
|
1563
1665
|
expected: "(Array<string> | undefined)",
|
|
1564
1666
|
value: input3.child_types
|
|
1565
|
-
})) && input3.child_types.map((elem,
|
|
1566
|
-
path: _path2 + ".child_types[" +
|
|
1667
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1668
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1567
1669
|
expected: "string",
|
|
1568
1670
|
value: elem
|
|
1569
1671
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1578,8 +1680,8 @@ var validViolinRequest = (input) => {
|
|
|
1578
1680
|
path: _path2 + ".included_types",
|
|
1579
1681
|
expected: "(Array<string> | undefined)",
|
|
1580
1682
|
value: input3.included_types
|
|
1581
|
-
})) && input3.included_types.map((elem,
|
|
1582
|
-
path: _path2 + ".included_types[" +
|
|
1683
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1684
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1583
1685
|
expected: "string",
|
|
1584
1686
|
value: elem
|
|
1585
1687
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1626,12 +1728,12 @@ var validViolinRequest = (input) => {
|
|
|
1626
1728
|
path: _path2 + ".genes",
|
|
1627
1729
|
expected: "Array<GvGeneTerm>",
|
|
1628
1730
|
value: input3.genes
|
|
1629
|
-
})) && input3.genes.map((elem,
|
|
1630
|
-
path: _path2 + ".genes[" +
|
|
1731
|
+
})) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1631
1733
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1632
1734
|
value: elem
|
|
1633
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1634
|
-
path: _path2 + ".genes[" +
|
|
1735
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1635
1737
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1636
1738
|
value: elem
|
|
1637
1739
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1650,12 +1752,12 @@ var validViolinRequest = (input) => {
|
|
|
1650
1752
|
path: _path2 + ".childTerms",
|
|
1651
1753
|
expected: "(Array<DtTerm> | undefined)",
|
|
1652
1754
|
value: input3.childTerms
|
|
1653
|
-
})) && input3.childTerms.map((elem,
|
|
1654
|
-
path: _path2 + ".childTerms[" +
|
|
1755
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1655
1757
|
expected: "DtTerm",
|
|
1656
1758
|
value: elem
|
|
1657
|
-
})) && $
|
|
1658
|
-
path: _path2 + ".childTerms[" +
|
|
1759
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1659
1761
|
expected: "DtTerm",
|
|
1660
1762
|
value: elem
|
|
1661
1763
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1663,7 +1765,7 @@ var validViolinRequest = (input) => {
|
|
|
1663
1765
|
expected: "(Array<DtTerm> | undefined)",
|
|
1664
1766
|
value: input3.childTerms
|
|
1665
1767
|
})].every((flag) => flag);
|
|
1666
|
-
const $
|
|
1768
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1667
1769
|
path: _path2 + ".id",
|
|
1668
1770
|
expected: "string",
|
|
1669
1771
|
value: input3.id
|
|
@@ -1679,8 +1781,8 @@ var validViolinRequest = (input) => {
|
|
|
1679
1781
|
path: _path2 + ".child_types",
|
|
1680
1782
|
expected: "(Array<string> | undefined)",
|
|
1681
1783
|
value: input3.child_types
|
|
1682
|
-
})) && input3.child_types.map((elem,
|
|
1683
|
-
path: _path2 + ".child_types[" +
|
|
1784
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1785
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1684
1786
|
expected: "string",
|
|
1685
1787
|
value: elem
|
|
1686
1788
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1695,8 +1797,8 @@ var validViolinRequest = (input) => {
|
|
|
1695
1797
|
path: _path2 + ".included_types",
|
|
1696
1798
|
expected: "(Array<string> | undefined)",
|
|
1697
1799
|
value: input3.included_types
|
|
1698
|
-
})) && input3.included_types.map((elem,
|
|
1699
|
-
path: _path2 + ".included_types[" +
|
|
1800
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1801
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1700
1802
|
expected: "string",
|
|
1701
1803
|
value: elem
|
|
1702
1804
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1740,7 +1842,7 @@ var validViolinRequest = (input) => {
|
|
|
1740
1842
|
expected: "(number | undefined)",
|
|
1741
1843
|
value: input3.stop
|
|
1742
1844
|
})].every((flag) => flag);
|
|
1743
|
-
const $
|
|
1845
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1744
1846
|
path: _path2 + ".id",
|
|
1745
1847
|
expected: "string",
|
|
1746
1848
|
value: input3.id
|
|
@@ -1756,8 +1858,8 @@ var validViolinRequest = (input) => {
|
|
|
1756
1858
|
path: _path2 + ".child_types",
|
|
1757
1859
|
expected: "(Array<string> | undefined)",
|
|
1758
1860
|
value: input3.child_types
|
|
1759
|
-
})) && input3.child_types.map((elem,
|
|
1760
|
-
path: _path2 + ".child_types[" +
|
|
1861
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1862
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1761
1863
|
expected: "string",
|
|
1762
1864
|
value: elem
|
|
1763
1865
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1772,8 +1874,8 @@ var validViolinRequest = (input) => {
|
|
|
1772
1874
|
path: _path2 + ".included_types",
|
|
1773
1875
|
expected: "(Array<string> | undefined)",
|
|
1774
1876
|
value: input3.included_types
|
|
1775
|
-
})) && input3.included_types.map((elem,
|
|
1776
|
-
path: _path2 + ".included_types[" +
|
|
1877
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1878
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1777
1879
|
expected: "string",
|
|
1778
1880
|
value: elem
|
|
1779
1881
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1813,7 +1915,7 @@ var validViolinRequest = (input) => {
|
|
|
1813
1915
|
expected: "number",
|
|
1814
1916
|
value: input3.stop
|
|
1815
1917
|
})].every((flag) => flag);
|
|
1816
|
-
const $
|
|
1918
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1817
1919
|
path: _path2 + ".id",
|
|
1818
1920
|
expected: "string",
|
|
1819
1921
|
value: input3.id
|
|
@@ -1829,8 +1931,8 @@ var validViolinRequest = (input) => {
|
|
|
1829
1931
|
path: _path2 + ".child_types",
|
|
1830
1932
|
expected: "(Array<string> | undefined)",
|
|
1831
1933
|
value: input3.child_types
|
|
1832
|
-
})) && input3.child_types.map((elem,
|
|
1833
|
-
path: _path2 + ".child_types[" +
|
|
1934
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1935
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
1834
1936
|
expected: "string",
|
|
1835
1937
|
value: elem
|
|
1836
1938
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1845,8 +1947,8 @@ var validViolinRequest = (input) => {
|
|
|
1845
1947
|
path: _path2 + ".included_types",
|
|
1846
1948
|
expected: "(Array<string> | undefined)",
|
|
1847
1949
|
value: input3.included_types
|
|
1848
|
-
})) && input3.included_types.map((elem,
|
|
1849
|
-
path: _path2 + ".included_types[" +
|
|
1950
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
1850
1952
|
expected: "string",
|
|
1851
1953
|
value: elem
|
|
1852
1954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1889,12 +1991,12 @@ var validViolinRequest = (input) => {
|
|
|
1889
1991
|
path: _path2 + ".genes",
|
|
1890
1992
|
expected: "Array<GvGeneTerm>",
|
|
1891
1993
|
value: input3.genes
|
|
1892
|
-
})) && input3.genes.map((elem,
|
|
1893
|
-
path: _path2 + ".genes[" +
|
|
1994
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
1894
1996
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1895
1997
|
value: elem
|
|
1896
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1897
|
-
path: _path2 + ".genes[" +
|
|
1998
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
1898
2000
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1899
2001
|
value: elem
|
|
1900
2002
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1913,12 +2015,12 @@ var validViolinRequest = (input) => {
|
|
|
1913
2015
|
path: _path2 + ".childTerms",
|
|
1914
2016
|
expected: "(Array<DtTerm> | undefined)",
|
|
1915
2017
|
value: input3.childTerms
|
|
1916
|
-
})) && input3.childTerms.map((elem,
|
|
1917
|
-
path: _path2 + ".childTerms[" +
|
|
2018
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1918
2020
|
expected: "DtTerm",
|
|
1919
2021
|
value: elem
|
|
1920
|
-
})) && $
|
|
1921
|
-
path: _path2 + ".childTerms[" +
|
|
2022
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1922
2024
|
expected: "DtTerm",
|
|
1923
2025
|
value: elem
|
|
1924
2026
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1926,7 +2028,7 @@ var validViolinRequest = (input) => {
|
|
|
1926
2028
|
expected: "(Array<DtTerm> | undefined)",
|
|
1927
2029
|
value: input3.childTerms
|
|
1928
2030
|
})].every((flag) => flag);
|
|
1929
|
-
const $
|
|
2031
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1930
2032
|
path: _path2 + ".key",
|
|
1931
2033
|
expected: "string",
|
|
1932
2034
|
value: input3.key
|
|
@@ -1970,9 +2072,9 @@ var validViolinRequest = (input) => {
|
|
|
1970
2072
|
})();
|
|
1971
2073
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1972
2074
|
if ("gene" === input3.kind)
|
|
1973
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
1974
|
-
if ("coord" === input3.kind)
|
|
1975
2075
|
return $vo34(input3, _path2, _exceptionable2);
|
|
2076
|
+
if ("coord" === input3.kind)
|
|
2077
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1976
2078
|
return $report(_exceptionable2, {
|
|
1977
2079
|
path: _path2,
|
|
1978
2080
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1982,24 +2084,18 @@ var validViolinRequest = (input) => {
|
|
|
1982
2084
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1983
2085
|
if (void 0 !== input3.ranges)
|
|
1984
2086
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1985
|
-
return $vo3(input3, _path2, false) || $
|
|
2087
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1986
2088
|
})();
|
|
1987
2089
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1988
2090
|
if ("integer" === input3.type || "float" === input3.type)
|
|
1989
2091
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1990
|
-
if ("geneExpression" === input3.type)
|
|
1991
|
-
return $vo22(input3, _path2, _exceptionable2);
|
|
1992
|
-
if ("date" === input3.type)
|
|
1993
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
1994
2092
|
if ("metaboliteIntensity" === input3.type)
|
|
1995
|
-
return $
|
|
1996
|
-
if ("
|
|
2093
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2094
|
+
if ("date" === input3.type)
|
|
1997
2095
|
return $vo25(input3, _path2, _exceptionable2);
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
value: input3
|
|
2002
|
-
});
|
|
2096
|
+
if ("ssGSEA" === input3.type)
|
|
2097
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2098
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
2003
2099
|
})();
|
|
2004
2100
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2005
2101
|
if ("regular-bin" === input3.type)
|
|
@@ -2036,9 +2132,9 @@ var validViolinRequest = (input) => {
|
|
|
2036
2132
|
})();
|
|
2037
2133
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2038
2134
|
if ("gene" === input3.kind)
|
|
2039
|
-
return $
|
|
2135
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2040
2136
|
if ("coord" === input3.kind)
|
|
2041
|
-
return $
|
|
2137
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2042
2138
|
return $report(_exceptionable2, {
|
|
2043
2139
|
path: _path2,
|
|
2044
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; })',
|