@sjcrh/proteinpaint-types 2.140.1 → 2.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-WKT3H4P4.js → chunk-2VDOPTRV.js} +1581 -693
- package/dist/{chunk-AADDTYUL.js → chunk-3BQ57P2P.js} +467 -105
- package/dist/{chunk-XXHHUIEV.js → chunk-3L3ASC3B.js} +2634 -2174
- package/dist/{chunk-ECF6WSOD.js → chunk-4R265LDJ.js} +467 -105
- package/dist/{chunk-FZJ3E7JA.js → chunk-CEDL2QZT.js} +2620 -2160
- package/dist/{chunk-PPFFVFUI.js → chunk-DMJFOII6.js} +467 -105
- package/dist/{chunk-KS74VVON.js → chunk-FVBXC7SY.js} +467 -105
- package/dist/{chunk-2WLN6PMW.js → chunk-GDM7YUXH.js} +2615 -2155
- package/dist/{chunk-BWLSDIHM.js → chunk-IR4QSJI7.js} +2610 -2150
- package/dist/{chunk-IDP5KXE6.js → chunk-MVMUZSLL.js} +1947 -1487
- package/dist/{chunk-EWON4FG5.js → chunk-SMVDKR2O.js} +2441 -2109
- package/dist/{chunk-ZA3FDGAD.js → chunk-SOM5WKDM.js} +1014 -488
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -2
- package/src/dataset.ts +4 -2
- package/src/genome.ts +2 -2
- package/src/index.ts +1 -0
- package/src/terms/categorical.ts +0 -8
- package/src/terms/condition.ts +4 -3
- package/src/terms/date.ts +20 -0
- package/src/terms/geneExpression.ts +20 -16
- package/src/terms/geneVariant.ts +3 -0
- package/src/terms/metaboliteIntensity.ts +14 -17
- package/src/terms/numeric.ts +13 -23
- package/src/terms/snp.ts +7 -7
- package/src/terms/snps.ts +1 -0
- package/src/terms/ssGSEA.ts +9 -13
- package/src/terms/tw.ts +11 -6
- package/src/terms/updated-types.ts +0 -10
|
@@ -43,8 +43,8 @@ var 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 && $
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
46
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
48
48
|
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
49
49
|
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
50
50
|
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
@@ -60,18 +60,22 @@ var 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.
|
|
65
|
-
const $io24 = (input3) => (void 0 === input3.
|
|
66
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
67
|
-
const $io26 = (input3) => "
|
|
68
|
-
const $io27 = (input3) =>
|
|
69
|
-
const $io28 = (input3) =>
|
|
70
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
71
|
-
const $io30 = (input3) => "
|
|
72
|
-
const $io31 = (input3) =>
|
|
73
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
74
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
66
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
71
|
+
const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
72
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
75
79
|
const $iu0 = (input3) => (() => {
|
|
76
80
|
if ("tvslst" === input3.type)
|
|
77
81
|
return $io1(input3);
|
|
@@ -95,9 +99,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
95
99
|
})();
|
|
96
100
|
const $iu3 = (input3) => (() => {
|
|
97
101
|
if ("gene" === input3.kind)
|
|
98
|
-
return $
|
|
102
|
+
return $io34(input3);
|
|
99
103
|
if ("coord" === input3.kind)
|
|
100
|
-
return $
|
|
104
|
+
return $io35(input3);
|
|
101
105
|
return false;
|
|
102
106
|
})();
|
|
103
107
|
const $iu4 = (input3) => (() => {
|
|
@@ -106,19 +110,29 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
106
110
|
return (() => {
|
|
107
111
|
if ($io3(input3))
|
|
108
112
|
return $io3(input3);
|
|
109
|
-
if ($
|
|
110
|
-
return $
|
|
111
|
-
if ($
|
|
112
|
-
return $
|
|
113
|
+
if ($io28(input3))
|
|
114
|
+
return $io28(input3);
|
|
115
|
+
if ($io31(input3))
|
|
116
|
+
return $io31(input3);
|
|
113
117
|
return false;
|
|
114
118
|
})();
|
|
115
119
|
})();
|
|
116
120
|
const $iu5 = (input3) => (() => {
|
|
117
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
121
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
118
122
|
return $io13(input3);
|
|
119
|
-
if ("
|
|
120
|
-
return $
|
|
121
|
-
|
|
123
|
+
if ("metaboliteIntensity" === input3.type)
|
|
124
|
+
return $io24(input3);
|
|
125
|
+
if ("date" === input3.type)
|
|
126
|
+
return $io25(input3);
|
|
127
|
+
if ("ssGSEA" === input3.type)
|
|
128
|
+
return $io26(input3);
|
|
129
|
+
return (() => {
|
|
130
|
+
if ($io23(input3))
|
|
131
|
+
return $io23(input3);
|
|
132
|
+
if ($io22(input3))
|
|
133
|
+
return $io22(input3);
|
|
134
|
+
return false;
|
|
135
|
+
})();
|
|
122
136
|
})();
|
|
123
137
|
const $iu6 = (input3) => (() => {
|
|
124
138
|
if ("regular-bin" === input3.type)
|
|
@@ -143,9 +157,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
143
157
|
})();
|
|
144
158
|
const $iu9 = (input3) => (() => {
|
|
145
159
|
if ("gene" === input3.kind)
|
|
146
|
-
return $
|
|
160
|
+
return $io33(input3);
|
|
147
161
|
if ("coord" === input3.kind)
|
|
148
|
-
return $
|
|
162
|
+
return $io36(input3);
|
|
149
163
|
return false;
|
|
150
164
|
})();
|
|
151
165
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -505,11 +519,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
505
519
|
value: input3.isnot
|
|
506
520
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
507
521
|
path: _path2 + ".term",
|
|
508
|
-
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)',
|
|
509
523
|
value: input3.term
|
|
510
524
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
511
525
|
path: _path2 + ".term",
|
|
512
|
-
expected:
|
|
526
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
513
527
|
value: input3.term
|
|
514
528
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
515
529
|
path: _path2 + ".ranges",
|
|
@@ -535,7 +549,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
535
549
|
path: _path2 + ".values[" + _index9 + "]",
|
|
536
550
|
expected: "__type.o3",
|
|
537
551
|
value: elem
|
|
538
|
-
})) && $
|
|
552
|
+
})) && $vo27(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
539
553
|
path: _path2 + ".values[" + _index9 + "]",
|
|
540
554
|
expected: "__type.o3",
|
|
541
555
|
value: elem
|
|
@@ -552,9 +566,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
552
566
|
path: _path2 + ".name",
|
|
553
567
|
expected: "string",
|
|
554
568
|
value: input3.name
|
|
555
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
569
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
556
570
|
path: _path2 + ".type",
|
|
557
|
-
expected: '("
|
|
571
|
+
expected: '("float" | "integer")',
|
|
558
572
|
value: input3.type
|
|
559
573
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
560
574
|
path: _path2 + ".child_types",
|
|
@@ -946,10 +960,6 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
946
960
|
path: _path2 + ".unit",
|
|
947
961
|
expected: "(string | undefined)",
|
|
948
962
|
value: input3.unit
|
|
949
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
950
|
-
path: _path2 + ".gene",
|
|
951
|
-
expected: "string",
|
|
952
|
-
value: input3.gene
|
|
953
963
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
954
964
|
path: _path2 + ".bins",
|
|
955
965
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -958,6 +968,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
958
968
|
path: _path2 + ".bins",
|
|
959
969
|
expected: "(PresetNumericBins | undefined)",
|
|
960
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
|
|
961
979
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
962
980
|
path: _path2 + ".chr",
|
|
963
981
|
expected: "(string | undefined)",
|
|
@@ -971,69 +989,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
971
989
|
expected: "(number | undefined)",
|
|
972
990
|
value: input3.stop
|
|
973
991
|
})].every((flag) => flag);
|
|
974
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
975
|
-
path: _path2 + ".key",
|
|
976
|
-
expected: "string",
|
|
977
|
-
value: input3.key
|
|
978
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
979
|
-
path: _path2 + ".value",
|
|
980
|
-
expected: "number",
|
|
981
|
-
value: input3.value
|
|
982
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
983
|
-
path: _path2 + ".uncomputable",
|
|
984
|
-
expected: "true",
|
|
985
|
-
value: input3.uncomputable
|
|
986
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
987
|
-
path: _path2 + ".label",
|
|
988
|
-
expected: "(string | undefined)",
|
|
989
|
-
value: input3.label
|
|
990
|
-
})].every((flag) => flag);
|
|
991
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
992
|
-
path: _path2 + ".join",
|
|
993
|
-
expected: "(string | undefined)",
|
|
994
|
-
value: input3.join
|
|
995
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
996
|
-
path: _path2 + ".isnot",
|
|
997
|
-
expected: "(boolean | undefined)",
|
|
998
|
-
value: input3.isnot
|
|
999
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1000
|
-
path: _path2 + ".term",
|
|
1001
|
-
expected: "ConditionTerm",
|
|
1002
|
-
value: input3.term
|
|
1003
|
-
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1004
|
-
path: _path2 + ".term",
|
|
1005
|
-
expected: "ConditionTerm",
|
|
1006
|
-
value: input3.term
|
|
1007
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1008
|
-
path: _path2 + ".value_by_max_grade",
|
|
1009
|
-
expected: "(boolean | undefined)",
|
|
1010
|
-
value: input3.value_by_max_grade
|
|
1011
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1012
|
-
path: _path2 + ".value_by_most_recent",
|
|
1013
|
-
expected: "(boolean | undefined)",
|
|
1014
|
-
value: input3.value_by_most_recent
|
|
1015
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1016
|
-
path: _path2 + ".value_by_computable_grade",
|
|
1017
|
-
expected: "(boolean | undefined)",
|
|
1018
|
-
value: input3.value_by_computable_grade
|
|
1019
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1020
|
-
path: _path2 + ".grade_and_child",
|
|
1021
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1022
|
-
value: input3.grade_and_child
|
|
1023
|
-
})) && input3.grade_and_child.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1024
|
-
path: _path2 + ".grade_and_child[" + _index15 + "]",
|
|
1025
|
-
expected: "GradeAndChildEntry",
|
|
1026
|
-
value: elem
|
|
1027
|
-
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1028
|
-
path: _path2 + ".grade_and_child[" + _index15 + "]",
|
|
1029
|
-
expected: "GradeAndChildEntry",
|
|
1030
|
-
value: elem
|
|
1031
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1032
|
-
path: _path2 + ".grade_and_child",
|
|
1033
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1034
|
-
value: input3.grade_and_child
|
|
1035
|
-
})].every((flag) => flag);
|
|
1036
|
-
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
992
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1037
993
|
path: _path2 + ".id",
|
|
1038
994
|
expected: "string",
|
|
1039
995
|
value: input3.id
|
|
@@ -1041,16 +997,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1041
997
|
path: _path2 + ".name",
|
|
1042
998
|
expected: "string",
|
|
1043
999
|
value: input3.name
|
|
1044
|
-
}), "
|
|
1000
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1045
1001
|
path: _path2 + ".type",
|
|
1046
|
-
expected: '"
|
|
1002
|
+
expected: '"geneExpression"',
|
|
1047
1003
|
value: input3.type
|
|
1048
1004
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1049
1005
|
path: _path2 + ".child_types",
|
|
1050
1006
|
expected: "(Array<string> | undefined)",
|
|
1051
1007
|
value: input3.child_types
|
|
1052
|
-
})) && input3.child_types.map((elem,
|
|
1053
|
-
path: _path2 + ".child_types[" +
|
|
1008
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1009
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1054
1010
|
expected: "string",
|
|
1055
1011
|
value: elem
|
|
1056
1012
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1065,8 +1021,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1065
1021
|
path: _path2 + ".included_types",
|
|
1066
1022
|
expected: "(Array<string> | undefined)",
|
|
1067
1023
|
value: input3.included_types
|
|
1068
|
-
})) && input3.included_types.map((elem,
|
|
1069
|
-
path: _path2 + ".included_types[" +
|
|
1024
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1025
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1070
1026
|
expected: "string",
|
|
1071
1027
|
value: elem
|
|
1072
1028
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1089,115 +1045,48 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1089
1045
|
path: _path2 + ".skipValuesBuild",
|
|
1090
1046
|
expected: "(boolean | undefined)",
|
|
1091
1047
|
value: input3.skipValuesBuild
|
|
1092
|
-
})
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
path: _path2 + ".child_id",
|
|
1048
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1049
|
+
path: _path2 + ".continuousColorScale",
|
|
1050
|
+
expected: "(__type.o2 | undefined)",
|
|
1051
|
+
value: input3.continuousColorScale
|
|
1052
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1053
|
+
path: _path2 + ".continuousColorScale",
|
|
1054
|
+
expected: "(__type.o2 | undefined)",
|
|
1055
|
+
value: input3.continuousColorScale
|
|
1056
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1057
|
+
path: _path2 + ".unit",
|
|
1103
1058
|
expected: "(string | undefined)",
|
|
1104
|
-
value: input3.
|
|
1105
|
-
}), "
|
|
1106
|
-
path: _path2 + ".
|
|
1107
|
-
expected: "
|
|
1108
|
-
value: input3.
|
|
1109
|
-
})
|
|
1110
|
-
|
|
1111
|
-
|
|
1059
|
+
value: input3.unit
|
|
1060
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1061
|
+
path: _path2 + ".bins",
|
|
1062
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1063
|
+
value: input3.bins
|
|
1064
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1065
|
+
path: _path2 + ".bins",
|
|
1066
|
+
expected: "(PresetNumericBins | undefined)",
|
|
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",
|
|
1112
1074
|
expected: "(string | undefined)",
|
|
1113
|
-
value: input3.
|
|
1114
|
-
}),
|
|
1115
|
-
path: _path2 + ".
|
|
1116
|
-
expected: "(boolean | undefined)",
|
|
1117
|
-
value: input3.isnot
|
|
1118
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1119
|
-
path: _path2 + ".term",
|
|
1120
|
-
expected: "DtTerm",
|
|
1121
|
-
value: input3.term
|
|
1122
|
-
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1123
|
-
path: _path2 + ".term",
|
|
1124
|
-
expected: "DtTerm",
|
|
1125
|
-
value: input3.term
|
|
1126
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1127
|
-
path: _path2 + ".values",
|
|
1128
|
-
expected: "Array<__type>.o2",
|
|
1129
|
-
value: input3.values
|
|
1130
|
-
})) && input3.values.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1131
|
-
path: _path2 + ".values[" + _index18 + "]",
|
|
1132
|
-
expected: "__type.o4",
|
|
1133
|
-
value: elem
|
|
1134
|
-
})) && $vo33(elem, _path2 + ".values[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1135
|
-
path: _path2 + ".values[" + _index18 + "]",
|
|
1136
|
-
expected: "__type.o4",
|
|
1137
|
-
value: elem
|
|
1138
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1139
|
-
path: _path2 + ".values",
|
|
1140
|
-
expected: "Array<__type>.o2",
|
|
1141
|
-
value: input3.values
|
|
1142
|
-
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1143
|
-
path: _path2 + ".includeNotTested",
|
|
1144
|
-
expected: "(boolean | undefined)",
|
|
1145
|
-
value: input3.includeNotTested
|
|
1146
|
-
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1147
|
-
path: _path2 + ".excludeGeneName",
|
|
1148
|
-
expected: "(boolean | undefined)",
|
|
1149
|
-
value: input3.excludeGeneName
|
|
1150
|
-
})].every((flag) => flag);
|
|
1151
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1152
|
-
path: _path2 + ".id",
|
|
1153
|
-
expected: "string",
|
|
1154
|
-
value: input3.id
|
|
1155
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1156
|
-
path: _path2 + ".query",
|
|
1157
|
-
expected: "string",
|
|
1158
|
-
value: input3.query
|
|
1159
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1160
|
-
path: _path2 + ".name",
|
|
1161
|
-
expected: "string",
|
|
1162
|
-
value: input3.name
|
|
1163
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1164
|
-
path: _path2 + ".name_noOrigin",
|
|
1165
|
-
expected: "string",
|
|
1166
|
-
value: input3.name_noOrigin
|
|
1167
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1168
|
-
path: _path2 + ".parentTerm",
|
|
1169
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1170
|
-
value: input3.parentTerm
|
|
1171
|
-
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1172
|
-
path: _path2 + ".parentTerm",
|
|
1173
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1174
|
-
value: input3.parentTerm
|
|
1175
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1176
|
-
path: _path2 + ".isleaf",
|
|
1177
|
-
expected: "boolean",
|
|
1178
|
-
value: input3.isleaf
|
|
1179
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".type",
|
|
1075
|
+
value: input3.gene
|
|
1076
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".chr",
|
|
1181
1078
|
expected: "string",
|
|
1182
|
-
value: input3.
|
|
1183
|
-
}), "number" === typeof input3.
|
|
1184
|
-
path: _path2 + ".
|
|
1079
|
+
value: input3.chr
|
|
1080
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".start",
|
|
1185
1082
|
expected: "number",
|
|
1186
|
-
value: input3.
|
|
1187
|
-
}),
|
|
1188
|
-
path: _path2 + ".
|
|
1189
|
-
expected: "
|
|
1190
|
-
value: input3.
|
|
1191
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1192
|
-
path: _path2 + ".values",
|
|
1193
|
-
expected: "TermValues",
|
|
1194
|
-
value: input3.values
|
|
1195
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1196
|
-
path: _path2 + ".values",
|
|
1197
|
-
expected: "TermValues",
|
|
1198
|
-
value: input3.values
|
|
1083
|
+
value: input3.start
|
|
1084
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".stop",
|
|
1086
|
+
expected: "number",
|
|
1087
|
+
value: input3.stop
|
|
1199
1088
|
})].every((flag) => flag);
|
|
1200
|
-
const $
|
|
1089
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1201
1090
|
path: _path2 + ".id",
|
|
1202
1091
|
expected: "string",
|
|
1203
1092
|
value: input3.id
|
|
@@ -1205,16 +1094,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1205
1094
|
path: _path2 + ".name",
|
|
1206
1095
|
expected: "string",
|
|
1207
1096
|
value: input3.name
|
|
1208
|
-
}), "
|
|
1097
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1209
1098
|
path: _path2 + ".type",
|
|
1210
|
-
expected: '"
|
|
1099
|
+
expected: '"metaboliteIntensity"',
|
|
1211
1100
|
value: input3.type
|
|
1212
1101
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1213
1102
|
path: _path2 + ".child_types",
|
|
1214
1103
|
expected: "(Array<string> | undefined)",
|
|
1215
1104
|
value: input3.child_types
|
|
1216
|
-
})) && input3.child_types.map((elem,
|
|
1217
|
-
path: _path2 + ".child_types[" +
|
|
1105
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1106
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1218
1107
|
expected: "string",
|
|
1219
1108
|
value: elem
|
|
1220
1109
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1229,8 +1118,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1229
1118
|
path: _path2 + ".included_types",
|
|
1230
1119
|
expected: "(Array<string> | undefined)",
|
|
1231
1120
|
value: input3.included_types
|
|
1232
|
-
})) && input3.included_types.map((elem,
|
|
1233
|
-
path: _path2 + ".included_types[" +
|
|
1121
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1122
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1234
1123
|
expected: "string",
|
|
1235
1124
|
value: elem
|
|
1236
1125
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1253,36 +1142,509 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1253
1142
|
path: _path2 + ".skipValuesBuild",
|
|
1254
1143
|
expected: "(boolean | undefined)",
|
|
1255
1144
|
value: input3.skipValuesBuild
|
|
1256
|
-
}), "
|
|
1257
|
-
path: _path2 + ".
|
|
1258
|
-
expected:
|
|
1259
|
-
value: input3.
|
|
1260
|
-
}), "
|
|
1261
|
-
path: _path2 + ".
|
|
1262
|
-
expected: "
|
|
1263
|
-
value: input3.
|
|
1264
|
-
}), void 0 === input3.
|
|
1265
|
-
path: _path2 + ".
|
|
1145
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".continuousColorScale",
|
|
1147
|
+
expected: "(__type.o2 | undefined)",
|
|
1148
|
+
value: input3.continuousColorScale
|
|
1149
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".continuousColorScale",
|
|
1151
|
+
expected: "(__type.o2 | undefined)",
|
|
1152
|
+
value: input3.continuousColorScale
|
|
1153
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".unit",
|
|
1266
1155
|
expected: "(string | undefined)",
|
|
1267
|
-
value: input3.
|
|
1268
|
-
}),
|
|
1269
|
-
path: _path2 + ".
|
|
1270
|
-
expected: "
|
|
1271
|
-
value: input3.
|
|
1272
|
-
}), void 0 === input3.
|
|
1273
|
-
path: _path2 + ".
|
|
1274
|
-
expected: "(
|
|
1275
|
-
value: input3.
|
|
1276
|
-
})
|
|
1277
|
-
path: _path2 + ".
|
|
1278
|
-
expected: "
|
|
1156
|
+
value: input3.unit
|
|
1157
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".metabolite",
|
|
1159
|
+
expected: "string",
|
|
1160
|
+
value: input3.metabolite
|
|
1161
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".bins",
|
|
1163
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1164
|
+
value: input3.bins
|
|
1165
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".bins",
|
|
1167
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1168
|
+
value: input3.bins
|
|
1169
|
+
})].every((flag) => flag);
|
|
1170
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1171
|
+
path: _path2 + ".id",
|
|
1172
|
+
expected: "string",
|
|
1173
|
+
value: input3.id
|
|
1174
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1175
|
+
path: _path2 + ".name",
|
|
1176
|
+
expected: "string",
|
|
1177
|
+
value: input3.name
|
|
1178
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1179
|
+
path: _path2 + ".type",
|
|
1180
|
+
expected: '"date"',
|
|
1181
|
+
value: input3.type
|
|
1182
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".child_types",
|
|
1184
|
+
expected: "(Array<string> | undefined)",
|
|
1185
|
+
value: input3.child_types
|
|
1186
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1187
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1188
|
+
expected: "string",
|
|
1189
|
+
value: elem
|
|
1190
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".child_types",
|
|
1192
|
+
expected: "(Array<string> | undefined)",
|
|
1193
|
+
value: input3.child_types
|
|
1194
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1195
|
+
path: _path2 + ".hashtmldetail",
|
|
1196
|
+
expected: "(boolean | undefined)",
|
|
1197
|
+
value: input3.hashtmldetail
|
|
1198
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1199
|
+
path: _path2 + ".included_types",
|
|
1200
|
+
expected: "(Array<string> | undefined)",
|
|
1201
|
+
value: input3.included_types
|
|
1202
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1204
|
+
expected: "string",
|
|
1205
|
+
value: elem
|
|
1206
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1207
|
+
path: _path2 + ".included_types",
|
|
1208
|
+
expected: "(Array<string> | undefined)",
|
|
1209
|
+
value: input3.included_types
|
|
1210
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".isleaf",
|
|
1212
|
+
expected: "(boolean | undefined)",
|
|
1213
|
+
value: input3.isleaf
|
|
1214
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".values",
|
|
1216
|
+
expected: "(TermValues | undefined)",
|
|
1217
|
+
value: input3.values
|
|
1218
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".values",
|
|
1220
|
+
expected: "(TermValues | undefined)",
|
|
1221
|
+
value: input3.values
|
|
1222
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".skipValuesBuild",
|
|
1224
|
+
expected: "(boolean | undefined)",
|
|
1225
|
+
value: input3.skipValuesBuild
|
|
1226
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".continuousColorScale",
|
|
1228
|
+
expected: "(__type.o2 | undefined)",
|
|
1229
|
+
value: input3.continuousColorScale
|
|
1230
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1231
|
+
path: _path2 + ".continuousColorScale",
|
|
1232
|
+
expected: "(__type.o2 | undefined)",
|
|
1233
|
+
value: input3.continuousColorScale
|
|
1234
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".unit",
|
|
1236
|
+
expected: "(string | undefined)",
|
|
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
|
|
1315
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1316
|
+
path: _path2 + ".genes",
|
|
1317
|
+
expected: "(Array<string> | undefined)",
|
|
1318
|
+
value: input3.genes
|
|
1319
|
+
})) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1320
|
+
path: _path2 + ".genes[" + _index23 + "]",
|
|
1321
|
+
expected: "string",
|
|
1322
|
+
value: elem
|
|
1323
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".genes",
|
|
1325
|
+
expected: "(Array<string> | undefined)",
|
|
1326
|
+
value: input3.genes
|
|
1327
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".bins",
|
|
1329
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1330
|
+
value: input3.bins
|
|
1331
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".bins",
|
|
1333
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1334
|
+
value: input3.bins
|
|
1335
|
+
})].every((flag) => flag);
|
|
1336
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1337
|
+
path: _path2 + ".key",
|
|
1338
|
+
expected: "string",
|
|
1339
|
+
value: input3.key
|
|
1340
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1341
|
+
path: _path2 + ".value",
|
|
1342
|
+
expected: "number",
|
|
1343
|
+
value: input3.value
|
|
1344
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1345
|
+
path: _path2 + ".uncomputable",
|
|
1346
|
+
expected: "true",
|
|
1347
|
+
value: input3.uncomputable
|
|
1348
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".label",
|
|
1350
|
+
expected: "(string | undefined)",
|
|
1351
|
+
value: input3.label
|
|
1352
|
+
})].every((flag) => flag);
|
|
1353
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1354
|
+
path: _path2 + ".join",
|
|
1355
|
+
expected: "(string | undefined)",
|
|
1356
|
+
value: input3.join
|
|
1357
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1358
|
+
path: _path2 + ".isnot",
|
|
1359
|
+
expected: "(boolean | undefined)",
|
|
1360
|
+
value: input3.isnot
|
|
1361
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1362
|
+
path: _path2 + ".term",
|
|
1363
|
+
expected: "ConditionTerm",
|
|
1364
|
+
value: input3.term
|
|
1365
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1366
|
+
path: _path2 + ".term",
|
|
1367
|
+
expected: "ConditionTerm",
|
|
1368
|
+
value: input3.term
|
|
1369
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1370
|
+
path: _path2 + ".value_by_max_grade",
|
|
1371
|
+
expected: "(boolean | undefined)",
|
|
1372
|
+
value: input3.value_by_max_grade
|
|
1373
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1374
|
+
path: _path2 + ".value_by_most_recent",
|
|
1375
|
+
expected: "(boolean | undefined)",
|
|
1376
|
+
value: input3.value_by_most_recent
|
|
1377
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1378
|
+
path: _path2 + ".value_by_computable_grade",
|
|
1379
|
+
expected: "(boolean | undefined)",
|
|
1380
|
+
value: input3.value_by_computable_grade
|
|
1381
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1382
|
+
path: _path2 + ".grade_and_child",
|
|
1383
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1384
|
+
value: input3.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 + "]",
|
|
1387
|
+
expected: "GradeAndChildEntry",
|
|
1388
|
+
value: elem
|
|
1389
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1391
|
+
expected: "GradeAndChildEntry",
|
|
1392
|
+
value: elem
|
|
1393
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".grade_and_child",
|
|
1395
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1396
|
+
value: input3.grade_and_child
|
|
1397
|
+
})].every((flag) => flag);
|
|
1398
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1399
|
+
path: _path2 + ".id",
|
|
1400
|
+
expected: "string",
|
|
1401
|
+
value: input3.id
|
|
1402
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1403
|
+
path: _path2 + ".name",
|
|
1404
|
+
expected: "string",
|
|
1405
|
+
value: input3.name
|
|
1406
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
1407
|
+
path: _path2 + ".type",
|
|
1408
|
+
expected: '"condition"',
|
|
1409
|
+
value: input3.type
|
|
1410
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1411
|
+
path: _path2 + ".child_types",
|
|
1412
|
+
expected: "(Array<string> | undefined)",
|
|
1413
|
+
value: input3.child_types
|
|
1414
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1415
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1416
|
+
expected: "string",
|
|
1417
|
+
value: elem
|
|
1418
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1419
|
+
path: _path2 + ".child_types",
|
|
1420
|
+
expected: "(Array<string> | undefined)",
|
|
1421
|
+
value: input3.child_types
|
|
1422
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1423
|
+
path: _path2 + ".hashtmldetail",
|
|
1424
|
+
expected: "(boolean | undefined)",
|
|
1425
|
+
value: input3.hashtmldetail
|
|
1426
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1427
|
+
path: _path2 + ".included_types",
|
|
1428
|
+
expected: "(Array<string> | undefined)",
|
|
1429
|
+
value: input3.included_types
|
|
1430
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1431
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1432
|
+
expected: "string",
|
|
1433
|
+
value: elem
|
|
1434
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1435
|
+
path: _path2 + ".included_types",
|
|
1436
|
+
expected: "(Array<string> | undefined)",
|
|
1437
|
+
value: input3.included_types
|
|
1438
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1439
|
+
path: _path2 + ".isleaf",
|
|
1440
|
+
expected: "(boolean | undefined)",
|
|
1441
|
+
value: input3.isleaf
|
|
1442
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1443
|
+
path: _path2 + ".values",
|
|
1444
|
+
expected: "(TermValues | undefined)",
|
|
1445
|
+
value: input3.values
|
|
1446
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1447
|
+
path: _path2 + ".values",
|
|
1448
|
+
expected: "(TermValues | undefined)",
|
|
1449
|
+
value: input3.values
|
|
1450
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1451
|
+
path: _path2 + ".skipValuesBuild",
|
|
1452
|
+
expected: "(boolean | undefined)",
|
|
1453
|
+
value: input3.skipValuesBuild
|
|
1454
|
+
})].every((flag) => flag);
|
|
1455
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".grade",
|
|
1457
|
+
expected: "number",
|
|
1458
|
+
value: input3.grade
|
|
1459
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".grade_label",
|
|
1461
|
+
expected: "string",
|
|
1462
|
+
value: input3.grade_label
|
|
1463
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".child_id",
|
|
1465
|
+
expected: "(string | undefined)",
|
|
1466
|
+
value: input3.child_id
|
|
1467
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".child_label",
|
|
1469
|
+
expected: "string",
|
|
1470
|
+
value: input3.child_label
|
|
1471
|
+
})].every((flag) => flag);
|
|
1472
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1473
|
+
path: _path2 + ".join",
|
|
1474
|
+
expected: "(string | undefined)",
|
|
1475
|
+
value: input3.join
|
|
1476
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1477
|
+
path: _path2 + ".isnot",
|
|
1478
|
+
expected: "(boolean | undefined)",
|
|
1479
|
+
value: input3.isnot
|
|
1480
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1481
|
+
path: _path2 + ".term",
|
|
1482
|
+
expected: "DtTerm",
|
|
1483
|
+
value: input3.term
|
|
1484
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1485
|
+
path: _path2 + ".term",
|
|
1486
|
+
expected: "DtTerm",
|
|
1487
|
+
value: input3.term
|
|
1488
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1489
|
+
path: _path2 + ".values",
|
|
1490
|
+
expected: "Array<__type>.o2",
|
|
1491
|
+
value: input3.values
|
|
1492
|
+
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1494
|
+
expected: "__type.o4",
|
|
1495
|
+
value: elem
|
|
1496
|
+
})) && $vo37(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".values[" + _index27 + "]",
|
|
1498
|
+
expected: "__type.o4",
|
|
1499
|
+
value: elem
|
|
1500
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".values",
|
|
1502
|
+
expected: "Array<__type>.o2",
|
|
1503
|
+
value: input3.values
|
|
1504
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".includeNotTested",
|
|
1506
|
+
expected: "(boolean | undefined)",
|
|
1507
|
+
value: input3.includeNotTested
|
|
1508
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".excludeGeneName",
|
|
1510
|
+
expected: "(boolean | undefined)",
|
|
1511
|
+
value: input3.excludeGeneName
|
|
1512
|
+
})].every((flag) => flag);
|
|
1513
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1514
|
+
path: _path2 + ".id",
|
|
1515
|
+
expected: "string",
|
|
1516
|
+
value: input3.id
|
|
1517
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1518
|
+
path: _path2 + ".query",
|
|
1519
|
+
expected: "string",
|
|
1520
|
+
value: input3.query
|
|
1521
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1522
|
+
path: _path2 + ".name",
|
|
1523
|
+
expected: "string",
|
|
1524
|
+
value: input3.name
|
|
1525
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1526
|
+
path: _path2 + ".name_noOrigin",
|
|
1527
|
+
expected: "string",
|
|
1528
|
+
value: input3.name_noOrigin
|
|
1529
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1530
|
+
path: _path2 + ".parentTerm",
|
|
1531
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1532
|
+
value: input3.parentTerm
|
|
1533
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1534
|
+
path: _path2 + ".parentTerm",
|
|
1535
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1536
|
+
value: input3.parentTerm
|
|
1537
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1538
|
+
path: _path2 + ".isleaf",
|
|
1539
|
+
expected: "boolean",
|
|
1540
|
+
value: input3.isleaf
|
|
1541
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1542
|
+
path: _path2 + ".type",
|
|
1543
|
+
expected: "string",
|
|
1544
|
+
value: input3.type
|
|
1545
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1546
|
+
path: _path2 + ".dt",
|
|
1547
|
+
expected: "number",
|
|
1548
|
+
value: input3.dt
|
|
1549
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1550
|
+
path: _path2 + ".origin",
|
|
1551
|
+
expected: "(string | undefined)",
|
|
1552
|
+
value: input3.origin
|
|
1553
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1554
|
+
path: _path2 + ".values",
|
|
1555
|
+
expected: "TermValues",
|
|
1556
|
+
value: input3.values
|
|
1557
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".values",
|
|
1559
|
+
expected: "TermValues",
|
|
1560
|
+
value: input3.values
|
|
1561
|
+
})].every((flag) => flag);
|
|
1562
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1563
|
+
path: _path2 + ".id",
|
|
1564
|
+
expected: "string",
|
|
1565
|
+
value: input3.id
|
|
1566
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1567
|
+
path: _path2 + ".name",
|
|
1568
|
+
expected: "string",
|
|
1569
|
+
value: input3.name
|
|
1570
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1571
|
+
path: _path2 + ".type",
|
|
1572
|
+
expected: '"geneVariant"',
|
|
1573
|
+
value: input3.type
|
|
1574
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1575
|
+
path: _path2 + ".child_types",
|
|
1576
|
+
expected: "(Array<string> | undefined)",
|
|
1577
|
+
value: input3.child_types
|
|
1578
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1579
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1580
|
+
expected: "string",
|
|
1581
|
+
value: elem
|
|
1582
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1583
|
+
path: _path2 + ".child_types",
|
|
1584
|
+
expected: "(Array<string> | undefined)",
|
|
1585
|
+
value: input3.child_types
|
|
1586
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1587
|
+
path: _path2 + ".hashtmldetail",
|
|
1588
|
+
expected: "(boolean | undefined)",
|
|
1589
|
+
value: input3.hashtmldetail
|
|
1590
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1591
|
+
path: _path2 + ".included_types",
|
|
1592
|
+
expected: "(Array<string> | undefined)",
|
|
1593
|
+
value: input3.included_types
|
|
1594
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1595
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1596
|
+
expected: "string",
|
|
1597
|
+
value: elem
|
|
1598
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1599
|
+
path: _path2 + ".included_types",
|
|
1600
|
+
expected: "(Array<string> | undefined)",
|
|
1601
|
+
value: input3.included_types
|
|
1602
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1603
|
+
path: _path2 + ".isleaf",
|
|
1604
|
+
expected: "(boolean | undefined)",
|
|
1605
|
+
value: input3.isleaf
|
|
1606
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1607
|
+
path: _path2 + ".values",
|
|
1608
|
+
expected: "(TermValues | undefined)",
|
|
1609
|
+
value: input3.values
|
|
1610
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1611
|
+
path: _path2 + ".values",
|
|
1612
|
+
expected: "(TermValues | undefined)",
|
|
1613
|
+
value: input3.values
|
|
1614
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1615
|
+
path: _path2 + ".skipValuesBuild",
|
|
1616
|
+
expected: "(boolean | undefined)",
|
|
1617
|
+
value: input3.skipValuesBuild
|
|
1618
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1619
|
+
path: _path2 + ".kind",
|
|
1620
|
+
expected: '"gene"',
|
|
1621
|
+
value: input3.kind
|
|
1622
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1623
|
+
path: _path2 + ".gene",
|
|
1624
|
+
expected: "string",
|
|
1625
|
+
value: input3.gene
|
|
1626
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1627
|
+
path: _path2 + ".chr",
|
|
1628
|
+
expected: "(string | undefined)",
|
|
1629
|
+
value: input3.chr
|
|
1630
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1631
|
+
path: _path2 + ".start",
|
|
1632
|
+
expected: "(number | undefined)",
|
|
1633
|
+
value: input3.start
|
|
1634
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1635
|
+
path: _path2 + ".stop",
|
|
1636
|
+
expected: "(number | undefined)",
|
|
1637
|
+
value: input3.stop
|
|
1638
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1639
|
+
path: _path2 + ".genes",
|
|
1640
|
+
expected: "Array<GvGeneTerm>",
|
|
1279
1641
|
value: input3.genes
|
|
1280
|
-
})) && input3.genes.map((elem,
|
|
1281
|
-
path: _path2 + ".genes[" +
|
|
1642
|
+
})) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1643
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1282
1644
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1283
1645
|
value: elem
|
|
1284
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1285
|
-
path: _path2 + ".genes[" +
|
|
1646
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1286
1648
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1287
1649
|
value: elem
|
|
1288
1650
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1301,12 +1663,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1301
1663
|
path: _path2 + ".childTerms",
|
|
1302
1664
|
expected: "(Array<DtTerm> | undefined)",
|
|
1303
1665
|
value: input3.childTerms
|
|
1304
|
-
})) && input3.childTerms.map((elem,
|
|
1305
|
-
path: _path2 + ".childTerms[" +
|
|
1666
|
+
})) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1667
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1306
1668
|
expected: "DtTerm",
|
|
1307
1669
|
value: elem
|
|
1308
|
-
})) && $
|
|
1309
|
-
path: _path2 + ".childTerms[" +
|
|
1670
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1310
1672
|
expected: "DtTerm",
|
|
1311
1673
|
value: elem
|
|
1312
1674
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1314,7 +1676,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1314
1676
|
expected: "(Array<DtTerm> | undefined)",
|
|
1315
1677
|
value: input3.childTerms
|
|
1316
1678
|
})].every((flag) => flag);
|
|
1317
|
-
const $
|
|
1679
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1318
1680
|
path: _path2 + ".id",
|
|
1319
1681
|
expected: "string",
|
|
1320
1682
|
value: input3.id
|
|
@@ -1330,8 +1692,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1330
1692
|
path: _path2 + ".child_types",
|
|
1331
1693
|
expected: "(Array<string> | undefined)",
|
|
1332
1694
|
value: input3.child_types
|
|
1333
|
-
})) && input3.child_types.map((elem,
|
|
1334
|
-
path: _path2 + ".child_types[" +
|
|
1695
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1696
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1335
1697
|
expected: "string",
|
|
1336
1698
|
value: elem
|
|
1337
1699
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1346,8 +1708,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1346
1708
|
path: _path2 + ".included_types",
|
|
1347
1709
|
expected: "(Array<string> | undefined)",
|
|
1348
1710
|
value: input3.included_types
|
|
1349
|
-
})) && input3.included_types.map((elem,
|
|
1350
|
-
path: _path2 + ".included_types[" +
|
|
1711
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1351
1713
|
expected: "string",
|
|
1352
1714
|
value: elem
|
|
1353
1715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1391,7 +1753,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1391
1753
|
expected: "(number | undefined)",
|
|
1392
1754
|
value: input3.stop
|
|
1393
1755
|
})].every((flag) => flag);
|
|
1394
|
-
const $
|
|
1756
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1395
1757
|
path: _path2 + ".id",
|
|
1396
1758
|
expected: "string",
|
|
1397
1759
|
value: input3.id
|
|
@@ -1407,8 +1769,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1407
1769
|
path: _path2 + ".child_types",
|
|
1408
1770
|
expected: "(Array<string> | undefined)",
|
|
1409
1771
|
value: input3.child_types
|
|
1410
|
-
})) && input3.child_types.map((elem,
|
|
1411
|
-
path: _path2 + ".child_types[" +
|
|
1772
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1773
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1412
1774
|
expected: "string",
|
|
1413
1775
|
value: elem
|
|
1414
1776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1423,8 +1785,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1423
1785
|
path: _path2 + ".included_types",
|
|
1424
1786
|
expected: "(Array<string> | undefined)",
|
|
1425
1787
|
value: input3.included_types
|
|
1426
|
-
})) && input3.included_types.map((elem,
|
|
1427
|
-
path: _path2 + ".included_types[" +
|
|
1788
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1789
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1428
1790
|
expected: "string",
|
|
1429
1791
|
value: elem
|
|
1430
1792
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1464,7 +1826,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1464
1826
|
expected: "number",
|
|
1465
1827
|
value: input3.stop
|
|
1466
1828
|
})].every((flag) => flag);
|
|
1467
|
-
const $
|
|
1829
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1468
1830
|
path: _path2 + ".id",
|
|
1469
1831
|
expected: "string",
|
|
1470
1832
|
value: input3.id
|
|
@@ -1480,8 +1842,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1480
1842
|
path: _path2 + ".child_types",
|
|
1481
1843
|
expected: "(Array<string> | undefined)",
|
|
1482
1844
|
value: input3.child_types
|
|
1483
|
-
})) && input3.child_types.map((elem,
|
|
1484
|
-
path: _path2 + ".child_types[" +
|
|
1845
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1846
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1485
1847
|
expected: "string",
|
|
1486
1848
|
value: elem
|
|
1487
1849
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1496,8 +1858,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1496
1858
|
path: _path2 + ".included_types",
|
|
1497
1859
|
expected: "(Array<string> | undefined)",
|
|
1498
1860
|
value: input3.included_types
|
|
1499
|
-
})) && input3.included_types.map((elem,
|
|
1500
|
-
path: _path2 + ".included_types[" +
|
|
1861
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1862
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1501
1863
|
expected: "string",
|
|
1502
1864
|
value: elem
|
|
1503
1865
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1540,12 +1902,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1540
1902
|
path: _path2 + ".genes",
|
|
1541
1903
|
expected: "Array<GvGeneTerm>",
|
|
1542
1904
|
value: input3.genes
|
|
1543
|
-
})) && input3.genes.map((elem,
|
|
1544
|
-
path: _path2 + ".genes[" +
|
|
1905
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1906
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1545
1907
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1546
1908
|
value: elem
|
|
1547
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1548
|
-
path: _path2 + ".genes[" +
|
|
1909
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
1549
1911
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1550
1912
|
value: elem
|
|
1551
1913
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1564,12 +1926,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1564
1926
|
path: _path2 + ".childTerms",
|
|
1565
1927
|
expected: "(Array<DtTerm> | undefined)",
|
|
1566
1928
|
value: input3.childTerms
|
|
1567
|
-
})) && input3.childTerms.map((elem,
|
|
1568
|
-
path: _path2 + ".childTerms[" +
|
|
1929
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1569
1931
|
expected: "DtTerm",
|
|
1570
1932
|
value: elem
|
|
1571
|
-
})) && $
|
|
1572
|
-
path: _path2 + ".childTerms[" +
|
|
1933
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1573
1935
|
expected: "DtTerm",
|
|
1574
1936
|
value: elem
|
|
1575
1937
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1577,7 +1939,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1577
1939
|
expected: "(Array<DtTerm> | undefined)",
|
|
1578
1940
|
value: input3.childTerms
|
|
1579
1941
|
})].every((flag) => flag);
|
|
1580
|
-
const $
|
|
1942
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1581
1943
|
path: _path2 + ".key",
|
|
1582
1944
|
expected: "string",
|
|
1583
1945
|
value: input3.key
|
|
@@ -1621,9 +1983,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1621
1983
|
})();
|
|
1622
1984
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1623
1985
|
if ("gene" === input3.kind)
|
|
1624
|
-
return $
|
|
1986
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1625
1987
|
if ("coord" === input3.kind)
|
|
1626
|
-
return $
|
|
1988
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1627
1989
|
return $report(_exceptionable2, {
|
|
1628
1990
|
path: _path2,
|
|
1629
1991
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1633,18 +1995,18 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1633
1995
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1634
1996
|
if (void 0 !== input3.ranges)
|
|
1635
1997
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1636
|
-
return $vo3(input3, _path2, false) || $
|
|
1998
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1637
1999
|
})();
|
|
1638
2000
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1639
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
2001
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1640
2002
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1641
|
-
if ("
|
|
1642
|
-
return $
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
2003
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2004
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2005
|
+
if ("date" === input3.type)
|
|
2006
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
2007
|
+
if ("ssGSEA" === input3.type)
|
|
2008
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2009
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
1648
2010
|
})();
|
|
1649
2011
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1650
2012
|
if ("regular-bin" === input3.type)
|
|
@@ -1681,9 +2043,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1681
2043
|
})();
|
|
1682
2044
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1683
2045
|
if ("gene" === input3.kind)
|
|
1684
|
-
return $
|
|
2046
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1685
2047
|
if ("coord" === input3.kind)
|
|
1686
|
-
return $
|
|
2048
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1687
2049
|
return $report(_exceptionable2, {
|
|
1688
2050
|
path: _path2,
|
|
1689
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; })',
|
|
@@ -1713,7 +2075,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1713
2075
|
const __is = (input2) => {
|
|
1714
2076
|
const $join = import_typia.createValidate.join;
|
|
1715
2077
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1716
|
-
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);
|
|
1717
2079
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1718
2080
|
const value = input3[key];
|
|
1719
2081
|
if (void 0 === value)
|
|
@@ -1734,8 +2096,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1734
2096
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1735
2097
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1736
2098
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.color;
|
|
1737
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1738
|
-
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
2099
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
2100
|
+
const $io14 = (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));
|
|
1739
2101
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1740
2102
|
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
1741
2103
|
const $io17 = (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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
@@ -1751,58 +2113,72 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1751
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);
|
|
1752
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);
|
|
1753
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);
|
|
1754
|
-
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) &&
|
|
1755
|
-
const $io24 = (input3) => "string" === typeof input3.
|
|
1756
|
-
const $io25 = (input3) =>
|
|
1757
|
-
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1758
|
-
const $io27 = (input3) => "
|
|
1759
|
-
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)) && (
|
|
1760
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
1761
|
-
const $io30 = (input3) => "
|
|
1762
|
-
const $io31 = (input3) =>
|
|
1763
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
1764
|
-
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
1765
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
1766
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1767
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1768
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
1769
|
-
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1770
|
-
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1771
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1772
|
-
const $io41 = (input3) =>
|
|
1773
|
-
const $io42 = (input3) => "string" === typeof input3.
|
|
1774
|
-
const $io43 = (input3) => "string" === typeof input3.
|
|
1775
|
-
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1776
|
-
const $io45 = (input3) =>
|
|
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;
|
|
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));
|
|
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));
|
|
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));
|
|
2120
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
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)));
|
|
2122
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2123
|
+
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;
|
|
2124
|
+
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);
|
|
2125
|
+
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 && $iu10(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) && $io2(input3.values));
|
|
2126
|
+
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) && $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))) && (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)));
|
|
2127
|
+
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) && $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);
|
|
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;
|
|
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)));
|
|
2130
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
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)));
|
|
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));
|
|
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));
|
|
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));
|
|
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));
|
|
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));
|
|
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);
|
|
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)));
|
|
2140
|
+
const $io47 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io48(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io49(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
2141
|
+
const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
2142
|
+
const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
2143
|
+
const $io50 = (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) && $io51(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2144
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
1777
2145
|
const value = input3[key];
|
|
1778
2146
|
if (void 0 === value)
|
|
1779
2147
|
return true;
|
|
1780
2148
|
if (RegExp(/(.*)/).test(key))
|
|
1781
|
-
return "object" === typeof value && null !== value && $
|
|
2149
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1782
2150
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1783
|
-
return "object" === typeof value && null !== value && $
|
|
2151
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1784
2152
|
return true;
|
|
1785
2153
|
});
|
|
1786
|
-
const $
|
|
1787
|
-
const $
|
|
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;
|
|
2155
|
+
const $io53 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1788
2156
|
const $iu0 = (input3) => (() => {
|
|
1789
|
-
if ("
|
|
1790
|
-
return $
|
|
1791
|
-
if ("coord" === input3.kind)
|
|
1792
|
-
return $io35(input3);
|
|
2157
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2158
|
+
return $io40(input3);
|
|
1793
2159
|
if ("categorical" === input3.type)
|
|
1794
|
-
return $
|
|
1795
|
-
if ("
|
|
1796
|
-
return $
|
|
1797
|
-
if ("
|
|
1798
|
-
return $
|
|
2160
|
+
return $io41(input3);
|
|
2161
|
+
if ("date" === input3.type)
|
|
2162
|
+
return $io43(input3);
|
|
2163
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
2164
|
+
return $io42(input3);
|
|
2165
|
+
if ("ssGSEA" === input3.type)
|
|
2166
|
+
return $io44(input3);
|
|
1799
2167
|
if ("condition" === input3.type)
|
|
1800
|
-
return $
|
|
2168
|
+
return $io45(input3);
|
|
1801
2169
|
return (() => {
|
|
1802
|
-
if ($
|
|
1803
|
-
return $
|
|
1804
|
-
if ($
|
|
1805
|
-
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);
|
|
2178
|
+
if ($io46(input3))
|
|
2179
|
+
return $io46(input3);
|
|
2180
|
+
if ($io50(input3))
|
|
2181
|
+
return $io50(input3);
|
|
1806
2182
|
return false;
|
|
1807
2183
|
})();
|
|
1808
2184
|
})();
|
|
@@ -1829,9 +2205,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1829
2205
|
})();
|
|
1830
2206
|
const $iu4 = (input3) => (() => {
|
|
1831
2207
|
if ("gene" === input3.kind)
|
|
1832
|
-
return $
|
|
2208
|
+
return $io34(input3);
|
|
1833
2209
|
if ("coord" === input3.kind)
|
|
1834
|
-
return $
|
|
2210
|
+
return $io35(input3);
|
|
1835
2211
|
return false;
|
|
1836
2212
|
})();
|
|
1837
2213
|
const $iu5 = (input3) => (() => {
|
|
@@ -1840,19 +2216,29 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1840
2216
|
return (() => {
|
|
1841
2217
|
if ($io6(input3))
|
|
1842
2218
|
return $io6(input3);
|
|
1843
|
-
if ($io25(input3))
|
|
1844
|
-
return $io25(input3);
|
|
1845
2219
|
if ($io28(input3))
|
|
1846
2220
|
return $io28(input3);
|
|
2221
|
+
if ($io31(input3))
|
|
2222
|
+
return $io31(input3);
|
|
1847
2223
|
return false;
|
|
1848
2224
|
})();
|
|
1849
2225
|
})();
|
|
1850
2226
|
const $iu6 = (input3) => (() => {
|
|
1851
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
2227
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1852
2228
|
return $io14(input3);
|
|
1853
|
-
if ("
|
|
1854
|
-
return $
|
|
1855
|
-
|
|
2229
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2230
|
+
return $io24(input3);
|
|
2231
|
+
if ("date" === input3.type)
|
|
2232
|
+
return $io25(input3);
|
|
2233
|
+
if ("ssGSEA" === input3.type)
|
|
2234
|
+
return $io26(input3);
|
|
2235
|
+
return (() => {
|
|
2236
|
+
if ($io23(input3))
|
|
2237
|
+
return $io23(input3);
|
|
2238
|
+
if ($io1(input3))
|
|
2239
|
+
return $io1(input3);
|
|
2240
|
+
return false;
|
|
2241
|
+
})();
|
|
1856
2242
|
})();
|
|
1857
2243
|
const $iu7 = (input3) => (() => {
|
|
1858
2244
|
if ("regular-bin" === input3.type)
|
|
@@ -1877,9 +2263,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1877
2263
|
})();
|
|
1878
2264
|
const $iu10 = (input3) => (() => {
|
|
1879
2265
|
if ("gene" === input3.kind)
|
|
1880
|
-
return $io30(input3);
|
|
1881
|
-
if ("coord" === input3.kind)
|
|
1882
2266
|
return $io33(input3);
|
|
2267
|
+
if ("coord" === input3.kind)
|
|
2268
|
+
return $io36(input3);
|
|
1883
2269
|
return false;
|
|
1884
2270
|
})();
|
|
1885
2271
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1894,11 +2280,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1894
2280
|
value: input3.terms
|
|
1895
2281
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1896
2282
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1897
|
-
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; })',
|
|
1898
2284
|
value: elem
|
|
1899
2285
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1900
2286
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1901
|
-
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; })',
|
|
1902
2288
|
value: elem
|
|
1903
2289
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1904
2290
|
path: _path2 + ".terms",
|
|
@@ -1913,9 +2299,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1913
2299
|
path: _path2 + ".name",
|
|
1914
2300
|
expected: "string",
|
|
1915
2301
|
value: input3.name
|
|
1916
|
-
}), "
|
|
2302
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1917
2303
|
path: _path2 + ".type",
|
|
1918
|
-
expected: '"
|
|
2304
|
+
expected: '"geneExpression"',
|
|
1919
2305
|
value: input3.type
|
|
1920
2306
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1921
2307
|
path: _path2 + ".child_types",
|
|
@@ -1961,66 +2347,46 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1961
2347
|
path: _path2 + ".skipValuesBuild",
|
|
1962
2348
|
expected: "(boolean | undefined)",
|
|
1963
2349
|
value: input3.skipValuesBuild
|
|
1964
|
-
}), "
|
|
1965
|
-
path: _path2 + ".
|
|
1966
|
-
expected:
|
|
1967
|
-
value: input3.
|
|
1968
|
-
}), "
|
|
1969
|
-
path: _path2 + ".
|
|
1970
|
-
expected: "
|
|
1971
|
-
value: input3.
|
|
1972
|
-
}), void 0 === input3.
|
|
1973
|
-
path: _path2 + ".
|
|
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",
|
|
1974
2360
|
expected: "(string | undefined)",
|
|
1975
|
-
value: input3.
|
|
1976
|
-
}), void 0 === input3.
|
|
1977
|
-
path: _path2 + ".
|
|
1978
|
-
expected: "(
|
|
1979
|
-
value: input3.
|
|
1980
|
-
})
|
|
1981
|
-
path: _path2 + ".
|
|
1982
|
-
expected: "(
|
|
1983
|
-
value: input3.
|
|
1984
|
-
}),
|
|
1985
|
-
path: _path2 + ".
|
|
1986
|
-
expected: "
|
|
1987
|
-
value: input3.
|
|
1988
|
-
})
|
|
1989
|
-
path: _path2 + ".
|
|
1990
|
-
expected: "
|
|
1991
|
-
value:
|
|
1992
|
-
})
|
|
1993
|
-
path: _path2 + ".
|
|
1994
|
-
expected: "(
|
|
1995
|
-
value:
|
|
1996
|
-
})
|
|
1997
|
-
path: _path2 + ".
|
|
1998
|
-
expected: "
|
|
1999
|
-
value: input3.
|
|
2000
|
-
}),
|
|
2001
|
-
path: _path2 + ".
|
|
2002
|
-
expected: "
|
|
2003
|
-
value: input3.
|
|
2004
|
-
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2005
|
-
path: _path2 + ".groupsetting",
|
|
2006
|
-
expected: "TermGroupSetting",
|
|
2007
|
-
value: input3.groupsetting
|
|
2008
|
-
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2009
|
-
path: _path2 + ".childTerms",
|
|
2010
|
-
expected: "Array<DtTerm>",
|
|
2011
|
-
value: input3.childTerms
|
|
2012
|
-
})) && input3.childTerms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2013
|
-
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
2014
|
-
expected: "DtTerm",
|
|
2015
|
-
value: elem
|
|
2016
|
-
})) && $vo29(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2017
|
-
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
2018
|
-
expected: "DtTerm",
|
|
2019
|
-
value: elem
|
|
2020
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2021
|
-
path: _path2 + ".childTerms",
|
|
2022
|
-
expected: "Array<DtTerm>",
|
|
2023
|
-
value: input3.childTerms
|
|
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, {
|
|
2371
|
+
path: _path2 + ".kind",
|
|
2372
|
+
expected: '("gene" | undefined)',
|
|
2373
|
+
value: input3.kind
|
|
2374
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2375
|
+
path: _path2 + ".gene",
|
|
2376
|
+
expected: "string",
|
|
2377
|
+
value: input3.gene
|
|
2378
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2379
|
+
path: _path2 + ".chr",
|
|
2380
|
+
expected: "(string | undefined)",
|
|
2381
|
+
value: input3.chr
|
|
2382
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2383
|
+
path: _path2 + ".start",
|
|
2384
|
+
expected: "(number | undefined)",
|
|
2385
|
+
value: input3.start
|
|
2386
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2387
|
+
path: _path2 + ".stop",
|
|
2388
|
+
expected: "(number | undefined)",
|
|
2389
|
+
value: input3.stop
|
|
2024
2390
|
})].every((flag) => flag);
|
|
2025
2391
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2026
2392
|
const value = input3[key];
|
|
@@ -2101,12 +2467,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2101
2467
|
path: _path2 + ".lst",
|
|
2102
2468
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
2103
2469
|
value: input3.lst
|
|
2104
|
-
})) && input3.lst.map((elem,
|
|
2105
|
-
path: _path2 + ".lst[" +
|
|
2470
|
+
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2471
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
2106
2472
|
expected: "(Filter | __type)",
|
|
2107
2473
|
value: elem
|
|
2108
|
-
})) && $vu1(elem, _path2 + ".lst[" +
|
|
2109
|
-
path: _path2 + ".lst[" +
|
|
2474
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2475
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
2110
2476
|
expected: "(Filter | __type)",
|
|
2111
2477
|
value: elem
|
|
2112
2478
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2151,12 +2517,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2151
2517
|
path: _path2 + ".values",
|
|
2152
2518
|
expected: "Array<BaseValue>",
|
|
2153
2519
|
value: input3.values
|
|
2154
|
-
})) && input3.values.map((elem,
|
|
2155
|
-
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 + "]",
|
|
2156
2522
|
expected: "BaseValue",
|
|
2157
2523
|
value: elem
|
|
2158
|
-
})) && $vo3(elem, _path2 + ".values[" +
|
|
2159
|
-
path: _path2 + ".values[" +
|
|
2524
|
+
})) && $vo3(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2525
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
2160
2526
|
expected: "BaseValue",
|
|
2161
2527
|
value: elem
|
|
2162
2528
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2180,8 +2546,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2180
2546
|
path: _path2 + ".child_types",
|
|
2181
2547
|
expected: "(Array<string> | undefined)",
|
|
2182
2548
|
value: input3.child_types
|
|
2183
|
-
})) && input3.child_types.map((elem,
|
|
2184
|
-
path: _path2 + ".child_types[" +
|
|
2549
|
+
})) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2550
|
+
path: _path2 + ".child_types[" + _index6 + "]",
|
|
2185
2551
|
expected: "string",
|
|
2186
2552
|
value: elem
|
|
2187
2553
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2196,8 +2562,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2196
2562
|
path: _path2 + ".included_types",
|
|
2197
2563
|
expected: "(Array<string> | undefined)",
|
|
2198
2564
|
value: input3.included_types
|
|
2199
|
-
})) && input3.included_types.map((elem,
|
|
2200
|
-
path: _path2 + ".included_types[" +
|
|
2565
|
+
})) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2566
|
+
path: _path2 + ".included_types[" + _index7 + "]",
|
|
2201
2567
|
expected: "string",
|
|
2202
2568
|
value: elem
|
|
2203
2569
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2237,12 +2603,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2237
2603
|
path: _path2 + ".lst",
|
|
2238
2604
|
expected: "(Array<Groupset> | undefined)",
|
|
2239
2605
|
value: input3.lst
|
|
2240
|
-
})) && input3.lst.map((elem,
|
|
2241
|
-
path: _path2 + ".lst[" +
|
|
2606
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2607
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
2242
2608
|
expected: "Groupset",
|
|
2243
2609
|
value: elem
|
|
2244
|
-
})) && $vo9(elem, _path2 + ".lst[" +
|
|
2245
|
-
path: _path2 + ".lst[" +
|
|
2610
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
2246
2612
|
expected: "Groupset",
|
|
2247
2613
|
value: elem
|
|
2248
2614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2270,12 +2636,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2270
2636
|
path: _path2 + ".groups",
|
|
2271
2637
|
expected: "Array<GroupEntry>",
|
|
2272
2638
|
value: input3.groups
|
|
2273
|
-
})) && input3.groups.map((elem,
|
|
2274
|
-
path: _path2 + ".groups[" +
|
|
2639
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2640
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
2275
2641
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2276
2642
|
value: elem
|
|
2277
|
-
})) && $vu2(elem, _path2 + ".groups[" +
|
|
2278
|
-
path: _path2 + ".groups[" +
|
|
2643
|
+
})) && $vu2(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2644
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
2279
2645
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2280
2646
|
value: elem
|
|
2281
2647
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2295,12 +2661,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2295
2661
|
path: _path2 + ".values",
|
|
2296
2662
|
expected: "Array<__type>",
|
|
2297
2663
|
value: input3.values
|
|
2298
|
-
})) && input3.values.map((elem,
|
|
2299
|
-
path: _path2 + ".values[" +
|
|
2664
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2665
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
2300
2666
|
expected: "__type.o1",
|
|
2301
2667
|
value: elem
|
|
2302
|
-
})) && $vo11(elem, _path2 + ".values[" +
|
|
2303
|
-
path: _path2 + ".values[" +
|
|
2668
|
+
})) && $vo11(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2669
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
2304
2670
|
expected: "__type.o1",
|
|
2305
2671
|
value: elem
|
|
2306
2672
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2352,22 +2718,22 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2352
2718
|
value: input3.isnot
|
|
2353
2719
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2354
2720
|
path: _path2 + ".term",
|
|
2355
|
-
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)',
|
|
2356
2722
|
value: input3.term
|
|
2357
2723
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2358
2724
|
path: _path2 + ".term",
|
|
2359
|
-
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)',
|
|
2360
2726
|
value: input3.term
|
|
2361
2727
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
2362
2728
|
path: _path2 + ".ranges",
|
|
2363
2729
|
expected: "Array<NumericBin>",
|
|
2364
2730
|
value: input3.ranges
|
|
2365
|
-
})) && input3.ranges.map((elem,
|
|
2366
|
-
path: _path2 + ".ranges[" +
|
|
2731
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2732
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
2367
2733
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2368
2734
|
value: elem
|
|
2369
|
-
})) && $vu3(elem, _path2 + ".ranges[" +
|
|
2370
|
-
path: _path2 + ".ranges[" +
|
|
2735
|
+
})) && $vu3(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2736
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
2371
2737
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2372
2738
|
value: elem
|
|
2373
2739
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2378,12 +2744,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2378
2744
|
path: _path2 + ".values",
|
|
2379
2745
|
expected: "Array<__type>.o1",
|
|
2380
2746
|
value: input3.values
|
|
2381
|
-
})) && input3.values.map((elem,
|
|
2382
|
-
path: _path2 + ".values[" +
|
|
2747
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2748
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
2383
2749
|
expected: "__type.o3",
|
|
2384
2750
|
value: elem
|
|
2385
|
-
})) && $
|
|
2386
|
-
path: _path2 + ".values[" +
|
|
2751
|
+
})) && $vo27(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2752
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
2387
2753
|
expected: "__type.o3",
|
|
2388
2754
|
value: elem
|
|
2389
2755
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2399,16 +2765,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2399
2765
|
path: _path2 + ".name",
|
|
2400
2766
|
expected: "string",
|
|
2401
2767
|
value: input3.name
|
|
2402
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
2768
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
2403
2769
|
path: _path2 + ".type",
|
|
2404
|
-
expected: '("
|
|
2770
|
+
expected: '("float" | "integer")',
|
|
2405
2771
|
value: input3.type
|
|
2406
2772
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2407
2773
|
path: _path2 + ".child_types",
|
|
2408
2774
|
expected: "(Array<string> | undefined)",
|
|
2409
2775
|
value: input3.child_types
|
|
2410
|
-
})) && input3.child_types.map((elem,
|
|
2411
|
-
path: _path2 + ".child_types[" +
|
|
2776
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2777
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
2412
2778
|
expected: "string",
|
|
2413
2779
|
value: elem
|
|
2414
2780
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2423,8 +2789,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2423
2789
|
path: _path2 + ".included_types",
|
|
2424
2790
|
expected: "(Array<string> | undefined)",
|
|
2425
2791
|
value: input3.included_types
|
|
2426
|
-
})) && input3.included_types.map((elem,
|
|
2427
|
-
path: _path2 + ".included_types[" +
|
|
2792
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2793
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
2428
2794
|
expected: "string",
|
|
2429
2795
|
value: elem
|
|
2430
2796
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2680,52 +3046,307 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2680
3046
|
value: input3.reuseId
|
|
2681
3047
|
}), "custom-bin" === input3.type || $report(_exceptionable2, {
|
|
2682
3048
|
path: _path2 + ".type",
|
|
2683
|
-
expected: '"custom-bin"',
|
|
3049
|
+
expected: '"custom-bin"',
|
|
3050
|
+
value: input3.type
|
|
3051
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3052
|
+
path: _path2 + ".mode",
|
|
3053
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3054
|
+
value: input3.mode
|
|
3055
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
3056
|
+
path: _path2 + ".lst",
|
|
3057
|
+
expected: "[NumericBin, ...NumericBin[]]",
|
|
3058
|
+
value: input3.lst
|
|
3059
|
+
})) && ([
|
|
3060
|
+
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
3061
|
+
path: _path2 + ".lst[0]",
|
|
3062
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3063
|
+
value: input3.lst[0]
|
|
3064
|
+
})) && $vu3(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
3065
|
+
path: _path2 + ".lst[0]",
|
|
3066
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3067
|
+
value: input3.lst[0]
|
|
3068
|
+
})
|
|
3069
|
+
].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
|
|
3070
|
+
path: _path2 + ".lst",
|
|
3071
|
+
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3072
|
+
value: input3.lst.slice(1)
|
|
3073
|
+
})) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3074
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
3075
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3076
|
+
value: elem
|
|
3077
|
+
})) && $vu3(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3078
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
3079
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3080
|
+
value: elem
|
|
3081
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3082
|
+
path: _path2 + ".lst",
|
|
3083
|
+
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3084
|
+
value: input3.lst.slice(1)
|
|
3085
|
+
}))) || $report(_exceptionable2, {
|
|
3086
|
+
path: _path2 + ".lst",
|
|
3087
|
+
expected: "[NumericBin, ...NumericBin[]]",
|
|
3088
|
+
value: input3.lst
|
|
3089
|
+
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
3090
|
+
path: _path2 + ".preferredBins",
|
|
3091
|
+
expected: '("median" | undefined)',
|
|
3092
|
+
value: input3.preferredBins
|
|
3093
|
+
})].every((flag) => flag);
|
|
3094
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3095
|
+
path: _path2 + ".id",
|
|
3096
|
+
expected: "string",
|
|
3097
|
+
value: input3.id
|
|
3098
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3099
|
+
path: _path2 + ".name",
|
|
3100
|
+
expected: "string",
|
|
3101
|
+
value: input3.name
|
|
3102
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
3103
|
+
path: _path2 + ".type",
|
|
3104
|
+
expected: '"geneExpression"',
|
|
3105
|
+
value: input3.type
|
|
3106
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3107
|
+
path: _path2 + ".child_types",
|
|
3108
|
+
expected: "(Array<string> | undefined)",
|
|
3109
|
+
value: input3.child_types
|
|
3110
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3111
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
3112
|
+
expected: "string",
|
|
3113
|
+
value: elem
|
|
3114
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3115
|
+
path: _path2 + ".child_types",
|
|
3116
|
+
expected: "(Array<string> | undefined)",
|
|
3117
|
+
value: input3.child_types
|
|
3118
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3119
|
+
path: _path2 + ".hashtmldetail",
|
|
3120
|
+
expected: "(boolean | undefined)",
|
|
3121
|
+
value: input3.hashtmldetail
|
|
3122
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3123
|
+
path: _path2 + ".included_types",
|
|
3124
|
+
expected: "(Array<string> | undefined)",
|
|
3125
|
+
value: input3.included_types
|
|
3126
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3127
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
3128
|
+
expected: "string",
|
|
3129
|
+
value: elem
|
|
3130
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3131
|
+
path: _path2 + ".included_types",
|
|
3132
|
+
expected: "(Array<string> | undefined)",
|
|
3133
|
+
value: input3.included_types
|
|
3134
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3135
|
+
path: _path2 + ".isleaf",
|
|
3136
|
+
expected: "(boolean | undefined)",
|
|
3137
|
+
value: input3.isleaf
|
|
3138
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3139
|
+
path: _path2 + ".values",
|
|
3140
|
+
expected: "(TermValues | undefined)",
|
|
3141
|
+
value: input3.values
|
|
3142
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3143
|
+
path: _path2 + ".values",
|
|
3144
|
+
expected: "(TermValues | undefined)",
|
|
3145
|
+
value: input3.values
|
|
3146
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3147
|
+
path: _path2 + ".skipValuesBuild",
|
|
3148
|
+
expected: "(boolean | undefined)",
|
|
3149
|
+
value: input3.skipValuesBuild
|
|
3150
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3151
|
+
path: _path2 + ".continuousColorScale",
|
|
3152
|
+
expected: "(__type.o2 | undefined)",
|
|
3153
|
+
value: input3.continuousColorScale
|
|
3154
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3155
|
+
path: _path2 + ".continuousColorScale",
|
|
3156
|
+
expected: "(__type.o2 | undefined)",
|
|
3157
|
+
value: input3.continuousColorScale
|
|
3158
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3159
|
+
path: _path2 + ".unit",
|
|
3160
|
+
expected: "(string | undefined)",
|
|
3161
|
+
value: input3.unit
|
|
3162
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3163
|
+
path: _path2 + ".bins",
|
|
3164
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3165
|
+
value: input3.bins
|
|
3166
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3167
|
+
path: _path2 + ".bins",
|
|
3168
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3169
|
+
value: input3.bins
|
|
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",
|
|
3176
|
+
expected: "(string | undefined)",
|
|
3177
|
+
value: input3.gene
|
|
3178
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3179
|
+
path: _path2 + ".chr",
|
|
3180
|
+
expected: "string",
|
|
3181
|
+
value: input3.chr
|
|
3182
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3183
|
+
path: _path2 + ".start",
|
|
3184
|
+
expected: "number",
|
|
3185
|
+
value: input3.start
|
|
3186
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3187
|
+
path: _path2 + ".stop",
|
|
3188
|
+
expected: "number",
|
|
3189
|
+
value: input3.stop
|
|
3190
|
+
})].every((flag) => flag);
|
|
3191
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3192
|
+
path: _path2 + ".id",
|
|
3193
|
+
expected: "string",
|
|
3194
|
+
value: input3.id
|
|
3195
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3196
|
+
path: _path2 + ".name",
|
|
3197
|
+
expected: "string",
|
|
3198
|
+
value: input3.name
|
|
3199
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
3200
|
+
path: _path2 + ".type",
|
|
3201
|
+
expected: '"metaboliteIntensity"',
|
|
3202
|
+
value: input3.type
|
|
3203
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3204
|
+
path: _path2 + ".child_types",
|
|
3205
|
+
expected: "(Array<string> | undefined)",
|
|
3206
|
+
value: input3.child_types
|
|
3207
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3208
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
3209
|
+
expected: "string",
|
|
3210
|
+
value: elem
|
|
3211
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3212
|
+
path: _path2 + ".child_types",
|
|
3213
|
+
expected: "(Array<string> | undefined)",
|
|
3214
|
+
value: input3.child_types
|
|
3215
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3216
|
+
path: _path2 + ".hashtmldetail",
|
|
3217
|
+
expected: "(boolean | undefined)",
|
|
3218
|
+
value: input3.hashtmldetail
|
|
3219
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3220
|
+
path: _path2 + ".included_types",
|
|
3221
|
+
expected: "(Array<string> | undefined)",
|
|
3222
|
+
value: input3.included_types
|
|
3223
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3224
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
3225
|
+
expected: "string",
|
|
3226
|
+
value: elem
|
|
3227
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3228
|
+
path: _path2 + ".included_types",
|
|
3229
|
+
expected: "(Array<string> | undefined)",
|
|
3230
|
+
value: input3.included_types
|
|
3231
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3232
|
+
path: _path2 + ".isleaf",
|
|
3233
|
+
expected: "(boolean | undefined)",
|
|
3234
|
+
value: input3.isleaf
|
|
3235
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3236
|
+
path: _path2 + ".values",
|
|
3237
|
+
expected: "(TermValues | undefined)",
|
|
3238
|
+
value: input3.values
|
|
3239
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3240
|
+
path: _path2 + ".values",
|
|
3241
|
+
expected: "(TermValues | undefined)",
|
|
3242
|
+
value: input3.values
|
|
3243
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3244
|
+
path: _path2 + ".skipValuesBuild",
|
|
3245
|
+
expected: "(boolean | undefined)",
|
|
3246
|
+
value: input3.skipValuesBuild
|
|
3247
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3248
|
+
path: _path2 + ".continuousColorScale",
|
|
3249
|
+
expected: "(__type.o2 | undefined)",
|
|
3250
|
+
value: input3.continuousColorScale
|
|
3251
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3252
|
+
path: _path2 + ".continuousColorScale",
|
|
3253
|
+
expected: "(__type.o2 | undefined)",
|
|
3254
|
+
value: input3.continuousColorScale
|
|
3255
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3256
|
+
path: _path2 + ".unit",
|
|
3257
|
+
expected: "(string | undefined)",
|
|
3258
|
+
value: input3.unit
|
|
3259
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
3260
|
+
path: _path2 + ".metabolite",
|
|
3261
|
+
expected: "string",
|
|
3262
|
+
value: input3.metabolite
|
|
3263
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3264
|
+
path: _path2 + ".bins",
|
|
3265
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3266
|
+
value: input3.bins
|
|
3267
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3268
|
+
path: _path2 + ".bins",
|
|
3269
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3270
|
+
value: input3.bins
|
|
3271
|
+
})].every((flag) => flag);
|
|
3272
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3273
|
+
path: _path2 + ".id",
|
|
3274
|
+
expected: "string",
|
|
3275
|
+
value: input3.id
|
|
3276
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3277
|
+
path: _path2 + ".name",
|
|
3278
|
+
expected: "string",
|
|
3279
|
+
value: input3.name
|
|
3280
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
3281
|
+
path: _path2 + ".type",
|
|
3282
|
+
expected: '"date"',
|
|
2684
3283
|
value: input3.type
|
|
2685
|
-
}), void 0 === input3.
|
|
2686
|
-
path: _path2 + ".
|
|
2687
|
-
expected:
|
|
2688
|
-
value: input3.
|
|
2689
|
-
})
|
|
2690
|
-
path: _path2 + ".
|
|
2691
|
-
expected: "
|
|
2692
|
-
value: input3.lst
|
|
2693
|
-
})) && ([
|
|
2694
|
-
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
2695
|
-
path: _path2 + ".lst[0]",
|
|
2696
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2697
|
-
value: input3.lst[0]
|
|
2698
|
-
})) && $vu3(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
2699
|
-
path: _path2 + ".lst[0]",
|
|
2700
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2701
|
-
value: input3.lst[0]
|
|
2702
|
-
})
|
|
2703
|
-
].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
|
|
2704
|
-
path: _path2 + ".lst",
|
|
2705
|
-
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2706
|
-
value: input3.lst.slice(1)
|
|
2707
|
-
})) && input3.lst.slice(1).map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2708
|
-
path: _path2 + ".lst[" + (1 + _index17) + "]",
|
|
2709
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
3284
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3285
|
+
path: _path2 + ".child_types",
|
|
3286
|
+
expected: "(Array<string> | undefined)",
|
|
3287
|
+
value: input3.child_types
|
|
3288
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3289
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
3290
|
+
expected: "string",
|
|
2710
3291
|
value: elem
|
|
2711
|
-
}))
|
|
2712
|
-
path: _path2 + ".
|
|
2713
|
-
expected: "(
|
|
3292
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3293
|
+
path: _path2 + ".child_types",
|
|
3294
|
+
expected: "(Array<string> | undefined)",
|
|
3295
|
+
value: input3.child_types
|
|
3296
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3297
|
+
path: _path2 + ".hashtmldetail",
|
|
3298
|
+
expected: "(boolean | undefined)",
|
|
3299
|
+
value: input3.hashtmldetail
|
|
3300
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3301
|
+
path: _path2 + ".included_types",
|
|
3302
|
+
expected: "(Array<string> | undefined)",
|
|
3303
|
+
value: input3.included_types
|
|
3304
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3305
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
3306
|
+
expected: "string",
|
|
2714
3307
|
value: elem
|
|
2715
3308
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2716
|
-
path: _path2 + ".
|
|
2717
|
-
expected: "
|
|
2718
|
-
value: input3.
|
|
2719
|
-
})
|
|
2720
|
-
path: _path2 + ".
|
|
2721
|
-
expected: "
|
|
2722
|
-
value: input3.
|
|
2723
|
-
}), void 0 === input3.
|
|
2724
|
-
path: _path2 + ".
|
|
2725
|
-
expected:
|
|
2726
|
-
value: input3.
|
|
3309
|
+
path: _path2 + ".included_types",
|
|
3310
|
+
expected: "(Array<string> | undefined)",
|
|
3311
|
+
value: input3.included_types
|
|
3312
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3313
|
+
path: _path2 + ".isleaf",
|
|
3314
|
+
expected: "(boolean | undefined)",
|
|
3315
|
+
value: input3.isleaf
|
|
3316
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3317
|
+
path: _path2 + ".values",
|
|
3318
|
+
expected: "(TermValues | undefined)",
|
|
3319
|
+
value: input3.values
|
|
3320
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3321
|
+
path: _path2 + ".values",
|
|
3322
|
+
expected: "(TermValues | undefined)",
|
|
3323
|
+
value: input3.values
|
|
3324
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3325
|
+
path: _path2 + ".skipValuesBuild",
|
|
3326
|
+
expected: "(boolean | undefined)",
|
|
3327
|
+
value: input3.skipValuesBuild
|
|
3328
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3329
|
+
path: _path2 + ".continuousColorScale",
|
|
3330
|
+
expected: "(__type.o2 | undefined)",
|
|
3331
|
+
value: input3.continuousColorScale
|
|
3332
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3333
|
+
path: _path2 + ".continuousColorScale",
|
|
3334
|
+
expected: "(__type.o2 | undefined)",
|
|
3335
|
+
value: input3.continuousColorScale
|
|
3336
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3337
|
+
path: _path2 + ".unit",
|
|
3338
|
+
expected: "(string | undefined)",
|
|
3339
|
+
value: input3.unit
|
|
3340
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3341
|
+
path: _path2 + ".bins",
|
|
3342
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3343
|
+
value: input3.bins
|
|
3344
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3345
|
+
path: _path2 + ".bins",
|
|
3346
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3347
|
+
value: input3.bins
|
|
2727
3348
|
})].every((flag) => flag);
|
|
2728
|
-
const $
|
|
3349
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2729
3350
|
path: _path2 + ".id",
|
|
2730
3351
|
expected: "string",
|
|
2731
3352
|
value: input3.id
|
|
@@ -2733,16 +3354,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2733
3354
|
path: _path2 + ".name",
|
|
2734
3355
|
expected: "string",
|
|
2735
3356
|
value: input3.name
|
|
2736
|
-
}), "
|
|
3357
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
2737
3358
|
path: _path2 + ".type",
|
|
2738
|
-
expected: '"
|
|
3359
|
+
expected: '"ssGSEA"',
|
|
2739
3360
|
value: input3.type
|
|
2740
3361
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2741
3362
|
path: _path2 + ".child_types",
|
|
2742
3363
|
expected: "(Array<string> | undefined)",
|
|
2743
3364
|
value: input3.child_types
|
|
2744
|
-
})) && input3.child_types.map((elem,
|
|
2745
|
-
path: _path2 + ".child_types[" +
|
|
3365
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3366
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
2746
3367
|
expected: "string",
|
|
2747
3368
|
value: elem
|
|
2748
3369
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2757,8 +3378,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2757
3378
|
path: _path2 + ".included_types",
|
|
2758
3379
|
expected: "(Array<string> | undefined)",
|
|
2759
3380
|
value: input3.included_types
|
|
2760
|
-
})) && input3.included_types.map((elem,
|
|
2761
|
-
path: _path2 + ".included_types[" +
|
|
3381
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3382
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
2762
3383
|
expected: "string",
|
|
2763
3384
|
value: elem
|
|
2764
3385
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2793,10 +3414,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2793
3414
|
path: _path2 + ".unit",
|
|
2794
3415
|
expected: "(string | undefined)",
|
|
2795
3416
|
value: input3.unit
|
|
2796
|
-
}),
|
|
2797
|
-
path: _path2 + ".
|
|
3417
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3418
|
+
path: _path2 + ".genes",
|
|
3419
|
+
expected: "(Array<string> | undefined)",
|
|
3420
|
+
value: input3.genes
|
|
3421
|
+
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3422
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
2798
3423
|
expected: "string",
|
|
2799
|
-
value:
|
|
3424
|
+
value: elem
|
|
3425
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3426
|
+
path: _path2 + ".genes",
|
|
3427
|
+
expected: "(Array<string> | undefined)",
|
|
3428
|
+
value: input3.genes
|
|
2800
3429
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2801
3430
|
path: _path2 + ".bins",
|
|
2802
3431
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -2805,20 +3434,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2805
3434
|
path: _path2 + ".bins",
|
|
2806
3435
|
expected: "(PresetNumericBins | undefined)",
|
|
2807
3436
|
value: input3.bins
|
|
2808
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2809
|
-
path: _path2 + ".chr",
|
|
2810
|
-
expected: "(string | undefined)",
|
|
2811
|
-
value: input3.chr
|
|
2812
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2813
|
-
path: _path2 + ".start",
|
|
2814
|
-
expected: "(number | undefined)",
|
|
2815
|
-
value: input3.start
|
|
2816
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2817
|
-
path: _path2 + ".stop",
|
|
2818
|
-
expected: "(number | undefined)",
|
|
2819
|
-
value: input3.stop
|
|
2820
3437
|
})].every((flag) => flag);
|
|
2821
|
-
const $
|
|
3438
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2822
3439
|
path: _path2 + ".key",
|
|
2823
3440
|
expected: "string",
|
|
2824
3441
|
value: input3.key
|
|
@@ -2835,7 +3452,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2835
3452
|
expected: "(string | undefined)",
|
|
2836
3453
|
value: input3.label
|
|
2837
3454
|
})].every((flag) => flag);
|
|
2838
|
-
const $
|
|
3455
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2839
3456
|
path: _path2 + ".join",
|
|
2840
3457
|
expected: "(string | undefined)",
|
|
2841
3458
|
value: input3.join
|
|
@@ -2847,7 +3464,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2847
3464
|
path: _path2 + ".term",
|
|
2848
3465
|
expected: "ConditionTerm",
|
|
2849
3466
|
value: input3.term
|
|
2850
|
-
})) && $
|
|
3467
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2851
3468
|
path: _path2 + ".term",
|
|
2852
3469
|
expected: "ConditionTerm",
|
|
2853
3470
|
value: input3.term
|
|
@@ -2867,12 +3484,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2867
3484
|
path: _path2 + ".grade_and_child",
|
|
2868
3485
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2869
3486
|
value: input3.grade_and_child
|
|
2870
|
-
})) && input3.grade_and_child.map((elem,
|
|
2871
|
-
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 + "]",
|
|
2872
3489
|
expected: "GradeAndChildEntry",
|
|
2873
3490
|
value: elem
|
|
2874
|
-
})) && $
|
|
2875
|
-
path: _path2 + ".grade_and_child[" +
|
|
3491
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3492
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
2876
3493
|
expected: "GradeAndChildEntry",
|
|
2877
3494
|
value: elem
|
|
2878
3495
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2880,7 +3497,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2880
3497
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2881
3498
|
value: input3.grade_and_child
|
|
2882
3499
|
})].every((flag) => flag);
|
|
2883
|
-
const $
|
|
3500
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2884
3501
|
path: _path2 + ".id",
|
|
2885
3502
|
expected: "string",
|
|
2886
3503
|
value: input3.id
|
|
@@ -2896,8 +3513,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2896
3513
|
path: _path2 + ".child_types",
|
|
2897
3514
|
expected: "(Array<string> | undefined)",
|
|
2898
3515
|
value: input3.child_types
|
|
2899
|
-
})) && input3.child_types.map((elem,
|
|
2900
|
-
path: _path2 + ".child_types[" +
|
|
3516
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3517
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
2901
3518
|
expected: "string",
|
|
2902
3519
|
value: elem
|
|
2903
3520
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2912,8 +3529,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2912
3529
|
path: _path2 + ".included_types",
|
|
2913
3530
|
expected: "(Array<string> | undefined)",
|
|
2914
3531
|
value: input3.included_types
|
|
2915
|
-
})) && input3.included_types.map((elem,
|
|
2916
|
-
path: _path2 + ".included_types[" +
|
|
3532
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3533
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
2917
3534
|
expected: "string",
|
|
2918
3535
|
value: elem
|
|
2919
3536
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2937,7 +3554,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2937
3554
|
expected: "(boolean | undefined)",
|
|
2938
3555
|
value: input3.skipValuesBuild
|
|
2939
3556
|
})].every((flag) => flag);
|
|
2940
|
-
const $
|
|
3557
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2941
3558
|
path: _path2 + ".grade",
|
|
2942
3559
|
expected: "number",
|
|
2943
3560
|
value: input3.grade
|
|
@@ -2954,7 +3571,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2954
3571
|
expected: "string",
|
|
2955
3572
|
value: input3.child_label
|
|
2956
3573
|
})].every((flag) => flag);
|
|
2957
|
-
const $
|
|
3574
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2958
3575
|
path: _path2 + ".join",
|
|
2959
3576
|
expected: "(string | undefined)",
|
|
2960
3577
|
value: input3.join
|
|
@@ -2966,7 +3583,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2966
3583
|
path: _path2 + ".term",
|
|
2967
3584
|
expected: "DtTerm",
|
|
2968
3585
|
value: input3.term
|
|
2969
|
-
})) && $
|
|
3586
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2970
3587
|
path: _path2 + ".term",
|
|
2971
3588
|
expected: "DtTerm",
|
|
2972
3589
|
value: input3.term
|
|
@@ -2974,12 +3591,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2974
3591
|
path: _path2 + ".values",
|
|
2975
3592
|
expected: "Array<__type>.o2",
|
|
2976
3593
|
value: input3.values
|
|
2977
|
-
})) && input3.values.map((elem,
|
|
2978
|
-
path: _path2 + ".values[" +
|
|
3594
|
+
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3595
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
2979
3596
|
expected: "__type.o4",
|
|
2980
3597
|
value: elem
|
|
2981
|
-
})) && $
|
|
2982
|
-
path: _path2 + ".values[" +
|
|
3598
|
+
})) && $vo37(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3599
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
2983
3600
|
expected: "__type.o4",
|
|
2984
3601
|
value: elem
|
|
2985
3602
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2995,7 +3612,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2995
3612
|
expected: "(boolean | undefined)",
|
|
2996
3613
|
value: input3.excludeGeneName
|
|
2997
3614
|
})].every((flag) => flag);
|
|
2998
|
-
const $
|
|
3615
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2999
3616
|
path: _path2 + ".id",
|
|
3000
3617
|
expected: "string",
|
|
3001
3618
|
value: input3.id
|
|
@@ -3044,7 +3661,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3044
3661
|
expected: "TermValues",
|
|
3045
3662
|
value: input3.values
|
|
3046
3663
|
})].every((flag) => flag);
|
|
3047
|
-
const $
|
|
3664
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3048
3665
|
path: _path2 + ".id",
|
|
3049
3666
|
expected: "string",
|
|
3050
3667
|
value: input3.id
|
|
@@ -3060,8 +3677,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3060
3677
|
path: _path2 + ".child_types",
|
|
3061
3678
|
expected: "(Array<string> | undefined)",
|
|
3062
3679
|
value: input3.child_types
|
|
3063
|
-
})) && input3.child_types.map((elem,
|
|
3064
|
-
path: _path2 + ".child_types[" +
|
|
3680
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3681
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
3065
3682
|
expected: "string",
|
|
3066
3683
|
value: elem
|
|
3067
3684
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3076,8 +3693,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3076
3693
|
path: _path2 + ".included_types",
|
|
3077
3694
|
expected: "(Array<string> | undefined)",
|
|
3078
3695
|
value: input3.included_types
|
|
3079
|
-
})) && input3.included_types.map((elem,
|
|
3080
|
-
path: _path2 + ".included_types[" +
|
|
3696
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3697
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
3081
3698
|
expected: "string",
|
|
3082
3699
|
value: elem
|
|
3083
3700
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3124,12 +3741,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3124
3741
|
path: _path2 + ".genes",
|
|
3125
3742
|
expected: "Array<GvGeneTerm>",
|
|
3126
3743
|
value: input3.genes
|
|
3127
|
-
})) && input3.genes.map((elem,
|
|
3128
|
-
path: _path2 + ".genes[" +
|
|
3744
|
+
})) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3745
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
3129
3746
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3130
3747
|
value: elem
|
|
3131
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3132
|
-
path: _path2 + ".genes[" +
|
|
3748
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3749
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
3133
3750
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3134
3751
|
value: elem
|
|
3135
3752
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3148,12 +3765,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3148
3765
|
path: _path2 + ".childTerms",
|
|
3149
3766
|
expected: "(Array<DtTerm> | undefined)",
|
|
3150
3767
|
value: input3.childTerms
|
|
3151
|
-
})) && input3.childTerms.map((elem,
|
|
3152
|
-
path: _path2 + ".childTerms[" +
|
|
3768
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3769
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
3153
3770
|
expected: "DtTerm",
|
|
3154
3771
|
value: elem
|
|
3155
|
-
})) && $
|
|
3156
|
-
path: _path2 + ".childTerms[" +
|
|
3772
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3773
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
3157
3774
|
expected: "DtTerm",
|
|
3158
3775
|
value: elem
|
|
3159
3776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3161,7 +3778,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3161
3778
|
expected: "(Array<DtTerm> | undefined)",
|
|
3162
3779
|
value: input3.childTerms
|
|
3163
3780
|
})].every((flag) => flag);
|
|
3164
|
-
const $
|
|
3781
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3165
3782
|
path: _path2 + ".id",
|
|
3166
3783
|
expected: "string",
|
|
3167
3784
|
value: input3.id
|
|
@@ -3177,8 +3794,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3177
3794
|
path: _path2 + ".child_types",
|
|
3178
3795
|
expected: "(Array<string> | undefined)",
|
|
3179
3796
|
value: input3.child_types
|
|
3180
|
-
})) && input3.child_types.map((elem,
|
|
3181
|
-
path: _path2 + ".child_types[" +
|
|
3797
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3798
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
3182
3799
|
expected: "string",
|
|
3183
3800
|
value: elem
|
|
3184
3801
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3193,8 +3810,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3193
3810
|
path: _path2 + ".included_types",
|
|
3194
3811
|
expected: "(Array<string> | undefined)",
|
|
3195
3812
|
value: input3.included_types
|
|
3196
|
-
})) && input3.included_types.map((elem,
|
|
3197
|
-
path: _path2 + ".included_types[" +
|
|
3813
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3814
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
3198
3815
|
expected: "string",
|
|
3199
3816
|
value: elem
|
|
3200
3817
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3238,7 +3855,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3238
3855
|
expected: "(number | undefined)",
|
|
3239
3856
|
value: input3.stop
|
|
3240
3857
|
})].every((flag) => flag);
|
|
3241
|
-
const $
|
|
3858
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3242
3859
|
path: _path2 + ".id",
|
|
3243
3860
|
expected: "string",
|
|
3244
3861
|
value: input3.id
|
|
@@ -3254,8 +3871,81 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3254
3871
|
path: _path2 + ".child_types",
|
|
3255
3872
|
expected: "(Array<string> | undefined)",
|
|
3256
3873
|
value: input3.child_types
|
|
3257
|
-
})) && input3.child_types.map((elem,
|
|
3258
|
-
path: _path2 + ".child_types[" +
|
|
3874
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3875
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
3876
|
+
expected: "string",
|
|
3877
|
+
value: elem
|
|
3878
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3879
|
+
path: _path2 + ".child_types",
|
|
3880
|
+
expected: "(Array<string> | undefined)",
|
|
3881
|
+
value: input3.child_types
|
|
3882
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3883
|
+
path: _path2 + ".hashtmldetail",
|
|
3884
|
+
expected: "(boolean | undefined)",
|
|
3885
|
+
value: input3.hashtmldetail
|
|
3886
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3887
|
+
path: _path2 + ".included_types",
|
|
3888
|
+
expected: "(Array<string> | undefined)",
|
|
3889
|
+
value: input3.included_types
|
|
3890
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3891
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
3892
|
+
expected: "string",
|
|
3893
|
+
value: elem
|
|
3894
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3895
|
+
path: _path2 + ".included_types",
|
|
3896
|
+
expected: "(Array<string> | undefined)",
|
|
3897
|
+
value: input3.included_types
|
|
3898
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3899
|
+
path: _path2 + ".isleaf",
|
|
3900
|
+
expected: "(boolean | undefined)",
|
|
3901
|
+
value: input3.isleaf
|
|
3902
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3903
|
+
path: _path2 + ".values",
|
|
3904
|
+
expected: "(TermValues | undefined)",
|
|
3905
|
+
value: input3.values
|
|
3906
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3907
|
+
path: _path2 + ".values",
|
|
3908
|
+
expected: "(TermValues | undefined)",
|
|
3909
|
+
value: input3.values
|
|
3910
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3911
|
+
path: _path2 + ".skipValuesBuild",
|
|
3912
|
+
expected: "(boolean | undefined)",
|
|
3913
|
+
value: input3.skipValuesBuild
|
|
3914
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3915
|
+
path: _path2 + ".kind",
|
|
3916
|
+
expected: '"coord"',
|
|
3917
|
+
value: input3.kind
|
|
3918
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3919
|
+
path: _path2 + ".chr",
|
|
3920
|
+
expected: "string",
|
|
3921
|
+
value: input3.chr
|
|
3922
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3923
|
+
path: _path2 + ".start",
|
|
3924
|
+
expected: "number",
|
|
3925
|
+
value: input3.start
|
|
3926
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3927
|
+
path: _path2 + ".stop",
|
|
3928
|
+
expected: "number",
|
|
3929
|
+
value: input3.stop
|
|
3930
|
+
})].every((flag) => flag);
|
|
3931
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3932
|
+
path: _path2 + ".id",
|
|
3933
|
+
expected: "string",
|
|
3934
|
+
value: input3.id
|
|
3935
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3936
|
+
path: _path2 + ".name",
|
|
3937
|
+
expected: "string",
|
|
3938
|
+
value: input3.name
|
|
3939
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3940
|
+
path: _path2 + ".type",
|
|
3941
|
+
expected: '"geneVariant"',
|
|
3942
|
+
value: input3.type
|
|
3943
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3944
|
+
path: _path2 + ".child_types",
|
|
3945
|
+
expected: "(Array<string> | undefined)",
|
|
3946
|
+
value: input3.child_types
|
|
3947
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3948
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
3259
3949
|
expected: "string",
|
|
3260
3950
|
value: elem
|
|
3261
3951
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3270,8 +3960,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3270
3960
|
path: _path2 + ".included_types",
|
|
3271
3961
|
expected: "(Array<string> | undefined)",
|
|
3272
3962
|
value: input3.included_types
|
|
3273
|
-
})) && input3.included_types.map((elem,
|
|
3274
|
-
path: _path2 + ".included_types[" +
|
|
3963
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3964
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
3275
3965
|
expected: "string",
|
|
3276
3966
|
value: elem
|
|
3277
3967
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3310,8 +4000,61 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3310
4000
|
path: _path2 + ".stop",
|
|
3311
4001
|
expected: "number",
|
|
3312
4002
|
value: input3.stop
|
|
4003
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
4004
|
+
path: _path2 + ".genes",
|
|
4005
|
+
expected: "Array<GvGeneTerm>",
|
|
4006
|
+
value: input3.genes
|
|
4007
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4008
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
4009
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4010
|
+
value: elem
|
|
4011
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4012
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
4013
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4014
|
+
value: elem
|
|
4015
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4016
|
+
path: _path2 + ".genes",
|
|
4017
|
+
expected: "Array<GvGeneTerm>",
|
|
4018
|
+
value: input3.genes
|
|
4019
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
4020
|
+
path: _path2 + ".groupsetting",
|
|
4021
|
+
expected: "(TermGroupSetting | undefined)",
|
|
4022
|
+
value: input3.groupsetting
|
|
4023
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
4024
|
+
path: _path2 + ".groupsetting",
|
|
4025
|
+
expected: "(TermGroupSetting | undefined)",
|
|
4026
|
+
value: input3.groupsetting
|
|
4027
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
4028
|
+
path: _path2 + ".childTerms",
|
|
4029
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
4030
|
+
value: input3.childTerms
|
|
4031
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4032
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
4033
|
+
expected: "DtTerm",
|
|
4034
|
+
value: elem
|
|
4035
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4036
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
4037
|
+
expected: "DtTerm",
|
|
4038
|
+
value: elem
|
|
4039
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4040
|
+
path: _path2 + ".childTerms",
|
|
4041
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
4042
|
+
value: input3.childTerms
|
|
4043
|
+
})].every((flag) => flag);
|
|
4044
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
4045
|
+
path: _path2 + ".key",
|
|
4046
|
+
expected: "string",
|
|
4047
|
+
value: input3.key
|
|
4048
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
4049
|
+
path: _path2 + ".label",
|
|
4050
|
+
expected: "string",
|
|
4051
|
+
value: input3.label
|
|
4052
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
4053
|
+
path: _path2 + ".value",
|
|
4054
|
+
expected: "string",
|
|
4055
|
+
value: input3.value
|
|
3313
4056
|
})].every((flag) => flag);
|
|
3314
|
-
const $
|
|
4057
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3315
4058
|
path: _path2 + ".id",
|
|
3316
4059
|
expected: "string",
|
|
3317
4060
|
value: input3.id
|
|
@@ -3327,8 +4070,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3327
4070
|
path: _path2 + ".child_types",
|
|
3328
4071
|
expected: "(Array<string> | undefined)",
|
|
3329
4072
|
value: input3.child_types
|
|
3330
|
-
})) && input3.child_types.map((elem,
|
|
3331
|
-
path: _path2 + ".child_types[" +
|
|
4073
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4074
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
3332
4075
|
expected: "string",
|
|
3333
4076
|
value: elem
|
|
3334
4077
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3343,8 +4086,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3343
4086
|
path: _path2 + ".included_types",
|
|
3344
4087
|
expected: "(Array<string> | undefined)",
|
|
3345
4088
|
value: input3.included_types
|
|
3346
|
-
})) && input3.included_types.map((elem,
|
|
3347
|
-
path: _path2 + ".included_types[" +
|
|
4089
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4090
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
3348
4091
|
expected: "string",
|
|
3349
4092
|
value: elem
|
|
3350
4093
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3367,77 +4110,68 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3367
4110
|
path: _path2 + ".skipValuesBuild",
|
|
3368
4111
|
expected: "(boolean | undefined)",
|
|
3369
4112
|
value: input3.skipValuesBuild
|
|
3370
|
-
}), "
|
|
4113
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3371
4114
|
path: _path2 + ".kind",
|
|
3372
|
-
expected: '"
|
|
4115
|
+
expected: '"gene"',
|
|
3373
4116
|
value: input3.kind
|
|
3374
|
-
}), "string" === typeof input3.
|
|
3375
|
-
path: _path2 + ".
|
|
4117
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
4118
|
+
path: _path2 + ".gene",
|
|
3376
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)",
|
|
3377
4124
|
value: input3.chr
|
|
3378
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
4125
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3379
4126
|
path: _path2 + ".start",
|
|
3380
|
-
expected: "number",
|
|
4127
|
+
expected: "(number | undefined)",
|
|
3381
4128
|
value: input3.start
|
|
3382
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
4129
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3383
4130
|
path: _path2 + ".stop",
|
|
3384
|
-
expected: "number",
|
|
4131
|
+
expected: "(number | undefined)",
|
|
3385
4132
|
value: input3.stop
|
|
3386
4133
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3387
4134
|
path: _path2 + ".genes",
|
|
3388
4135
|
expected: "Array<GvGeneTerm>",
|
|
3389
4136
|
value: input3.genes
|
|
3390
|
-
})) && input3.genes.map((elem,
|
|
3391
|
-
path: _path2 + ".genes[" +
|
|
4137
|
+
})) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4138
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
3392
4139
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3393
4140
|
value: elem
|
|
3394
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3395
|
-
path: _path2 + ".genes[" +
|
|
4141
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4142
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
3396
4143
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3397
4144
|
value: elem
|
|
3398
4145
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3399
4146
|
path: _path2 + ".genes",
|
|
3400
4147
|
expected: "Array<GvGeneTerm>",
|
|
3401
4148
|
value: input3.genes
|
|
3402
|
-
}),
|
|
4149
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3403
4150
|
path: _path2 + ".groupsetting",
|
|
3404
|
-
expected: "
|
|
4151
|
+
expected: "TermGroupSetting",
|
|
3405
4152
|
value: input3.groupsetting
|
|
3406
4153
|
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3407
4154
|
path: _path2 + ".groupsetting",
|
|
3408
|
-
expected: "
|
|
4155
|
+
expected: "TermGroupSetting",
|
|
3409
4156
|
value: input3.groupsetting
|
|
3410
|
-
}),
|
|
4157
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3411
4158
|
path: _path2 + ".childTerms",
|
|
3412
|
-
expected: "
|
|
4159
|
+
expected: "Array<DtTerm>",
|
|
3413
4160
|
value: input3.childTerms
|
|
3414
|
-
})) && input3.childTerms.map((elem,
|
|
3415
|
-
path: _path2 + ".childTerms[" +
|
|
4161
|
+
})) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4162
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
3416
4163
|
expected: "DtTerm",
|
|
3417
4164
|
value: elem
|
|
3418
|
-
})) && $
|
|
3419
|
-
path: _path2 + ".childTerms[" +
|
|
4165
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4166
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
3420
4167
|
expected: "DtTerm",
|
|
3421
4168
|
value: elem
|
|
3422
4169
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3423
4170
|
path: _path2 + ".childTerms",
|
|
3424
|
-
expected: "
|
|
4171
|
+
expected: "Array<DtTerm>",
|
|
3425
4172
|
value: input3.childTerms
|
|
3426
4173
|
})].every((flag) => flag);
|
|
3427
|
-
const $
|
|
3428
|
-
path: _path2 + ".key",
|
|
3429
|
-
expected: "string",
|
|
3430
|
-
value: input3.key
|
|
3431
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3432
|
-
path: _path2 + ".label",
|
|
3433
|
-
expected: "string",
|
|
3434
|
-
value: input3.label
|
|
3435
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
3436
|
-
path: _path2 + ".value",
|
|
3437
|
-
expected: "string",
|
|
3438
|
-
value: input3.value
|
|
3439
|
-
})].every((flag) => flag);
|
|
3440
|
-
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4174
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3441
4175
|
path: _path2 + ".id",
|
|
3442
4176
|
expected: "string",
|
|
3443
4177
|
value: input3.id
|
|
@@ -3453,8 +4187,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3453
4187
|
path: _path2 + ".child_types",
|
|
3454
4188
|
expected: "(Array<string> | undefined)",
|
|
3455
4189
|
value: input3.child_types
|
|
3456
|
-
})) && input3.child_types.map((elem,
|
|
3457
|
-
path: _path2 + ".child_types[" +
|
|
4190
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4191
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
3458
4192
|
expected: "string",
|
|
3459
4193
|
value: elem
|
|
3460
4194
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3469,8 +4203,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3469
4203
|
path: _path2 + ".included_types",
|
|
3470
4204
|
expected: "(Array<string> | undefined)",
|
|
3471
4205
|
value: input3.included_types
|
|
3472
|
-
})) && input3.included_types.map((elem,
|
|
3473
|
-
path: _path2 + ".included_types[" +
|
|
4206
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4207
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
3474
4208
|
expected: "string",
|
|
3475
4209
|
value: elem
|
|
3476
4210
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3513,12 +4247,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3513
4247
|
path: _path2 + ".genes",
|
|
3514
4248
|
expected: "Array<GvGeneTerm>",
|
|
3515
4249
|
value: input3.genes
|
|
3516
|
-
})) && input3.genes.map((elem,
|
|
3517
|
-
path: _path2 + ".genes[" +
|
|
4250
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4251
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
3518
4252
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3519
4253
|
value: elem
|
|
3520
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3521
|
-
path: _path2 + ".genes[" +
|
|
4254
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4255
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
3522
4256
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3523
4257
|
value: elem
|
|
3524
4258
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3537,12 +4271,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3537
4271
|
path: _path2 + ".childTerms",
|
|
3538
4272
|
expected: "Array<DtTerm>",
|
|
3539
4273
|
value: input3.childTerms
|
|
3540
|
-
})) && input3.childTerms.map((elem,
|
|
3541
|
-
path: _path2 + ".childTerms[" +
|
|
4274
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4275
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
3542
4276
|
expected: "DtTerm",
|
|
3543
4277
|
value: elem
|
|
3544
|
-
})) && $
|
|
3545
|
-
path: _path2 + ".childTerms[" +
|
|
4278
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4279
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
3546
4280
|
expected: "DtTerm",
|
|
3547
4281
|
value: elem
|
|
3548
4282
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3550,7 +4284,88 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3550
4284
|
expected: "Array<DtTerm>",
|
|
3551
4285
|
value: input3.childTerms
|
|
3552
4286
|
})].every((flag) => flag);
|
|
3553
|
-
const $
|
|
4287
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4288
|
+
path: _path2 + ".id",
|
|
4289
|
+
expected: "string",
|
|
4290
|
+
value: input3.id
|
|
4291
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
4292
|
+
path: _path2 + ".name",
|
|
4293
|
+
expected: "string",
|
|
4294
|
+
value: input3.name
|
|
4295
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
4296
|
+
path: _path2 + ".type",
|
|
4297
|
+
expected: '"metaboliteIntensity"',
|
|
4298
|
+
value: input3.type
|
|
4299
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4300
|
+
path: _path2 + ".child_types",
|
|
4301
|
+
expected: "(Array<string> | undefined)",
|
|
4302
|
+
value: input3.child_types
|
|
4303
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4304
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
4305
|
+
expected: "string",
|
|
4306
|
+
value: elem
|
|
4307
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4308
|
+
path: _path2 + ".child_types",
|
|
4309
|
+
expected: "(Array<string> | undefined)",
|
|
4310
|
+
value: input3.child_types
|
|
4311
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
4312
|
+
path: _path2 + ".hashtmldetail",
|
|
4313
|
+
expected: "(boolean | undefined)",
|
|
4314
|
+
value: input3.hashtmldetail
|
|
4315
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
4316
|
+
path: _path2 + ".included_types",
|
|
4317
|
+
expected: "(Array<string> | undefined)",
|
|
4318
|
+
value: input3.included_types
|
|
4319
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4320
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
4321
|
+
expected: "string",
|
|
4322
|
+
value: elem
|
|
4323
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4324
|
+
path: _path2 + ".included_types",
|
|
4325
|
+
expected: "(Array<string> | undefined)",
|
|
4326
|
+
value: input3.included_types
|
|
4327
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
4328
|
+
path: _path2 + ".isleaf",
|
|
4329
|
+
expected: "(boolean | undefined)",
|
|
4330
|
+
value: input3.isleaf
|
|
4331
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4332
|
+
path: _path2 + ".values",
|
|
4333
|
+
expected: "(TermValues | undefined)",
|
|
4334
|
+
value: input3.values
|
|
4335
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4336
|
+
path: _path2 + ".values",
|
|
4337
|
+
expected: "(TermValues | undefined)",
|
|
4338
|
+
value: input3.values
|
|
4339
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
4340
|
+
path: _path2 + ".skipValuesBuild",
|
|
4341
|
+
expected: "(boolean | undefined)",
|
|
4342
|
+
value: input3.skipValuesBuild
|
|
4343
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4344
|
+
path: _path2 + ".continuousColorScale",
|
|
4345
|
+
expected: "(__type.o2 | undefined)",
|
|
4346
|
+
value: input3.continuousColorScale
|
|
4347
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
4348
|
+
path: _path2 + ".continuousColorScale",
|
|
4349
|
+
expected: "(__type.o2 | undefined)",
|
|
4350
|
+
value: input3.continuousColorScale
|
|
4351
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4352
|
+
path: _path2 + ".unit",
|
|
4353
|
+
expected: "(string | undefined)",
|
|
4354
|
+
value: input3.unit
|
|
4355
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
4356
|
+
path: _path2 + ".metabolite",
|
|
4357
|
+
expected: "string",
|
|
4358
|
+
value: input3.metabolite
|
|
4359
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4360
|
+
path: _path2 + ".bins",
|
|
4361
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4362
|
+
value: input3.bins
|
|
4363
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4364
|
+
path: _path2 + ".bins",
|
|
4365
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4366
|
+
value: input3.bins
|
|
4367
|
+
})].every((flag) => flag);
|
|
4368
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3554
4369
|
path: _path2 + ".id",
|
|
3555
4370
|
expected: "string",
|
|
3556
4371
|
value: input3.id
|
|
@@ -3566,8 +4381,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3566
4381
|
path: _path2 + ".child_types",
|
|
3567
4382
|
expected: "(Array<string> | undefined)",
|
|
3568
4383
|
value: input3.child_types
|
|
3569
|
-
})) && input3.child_types.map((elem,
|
|
3570
|
-
path: _path2 + ".child_types[" +
|
|
4384
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4385
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
3571
4386
|
expected: "string",
|
|
3572
4387
|
value: elem
|
|
3573
4388
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3582,8 +4397,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3582
4397
|
path: _path2 + ".included_types",
|
|
3583
4398
|
expected: "(Array<string> | undefined)",
|
|
3584
4399
|
value: input3.included_types
|
|
3585
|
-
})) && input3.included_types.map((elem,
|
|
3586
|
-
path: _path2 + ".included_types[" +
|
|
4400
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4401
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
3587
4402
|
expected: "string",
|
|
3588
4403
|
value: elem
|
|
3589
4404
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3615,7 +4430,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3615
4430
|
expected: "TermGroupSetting",
|
|
3616
4431
|
value: input3.groupsetting
|
|
3617
4432
|
})].every((flag) => flag);
|
|
3618
|
-
const $
|
|
4433
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3619
4434
|
path: _path2 + ".id",
|
|
3620
4435
|
expected: "string",
|
|
3621
4436
|
value: input3.id
|
|
@@ -3623,16 +4438,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3623
4438
|
path: _path2 + ".name",
|
|
3624
4439
|
expected: "string",
|
|
3625
4440
|
value: input3.name
|
|
3626
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
4441
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
3627
4442
|
path: _path2 + ".type",
|
|
3628
|
-
expected: '("
|
|
4443
|
+
expected: '("float" | "integer")',
|
|
3629
4444
|
value: input3.type
|
|
3630
4445
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3631
4446
|
path: _path2 + ".child_types",
|
|
3632
4447
|
expected: "(Array<string> | undefined)",
|
|
3633
4448
|
value: input3.child_types
|
|
3634
|
-
})) && input3.child_types.map((elem,
|
|
3635
|
-
path: _path2 + ".child_types[" +
|
|
4449
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4450
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
3636
4451
|
expected: "string",
|
|
3637
4452
|
value: elem
|
|
3638
4453
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3647,8 +4462,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3647
4462
|
path: _path2 + ".included_types",
|
|
3648
4463
|
expected: "(Array<string> | undefined)",
|
|
3649
4464
|
value: input3.included_types
|
|
3650
|
-
})) && input3.included_types.map((elem,
|
|
3651
|
-
path: _path2 + ".included_types[" +
|
|
4465
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4466
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
3652
4467
|
expected: "string",
|
|
3653
4468
|
value: elem
|
|
3654
4469
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3692,7 +4507,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3692
4507
|
expected: "PresetNumericBins",
|
|
3693
4508
|
value: input3.bins
|
|
3694
4509
|
})].every((flag) => flag);
|
|
3695
|
-
const $
|
|
4510
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3696
4511
|
path: _path2 + ".id",
|
|
3697
4512
|
expected: "string",
|
|
3698
4513
|
value: input3.id
|
|
@@ -3700,16 +4515,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3700
4515
|
path: _path2 + ".name",
|
|
3701
4516
|
expected: "string",
|
|
3702
4517
|
value: input3.name
|
|
3703
|
-
}), "
|
|
4518
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
3704
4519
|
path: _path2 + ".type",
|
|
3705
|
-
expected: '"
|
|
4520
|
+
expected: '"date"',
|
|
3706
4521
|
value: input3.type
|
|
3707
4522
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3708
4523
|
path: _path2 + ".child_types",
|
|
3709
4524
|
expected: "(Array<string> | undefined)",
|
|
3710
4525
|
value: input3.child_types
|
|
3711
|
-
})) && input3.child_types.map((elem,
|
|
3712
|
-
path: _path2 + ".child_types[" +
|
|
4526
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4527
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
3713
4528
|
expected: "string",
|
|
3714
4529
|
value: elem
|
|
3715
4530
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3724,8 +4539,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3724
4539
|
path: _path2 + ".included_types",
|
|
3725
4540
|
expected: "(Array<string> | undefined)",
|
|
3726
4541
|
value: input3.included_types
|
|
3727
|
-
})) && input3.included_types.map((elem,
|
|
3728
|
-
path: _path2 + ".included_types[" +
|
|
4542
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4543
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
3729
4544
|
expected: "string",
|
|
3730
4545
|
value: elem
|
|
3731
4546
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3760,10 +4575,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3760
4575
|
path: _path2 + ".unit",
|
|
3761
4576
|
expected: "(string | undefined)",
|
|
3762
4577
|
value: input3.unit
|
|
3763
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3764
|
-
path: _path2 + ".gene",
|
|
3765
|
-
expected: "string",
|
|
3766
|
-
value: input3.gene
|
|
3767
4578
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3768
4579
|
path: _path2 + ".bins",
|
|
3769
4580
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3772,20 +4583,97 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3772
4583
|
path: _path2 + ".bins",
|
|
3773
4584
|
expected: "(PresetNumericBins | undefined)",
|
|
3774
4585
|
value: input3.bins
|
|
3775
|
-
})
|
|
3776
|
-
|
|
4586
|
+
})].every((flag) => flag);
|
|
4587
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4588
|
+
path: _path2 + ".id",
|
|
4589
|
+
expected: "string",
|
|
4590
|
+
value: input3.id
|
|
4591
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
4592
|
+
path: _path2 + ".name",
|
|
4593
|
+
expected: "string",
|
|
4594
|
+
value: input3.name
|
|
4595
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
4596
|
+
path: _path2 + ".type",
|
|
4597
|
+
expected: '"ssGSEA"',
|
|
4598
|
+
value: input3.type
|
|
4599
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4600
|
+
path: _path2 + ".child_types",
|
|
4601
|
+
expected: "(Array<string> | undefined)",
|
|
4602
|
+
value: input3.child_types
|
|
4603
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4604
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
4605
|
+
expected: "string",
|
|
4606
|
+
value: elem
|
|
4607
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4608
|
+
path: _path2 + ".child_types",
|
|
4609
|
+
expected: "(Array<string> | undefined)",
|
|
4610
|
+
value: input3.child_types
|
|
4611
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
4612
|
+
path: _path2 + ".hashtmldetail",
|
|
4613
|
+
expected: "(boolean | undefined)",
|
|
4614
|
+
value: input3.hashtmldetail
|
|
4615
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
4616
|
+
path: _path2 + ".included_types",
|
|
4617
|
+
expected: "(Array<string> | undefined)",
|
|
4618
|
+
value: input3.included_types
|
|
4619
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4620
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
4621
|
+
expected: "string",
|
|
4622
|
+
value: elem
|
|
4623
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4624
|
+
path: _path2 + ".included_types",
|
|
4625
|
+
expected: "(Array<string> | undefined)",
|
|
4626
|
+
value: input3.included_types
|
|
4627
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
4628
|
+
path: _path2 + ".isleaf",
|
|
4629
|
+
expected: "(boolean | undefined)",
|
|
4630
|
+
value: input3.isleaf
|
|
4631
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4632
|
+
path: _path2 + ".values",
|
|
4633
|
+
expected: "(TermValues | undefined)",
|
|
4634
|
+
value: input3.values
|
|
4635
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4636
|
+
path: _path2 + ".values",
|
|
4637
|
+
expected: "(TermValues | undefined)",
|
|
4638
|
+
value: input3.values
|
|
4639
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
4640
|
+
path: _path2 + ".skipValuesBuild",
|
|
4641
|
+
expected: "(boolean | undefined)",
|
|
4642
|
+
value: input3.skipValuesBuild
|
|
4643
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4644
|
+
path: _path2 + ".continuousColorScale",
|
|
4645
|
+
expected: "(__type.o2 | undefined)",
|
|
4646
|
+
value: input3.continuousColorScale
|
|
4647
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
4648
|
+
path: _path2 + ".continuousColorScale",
|
|
4649
|
+
expected: "(__type.o2 | undefined)",
|
|
4650
|
+
value: input3.continuousColorScale
|
|
4651
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4652
|
+
path: _path2 + ".unit",
|
|
3777
4653
|
expected: "(string | undefined)",
|
|
3778
|
-
value: input3.
|
|
3779
|
-
}), void 0 === input3.
|
|
3780
|
-
path: _path2 + ".
|
|
3781
|
-
expected: "(
|
|
3782
|
-
value: input3.
|
|
3783
|
-
})
|
|
3784
|
-
path: _path2 + ".
|
|
3785
|
-
expected: "
|
|
3786
|
-
value:
|
|
4654
|
+
value: input3.unit
|
|
4655
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
4656
|
+
path: _path2 + ".genes",
|
|
4657
|
+
expected: "(Array<string> | undefined)",
|
|
4658
|
+
value: input3.genes
|
|
4659
|
+
})) && input3.genes.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4660
|
+
path: _path2 + ".genes[" + _index59 + "]",
|
|
4661
|
+
expected: "string",
|
|
4662
|
+
value: elem
|
|
4663
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4664
|
+
path: _path2 + ".genes",
|
|
4665
|
+
expected: "(Array<string> | undefined)",
|
|
4666
|
+
value: input3.genes
|
|
4667
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4668
|
+
path: _path2 + ".bins",
|
|
4669
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4670
|
+
value: input3.bins
|
|
4671
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4672
|
+
path: _path2 + ".bins",
|
|
4673
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4674
|
+
value: input3.bins
|
|
3787
4675
|
})].every((flag) => flag);
|
|
3788
|
-
const $
|
|
4676
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3789
4677
|
path: _path2 + ".id",
|
|
3790
4678
|
expected: "string",
|
|
3791
4679
|
value: input3.id
|
|
@@ -3801,8 +4689,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3801
4689
|
path: _path2 + ".child_types",
|
|
3802
4690
|
expected: "(Array<string> | undefined)",
|
|
3803
4691
|
value: input3.child_types
|
|
3804
|
-
})) && input3.child_types.map((elem,
|
|
3805
|
-
path: _path2 + ".child_types[" +
|
|
4692
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4693
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
3806
4694
|
expected: "string",
|
|
3807
4695
|
value: elem
|
|
3808
4696
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3817,8 +4705,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3817
4705
|
path: _path2 + ".included_types",
|
|
3818
4706
|
expected: "(Array<string> | undefined)",
|
|
3819
4707
|
value: input3.included_types
|
|
3820
|
-
})) && input3.included_types.map((elem,
|
|
3821
|
-
path: _path2 + ".included_types[" +
|
|
4708
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4709
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
3822
4710
|
expected: "string",
|
|
3823
4711
|
value: elem
|
|
3824
4712
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3842,7 +4730,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3842
4730
|
expected: "(boolean | undefined)",
|
|
3843
4731
|
value: input3.skipValuesBuild
|
|
3844
4732
|
})].every((flag) => flag);
|
|
3845
|
-
const $
|
|
4733
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3846
4734
|
path: _path2 + ".id",
|
|
3847
4735
|
expected: "string",
|
|
3848
4736
|
value: input3.id
|
|
@@ -3858,8 +4746,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3858
4746
|
path: _path2 + ".child_types",
|
|
3859
4747
|
expected: "(Array<string> | undefined)",
|
|
3860
4748
|
value: input3.child_types
|
|
3861
|
-
})) && input3.child_types.map((elem,
|
|
3862
|
-
path: _path2 + ".child_types[" +
|
|
4749
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4750
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
3863
4751
|
expected: "string",
|
|
3864
4752
|
value: elem
|
|
3865
4753
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3874,8 +4762,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3874
4762
|
path: _path2 + ".included_types",
|
|
3875
4763
|
expected: "(Array<string> | undefined)",
|
|
3876
4764
|
value: input3.included_types
|
|
3877
|
-
})) && input3.included_types.map((elem,
|
|
3878
|
-
path: _path2 + ".included_types[" +
|
|
4765
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4766
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
3879
4767
|
expected: "string",
|
|
3880
4768
|
value: elem
|
|
3881
4769
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3906,12 +4794,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3906
4794
|
path: _path2 + ".snps",
|
|
3907
4795
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3908
4796
|
value: input3.snps
|
|
3909
|
-
})) && input3.snps.map((elem,
|
|
3910
|
-
path: _path2 + ".snps[" +
|
|
4797
|
+
})) && input3.snps.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4798
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
3911
4799
|
expected: "SnpsEntry",
|
|
3912
4800
|
value: elem
|
|
3913
|
-
})) && $
|
|
3914
|
-
path: _path2 + ".snps[" +
|
|
4801
|
+
})) && $vo47(elem, _path2 + ".snps[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4802
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
3915
4803
|
expected: "SnpsEntry",
|
|
3916
4804
|
value: elem
|
|
3917
4805
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3919,12 +4807,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3919
4807
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3920
4808
|
value: input3.snps
|
|
3921
4809
|
})].every((flag) => flag);
|
|
3922
|
-
const $
|
|
4810
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3923
4811
|
path: _path2 + ".altAlleles",
|
|
3924
4812
|
expected: "(Array<string> | undefined)",
|
|
3925
4813
|
value: input3.altAlleles
|
|
3926
|
-
})) && input3.altAlleles.map((elem,
|
|
3927
|
-
path: _path2 + ".altAlleles[" +
|
|
4814
|
+
})) && input3.altAlleles.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4815
|
+
path: _path2 + ".altAlleles[" + _index65 + "]",
|
|
3928
4816
|
expected: "string",
|
|
3929
4817
|
value: elem
|
|
3930
4818
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3935,12 +4823,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3935
4823
|
path: _path2 + ".alleles",
|
|
3936
4824
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3937
4825
|
value: input3.alleles
|
|
3938
|
-
})) && input3.alleles.map((elem,
|
|
3939
|
-
path: _path2 + ".alleles[" +
|
|
4826
|
+
})) && input3.alleles.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4827
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
3940
4828
|
expected: "AllelesEntry",
|
|
3941
4829
|
value: elem
|
|
3942
|
-
})) && $
|
|
3943
|
-
path: _path2 + ".alleles[" +
|
|
4830
|
+
})) && $vo48(elem, _path2 + ".alleles[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4831
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
3944
4832
|
expected: "AllelesEntry",
|
|
3945
4833
|
value: elem
|
|
3946
4834
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3955,7 +4843,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3955
4843
|
path: _path2 + ".gt2count",
|
|
3956
4844
|
expected: "(__type.o5 | undefined)",
|
|
3957
4845
|
value: input3.gt2count
|
|
3958
|
-
})) && $
|
|
4846
|
+
})) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3959
4847
|
path: _path2 + ".gt2count",
|
|
3960
4848
|
expected: "(__type.o5 | undefined)",
|
|
3961
4849
|
value: input3.gt2count
|
|
@@ -3984,7 +4872,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3984
4872
|
expected: "(number | undefined)",
|
|
3985
4873
|
value: input3.pos
|
|
3986
4874
|
})].every((flag) => flag);
|
|
3987
|
-
const $
|
|
4875
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3988
4876
|
path: _path2 + ".allele",
|
|
3989
4877
|
expected: "string",
|
|
3990
4878
|
value: input3.allele
|
|
@@ -3997,7 +4885,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3997
4885
|
expected: "boolean",
|
|
3998
4886
|
value: input3.isRef
|
|
3999
4887
|
})].every((flag) => flag);
|
|
4000
|
-
const $
|
|
4888
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
4001
4889
|
path: _path2 + ".k",
|
|
4002
4890
|
expected: "string",
|
|
4003
4891
|
value: input3.k
|
|
@@ -4006,7 +4894,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4006
4894
|
expected: "(number | string)",
|
|
4007
4895
|
value: input3.v
|
|
4008
4896
|
})].every((flag) => flag);
|
|
4009
|
-
const $
|
|
4897
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4010
4898
|
path: _path2 + ".id",
|
|
4011
4899
|
expected: "string",
|
|
4012
4900
|
value: input3.id
|
|
@@ -4022,8 +4910,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4022
4910
|
path: _path2 + ".child_types",
|
|
4023
4911
|
expected: "(Array<string> | undefined)",
|
|
4024
4912
|
value: input3.child_types
|
|
4025
|
-
})) && input3.child_types.map((elem,
|
|
4026
|
-
path: _path2 + ".child_types[" +
|
|
4913
|
+
})) && input3.child_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4914
|
+
path: _path2 + ".child_types[" + _index67 + "]",
|
|
4027
4915
|
expected: "string",
|
|
4028
4916
|
value: elem
|
|
4029
4917
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4038,8 +4926,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4038
4926
|
path: _path2 + ".included_types",
|
|
4039
4927
|
expected: "(Array<string> | undefined)",
|
|
4040
4928
|
value: input3.included_types
|
|
4041
|
-
})) && input3.included_types.map((elem,
|
|
4042
|
-
path: _path2 + ".included_types[" +
|
|
4929
|
+
})) && input3.included_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4930
|
+
path: _path2 + ".included_types[" + _index68 + "]",
|
|
4043
4931
|
expected: "string",
|
|
4044
4932
|
value: elem
|
|
4045
4933
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4054,7 +4942,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4054
4942
|
path: _path2 + ".values",
|
|
4055
4943
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4056
4944
|
value: input3.values
|
|
4057
|
-
})) && $
|
|
4945
|
+
})) && $vo51(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4058
4946
|
path: _path2 + ".values",
|
|
4059
4947
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4060
4948
|
value: input3.values
|
|
@@ -4063,7 +4951,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4063
4951
|
expected: "(boolean | undefined)",
|
|
4064
4952
|
value: input3.skipValuesBuild
|
|
4065
4953
|
})].every((flag) => flag);
|
|
4066
|
-
const $
|
|
4954
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4067
4955
|
const value = input3[key];
|
|
4068
4956
|
if (void 0 === value)
|
|
4069
4957
|
return true;
|
|
@@ -4072,7 +4960,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4072
4960
|
path: _path2 + $join(key),
|
|
4073
4961
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4074
4962
|
value
|
|
4075
|
-
})) && $
|
|
4963
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4076
4964
|
path: _path2 + $join(key),
|
|
4077
4965
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4078
4966
|
value
|
|
@@ -4082,14 +4970,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4082
4970
|
path: _path2 + $join(key),
|
|
4083
4971
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4084
4972
|
value
|
|
4085
|
-
})) && $
|
|
4973
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4086
4974
|
path: _path2 + $join(key),
|
|
4087
4975
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4088
4976
|
value
|
|
4089
4977
|
});
|
|
4090
4978
|
return true;
|
|
4091
4979
|
}).every((flag) => flag)].every((flag) => flag);
|
|
4092
|
-
const $
|
|
4980
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
4093
4981
|
path: _path2 + ".key",
|
|
4094
4982
|
expected: "(string | undefined)",
|
|
4095
4983
|
value: input3.key
|
|
@@ -4133,12 +5021,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4133
5021
|
path: _path2 + ".list",
|
|
4134
5022
|
expected: "Array<__type>.o3",
|
|
4135
5023
|
value: input3.list
|
|
4136
|
-
})) && input3.list.map((elem,
|
|
4137
|
-
path: _path2 + ".list[" +
|
|
5024
|
+
})) && input3.list.map((elem, _index69) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5025
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
4138
5026
|
expected: "__type.o6",
|
|
4139
5027
|
value: elem
|
|
4140
|
-
})) && $
|
|
4141
|
-
path: _path2 + ".list[" +
|
|
5028
|
+
})) && $vo53(elem, _path2 + ".list[" + _index69 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5029
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
4142
5030
|
expected: "__type.o6",
|
|
4143
5031
|
value: elem
|
|
4144
5032
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4146,7 +5034,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4146
5034
|
expected: "Array<__type>.o3",
|
|
4147
5035
|
value: input3.list
|
|
4148
5036
|
}), true].every((flag) => flag);
|
|
4149
|
-
const $
|
|
5037
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
4150
5038
|
path: _path2 + ".sampleId",
|
|
4151
5039
|
expected: "string",
|
|
4152
5040
|
value: input3.sampleId
|
|
@@ -4156,19 +5044,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4156
5044
|
value: input3.sample
|
|
4157
5045
|
})].every((flag) => flag);
|
|
4158
5046
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4159
|
-
if ("
|
|
4160
|
-
return $
|
|
4161
|
-
if ("coord" === input3.kind)
|
|
4162
|
-
return $vo35(input3, _path2, _exceptionable2);
|
|
5047
|
+
if ("metaboliteIntensity" === input3.type)
|
|
5048
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
4163
5049
|
if ("categorical" === input3.type)
|
|
4164
|
-
return $
|
|
4165
|
-
if ("
|
|
4166
|
-
return $
|
|
4167
|
-
if ("
|
|
4168
|
-
return $
|
|
5050
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
5051
|
+
if ("date" === input3.type)
|
|
5052
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
5053
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
5054
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
5055
|
+
if ("ssGSEA" === input3.type)
|
|
5056
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
4169
5057
|
if ("condition" === input3.type)
|
|
4170
|
-
return $
|
|
4171
|
-
return $
|
|
5058
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
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);
|
|
4172
5060
|
})();
|
|
4173
5061
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4174
5062
|
if ("tvslst" === input3.type)
|
|
@@ -4201,9 +5089,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4201
5089
|
})();
|
|
4202
5090
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4203
5091
|
if ("gene" === input3.kind)
|
|
4204
|
-
return $
|
|
5092
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
4205
5093
|
if ("coord" === input3.kind)
|
|
4206
|
-
return $
|
|
5094
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
4207
5095
|
return $report(_exceptionable2, {
|
|
4208
5096
|
path: _path2,
|
|
4209
5097
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -4213,18 +5101,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4213
5101
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4214
5102
|
if (void 0 !== input3.ranges)
|
|
4215
5103
|
return $vo13(input3, _path2, _exceptionable2);
|
|
4216
|
-
return $vo6(input3, _path2, false) || $
|
|
5104
|
+
return $vo6(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
4217
5105
|
})();
|
|
4218
5106
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4219
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
5107
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
4220
5108
|
return $vo14(input3, _path2, _exceptionable2);
|
|
4221
|
-
if ("
|
|
4222
|
-
return $
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
5109
|
+
if ("metaboliteIntensity" === input3.type)
|
|
5110
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
5111
|
+
if ("date" === input3.type)
|
|
5112
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
5113
|
+
if ("ssGSEA" === input3.type)
|
|
5114
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
5115
|
+
return $vo23(input3, _path2, false) || $vo1(input3, _path2, false);
|
|
4228
5116
|
})();
|
|
4229
5117
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4230
5118
|
if ("regular-bin" === input3.type)
|
|
@@ -4261,9 +5149,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4261
5149
|
})();
|
|
4262
5150
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4263
5151
|
if ("gene" === input3.kind)
|
|
4264
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
4265
|
-
if ("coord" === input3.kind)
|
|
4266
5152
|
return $vo33(input3, _path2, _exceptionable2);
|
|
5153
|
+
if ("coord" === input3.kind)
|
|
5154
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
4267
5155
|
return $report(_exceptionable2, {
|
|
4268
5156
|
path: _path2,
|
|
4269
5157
|
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; })',
|