@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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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);
|
|
@@ -514,11 +519,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
514
519
|
value: input3.isnot
|
|
515
520
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
516
521
|
path: _path2 + ".term",
|
|
517
|
-
expected:
|
|
522
|
+
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)',
|
|
518
523
|
value: input3.term
|
|
519
524
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $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
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
524
529
|
path: _path2 + ".ranges",
|
|
@@ -544,7 +549,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
544
549
|
path: _path2 + ".values[" + _index9 + "]",
|
|
545
550
|
expected: "__type.o3",
|
|
546
551
|
value: elem
|
|
547
|
-
})) && $
|
|
552
|
+
})) && $vo27(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
548
553
|
path: _path2 + ".values[" + _index9 + "]",
|
|
549
554
|
expected: "__type.o3",
|
|
550
555
|
value: elem
|
|
@@ -955,10 +960,6 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
955
960
|
path: _path2 + ".unit",
|
|
956
961
|
expected: "(string | undefined)",
|
|
957
962
|
value: input3.unit
|
|
958
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
959
|
-
path: _path2 + ".gene",
|
|
960
|
-
expected: "string",
|
|
961
|
-
value: input3.gene
|
|
962
963
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
963
964
|
path: _path2 + ".bins",
|
|
964
965
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -967,6 +968,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
967
968
|
path: _path2 + ".bins",
|
|
968
969
|
expected: "(PresetNumericBins | undefined)",
|
|
969
970
|
value: input3.bins
|
|
971
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
972
|
+
path: _path2 + ".kind",
|
|
973
|
+
expected: '("gene" | undefined)',
|
|
974
|
+
value: input3.kind
|
|
975
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
976
|
+
path: _path2 + ".gene",
|
|
977
|
+
expected: "string",
|
|
978
|
+
value: input3.gene
|
|
970
979
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
971
980
|
path: _path2 + ".chr",
|
|
972
981
|
expected: "(string | undefined)",
|
|
@@ -988,9 +997,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
988
997
|
path: _path2 + ".name",
|
|
989
998
|
expected: "string",
|
|
990
999
|
value: input3.name
|
|
991
|
-
}), "
|
|
1000
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
992
1001
|
path: _path2 + ".type",
|
|
993
|
-
expected: '"
|
|
1002
|
+
expected: '"geneExpression"',
|
|
994
1003
|
value: input3.type
|
|
995
1004
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
996
1005
|
path: _path2 + ".child_types",
|
|
@@ -1048,10 +1057,6 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1048
1057
|
path: _path2 + ".unit",
|
|
1049
1058
|
expected: "(string | undefined)",
|
|
1050
1059
|
value: input3.unit
|
|
1051
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1052
|
-
path: _path2 + ".metabolite",
|
|
1053
|
-
expected: "string",
|
|
1054
|
-
value: input3.metabolite
|
|
1055
1060
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1056
1061
|
path: _path2 + ".bins",
|
|
1057
1062
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1060,6 +1065,26 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1060
1065
|
path: _path2 + ".bins",
|
|
1061
1066
|
expected: "(PresetNumericBins | undefined)",
|
|
1062
1067
|
value: input3.bins
|
|
1068
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".kind",
|
|
1070
|
+
expected: '("coord" | undefined)',
|
|
1071
|
+
value: input3.kind
|
|
1072
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".gene",
|
|
1074
|
+
expected: "(string | undefined)",
|
|
1075
|
+
value: input3.gene
|
|
1076
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".chr",
|
|
1078
|
+
expected: "string",
|
|
1079
|
+
value: input3.chr
|
|
1080
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".start",
|
|
1082
|
+
expected: "number",
|
|
1083
|
+
value: input3.start
|
|
1084
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".stop",
|
|
1086
|
+
expected: "number",
|
|
1087
|
+
value: input3.stop
|
|
1063
1088
|
})].every((flag) => flag);
|
|
1064
1089
|
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1065
1090
|
path: _path2 + ".id",
|
|
@@ -1069,9 +1094,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1069
1094
|
path: _path2 + ".name",
|
|
1070
1095
|
expected: "string",
|
|
1071
1096
|
value: input3.name
|
|
1072
|
-
}), "
|
|
1097
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1073
1098
|
path: _path2 + ".type",
|
|
1074
|
-
expected: '"
|
|
1099
|
+
expected: '"metaboliteIntensity"',
|
|
1075
1100
|
value: input3.type
|
|
1076
1101
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1077
1102
|
path: _path2 + ".child_types",
|
|
@@ -1150,9 +1175,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1150
1175
|
path: _path2 + ".name",
|
|
1151
1176
|
expected: "string",
|
|
1152
1177
|
value: input3.name
|
|
1153
|
-
}), "
|
|
1178
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1154
1179
|
path: _path2 + ".type",
|
|
1155
|
-
expected: '"
|
|
1180
|
+
expected: '"date"',
|
|
1156
1181
|
value: input3.type
|
|
1157
1182
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1158
1183
|
path: _path2 + ".child_types",
|
|
@@ -1210,12 +1235,89 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1210
1235
|
path: _path2 + ".unit",
|
|
1211
1236
|
expected: "(string | undefined)",
|
|
1212
1237
|
value: input3.unit
|
|
1238
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".bins",
|
|
1240
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1241
|
+
value: input3.bins
|
|
1242
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".bins",
|
|
1244
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1245
|
+
value: input3.bins
|
|
1246
|
+
})].every((flag) => flag);
|
|
1247
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1248
|
+
path: _path2 + ".id",
|
|
1249
|
+
expected: "string",
|
|
1250
|
+
value: input3.id
|
|
1251
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1252
|
+
path: _path2 + ".name",
|
|
1253
|
+
expected: "string",
|
|
1254
|
+
value: input3.name
|
|
1255
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".type",
|
|
1257
|
+
expected: '"ssGSEA"',
|
|
1258
|
+
value: input3.type
|
|
1259
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1260
|
+
path: _path2 + ".child_types",
|
|
1261
|
+
expected: "(Array<string> | undefined)",
|
|
1262
|
+
value: input3.child_types
|
|
1263
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1264
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1265
|
+
expected: "string",
|
|
1266
|
+
value: elem
|
|
1267
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".child_types",
|
|
1269
|
+
expected: "(Array<string> | undefined)",
|
|
1270
|
+
value: input3.child_types
|
|
1271
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".hashtmldetail",
|
|
1273
|
+
expected: "(boolean | undefined)",
|
|
1274
|
+
value: input3.hashtmldetail
|
|
1275
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".included_types",
|
|
1277
|
+
expected: "(Array<string> | undefined)",
|
|
1278
|
+
value: input3.included_types
|
|
1279
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1281
|
+
expected: "string",
|
|
1282
|
+
value: elem
|
|
1283
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".included_types",
|
|
1285
|
+
expected: "(Array<string> | undefined)",
|
|
1286
|
+
value: input3.included_types
|
|
1287
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".isleaf",
|
|
1289
|
+
expected: "(boolean | undefined)",
|
|
1290
|
+
value: input3.isleaf
|
|
1291
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".values",
|
|
1293
|
+
expected: "(TermValues | undefined)",
|
|
1294
|
+
value: input3.values
|
|
1295
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".values",
|
|
1297
|
+
expected: "(TermValues | undefined)",
|
|
1298
|
+
value: input3.values
|
|
1299
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".skipValuesBuild",
|
|
1301
|
+
expected: "(boolean | undefined)",
|
|
1302
|
+
value: input3.skipValuesBuild
|
|
1303
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".continuousColorScale",
|
|
1305
|
+
expected: "(__type.o2 | undefined)",
|
|
1306
|
+
value: input3.continuousColorScale
|
|
1307
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".continuousColorScale",
|
|
1309
|
+
expected: "(__type.o2 | undefined)",
|
|
1310
|
+
value: input3.continuousColorScale
|
|
1311
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".unit",
|
|
1313
|
+
expected: "(string | undefined)",
|
|
1314
|
+
value: input3.unit
|
|
1213
1315
|
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1214
1316
|
path: _path2 + ".genes",
|
|
1215
1317
|
expected: "(Array<string> | undefined)",
|
|
1216
1318
|
value: input3.genes
|
|
1217
|
-
})) && input3.genes.map((elem,
|
|
1218
|
-
path: _path2 + ".genes[" +
|
|
1319
|
+
})) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1320
|
+
path: _path2 + ".genes[" + _index23 + "]",
|
|
1219
1321
|
expected: "string",
|
|
1220
1322
|
value: elem
|
|
1221
1323
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1231,7 +1333,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1231
1333
|
expected: "(PresetNumericBins | undefined)",
|
|
1232
1334
|
value: input3.bins
|
|
1233
1335
|
})].every((flag) => flag);
|
|
1234
|
-
const $
|
|
1336
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1235
1337
|
path: _path2 + ".key",
|
|
1236
1338
|
expected: "string",
|
|
1237
1339
|
value: input3.key
|
|
@@ -1248,7 +1350,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1248
1350
|
expected: "(string | undefined)",
|
|
1249
1351
|
value: input3.label
|
|
1250
1352
|
})].every((flag) => flag);
|
|
1251
|
-
const $
|
|
1353
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1252
1354
|
path: _path2 + ".join",
|
|
1253
1355
|
expected: "(string | undefined)",
|
|
1254
1356
|
value: input3.join
|
|
@@ -1260,7 +1362,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1260
1362
|
path: _path2 + ".term",
|
|
1261
1363
|
expected: "ConditionTerm",
|
|
1262
1364
|
value: input3.term
|
|
1263
|
-
})) && $
|
|
1365
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1264
1366
|
path: _path2 + ".term",
|
|
1265
1367
|
expected: "ConditionTerm",
|
|
1266
1368
|
value: input3.term
|
|
@@ -1280,12 +1382,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1280
1382
|
path: _path2 + ".grade_and_child",
|
|
1281
1383
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1282
1384
|
value: input3.grade_and_child
|
|
1283
|
-
})) && input3.grade_and_child.map((elem,
|
|
1284
|
-
path: _path2 + ".grade_and_child[" +
|
|
1385
|
+
})) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1386
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1285
1387
|
expected: "GradeAndChildEntry",
|
|
1286
1388
|
value: elem
|
|
1287
|
-
})) && $
|
|
1288
|
-
path: _path2 + ".grade_and_child[" +
|
|
1389
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1289
1391
|
expected: "GradeAndChildEntry",
|
|
1290
1392
|
value: elem
|
|
1291
1393
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1293,7 +1395,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1293
1395
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1294
1396
|
value: input3.grade_and_child
|
|
1295
1397
|
})].every((flag) => flag);
|
|
1296
|
-
const $
|
|
1398
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1297
1399
|
path: _path2 + ".id",
|
|
1298
1400
|
expected: "string",
|
|
1299
1401
|
value: input3.id
|
|
@@ -1309,8 +1411,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1309
1411
|
path: _path2 + ".child_types",
|
|
1310
1412
|
expected: "(Array<string> | undefined)",
|
|
1311
1413
|
value: input3.child_types
|
|
1312
|
-
})) && input3.child_types.map((elem,
|
|
1313
|
-
path: _path2 + ".child_types[" +
|
|
1414
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1415
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1314
1416
|
expected: "string",
|
|
1315
1417
|
value: elem
|
|
1316
1418
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1325,8 +1427,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1325
1427
|
path: _path2 + ".included_types",
|
|
1326
1428
|
expected: "(Array<string> | undefined)",
|
|
1327
1429
|
value: input3.included_types
|
|
1328
|
-
})) && input3.included_types.map((elem,
|
|
1329
|
-
path: _path2 + ".included_types[" +
|
|
1430
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1431
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1330
1432
|
expected: "string",
|
|
1331
1433
|
value: elem
|
|
1332
1434
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1350,7 +1452,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1350
1452
|
expected: "(boolean | undefined)",
|
|
1351
1453
|
value: input3.skipValuesBuild
|
|
1352
1454
|
})].every((flag) => flag);
|
|
1353
|
-
const $
|
|
1455
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1354
1456
|
path: _path2 + ".grade",
|
|
1355
1457
|
expected: "number",
|
|
1356
1458
|
value: input3.grade
|
|
@@ -1367,7 +1469,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1367
1469
|
expected: "string",
|
|
1368
1470
|
value: input3.child_label
|
|
1369
1471
|
})].every((flag) => flag);
|
|
1370
|
-
const $
|
|
1472
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1371
1473
|
path: _path2 + ".join",
|
|
1372
1474
|
expected: "(string | undefined)",
|
|
1373
1475
|
value: input3.join
|
|
@@ -1379,7 +1481,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1379
1481
|
path: _path2 + ".term",
|
|
1380
1482
|
expected: "DtTerm",
|
|
1381
1483
|
value: input3.term
|
|
1382
|
-
})) && $
|
|
1484
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1383
1485
|
path: _path2 + ".term",
|
|
1384
1486
|
expected: "DtTerm",
|
|
1385
1487
|
value: input3.term
|
|
@@ -1387,12 +1489,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1387
1489
|
path: _path2 + ".values",
|
|
1388
1490
|
expected: "Array<__type>.o2",
|
|
1389
1491
|
value: input3.values
|
|
1390
|
-
})) && input3.values.map((elem,
|
|
1391
|
-
path: _path2 + ".values[" +
|
|
1492
|
+
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1392
1494
|
expected: "__type.o4",
|
|
1393
1495
|
value: elem
|
|
1394
|
-
})) && $
|
|
1395
|
-
path: _path2 + ".values[" +
|
|
1496
|
+
})) && $vo37(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1396
1498
|
expected: "__type.o4",
|
|
1397
1499
|
value: elem
|
|
1398
1500
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1408,7 +1510,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1408
1510
|
expected: "(boolean | undefined)",
|
|
1409
1511
|
value: input3.excludeGeneName
|
|
1410
1512
|
})].every((flag) => flag);
|
|
1411
|
-
const $
|
|
1513
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1412
1514
|
path: _path2 + ".id",
|
|
1413
1515
|
expected: "string",
|
|
1414
1516
|
value: input3.id
|
|
@@ -1457,7 +1559,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1457
1559
|
expected: "TermValues",
|
|
1458
1560
|
value: input3.values
|
|
1459
1561
|
})].every((flag) => flag);
|
|
1460
|
-
const $
|
|
1562
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1461
1563
|
path: _path2 + ".id",
|
|
1462
1564
|
expected: "string",
|
|
1463
1565
|
value: input3.id
|
|
@@ -1473,8 +1575,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1473
1575
|
path: _path2 + ".child_types",
|
|
1474
1576
|
expected: "(Array<string> | undefined)",
|
|
1475
1577
|
value: input3.child_types
|
|
1476
|
-
})) && input3.child_types.map((elem,
|
|
1477
|
-
path: _path2 + ".child_types[" +
|
|
1578
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1579
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1478
1580
|
expected: "string",
|
|
1479
1581
|
value: elem
|
|
1480
1582
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1489,8 +1591,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1489
1591
|
path: _path2 + ".included_types",
|
|
1490
1592
|
expected: "(Array<string> | undefined)",
|
|
1491
1593
|
value: input3.included_types
|
|
1492
|
-
})) && input3.included_types.map((elem,
|
|
1493
|
-
path: _path2 + ".included_types[" +
|
|
1594
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1595
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1494
1596
|
expected: "string",
|
|
1495
1597
|
value: elem
|
|
1496
1598
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1537,12 +1639,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1537
1639
|
path: _path2 + ".genes",
|
|
1538
1640
|
expected: "Array<GvGeneTerm>",
|
|
1539
1641
|
value: input3.genes
|
|
1540
|
-
})) && input3.genes.map((elem,
|
|
1541
|
-
path: _path2 + ".genes[" +
|
|
1642
|
+
})) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1643
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1542
1644
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1543
1645
|
value: elem
|
|
1544
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1545
|
-
path: _path2 + ".genes[" +
|
|
1646
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1546
1648
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1547
1649
|
value: elem
|
|
1548
1650
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1561,12 +1663,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1561
1663
|
path: _path2 + ".childTerms",
|
|
1562
1664
|
expected: "(Array<DtTerm> | undefined)",
|
|
1563
1665
|
value: input3.childTerms
|
|
1564
|
-
})) && input3.childTerms.map((elem,
|
|
1565
|
-
path: _path2 + ".childTerms[" +
|
|
1666
|
+
})) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1667
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1566
1668
|
expected: "DtTerm",
|
|
1567
1669
|
value: elem
|
|
1568
|
-
})) && $
|
|
1569
|
-
path: _path2 + ".childTerms[" +
|
|
1670
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1570
1672
|
expected: "DtTerm",
|
|
1571
1673
|
value: elem
|
|
1572
1674
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1574,7 +1676,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1574
1676
|
expected: "(Array<DtTerm> | undefined)",
|
|
1575
1677
|
value: input3.childTerms
|
|
1576
1678
|
})].every((flag) => flag);
|
|
1577
|
-
const $
|
|
1679
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1578
1680
|
path: _path2 + ".id",
|
|
1579
1681
|
expected: "string",
|
|
1580
1682
|
value: input3.id
|
|
@@ -1590,8 +1692,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1590
1692
|
path: _path2 + ".child_types",
|
|
1591
1693
|
expected: "(Array<string> | undefined)",
|
|
1592
1694
|
value: input3.child_types
|
|
1593
|
-
})) && input3.child_types.map((elem,
|
|
1594
|
-
path: _path2 + ".child_types[" +
|
|
1695
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1696
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1595
1697
|
expected: "string",
|
|
1596
1698
|
value: elem
|
|
1597
1699
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1606,8 +1708,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1606
1708
|
path: _path2 + ".included_types",
|
|
1607
1709
|
expected: "(Array<string> | undefined)",
|
|
1608
1710
|
value: input3.included_types
|
|
1609
|
-
})) && input3.included_types.map((elem,
|
|
1610
|
-
path: _path2 + ".included_types[" +
|
|
1711
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1611
1713
|
expected: "string",
|
|
1612
1714
|
value: elem
|
|
1613
1715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1651,7 +1753,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1651
1753
|
expected: "(number | undefined)",
|
|
1652
1754
|
value: input3.stop
|
|
1653
1755
|
})].every((flag) => flag);
|
|
1654
|
-
const $
|
|
1756
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1655
1757
|
path: _path2 + ".id",
|
|
1656
1758
|
expected: "string",
|
|
1657
1759
|
value: input3.id
|
|
@@ -1667,8 +1769,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1667
1769
|
path: _path2 + ".child_types",
|
|
1668
1770
|
expected: "(Array<string> | undefined)",
|
|
1669
1771
|
value: input3.child_types
|
|
1670
|
-
})) && input3.child_types.map((elem,
|
|
1671
|
-
path: _path2 + ".child_types[" +
|
|
1772
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1773
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1672
1774
|
expected: "string",
|
|
1673
1775
|
value: elem
|
|
1674
1776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1683,8 +1785,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1683
1785
|
path: _path2 + ".included_types",
|
|
1684
1786
|
expected: "(Array<string> | undefined)",
|
|
1685
1787
|
value: input3.included_types
|
|
1686
|
-
})) && input3.included_types.map((elem,
|
|
1687
|
-
path: _path2 + ".included_types[" +
|
|
1788
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1789
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1688
1790
|
expected: "string",
|
|
1689
1791
|
value: elem
|
|
1690
1792
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1724,7 +1826,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1724
1826
|
expected: "number",
|
|
1725
1827
|
value: input3.stop
|
|
1726
1828
|
})].every((flag) => flag);
|
|
1727
|
-
const $
|
|
1829
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1728
1830
|
path: _path2 + ".id",
|
|
1729
1831
|
expected: "string",
|
|
1730
1832
|
value: input3.id
|
|
@@ -1740,8 +1842,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1740
1842
|
path: _path2 + ".child_types",
|
|
1741
1843
|
expected: "(Array<string> | undefined)",
|
|
1742
1844
|
value: input3.child_types
|
|
1743
|
-
})) && input3.child_types.map((elem,
|
|
1744
|
-
path: _path2 + ".child_types[" +
|
|
1845
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1846
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1745
1847
|
expected: "string",
|
|
1746
1848
|
value: elem
|
|
1747
1849
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1756,8 +1858,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1756
1858
|
path: _path2 + ".included_types",
|
|
1757
1859
|
expected: "(Array<string> | undefined)",
|
|
1758
1860
|
value: input3.included_types
|
|
1759
|
-
})) && input3.included_types.map((elem,
|
|
1760
|
-
path: _path2 + ".included_types[" +
|
|
1861
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1862
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1761
1863
|
expected: "string",
|
|
1762
1864
|
value: elem
|
|
1763
1865
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1800,12 +1902,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1800
1902
|
path: _path2 + ".genes",
|
|
1801
1903
|
expected: "Array<GvGeneTerm>",
|
|
1802
1904
|
value: input3.genes
|
|
1803
|
-
})) && input3.genes.map((elem,
|
|
1804
|
-
path: _path2 + ".genes[" +
|
|
1905
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1906
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1805
1907
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1806
1908
|
value: elem
|
|
1807
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1808
|
-
path: _path2 + ".genes[" +
|
|
1909
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1809
1911
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1810
1912
|
value: elem
|
|
1811
1913
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1824,12 +1926,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1824
1926
|
path: _path2 + ".childTerms",
|
|
1825
1927
|
expected: "(Array<DtTerm> | undefined)",
|
|
1826
1928
|
value: input3.childTerms
|
|
1827
|
-
})) && input3.childTerms.map((elem,
|
|
1828
|
-
path: _path2 + ".childTerms[" +
|
|
1929
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1829
1931
|
expected: "DtTerm",
|
|
1830
1932
|
value: elem
|
|
1831
|
-
})) && $
|
|
1832
|
-
path: _path2 + ".childTerms[" +
|
|
1933
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1833
1935
|
expected: "DtTerm",
|
|
1834
1936
|
value: elem
|
|
1835
1937
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1837,7 +1939,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1837
1939
|
expected: "(Array<DtTerm> | undefined)",
|
|
1838
1940
|
value: input3.childTerms
|
|
1839
1941
|
})].every((flag) => flag);
|
|
1840
|
-
const $
|
|
1942
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1841
1943
|
path: _path2 + ".key",
|
|
1842
1944
|
expected: "string",
|
|
1843
1945
|
value: input3.key
|
|
@@ -1881,9 +1983,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1881
1983
|
})();
|
|
1882
1984
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1883
1985
|
if ("gene" === input3.kind)
|
|
1884
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
1885
|
-
if ("coord" === input3.kind)
|
|
1886
1986
|
return $vo34(input3, _path2, _exceptionable2);
|
|
1987
|
+
if ("coord" === input3.kind)
|
|
1988
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1887
1989
|
return $report(_exceptionable2, {
|
|
1888
1990
|
path: _path2,
|
|
1889
1991
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1893,24 +1995,18 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1893
1995
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1894
1996
|
if (void 0 !== input3.ranges)
|
|
1895
1997
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1896
|
-
return $vo3(input3, _path2, false) || $
|
|
1998
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1897
1999
|
})();
|
|
1898
2000
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1899
2001
|
if ("integer" === input3.type || "float" === input3.type)
|
|
1900
2002
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1901
|
-
if ("geneExpression" === input3.type)
|
|
1902
|
-
return $vo22(input3, _path2, _exceptionable2);
|
|
1903
|
-
if ("date" === input3.type)
|
|
1904
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
1905
2003
|
if ("metaboliteIntensity" === input3.type)
|
|
1906
|
-
return $
|
|
1907
|
-
if ("
|
|
2004
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2005
|
+
if ("date" === input3.type)
|
|
1908
2006
|
return $vo25(input3, _path2, _exceptionable2);
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
value: input3
|
|
1913
|
-
});
|
|
2007
|
+
if ("ssGSEA" === input3.type)
|
|
2008
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2009
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
1914
2010
|
})();
|
|
1915
2011
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1916
2012
|
if ("regular-bin" === input3.type)
|
|
@@ -1947,9 +2043,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1947
2043
|
})();
|
|
1948
2044
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1949
2045
|
if ("gene" === input3.kind)
|
|
1950
|
-
return $
|
|
2046
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1951
2047
|
if ("coord" === input3.kind)
|
|
1952
|
-
return $
|
|
2048
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1953
2049
|
return $report(_exceptionable2, {
|
|
1954
2050
|
path: _path2,
|
|
1955
2051
|
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; })',
|
|
@@ -1979,7 +2075,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1979
2075
|
const __is = (input2) => {
|
|
1980
2076
|
const $join = import_typia.createValidate.join;
|
|
1981
2077
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1982
|
-
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
2078
|
+
const $io1 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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);
|
|
1983
2079
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1984
2080
|
const value = input3[key];
|
|
1985
2081
|
if (void 0 === value)
|
|
@@ -2017,9 +2113,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2017
2113
|
const $io20 = (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);
|
|
2018
2114
|
const $io21 = (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);
|
|
2019
2115
|
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
2020
|
-
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
2116
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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;
|
|
2021
2117
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
|
|
2022
|
-
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
2118
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2023
2119
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
|
|
2024
2120
|
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
2025
2121
|
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)));
|
|
@@ -2032,12 +2128,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2032
2128
|
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) && $io2(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;
|
|
2033
2129
|
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) && $io2(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 && $iu4(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
2034
2130
|
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
2035
|
-
const $io38 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
2036
|
-
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
2131
|
+
const $io38 = (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) && $io2(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 && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
2132
|
+
const $io39 = (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) && $io2(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 && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
2037
2133
|
const $io40 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
|
|
2038
2134
|
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === 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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
2039
2135
|
const $io42 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2040
|
-
const $io43 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
2136
|
+
const $io43 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2041
2137
|
const $io44 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
|
|
2042
2138
|
const $io45 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2043
2139
|
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
|
|
@@ -2058,25 +2154,27 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2058
2154
|
const $io52 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && true;
|
|
2059
2155
|
const $io53 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
2060
2156
|
const $iu0 = (input3) => (() => {
|
|
2061
|
-
if ("gene" === input3.kind)
|
|
2062
|
-
return $io1(input3);
|
|
2063
|
-
if ("coord" === input3.kind)
|
|
2064
|
-
return $io38(input3);
|
|
2065
|
-
if ("geneExpression" === input3.type)
|
|
2066
|
-
return $io39(input3);
|
|
2067
2157
|
if ("metaboliteIntensity" === input3.type)
|
|
2068
2158
|
return $io40(input3);
|
|
2069
2159
|
if ("categorical" === input3.type)
|
|
2070
2160
|
return $io41(input3);
|
|
2071
|
-
if ("integer" === input3.type || "float" === input3.type)
|
|
2072
|
-
return $io42(input3);
|
|
2073
2161
|
if ("date" === input3.type)
|
|
2074
2162
|
return $io43(input3);
|
|
2163
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
2164
|
+
return $io42(input3);
|
|
2075
2165
|
if ("ssGSEA" === input3.type)
|
|
2076
2166
|
return $io44(input3);
|
|
2077
2167
|
if ("condition" === input3.type)
|
|
2078
2168
|
return $io45(input3);
|
|
2079
2169
|
return (() => {
|
|
2170
|
+
if ($io23(input3))
|
|
2171
|
+
return $io23(input3);
|
|
2172
|
+
if ($io1(input3))
|
|
2173
|
+
return $io1(input3);
|
|
2174
|
+
if ($io38(input3))
|
|
2175
|
+
return $io38(input3);
|
|
2176
|
+
if ($io39(input3))
|
|
2177
|
+
return $io39(input3);
|
|
2080
2178
|
if ($io46(input3))
|
|
2081
2179
|
return $io46(input3);
|
|
2082
2180
|
if ($io50(input3))
|
|
@@ -2128,15 +2226,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2128
2226
|
const $iu6 = (input3) => (() => {
|
|
2129
2227
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2130
2228
|
return $io14(input3);
|
|
2131
|
-
if ("geneExpression" === input3.type)
|
|
2132
|
-
return $io23(input3);
|
|
2133
|
-
if ("date" === input3.type)
|
|
2134
|
-
return $io25(input3);
|
|
2135
2229
|
if ("metaboliteIntensity" === input3.type)
|
|
2136
2230
|
return $io24(input3);
|
|
2231
|
+
if ("date" === input3.type)
|
|
2232
|
+
return $io25(input3);
|
|
2137
2233
|
if ("ssGSEA" === input3.type)
|
|
2138
2234
|
return $io26(input3);
|
|
2139
|
-
return
|
|
2235
|
+
return (() => {
|
|
2236
|
+
if ($io23(input3))
|
|
2237
|
+
return $io23(input3);
|
|
2238
|
+
if ($io1(input3))
|
|
2239
|
+
return $io1(input3);
|
|
2240
|
+
return false;
|
|
2241
|
+
})();
|
|
2140
2242
|
})();
|
|
2141
2243
|
const $iu7 = (input3) => (() => {
|
|
2142
2244
|
if ("regular-bin" === input3.type)
|
|
@@ -2178,11 +2280,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2178
2280
|
value: input3.terms
|
|
2179
2281
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2180
2282
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
2181
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & {
|
|
2283
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2182
2284
|
value: elem
|
|
2183
2285
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2184
2286
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
2185
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & {
|
|
2287
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2186
2288
|
value: elem
|
|
2187
2289
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2188
2290
|
path: _path2 + ".terms",
|
|
@@ -2197,9 +2299,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2197
2299
|
path: _path2 + ".name",
|
|
2198
2300
|
expected: "string",
|
|
2199
2301
|
value: input3.name
|
|
2200
|
-
}), "
|
|
2302
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
2201
2303
|
path: _path2 + ".type",
|
|
2202
|
-
expected: '"
|
|
2304
|
+
expected: '"geneExpression"',
|
|
2203
2305
|
value: input3.type
|
|
2204
2306
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2205
2307
|
path: _path2 + ".child_types",
|
|
@@ -2245,9 +2347,29 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2245
2347
|
path: _path2 + ".skipValuesBuild",
|
|
2246
2348
|
expected: "(boolean | undefined)",
|
|
2247
2349
|
value: input3.skipValuesBuild
|
|
2248
|
-
}), "
|
|
2350
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2351
|
+
path: _path2 + ".continuousColorScale",
|
|
2352
|
+
expected: "(__type.o2 | undefined)",
|
|
2353
|
+
value: input3.continuousColorScale
|
|
2354
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2355
|
+
path: _path2 + ".continuousColorScale",
|
|
2356
|
+
expected: "(__type.o2 | undefined)",
|
|
2357
|
+
value: input3.continuousColorScale
|
|
2358
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2359
|
+
path: _path2 + ".unit",
|
|
2360
|
+
expected: "(string | undefined)",
|
|
2361
|
+
value: input3.unit
|
|
2362
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".bins",
|
|
2364
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2365
|
+
value: input3.bins
|
|
2366
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2367
|
+
path: _path2 + ".bins",
|
|
2368
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2369
|
+
value: input3.bins
|
|
2370
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
2249
2371
|
path: _path2 + ".kind",
|
|
2250
|
-
expected: '"gene"',
|
|
2372
|
+
expected: '("gene" | undefined)',
|
|
2251
2373
|
value: input3.kind
|
|
2252
2374
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2253
2375
|
path: _path2 + ".gene",
|
|
@@ -2265,46 +2387,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2265
2387
|
path: _path2 + ".stop",
|
|
2266
2388
|
expected: "(number | undefined)",
|
|
2267
2389
|
value: input3.stop
|
|
2268
|
-
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2269
|
-
path: _path2 + ".genes",
|
|
2270
|
-
expected: "Array<GvGeneTerm>",
|
|
2271
|
-
value: input3.genes
|
|
2272
|
-
})) && input3.genes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2273
|
-
path: _path2 + ".genes[" + _index4 + "]",
|
|
2274
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2275
|
-
value: elem
|
|
2276
|
-
})) && $vu4(elem, _path2 + ".genes[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2277
|
-
path: _path2 + ".genes[" + _index4 + "]",
|
|
2278
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2279
|
-
value: elem
|
|
2280
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2281
|
-
path: _path2 + ".genes",
|
|
2282
|
-
expected: "Array<GvGeneTerm>",
|
|
2283
|
-
value: input3.genes
|
|
2284
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2285
|
-
path: _path2 + ".groupsetting",
|
|
2286
|
-
expected: "TermGroupSetting",
|
|
2287
|
-
value: input3.groupsetting
|
|
2288
|
-
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2289
|
-
path: _path2 + ".groupsetting",
|
|
2290
|
-
expected: "TermGroupSetting",
|
|
2291
|
-
value: input3.groupsetting
|
|
2292
|
-
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2293
|
-
path: _path2 + ".childTerms",
|
|
2294
|
-
expected: "Array<DtTerm>",
|
|
2295
|
-
value: input3.childTerms
|
|
2296
|
-
})) && input3.childTerms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2297
|
-
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
2298
|
-
expected: "DtTerm",
|
|
2299
|
-
value: elem
|
|
2300
|
-
})) && $vo32(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2301
|
-
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
2302
|
-
expected: "DtTerm",
|
|
2303
|
-
value: elem
|
|
2304
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2305
|
-
path: _path2 + ".childTerms",
|
|
2306
|
-
expected: "Array<DtTerm>",
|
|
2307
|
-
value: input3.childTerms
|
|
2308
2390
|
})].every((flag) => flag);
|
|
2309
2391
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2310
2392
|
const value = input3[key];
|
|
@@ -2385,12 +2467,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2385
2467
|
path: _path2 + ".lst",
|
|
2386
2468
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
2387
2469
|
value: input3.lst
|
|
2388
|
-
})) && input3.lst.map((elem,
|
|
2389
|
-
path: _path2 + ".lst[" +
|
|
2470
|
+
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2471
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
2390
2472
|
expected: "(Filter | __type)",
|
|
2391
2473
|
value: elem
|
|
2392
|
-
})) && $vu1(elem, _path2 + ".lst[" +
|
|
2393
|
-
path: _path2 + ".lst[" +
|
|
2474
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2475
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
2394
2476
|
expected: "(Filter | __type)",
|
|
2395
2477
|
value: elem
|
|
2396
2478
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2435,12 +2517,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2435
2517
|
path: _path2 + ".values",
|
|
2436
2518
|
expected: "Array<BaseValue>",
|
|
2437
2519
|
value: input3.values
|
|
2438
|
-
})) && input3.values.map((elem,
|
|
2439
|
-
path: _path2 + ".values[" +
|
|
2520
|
+
})) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2521
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
2440
2522
|
expected: "BaseValue",
|
|
2441
2523
|
value: elem
|
|
2442
|
-
})) && $vo3(elem, _path2 + ".values[" +
|
|
2443
|
-
path: _path2 + ".values[" +
|
|
2524
|
+
})) && $vo3(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2525
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
2444
2526
|
expected: "BaseValue",
|
|
2445
2527
|
value: elem
|
|
2446
2528
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2464,8 +2546,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2464
2546
|
path: _path2 + ".child_types",
|
|
2465
2547
|
expected: "(Array<string> | undefined)",
|
|
2466
2548
|
value: input3.child_types
|
|
2467
|
-
})) && input3.child_types.map((elem,
|
|
2468
|
-
path: _path2 + ".child_types[" +
|
|
2549
|
+
})) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2550
|
+
path: _path2 + ".child_types[" + _index6 + "]",
|
|
2469
2551
|
expected: "string",
|
|
2470
2552
|
value: elem
|
|
2471
2553
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2480,8 +2562,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2480
2562
|
path: _path2 + ".included_types",
|
|
2481
2563
|
expected: "(Array<string> | undefined)",
|
|
2482
2564
|
value: input3.included_types
|
|
2483
|
-
})) && input3.included_types.map((elem,
|
|
2484
|
-
path: _path2 + ".included_types[" +
|
|
2565
|
+
})) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2566
|
+
path: _path2 + ".included_types[" + _index7 + "]",
|
|
2485
2567
|
expected: "string",
|
|
2486
2568
|
value: elem
|
|
2487
2569
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2521,12 +2603,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2521
2603
|
path: _path2 + ".lst",
|
|
2522
2604
|
expected: "(Array<Groupset> | undefined)",
|
|
2523
2605
|
value: input3.lst
|
|
2524
|
-
})) && input3.lst.map((elem,
|
|
2525
|
-
path: _path2 + ".lst[" +
|
|
2606
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2607
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
2526
2608
|
expected: "Groupset",
|
|
2527
2609
|
value: elem
|
|
2528
|
-
})) && $vo9(elem, _path2 + ".lst[" +
|
|
2529
|
-
path: _path2 + ".lst[" +
|
|
2610
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
2530
2612
|
expected: "Groupset",
|
|
2531
2613
|
value: elem
|
|
2532
2614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2554,12 +2636,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2554
2636
|
path: _path2 + ".groups",
|
|
2555
2637
|
expected: "Array<GroupEntry>",
|
|
2556
2638
|
value: input3.groups
|
|
2557
|
-
})) && input3.groups.map((elem,
|
|
2558
|
-
path: _path2 + ".groups[" +
|
|
2639
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2640
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
2559
2641
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2560
2642
|
value: elem
|
|
2561
|
-
})) && $vu2(elem, _path2 + ".groups[" +
|
|
2562
|
-
path: _path2 + ".groups[" +
|
|
2643
|
+
})) && $vu2(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2644
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
2563
2645
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2564
2646
|
value: elem
|
|
2565
2647
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2579,12 +2661,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2579
2661
|
path: _path2 + ".values",
|
|
2580
2662
|
expected: "Array<__type>",
|
|
2581
2663
|
value: input3.values
|
|
2582
|
-
})) && input3.values.map((elem,
|
|
2583
|
-
path: _path2 + ".values[" +
|
|
2664
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2665
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
2584
2666
|
expected: "__type.o1",
|
|
2585
2667
|
value: elem
|
|
2586
|
-
})) && $vo11(elem, _path2 + ".values[" +
|
|
2587
|
-
path: _path2 + ".values[" +
|
|
2668
|
+
})) && $vo11(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2669
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
2588
2670
|
expected: "__type.o1",
|
|
2589
2671
|
value: elem
|
|
2590
2672
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2636,22 +2718,22 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2636
2718
|
value: input3.isnot
|
|
2637
2719
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2638
2720
|
path: _path2 + ".term",
|
|
2639
|
-
expected:
|
|
2721
|
+
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)',
|
|
2640
2722
|
value: input3.term
|
|
2641
2723
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2642
2724
|
path: _path2 + ".term",
|
|
2643
|
-
expected:
|
|
2725
|
+
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)',
|
|
2644
2726
|
value: input3.term
|
|
2645
2727
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
2646
2728
|
path: _path2 + ".ranges",
|
|
2647
2729
|
expected: "Array<NumericBin>",
|
|
2648
2730
|
value: input3.ranges
|
|
2649
|
-
})) && input3.ranges.map((elem,
|
|
2650
|
-
path: _path2 + ".ranges[" +
|
|
2731
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2732
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
2651
2733
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2652
2734
|
value: elem
|
|
2653
|
-
})) && $vu3(elem, _path2 + ".ranges[" +
|
|
2654
|
-
path: _path2 + ".ranges[" +
|
|
2735
|
+
})) && $vu3(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2736
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
2655
2737
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2656
2738
|
value: elem
|
|
2657
2739
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2662,12 +2744,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2662
2744
|
path: _path2 + ".values",
|
|
2663
2745
|
expected: "Array<__type>.o1",
|
|
2664
2746
|
value: input3.values
|
|
2665
|
-
})) && input3.values.map((elem,
|
|
2666
|
-
path: _path2 + ".values[" +
|
|
2747
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2748
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
2667
2749
|
expected: "__type.o3",
|
|
2668
2750
|
value: elem
|
|
2669
|
-
})) && $vo27(elem, _path2 + ".values[" +
|
|
2670
|
-
path: _path2 + ".values[" +
|
|
2751
|
+
})) && $vo27(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2752
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
2671
2753
|
expected: "__type.o3",
|
|
2672
2754
|
value: elem
|
|
2673
2755
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2691,8 +2773,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2691
2773
|
path: _path2 + ".child_types",
|
|
2692
2774
|
expected: "(Array<string> | undefined)",
|
|
2693
2775
|
value: input3.child_types
|
|
2694
|
-
})) && input3.child_types.map((elem,
|
|
2695
|
-
path: _path2 + ".child_types[" +
|
|
2776
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2777
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
2696
2778
|
expected: "string",
|
|
2697
2779
|
value: elem
|
|
2698
2780
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2707,8 +2789,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2707
2789
|
path: _path2 + ".included_types",
|
|
2708
2790
|
expected: "(Array<string> | undefined)",
|
|
2709
2791
|
value: input3.included_types
|
|
2710
|
-
})) && input3.included_types.map((elem,
|
|
2711
|
-
path: _path2 + ".included_types[" +
|
|
2792
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2793
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
2712
2794
|
expected: "string",
|
|
2713
2795
|
value: elem
|
|
2714
2796
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2988,12 +3070,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2988
3070
|
path: _path2 + ".lst",
|
|
2989
3071
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2990
3072
|
value: input3.lst.slice(1)
|
|
2991
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2992
|
-
path: _path2 + ".lst[" + (1 +
|
|
3073
|
+
})) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3074
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
2993
3075
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2994
3076
|
value: elem
|
|
2995
|
-
})) && $vu3(elem, _path2 + ".lst[" + (1 +
|
|
2996
|
-
path: _path2 + ".lst[" + (1 +
|
|
3077
|
+
})) && $vu3(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3078
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
2997
3079
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2998
3080
|
value: elem
|
|
2999
3081
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3025,8 +3107,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3025
3107
|
path: _path2 + ".child_types",
|
|
3026
3108
|
expected: "(Array<string> | undefined)",
|
|
3027
3109
|
value: input3.child_types
|
|
3028
|
-
})) && input3.child_types.map((elem,
|
|
3029
|
-
path: _path2 + ".child_types[" +
|
|
3110
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3111
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
3030
3112
|
expected: "string",
|
|
3031
3113
|
value: elem
|
|
3032
3114
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3041,8 +3123,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3041
3123
|
path: _path2 + ".included_types",
|
|
3042
3124
|
expected: "(Array<string> | undefined)",
|
|
3043
3125
|
value: input3.included_types
|
|
3044
|
-
})) && input3.included_types.map((elem,
|
|
3045
|
-
path: _path2 + ".included_types[" +
|
|
3126
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3127
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
3046
3128
|
expected: "string",
|
|
3047
3129
|
value: elem
|
|
3048
3130
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3077,10 +3159,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3077
3159
|
path: _path2 + ".unit",
|
|
3078
3160
|
expected: "(string | undefined)",
|
|
3079
3161
|
value: input3.unit
|
|
3080
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3081
|
-
path: _path2 + ".gene",
|
|
3082
|
-
expected: "string",
|
|
3083
|
-
value: input3.gene
|
|
3084
3162
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3085
3163
|
path: _path2 + ".bins",
|
|
3086
3164
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3089,17 +3167,25 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3089
3167
|
path: _path2 + ".bins",
|
|
3090
3168
|
expected: "(PresetNumericBins | undefined)",
|
|
3091
3169
|
value: input3.bins
|
|
3092
|
-
}), void 0 === input3.
|
|
3093
|
-
path: _path2 + ".
|
|
3170
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
3171
|
+
path: _path2 + ".kind",
|
|
3172
|
+
expected: '("coord" | undefined)',
|
|
3173
|
+
value: input3.kind
|
|
3174
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3175
|
+
path: _path2 + ".gene",
|
|
3094
3176
|
expected: "(string | undefined)",
|
|
3177
|
+
value: input3.gene
|
|
3178
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3179
|
+
path: _path2 + ".chr",
|
|
3180
|
+
expected: "string",
|
|
3095
3181
|
value: input3.chr
|
|
3096
|
-
}),
|
|
3182
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3097
3183
|
path: _path2 + ".start",
|
|
3098
|
-
expected: "
|
|
3184
|
+
expected: "number",
|
|
3099
3185
|
value: input3.start
|
|
3100
|
-
}),
|
|
3186
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3101
3187
|
path: _path2 + ".stop",
|
|
3102
|
-
expected: "
|
|
3188
|
+
expected: "number",
|
|
3103
3189
|
value: input3.stop
|
|
3104
3190
|
})].every((flag) => flag);
|
|
3105
3191
|
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -3118,8 +3204,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3118
3204
|
path: _path2 + ".child_types",
|
|
3119
3205
|
expected: "(Array<string> | undefined)",
|
|
3120
3206
|
value: input3.child_types
|
|
3121
|
-
})) && input3.child_types.map((elem,
|
|
3122
|
-
path: _path2 + ".child_types[" +
|
|
3207
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3208
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
3123
3209
|
expected: "string",
|
|
3124
3210
|
value: elem
|
|
3125
3211
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3134,8 +3220,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3134
3220
|
path: _path2 + ".included_types",
|
|
3135
3221
|
expected: "(Array<string> | undefined)",
|
|
3136
3222
|
value: input3.included_types
|
|
3137
|
-
})) && input3.included_types.map((elem,
|
|
3138
|
-
path: _path2 + ".included_types[" +
|
|
3223
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3224
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
3139
3225
|
expected: "string",
|
|
3140
3226
|
value: elem
|
|
3141
3227
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3199,8 +3285,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3199
3285
|
path: _path2 + ".child_types",
|
|
3200
3286
|
expected: "(Array<string> | undefined)",
|
|
3201
3287
|
value: input3.child_types
|
|
3202
|
-
})) && input3.child_types.map((elem,
|
|
3203
|
-
path: _path2 + ".child_types[" +
|
|
3288
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3289
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
3204
3290
|
expected: "string",
|
|
3205
3291
|
value: elem
|
|
3206
3292
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3215,8 +3301,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3215
3301
|
path: _path2 + ".included_types",
|
|
3216
3302
|
expected: "(Array<string> | undefined)",
|
|
3217
3303
|
value: input3.included_types
|
|
3218
|
-
})) && input3.included_types.map((elem,
|
|
3219
|
-
path: _path2 + ".included_types[" +
|
|
3304
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3305
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
3220
3306
|
expected: "string",
|
|
3221
3307
|
value: elem
|
|
3222
3308
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3251,10 +3337,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3251
3337
|
path: _path2 + ".unit",
|
|
3252
3338
|
expected: "(string | undefined)",
|
|
3253
3339
|
value: input3.unit
|
|
3254
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
3255
|
-
path: _path2 + ".metabolite",
|
|
3256
|
-
expected: "string",
|
|
3257
|
-
value: input3.metabolite
|
|
3258
3340
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3259
3341
|
path: _path2 + ".bins",
|
|
3260
3342
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3280,8 +3362,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3280
3362
|
path: _path2 + ".child_types",
|
|
3281
3363
|
expected: "(Array<string> | undefined)",
|
|
3282
3364
|
value: input3.child_types
|
|
3283
|
-
})) && input3.child_types.map((elem,
|
|
3284
|
-
path: _path2 + ".child_types[" +
|
|
3365
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3366
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
3285
3367
|
expected: "string",
|
|
3286
3368
|
value: elem
|
|
3287
3369
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3296,8 +3378,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3296
3378
|
path: _path2 + ".included_types",
|
|
3297
3379
|
expected: "(Array<string> | undefined)",
|
|
3298
3380
|
value: input3.included_types
|
|
3299
|
-
})) && input3.included_types.map((elem,
|
|
3300
|
-
path: _path2 + ".included_types[" +
|
|
3381
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3382
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
3301
3383
|
expected: "string",
|
|
3302
3384
|
value: elem
|
|
3303
3385
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3336,8 +3418,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3336
3418
|
path: _path2 + ".genes",
|
|
3337
3419
|
expected: "(Array<string> | undefined)",
|
|
3338
3420
|
value: input3.genes
|
|
3339
|
-
})) && input3.genes.map((elem,
|
|
3340
|
-
path: _path2 + ".genes[" +
|
|
3421
|
+
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3422
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
3341
3423
|
expected: "string",
|
|
3342
3424
|
value: elem
|
|
3343
3425
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3402,12 +3484,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3402
3484
|
path: _path2 + ".grade_and_child",
|
|
3403
3485
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3404
3486
|
value: input3.grade_and_child
|
|
3405
|
-
})) && input3.grade_and_child.map((elem,
|
|
3406
|
-
path: _path2 + ".grade_and_child[" +
|
|
3487
|
+
})) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3488
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
3407
3489
|
expected: "GradeAndChildEntry",
|
|
3408
3490
|
value: elem
|
|
3409
|
-
})) && $vo30(elem, _path2 + ".grade_and_child[" +
|
|
3410
|
-
path: _path2 + ".grade_and_child[" +
|
|
3491
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3492
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
3411
3493
|
expected: "GradeAndChildEntry",
|
|
3412
3494
|
value: elem
|
|
3413
3495
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3431,8 +3513,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3431
3513
|
path: _path2 + ".child_types",
|
|
3432
3514
|
expected: "(Array<string> | undefined)",
|
|
3433
3515
|
value: input3.child_types
|
|
3434
|
-
})) && input3.child_types.map((elem,
|
|
3435
|
-
path: _path2 + ".child_types[" +
|
|
3516
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3517
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
3436
3518
|
expected: "string",
|
|
3437
3519
|
value: elem
|
|
3438
3520
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3447,8 +3529,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3447
3529
|
path: _path2 + ".included_types",
|
|
3448
3530
|
expected: "(Array<string> | undefined)",
|
|
3449
3531
|
value: input3.included_types
|
|
3450
|
-
})) && input3.included_types.map((elem,
|
|
3451
|
-
path: _path2 + ".included_types[" +
|
|
3532
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3533
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
3452
3534
|
expected: "string",
|
|
3453
3535
|
value: elem
|
|
3454
3536
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3509,12 +3591,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3509
3591
|
path: _path2 + ".values",
|
|
3510
3592
|
expected: "Array<__type>.o2",
|
|
3511
3593
|
value: input3.values
|
|
3512
|
-
})) && input3.values.map((elem,
|
|
3513
|
-
path: _path2 + ".values[" +
|
|
3594
|
+
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3595
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
3514
3596
|
expected: "__type.o4",
|
|
3515
3597
|
value: elem
|
|
3516
|
-
})) && $vo37(elem, _path2 + ".values[" +
|
|
3517
|
-
path: _path2 + ".values[" +
|
|
3598
|
+
})) && $vo37(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3599
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
3518
3600
|
expected: "__type.o4",
|
|
3519
3601
|
value: elem
|
|
3520
3602
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3595,8 +3677,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3595
3677
|
path: _path2 + ".child_types",
|
|
3596
3678
|
expected: "(Array<string> | undefined)",
|
|
3597
3679
|
value: input3.child_types
|
|
3598
|
-
})) && input3.child_types.map((elem,
|
|
3599
|
-
path: _path2 + ".child_types[" +
|
|
3680
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3681
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
3600
3682
|
expected: "string",
|
|
3601
3683
|
value: elem
|
|
3602
3684
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3611,8 +3693,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3611
3693
|
path: _path2 + ".included_types",
|
|
3612
3694
|
expected: "(Array<string> | undefined)",
|
|
3613
3695
|
value: input3.included_types
|
|
3614
|
-
})) && input3.included_types.map((elem,
|
|
3615
|
-
path: _path2 + ".included_types[" +
|
|
3696
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3697
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
3616
3698
|
expected: "string",
|
|
3617
3699
|
value: elem
|
|
3618
3700
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3659,12 +3741,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3659
3741
|
path: _path2 + ".genes",
|
|
3660
3742
|
expected: "Array<GvGeneTerm>",
|
|
3661
3743
|
value: input3.genes
|
|
3662
|
-
})) && input3.genes.map((elem,
|
|
3663
|
-
path: _path2 + ".genes[" +
|
|
3744
|
+
})) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3745
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
3664
3746
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3665
3747
|
value: elem
|
|
3666
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3667
|
-
path: _path2 + ".genes[" +
|
|
3748
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3749
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
3668
3750
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3669
3751
|
value: elem
|
|
3670
3752
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3683,12 +3765,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3683
3765
|
path: _path2 + ".childTerms",
|
|
3684
3766
|
expected: "(Array<DtTerm> | undefined)",
|
|
3685
3767
|
value: input3.childTerms
|
|
3686
|
-
})) && input3.childTerms.map((elem,
|
|
3687
|
-
path: _path2 + ".childTerms[" +
|
|
3768
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3769
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
3688
3770
|
expected: "DtTerm",
|
|
3689
3771
|
value: elem
|
|
3690
|
-
})) && $vo32(elem, _path2 + ".childTerms[" +
|
|
3691
|
-
path: _path2 + ".childTerms[" +
|
|
3772
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3773
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
3692
3774
|
expected: "DtTerm",
|
|
3693
3775
|
value: elem
|
|
3694
3776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3712,8 +3794,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3712
3794
|
path: _path2 + ".child_types",
|
|
3713
3795
|
expected: "(Array<string> | undefined)",
|
|
3714
3796
|
value: input3.child_types
|
|
3715
|
-
})) && input3.child_types.map((elem,
|
|
3716
|
-
path: _path2 + ".child_types[" +
|
|
3797
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3798
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
3717
3799
|
expected: "string",
|
|
3718
3800
|
value: elem
|
|
3719
3801
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3728,8 +3810,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3728
3810
|
path: _path2 + ".included_types",
|
|
3729
3811
|
expected: "(Array<string> | undefined)",
|
|
3730
3812
|
value: input3.included_types
|
|
3731
|
-
})) && input3.included_types.map((elem,
|
|
3732
|
-
path: _path2 + ".included_types[" +
|
|
3813
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3814
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
3733
3815
|
expected: "string",
|
|
3734
3816
|
value: elem
|
|
3735
3817
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3789,8 +3871,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3789
3871
|
path: _path2 + ".child_types",
|
|
3790
3872
|
expected: "(Array<string> | undefined)",
|
|
3791
3873
|
value: input3.child_types
|
|
3792
|
-
})) && input3.child_types.map((elem,
|
|
3793
|
-
path: _path2 + ".child_types[" +
|
|
3874
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3875
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
3794
3876
|
expected: "string",
|
|
3795
3877
|
value: elem
|
|
3796
3878
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3805,8 +3887,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3805
3887
|
path: _path2 + ".included_types",
|
|
3806
3888
|
expected: "(Array<string> | undefined)",
|
|
3807
3889
|
value: input3.included_types
|
|
3808
|
-
})) && input3.included_types.map((elem,
|
|
3809
|
-
path: _path2 + ".included_types[" +
|
|
3890
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3891
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
3810
3892
|
expected: "string",
|
|
3811
3893
|
value: elem
|
|
3812
3894
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3862,8 +3944,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3862
3944
|
path: _path2 + ".child_types",
|
|
3863
3945
|
expected: "(Array<string> | undefined)",
|
|
3864
3946
|
value: input3.child_types
|
|
3865
|
-
})) && input3.child_types.map((elem,
|
|
3866
|
-
path: _path2 + ".child_types[" +
|
|
3947
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3948
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
3867
3949
|
expected: "string",
|
|
3868
3950
|
value: elem
|
|
3869
3951
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3878,8 +3960,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3878
3960
|
path: _path2 + ".included_types",
|
|
3879
3961
|
expected: "(Array<string> | undefined)",
|
|
3880
3962
|
value: input3.included_types
|
|
3881
|
-
})) && input3.included_types.map((elem,
|
|
3882
|
-
path: _path2 + ".included_types[" +
|
|
3963
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3964
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
3883
3965
|
expected: "string",
|
|
3884
3966
|
value: elem
|
|
3885
3967
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3922,12 +4004,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3922
4004
|
path: _path2 + ".genes",
|
|
3923
4005
|
expected: "Array<GvGeneTerm>",
|
|
3924
4006
|
value: input3.genes
|
|
3925
|
-
})) && input3.genes.map((elem,
|
|
3926
|
-
path: _path2 + ".genes[" +
|
|
4007
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4008
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
3927
4009
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3928
4010
|
value: elem
|
|
3929
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3930
|
-
path: _path2 + ".genes[" +
|
|
4011
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4012
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
3931
4013
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3932
4014
|
value: elem
|
|
3933
4015
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3946,12 +4028,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3946
4028
|
path: _path2 + ".childTerms",
|
|
3947
4029
|
expected: "(Array<DtTerm> | undefined)",
|
|
3948
4030
|
value: input3.childTerms
|
|
3949
|
-
})) && input3.childTerms.map((elem,
|
|
3950
|
-
path: _path2 + ".childTerms[" +
|
|
4031
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4032
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
3951
4033
|
expected: "DtTerm",
|
|
3952
4034
|
value: elem
|
|
3953
|
-
})) && $vo32(elem, _path2 + ".childTerms[" +
|
|
3954
|
-
path: _path2 + ".childTerms[" +
|
|
4035
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4036
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
3955
4037
|
expected: "DtTerm",
|
|
3956
4038
|
value: elem
|
|
3957
4039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3988,8 +4070,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3988
4070
|
path: _path2 + ".child_types",
|
|
3989
4071
|
expected: "(Array<string> | undefined)",
|
|
3990
4072
|
value: input3.child_types
|
|
3991
|
-
})) && input3.child_types.map((elem,
|
|
3992
|
-
path: _path2 + ".child_types[" +
|
|
4073
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4074
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
3993
4075
|
expected: "string",
|
|
3994
4076
|
value: elem
|
|
3995
4077
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4004,8 +4086,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4004
4086
|
path: _path2 + ".included_types",
|
|
4005
4087
|
expected: "(Array<string> | undefined)",
|
|
4006
4088
|
value: input3.included_types
|
|
4007
|
-
})) && input3.included_types.map((elem,
|
|
4008
|
-
path: _path2 + ".included_types[" +
|
|
4089
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4090
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
4009
4091
|
expected: "string",
|
|
4010
4092
|
value: elem
|
|
4011
4093
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4028,32 +4110,36 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4028
4110
|
path: _path2 + ".skipValuesBuild",
|
|
4029
4111
|
expected: "(boolean | undefined)",
|
|
4030
4112
|
value: input3.skipValuesBuild
|
|
4031
|
-
}), "
|
|
4113
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
4032
4114
|
path: _path2 + ".kind",
|
|
4033
|
-
expected: '"
|
|
4115
|
+
expected: '"gene"',
|
|
4034
4116
|
value: input3.kind
|
|
4035
|
-
}), "string" === typeof input3.
|
|
4036
|
-
path: _path2 + ".
|
|
4117
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
4118
|
+
path: _path2 + ".gene",
|
|
4037
4119
|
expected: "string",
|
|
4120
|
+
value: input3.gene
|
|
4121
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4122
|
+
path: _path2 + ".chr",
|
|
4123
|
+
expected: "(string | undefined)",
|
|
4038
4124
|
value: input3.chr
|
|
4039
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
4125
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
4040
4126
|
path: _path2 + ".start",
|
|
4041
|
-
expected: "number",
|
|
4127
|
+
expected: "(number | undefined)",
|
|
4042
4128
|
value: input3.start
|
|
4043
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
4129
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
4044
4130
|
path: _path2 + ".stop",
|
|
4045
|
-
expected: "number",
|
|
4131
|
+
expected: "(number | undefined)",
|
|
4046
4132
|
value: input3.stop
|
|
4047
4133
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
4048
4134
|
path: _path2 + ".genes",
|
|
4049
4135
|
expected: "Array<GvGeneTerm>",
|
|
4050
4136
|
value: input3.genes
|
|
4051
|
-
})) && input3.genes.map((elem,
|
|
4052
|
-
path: _path2 + ".genes[" +
|
|
4137
|
+
})) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4138
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
4053
4139
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4054
4140
|
value: elem
|
|
4055
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
4056
|
-
path: _path2 + ".genes[" +
|
|
4141
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4142
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
4057
4143
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4058
4144
|
value: elem
|
|
4059
4145
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4072,12 +4158,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4072
4158
|
path: _path2 + ".childTerms",
|
|
4073
4159
|
expected: "Array<DtTerm>",
|
|
4074
4160
|
value: input3.childTerms
|
|
4075
|
-
})) && input3.childTerms.map((elem,
|
|
4076
|
-
path: _path2 + ".childTerms[" +
|
|
4161
|
+
})) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4162
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
4077
4163
|
expected: "DtTerm",
|
|
4078
4164
|
value: elem
|
|
4079
|
-
})) && $vo32(elem, _path2 + ".childTerms[" +
|
|
4080
|
-
path: _path2 + ".childTerms[" +
|
|
4165
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4166
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
4081
4167
|
expected: "DtTerm",
|
|
4082
4168
|
value: elem
|
|
4083
4169
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4093,16 +4179,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4093
4179
|
path: _path2 + ".name",
|
|
4094
4180
|
expected: "string",
|
|
4095
4181
|
value: input3.name
|
|
4096
|
-
}), "
|
|
4182
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
4097
4183
|
path: _path2 + ".type",
|
|
4098
|
-
expected: '"
|
|
4184
|
+
expected: '"geneVariant"',
|
|
4099
4185
|
value: input3.type
|
|
4100
4186
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4101
4187
|
path: _path2 + ".child_types",
|
|
4102
4188
|
expected: "(Array<string> | undefined)",
|
|
4103
4189
|
value: input3.child_types
|
|
4104
|
-
})) && input3.child_types.map((elem,
|
|
4105
|
-
path: _path2 + ".child_types[" +
|
|
4190
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4191
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
4106
4192
|
expected: "string",
|
|
4107
4193
|
value: elem
|
|
4108
4194
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4117,8 +4203,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4117
4203
|
path: _path2 + ".included_types",
|
|
4118
4204
|
expected: "(Array<string> | undefined)",
|
|
4119
4205
|
value: input3.included_types
|
|
4120
|
-
})) && input3.included_types.map((elem,
|
|
4121
|
-
path: _path2 + ".included_types[" +
|
|
4206
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4207
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
4122
4208
|
expected: "string",
|
|
4123
4209
|
value: elem
|
|
4124
4210
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4141,42 +4227,62 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4141
4227
|
path: _path2 + ".skipValuesBuild",
|
|
4142
4228
|
expected: "(boolean | undefined)",
|
|
4143
4229
|
value: input3.skipValuesBuild
|
|
4144
|
-
}),
|
|
4145
|
-
path: _path2 + ".
|
|
4146
|
-
expected: "
|
|
4147
|
-
value: input3.
|
|
4148
|
-
})
|
|
4149
|
-
path: _path2 + ".continuousColorScale",
|
|
4150
|
-
expected: "(__type.o2 | undefined)",
|
|
4151
|
-
value: input3.continuousColorScale
|
|
4152
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4153
|
-
path: _path2 + ".unit",
|
|
4154
|
-
expected: "(string | undefined)",
|
|
4155
|
-
value: input3.unit
|
|
4156
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
4157
|
-
path: _path2 + ".gene",
|
|
4158
|
-
expected: "string",
|
|
4159
|
-
value: input3.gene
|
|
4160
|
-
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4161
|
-
path: _path2 + ".bins",
|
|
4162
|
-
expected: "(PresetNumericBins | undefined)",
|
|
4163
|
-
value: input3.bins
|
|
4164
|
-
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4165
|
-
path: _path2 + ".bins",
|
|
4166
|
-
expected: "(PresetNumericBins | undefined)",
|
|
4167
|
-
value: input3.bins
|
|
4168
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4230
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
4231
|
+
path: _path2 + ".kind",
|
|
4232
|
+
expected: '"coord"',
|
|
4233
|
+
value: input3.kind
|
|
4234
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4169
4235
|
path: _path2 + ".chr",
|
|
4170
|
-
expected: "
|
|
4236
|
+
expected: "string",
|
|
4171
4237
|
value: input3.chr
|
|
4172
|
-
}),
|
|
4238
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
4173
4239
|
path: _path2 + ".start",
|
|
4174
|
-
expected: "
|
|
4240
|
+
expected: "number",
|
|
4175
4241
|
value: input3.start
|
|
4176
|
-
}),
|
|
4242
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
4177
4243
|
path: _path2 + ".stop",
|
|
4178
|
-
expected: "
|
|
4244
|
+
expected: "number",
|
|
4179
4245
|
value: input3.stop
|
|
4246
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
4247
|
+
path: _path2 + ".genes",
|
|
4248
|
+
expected: "Array<GvGeneTerm>",
|
|
4249
|
+
value: input3.genes
|
|
4250
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4251
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
4252
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4253
|
+
value: elem
|
|
4254
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4255
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
4256
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4257
|
+
value: elem
|
|
4258
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4259
|
+
path: _path2 + ".genes",
|
|
4260
|
+
expected: "Array<GvGeneTerm>",
|
|
4261
|
+
value: input3.genes
|
|
4262
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
4263
|
+
path: _path2 + ".groupsetting",
|
|
4264
|
+
expected: "TermGroupSetting",
|
|
4265
|
+
value: input3.groupsetting
|
|
4266
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
4267
|
+
path: _path2 + ".groupsetting",
|
|
4268
|
+
expected: "TermGroupSetting",
|
|
4269
|
+
value: input3.groupsetting
|
|
4270
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
4271
|
+
path: _path2 + ".childTerms",
|
|
4272
|
+
expected: "Array<DtTerm>",
|
|
4273
|
+
value: input3.childTerms
|
|
4274
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4275
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
4276
|
+
expected: "DtTerm",
|
|
4277
|
+
value: elem
|
|
4278
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4279
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
4280
|
+
expected: "DtTerm",
|
|
4281
|
+
value: elem
|
|
4282
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4283
|
+
path: _path2 + ".childTerms",
|
|
4284
|
+
expected: "Array<DtTerm>",
|
|
4285
|
+
value: input3.childTerms
|
|
4180
4286
|
})].every((flag) => flag);
|
|
4181
4287
|
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4182
4288
|
path: _path2 + ".id",
|
|
@@ -4469,10 +4575,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4469
4575
|
path: _path2 + ".unit",
|
|
4470
4576
|
expected: "(string | undefined)",
|
|
4471
4577
|
value: input3.unit
|
|
4472
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
4473
|
-
path: _path2 + ".metabolite",
|
|
4474
|
-
expected: "string",
|
|
4475
|
-
value: input3.metabolite
|
|
4476
4578
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4477
4579
|
path: _path2 + ".bins",
|
|
4478
4580
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -4942,25 +5044,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4942
5044
|
value: input3.sample
|
|
4943
5045
|
})].every((flag) => flag);
|
|
4944
5046
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4945
|
-
if ("gene" === input3.kind)
|
|
4946
|
-
return $vo1(input3, _path2, _exceptionable2);
|
|
4947
|
-
if ("coord" === input3.kind)
|
|
4948
|
-
return $vo38(input3, _path2, _exceptionable2);
|
|
4949
|
-
if ("geneExpression" === input3.type)
|
|
4950
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
4951
5047
|
if ("metaboliteIntensity" === input3.type)
|
|
4952
5048
|
return $vo40(input3, _path2, _exceptionable2);
|
|
4953
5049
|
if ("categorical" === input3.type)
|
|
4954
5050
|
return $vo41(input3, _path2, _exceptionable2);
|
|
4955
|
-
if ("integer" === input3.type || "float" === input3.type)
|
|
4956
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
4957
5051
|
if ("date" === input3.type)
|
|
4958
5052
|
return $vo43(input3, _path2, _exceptionable2);
|
|
5053
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
5054
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
4959
5055
|
if ("ssGSEA" === input3.type)
|
|
4960
5056
|
return $vo44(input3, _path2, _exceptionable2);
|
|
4961
5057
|
if ("condition" === input3.type)
|
|
4962
5058
|
return $vo45(input3, _path2, _exceptionable2);
|
|
4963
|
-
return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
|
|
5059
|
+
return $vo23(input3, _path2, false) || $vo1(input3, _path2, false) || $vo38(input3, _path2, false) || $vo39(input3, _path2, false) || $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
|
|
4964
5060
|
})();
|
|
4965
5061
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4966
5062
|
if ("tvslst" === input3.type)
|
|
@@ -5010,19 +5106,13 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5010
5106
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5011
5107
|
if ("integer" === input3.type || "float" === input3.type)
|
|
5012
5108
|
return $vo14(input3, _path2, _exceptionable2);
|
|
5013
|
-
if ("geneExpression" === input3.type)
|
|
5014
|
-
return $vo23(input3, _path2, _exceptionable2);
|
|
5015
|
-
if ("date" === input3.type)
|
|
5016
|
-
return $vo25(input3, _path2, _exceptionable2);
|
|
5017
5109
|
if ("metaboliteIntensity" === input3.type)
|
|
5018
5110
|
return $vo24(input3, _path2, _exceptionable2);
|
|
5111
|
+
if ("date" === input3.type)
|
|
5112
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
5019
5113
|
if ("ssGSEA" === input3.type)
|
|
5020
5114
|
return $vo26(input3, _path2, _exceptionable2);
|
|
5021
|
-
return $
|
|
5022
|
-
path: _path2,
|
|
5023
|
-
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
5024
|
-
value: input3
|
|
5025
|
-
});
|
|
5115
|
+
return $vo23(input3, _path2, false) || $vo1(input3, _path2, false);
|
|
5026
5116
|
})();
|
|
5027
5117
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5028
5118
|
if ("regular-bin" === input3.type)
|