@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
|
@@ -43,7 +43,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
43
43
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
44
44
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
45
45
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
46
|
-
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
46
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
47
47
|
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
48
48
|
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
49
49
|
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
@@ -60,21 +60,22 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
60
60
|
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
61
61
|
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
62
62
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
63
|
-
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
64
|
-
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
65
|
-
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
66
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
67
|
-
const $io26 = (input3) => "string" === typeof input3.
|
|
68
|
-
const $io27 = (input3) =>
|
|
69
|
-
const $io28 = (input3) =>
|
|
70
|
-
const $io29 = (input3) => "
|
|
71
|
-
const $io30 = (input3) =>
|
|
72
|
-
const $io31 = (input3) =>
|
|
73
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
74
|
-
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
75
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
76
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
77
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
66
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
71
|
+
const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
72
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
78
79
|
const $iu0 = (input3) => (() => {
|
|
79
80
|
if ("tvslst" === input3.type)
|
|
80
81
|
return $io1(input3);
|
|
@@ -98,9 +99,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
98
99
|
})();
|
|
99
100
|
const $iu3 = (input3) => (() => {
|
|
100
101
|
if ("gene" === input3.kind)
|
|
101
|
-
return $io33(input3);
|
|
102
|
-
if ("coord" === input3.kind)
|
|
103
102
|
return $io34(input3);
|
|
103
|
+
if ("coord" === input3.kind)
|
|
104
|
+
return $io35(input3);
|
|
104
105
|
return false;
|
|
105
106
|
})();
|
|
106
107
|
const $iu4 = (input3) => (() => {
|
|
@@ -109,25 +110,29 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
109
110
|
return (() => {
|
|
110
111
|
if ($io3(input3))
|
|
111
112
|
return $io3(input3);
|
|
112
|
-
if ($
|
|
113
|
-
return $
|
|
114
|
-
if ($
|
|
115
|
-
return $
|
|
113
|
+
if ($io28(input3))
|
|
114
|
+
return $io28(input3);
|
|
115
|
+
if ($io31(input3))
|
|
116
|
+
return $io31(input3);
|
|
116
117
|
return false;
|
|
117
118
|
})();
|
|
118
119
|
})();
|
|
119
120
|
const $iu5 = (input3) => (() => {
|
|
120
121
|
if ("integer" === input3.type || "float" === input3.type)
|
|
121
122
|
return $io13(input3);
|
|
122
|
-
if ("geneExpression" === input3.type)
|
|
123
|
-
return $io22(input3);
|
|
124
|
-
if ("date" === input3.type)
|
|
125
|
-
return $io24(input3);
|
|
126
123
|
if ("metaboliteIntensity" === input3.type)
|
|
127
|
-
return $
|
|
128
|
-
if ("
|
|
124
|
+
return $io24(input3);
|
|
125
|
+
if ("date" === input3.type)
|
|
129
126
|
return $io25(input3);
|
|
130
|
-
|
|
127
|
+
if ("ssGSEA" === input3.type)
|
|
128
|
+
return $io26(input3);
|
|
129
|
+
return (() => {
|
|
130
|
+
if ($io23(input3))
|
|
131
|
+
return $io23(input3);
|
|
132
|
+
if ($io22(input3))
|
|
133
|
+
return $io22(input3);
|
|
134
|
+
return false;
|
|
135
|
+
})();
|
|
131
136
|
})();
|
|
132
137
|
const $iu6 = (input3) => (() => {
|
|
133
138
|
if ("regular-bin" === input3.type)
|
|
@@ -152,9 +157,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
152
157
|
})();
|
|
153
158
|
const $iu9 = (input3) => (() => {
|
|
154
159
|
if ("gene" === input3.kind)
|
|
155
|
-
return $
|
|
160
|
+
return $io33(input3);
|
|
156
161
|
if ("coord" === input3.kind)
|
|
157
|
-
return $
|
|
162
|
+
return $io36(input3);
|
|
158
163
|
return false;
|
|
159
164
|
})();
|
|
160
165
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -518,11 +523,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
518
523
|
value: input3.isnot
|
|
519
524
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
520
525
|
path: _path2 + ".term",
|
|
521
|
-
expected:
|
|
526
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
522
527
|
value: input3.term
|
|
523
528
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
524
529
|
path: _path2 + ".term",
|
|
525
|
-
expected:
|
|
530
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
526
531
|
value: input3.term
|
|
527
532
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
528
533
|
path: _path2 + ".ranges",
|
|
@@ -548,7 +553,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
548
553
|
path: _path2 + ".values[" + _index9 + "]",
|
|
549
554
|
expected: "__type.o3",
|
|
550
555
|
value: elem
|
|
551
|
-
})) && $
|
|
556
|
+
})) && $vo27(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
552
557
|
path: _path2 + ".values[" + _index9 + "]",
|
|
553
558
|
expected: "__type.o3",
|
|
554
559
|
value: elem
|
|
@@ -959,10 +964,6 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
959
964
|
path: _path2 + ".unit",
|
|
960
965
|
expected: "(string | undefined)",
|
|
961
966
|
value: input3.unit
|
|
962
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
963
|
-
path: _path2 + ".gene",
|
|
964
|
-
expected: "string",
|
|
965
|
-
value: input3.gene
|
|
966
967
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
967
968
|
path: _path2 + ".bins",
|
|
968
969
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -971,6 +972,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
971
972
|
path: _path2 + ".bins",
|
|
972
973
|
expected: "(PresetNumericBins | undefined)",
|
|
973
974
|
value: input3.bins
|
|
975
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
976
|
+
path: _path2 + ".kind",
|
|
977
|
+
expected: '("gene" | undefined)',
|
|
978
|
+
value: input3.kind
|
|
979
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
980
|
+
path: _path2 + ".gene",
|
|
981
|
+
expected: "string",
|
|
982
|
+
value: input3.gene
|
|
974
983
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
975
984
|
path: _path2 + ".chr",
|
|
976
985
|
expected: "(string | undefined)",
|
|
@@ -992,9 +1001,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
992
1001
|
path: _path2 + ".name",
|
|
993
1002
|
expected: "string",
|
|
994
1003
|
value: input3.name
|
|
995
|
-
}), "
|
|
1004
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
996
1005
|
path: _path2 + ".type",
|
|
997
|
-
expected: '"
|
|
1006
|
+
expected: '"geneExpression"',
|
|
998
1007
|
value: input3.type
|
|
999
1008
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1000
1009
|
path: _path2 + ".child_types",
|
|
@@ -1052,10 +1061,6 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1052
1061
|
path: _path2 + ".unit",
|
|
1053
1062
|
expected: "(string | undefined)",
|
|
1054
1063
|
value: input3.unit
|
|
1055
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1056
|
-
path: _path2 + ".metabolite",
|
|
1057
|
-
expected: "string",
|
|
1058
|
-
value: input3.metabolite
|
|
1059
1064
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1060
1065
|
path: _path2 + ".bins",
|
|
1061
1066
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1064,6 +1069,26 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1064
1069
|
path: _path2 + ".bins",
|
|
1065
1070
|
expected: "(PresetNumericBins | undefined)",
|
|
1066
1071
|
value: input3.bins
|
|
1072
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".kind",
|
|
1074
|
+
expected: '("coord" | undefined)',
|
|
1075
|
+
value: input3.kind
|
|
1076
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".gene",
|
|
1078
|
+
expected: "(string | undefined)",
|
|
1079
|
+
value: input3.gene
|
|
1080
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".chr",
|
|
1082
|
+
expected: "string",
|
|
1083
|
+
value: input3.chr
|
|
1084
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".start",
|
|
1086
|
+
expected: "number",
|
|
1087
|
+
value: input3.start
|
|
1088
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1089
|
+
path: _path2 + ".stop",
|
|
1090
|
+
expected: "number",
|
|
1091
|
+
value: input3.stop
|
|
1067
1092
|
})].every((flag) => flag);
|
|
1068
1093
|
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1069
1094
|
path: _path2 + ".id",
|
|
@@ -1073,9 +1098,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1073
1098
|
path: _path2 + ".name",
|
|
1074
1099
|
expected: "string",
|
|
1075
1100
|
value: input3.name
|
|
1076
|
-
}), "
|
|
1101
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1077
1102
|
path: _path2 + ".type",
|
|
1078
|
-
expected: '"
|
|
1103
|
+
expected: '"metaboliteIntensity"',
|
|
1079
1104
|
value: input3.type
|
|
1080
1105
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1081
1106
|
path: _path2 + ".child_types",
|
|
@@ -1154,9 +1179,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1154
1179
|
path: _path2 + ".name",
|
|
1155
1180
|
expected: "string",
|
|
1156
1181
|
value: input3.name
|
|
1157
|
-
}), "
|
|
1182
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1158
1183
|
path: _path2 + ".type",
|
|
1159
|
-
expected: '"
|
|
1184
|
+
expected: '"date"',
|
|
1160
1185
|
value: input3.type
|
|
1161
1186
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1162
1187
|
path: _path2 + ".child_types",
|
|
@@ -1214,12 +1239,89 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1214
1239
|
path: _path2 + ".unit",
|
|
1215
1240
|
expected: "(string | undefined)",
|
|
1216
1241
|
value: input3.unit
|
|
1242
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".bins",
|
|
1244
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1245
|
+
value: input3.bins
|
|
1246
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".bins",
|
|
1248
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1249
|
+
value: input3.bins
|
|
1250
|
+
})].every((flag) => flag);
|
|
1251
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1252
|
+
path: _path2 + ".id",
|
|
1253
|
+
expected: "string",
|
|
1254
|
+
value: input3.id
|
|
1255
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".name",
|
|
1257
|
+
expected: "string",
|
|
1258
|
+
value: input3.name
|
|
1259
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1260
|
+
path: _path2 + ".type",
|
|
1261
|
+
expected: '"ssGSEA"',
|
|
1262
|
+
value: input3.type
|
|
1263
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1264
|
+
path: _path2 + ".child_types",
|
|
1265
|
+
expected: "(Array<string> | undefined)",
|
|
1266
|
+
value: input3.child_types
|
|
1267
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1269
|
+
expected: "string",
|
|
1270
|
+
value: elem
|
|
1271
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".child_types",
|
|
1273
|
+
expected: "(Array<string> | undefined)",
|
|
1274
|
+
value: input3.child_types
|
|
1275
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".hashtmldetail",
|
|
1277
|
+
expected: "(boolean | undefined)",
|
|
1278
|
+
value: input3.hashtmldetail
|
|
1279
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".included_types",
|
|
1281
|
+
expected: "(Array<string> | undefined)",
|
|
1282
|
+
value: input3.included_types
|
|
1283
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1285
|
+
expected: "string",
|
|
1286
|
+
value: elem
|
|
1287
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".included_types",
|
|
1289
|
+
expected: "(Array<string> | undefined)",
|
|
1290
|
+
value: input3.included_types
|
|
1291
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".isleaf",
|
|
1293
|
+
expected: "(boolean | undefined)",
|
|
1294
|
+
value: input3.isleaf
|
|
1295
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".values",
|
|
1297
|
+
expected: "(TermValues | undefined)",
|
|
1298
|
+
value: input3.values
|
|
1299
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".values",
|
|
1301
|
+
expected: "(TermValues | undefined)",
|
|
1302
|
+
value: input3.values
|
|
1303
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".skipValuesBuild",
|
|
1305
|
+
expected: "(boolean | undefined)",
|
|
1306
|
+
value: input3.skipValuesBuild
|
|
1307
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".continuousColorScale",
|
|
1309
|
+
expected: "(__type.o2 | undefined)",
|
|
1310
|
+
value: input3.continuousColorScale
|
|
1311
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".continuousColorScale",
|
|
1313
|
+
expected: "(__type.o2 | undefined)",
|
|
1314
|
+
value: input3.continuousColorScale
|
|
1315
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1316
|
+
path: _path2 + ".unit",
|
|
1317
|
+
expected: "(string | undefined)",
|
|
1318
|
+
value: input3.unit
|
|
1217
1319
|
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1218
1320
|
path: _path2 + ".genes",
|
|
1219
1321
|
expected: "(Array<string> | undefined)",
|
|
1220
1322
|
value: input3.genes
|
|
1221
|
-
})) && input3.genes.map((elem,
|
|
1222
|
-
path: _path2 + ".genes[" +
|
|
1323
|
+
})) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".genes[" + _index23 + "]",
|
|
1223
1325
|
expected: "string",
|
|
1224
1326
|
value: elem
|
|
1225
1327
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1235,7 +1337,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1235
1337
|
expected: "(PresetNumericBins | undefined)",
|
|
1236
1338
|
value: input3.bins
|
|
1237
1339
|
})].every((flag) => flag);
|
|
1238
|
-
const $
|
|
1340
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1239
1341
|
path: _path2 + ".key",
|
|
1240
1342
|
expected: "string",
|
|
1241
1343
|
value: input3.key
|
|
@@ -1252,7 +1354,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1252
1354
|
expected: "(string | undefined)",
|
|
1253
1355
|
value: input3.label
|
|
1254
1356
|
})].every((flag) => flag);
|
|
1255
|
-
const $
|
|
1357
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1256
1358
|
path: _path2 + ".join",
|
|
1257
1359
|
expected: "(string | undefined)",
|
|
1258
1360
|
value: input3.join
|
|
@@ -1264,7 +1366,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1264
1366
|
path: _path2 + ".term",
|
|
1265
1367
|
expected: "ConditionTerm",
|
|
1266
1368
|
value: input3.term
|
|
1267
|
-
})) && $
|
|
1369
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1268
1370
|
path: _path2 + ".term",
|
|
1269
1371
|
expected: "ConditionTerm",
|
|
1270
1372
|
value: input3.term
|
|
@@ -1284,12 +1386,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1284
1386
|
path: _path2 + ".grade_and_child",
|
|
1285
1387
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1286
1388
|
value: input3.grade_and_child
|
|
1287
|
-
})) && input3.grade_and_child.map((elem,
|
|
1288
|
-
path: _path2 + ".grade_and_child[" +
|
|
1389
|
+
})) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1289
1391
|
expected: "GradeAndChildEntry",
|
|
1290
1392
|
value: elem
|
|
1291
|
-
})) && $
|
|
1292
|
-
path: _path2 + ".grade_and_child[" +
|
|
1393
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1293
1395
|
expected: "GradeAndChildEntry",
|
|
1294
1396
|
value: elem
|
|
1295
1397
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1297,7 +1399,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1297
1399
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1298
1400
|
value: input3.grade_and_child
|
|
1299
1401
|
})].every((flag) => flag);
|
|
1300
|
-
const $
|
|
1402
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1301
1403
|
path: _path2 + ".id",
|
|
1302
1404
|
expected: "string",
|
|
1303
1405
|
value: input3.id
|
|
@@ -1313,8 +1415,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1313
1415
|
path: _path2 + ".child_types",
|
|
1314
1416
|
expected: "(Array<string> | undefined)",
|
|
1315
1417
|
value: input3.child_types
|
|
1316
|
-
})) && input3.child_types.map((elem,
|
|
1317
|
-
path: _path2 + ".child_types[" +
|
|
1418
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1419
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1318
1420
|
expected: "string",
|
|
1319
1421
|
value: elem
|
|
1320
1422
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1329,8 +1431,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1329
1431
|
path: _path2 + ".included_types",
|
|
1330
1432
|
expected: "(Array<string> | undefined)",
|
|
1331
1433
|
value: input3.included_types
|
|
1332
|
-
})) && input3.included_types.map((elem,
|
|
1333
|
-
path: _path2 + ".included_types[" +
|
|
1434
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1435
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1334
1436
|
expected: "string",
|
|
1335
1437
|
value: elem
|
|
1336
1438
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1354,7 +1456,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1354
1456
|
expected: "(boolean | undefined)",
|
|
1355
1457
|
value: input3.skipValuesBuild
|
|
1356
1458
|
})].every((flag) => flag);
|
|
1357
|
-
const $
|
|
1459
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1358
1460
|
path: _path2 + ".grade",
|
|
1359
1461
|
expected: "number",
|
|
1360
1462
|
value: input3.grade
|
|
@@ -1371,7 +1473,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1371
1473
|
expected: "string",
|
|
1372
1474
|
value: input3.child_label
|
|
1373
1475
|
})].every((flag) => flag);
|
|
1374
|
-
const $
|
|
1476
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1375
1477
|
path: _path2 + ".join",
|
|
1376
1478
|
expected: "(string | undefined)",
|
|
1377
1479
|
value: input3.join
|
|
@@ -1383,7 +1485,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1383
1485
|
path: _path2 + ".term",
|
|
1384
1486
|
expected: "DtTerm",
|
|
1385
1487
|
value: input3.term
|
|
1386
|
-
})) && $
|
|
1488
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1387
1489
|
path: _path2 + ".term",
|
|
1388
1490
|
expected: "DtTerm",
|
|
1389
1491
|
value: input3.term
|
|
@@ -1391,12 +1493,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1391
1493
|
path: _path2 + ".values",
|
|
1392
1494
|
expected: "Array<__type>.o2",
|
|
1393
1495
|
value: input3.values
|
|
1394
|
-
})) && input3.values.map((elem,
|
|
1395
|
-
path: _path2 + ".values[" +
|
|
1496
|
+
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1396
1498
|
expected: "__type.o4",
|
|
1397
1499
|
value: elem
|
|
1398
|
-
})) && $
|
|
1399
|
-
path: _path2 + ".values[" +
|
|
1500
|
+
})) && $vo37(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1400
1502
|
expected: "__type.o4",
|
|
1401
1503
|
value: elem
|
|
1402
1504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1412,7 +1514,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1412
1514
|
expected: "(boolean | undefined)",
|
|
1413
1515
|
value: input3.excludeGeneName
|
|
1414
1516
|
})].every((flag) => flag);
|
|
1415
|
-
const $
|
|
1517
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1416
1518
|
path: _path2 + ".id",
|
|
1417
1519
|
expected: "string",
|
|
1418
1520
|
value: input3.id
|
|
@@ -1461,7 +1563,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1461
1563
|
expected: "TermValues",
|
|
1462
1564
|
value: input3.values
|
|
1463
1565
|
})].every((flag) => flag);
|
|
1464
|
-
const $
|
|
1566
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1465
1567
|
path: _path2 + ".id",
|
|
1466
1568
|
expected: "string",
|
|
1467
1569
|
value: input3.id
|
|
@@ -1477,8 +1579,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1477
1579
|
path: _path2 + ".child_types",
|
|
1478
1580
|
expected: "(Array<string> | undefined)",
|
|
1479
1581
|
value: input3.child_types
|
|
1480
|
-
})) && input3.child_types.map((elem,
|
|
1481
|
-
path: _path2 + ".child_types[" +
|
|
1582
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1583
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1482
1584
|
expected: "string",
|
|
1483
1585
|
value: elem
|
|
1484
1586
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1493,8 +1595,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1493
1595
|
path: _path2 + ".included_types",
|
|
1494
1596
|
expected: "(Array<string> | undefined)",
|
|
1495
1597
|
value: input3.included_types
|
|
1496
|
-
})) && input3.included_types.map((elem,
|
|
1497
|
-
path: _path2 + ".included_types[" +
|
|
1598
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1599
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1498
1600
|
expected: "string",
|
|
1499
1601
|
value: elem
|
|
1500
1602
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1541,12 +1643,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1541
1643
|
path: _path2 + ".genes",
|
|
1542
1644
|
expected: "Array<GvGeneTerm>",
|
|
1543
1645
|
value: input3.genes
|
|
1544
|
-
})) && input3.genes.map((elem,
|
|
1545
|
-
path: _path2 + ".genes[" +
|
|
1646
|
+
})) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1546
1648
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1547
1649
|
value: elem
|
|
1548
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1549
|
-
path: _path2 + ".genes[" +
|
|
1650
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1651
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1550
1652
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1551
1653
|
value: elem
|
|
1552
1654
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1565,12 +1667,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1565
1667
|
path: _path2 + ".childTerms",
|
|
1566
1668
|
expected: "(Array<DtTerm> | undefined)",
|
|
1567
1669
|
value: input3.childTerms
|
|
1568
|
-
})) && input3.childTerms.map((elem,
|
|
1569
|
-
path: _path2 + ".childTerms[" +
|
|
1670
|
+
})) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1570
1672
|
expected: "DtTerm",
|
|
1571
1673
|
value: elem
|
|
1572
|
-
})) && $
|
|
1573
|
-
path: _path2 + ".childTerms[" +
|
|
1674
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1675
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1574
1676
|
expected: "DtTerm",
|
|
1575
1677
|
value: elem
|
|
1576
1678
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1578,7 +1680,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1578
1680
|
expected: "(Array<DtTerm> | undefined)",
|
|
1579
1681
|
value: input3.childTerms
|
|
1580
1682
|
})].every((flag) => flag);
|
|
1581
|
-
const $
|
|
1683
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1582
1684
|
path: _path2 + ".id",
|
|
1583
1685
|
expected: "string",
|
|
1584
1686
|
value: input3.id
|
|
@@ -1594,8 +1696,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1594
1696
|
path: _path2 + ".child_types",
|
|
1595
1697
|
expected: "(Array<string> | undefined)",
|
|
1596
1698
|
value: input3.child_types
|
|
1597
|
-
})) && input3.child_types.map((elem,
|
|
1598
|
-
path: _path2 + ".child_types[" +
|
|
1699
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1700
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1599
1701
|
expected: "string",
|
|
1600
1702
|
value: elem
|
|
1601
1703
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1610,8 +1712,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1610
1712
|
path: _path2 + ".included_types",
|
|
1611
1713
|
expected: "(Array<string> | undefined)",
|
|
1612
1714
|
value: input3.included_types
|
|
1613
|
-
})) && input3.included_types.map((elem,
|
|
1614
|
-
path: _path2 + ".included_types[" +
|
|
1715
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1716
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1615
1717
|
expected: "string",
|
|
1616
1718
|
value: elem
|
|
1617
1719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1655,7 +1757,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1655
1757
|
expected: "(number | undefined)",
|
|
1656
1758
|
value: input3.stop
|
|
1657
1759
|
})].every((flag) => flag);
|
|
1658
|
-
const $
|
|
1760
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1659
1761
|
path: _path2 + ".id",
|
|
1660
1762
|
expected: "string",
|
|
1661
1763
|
value: input3.id
|
|
@@ -1671,8 +1773,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1671
1773
|
path: _path2 + ".child_types",
|
|
1672
1774
|
expected: "(Array<string> | undefined)",
|
|
1673
1775
|
value: input3.child_types
|
|
1674
|
-
})) && input3.child_types.map((elem,
|
|
1675
|
-
path: _path2 + ".child_types[" +
|
|
1776
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1777
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1676
1778
|
expected: "string",
|
|
1677
1779
|
value: elem
|
|
1678
1780
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1687,8 +1789,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1687
1789
|
path: _path2 + ".included_types",
|
|
1688
1790
|
expected: "(Array<string> | undefined)",
|
|
1689
1791
|
value: input3.included_types
|
|
1690
|
-
})) && input3.included_types.map((elem,
|
|
1691
|
-
path: _path2 + ".included_types[" +
|
|
1792
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1793
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1692
1794
|
expected: "string",
|
|
1693
1795
|
value: elem
|
|
1694
1796
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1728,7 +1830,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1728
1830
|
expected: "number",
|
|
1729
1831
|
value: input3.stop
|
|
1730
1832
|
})].every((flag) => flag);
|
|
1731
|
-
const $
|
|
1833
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1732
1834
|
path: _path2 + ".id",
|
|
1733
1835
|
expected: "string",
|
|
1734
1836
|
value: input3.id
|
|
@@ -1744,8 +1846,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1744
1846
|
path: _path2 + ".child_types",
|
|
1745
1847
|
expected: "(Array<string> | undefined)",
|
|
1746
1848
|
value: input3.child_types
|
|
1747
|
-
})) && input3.child_types.map((elem,
|
|
1748
|
-
path: _path2 + ".child_types[" +
|
|
1849
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1749
1851
|
expected: "string",
|
|
1750
1852
|
value: elem
|
|
1751
1853
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1760,8 +1862,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1760
1862
|
path: _path2 + ".included_types",
|
|
1761
1863
|
expected: "(Array<string> | undefined)",
|
|
1762
1864
|
value: input3.included_types
|
|
1763
|
-
})) && input3.included_types.map((elem,
|
|
1764
|
-
path: _path2 + ".included_types[" +
|
|
1865
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1866
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1765
1867
|
expected: "string",
|
|
1766
1868
|
value: elem
|
|
1767
1869
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1804,12 +1906,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1804
1906
|
path: _path2 + ".genes",
|
|
1805
1907
|
expected: "Array<GvGeneTerm>",
|
|
1806
1908
|
value: input3.genes
|
|
1807
|
-
})) && input3.genes.map((elem,
|
|
1808
|
-
path: _path2 + ".genes[" +
|
|
1909
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1809
1911
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1810
1912
|
value: elem
|
|
1811
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1812
|
-
path: _path2 + ".genes[" +
|
|
1913
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1914
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1813
1915
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1814
1916
|
value: elem
|
|
1815
1917
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1828,12 +1930,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1828
1930
|
path: _path2 + ".childTerms",
|
|
1829
1931
|
expected: "(Array<DtTerm> | undefined)",
|
|
1830
1932
|
value: input3.childTerms
|
|
1831
|
-
})) && input3.childTerms.map((elem,
|
|
1832
|
-
path: _path2 + ".childTerms[" +
|
|
1933
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1833
1935
|
expected: "DtTerm",
|
|
1834
1936
|
value: elem
|
|
1835
|
-
})) && $
|
|
1836
|
-
path: _path2 + ".childTerms[" +
|
|
1937
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1837
1939
|
expected: "DtTerm",
|
|
1838
1940
|
value: elem
|
|
1839
1941
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1841,7 +1943,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1841
1943
|
expected: "(Array<DtTerm> | undefined)",
|
|
1842
1944
|
value: input3.childTerms
|
|
1843
1945
|
})].every((flag) => flag);
|
|
1844
|
-
const $
|
|
1946
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1845
1947
|
path: _path2 + ".key",
|
|
1846
1948
|
expected: "string",
|
|
1847
1949
|
value: input3.key
|
|
@@ -1885,9 +1987,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1885
1987
|
})();
|
|
1886
1988
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1887
1989
|
if ("gene" === input3.kind)
|
|
1888
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
1889
|
-
if ("coord" === input3.kind)
|
|
1890
1990
|
return $vo34(input3, _path2, _exceptionable2);
|
|
1991
|
+
if ("coord" === input3.kind)
|
|
1992
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1891
1993
|
return $report(_exceptionable2, {
|
|
1892
1994
|
path: _path2,
|
|
1893
1995
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1897,24 +1999,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1897
1999
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1898
2000
|
if (void 0 !== input3.ranges)
|
|
1899
2001
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1900
|
-
return $vo3(input3, _path2, false) || $
|
|
2002
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1901
2003
|
})();
|
|
1902
2004
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1903
2005
|
if ("integer" === input3.type || "float" === input3.type)
|
|
1904
2006
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1905
|
-
if ("geneExpression" === input3.type)
|
|
1906
|
-
return $vo22(input3, _path2, _exceptionable2);
|
|
1907
|
-
if ("date" === input3.type)
|
|
1908
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
1909
2007
|
if ("metaboliteIntensity" === input3.type)
|
|
1910
|
-
return $
|
|
1911
|
-
if ("
|
|
2008
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2009
|
+
if ("date" === input3.type)
|
|
1912
2010
|
return $vo25(input3, _path2, _exceptionable2);
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
value: input3
|
|
1917
|
-
});
|
|
2011
|
+
if ("ssGSEA" === input3.type)
|
|
2012
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2013
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
1918
2014
|
})();
|
|
1919
2015
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1920
2016
|
if ("regular-bin" === input3.type)
|
|
@@ -1951,9 +2047,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1951
2047
|
})();
|
|
1952
2048
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1953
2049
|
if ("gene" === input3.kind)
|
|
1954
|
-
return $
|
|
2050
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1955
2051
|
if ("coord" === input3.kind)
|
|
1956
|
-
return $
|
|
2052
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1957
2053
|
return $report(_exceptionable2, {
|
|
1958
2054
|
path: _path2,
|
|
1959
2055
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|